Version Description
Download this release
Release Info
Developer | flixos90 |
Plugin | Site Kit by Google |
Version | 1.11.1 |
Comparing to | |
See all releases |
Code changes from version 1.11.0 to 1.11.1
- dist/assets/css/admin.css +44 -14
- dist/assets/js/googlesitekit-modules-analytics.js +2 -2
- google-site-kit.php +2 -2
- includes/Core/Admin/Screens.php +1 -1
- includes/Core/CLI/Authentication_CLI_Command.php +2 -2
- includes/Core/CLI/CLI_Command.php +3 -3
- includes/Core/CLI/CLI_Commands.php +4 -4
- includes/Core/CLI/Reset_CLI_Command.php +3 -3
- includes/Core/Util/Tracking.php +2 -2
- includes/Modules/Tag_Manager.php +1 -1
- readme.txt +1 -1
dist/assets/css/admin.css
CHANGED
@@ -7186,6 +7186,37 @@ a.mdc-list-item {
|
|
7186 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2212%22%20viewBox%3D%220%200%2016%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22%23FFF%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M0%206.414L1.415%205l5.292%205.292-1.414%201.415z%22%2F%3E%3Cpath%20d%3D%22M14.146.146l1.415%201.414L5.414%2011.707%204%2010.292z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
7187 |
background-size: 8px 6px; }
|
7188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7189 |
/**
|
7190 |
* Notifications counter styles.
|
7191 |
*
|
@@ -8784,7 +8815,7 @@ a.mdc-list-item {
|
|
8784 |
white-space: normal; } }
|
8785 |
|
8786 |
/**
|
8787 |
-
*
|
8788 |
*
|
8789 |
* Site Kit by Google, Copyright 2020 Google LLC
|
8790 |
*
|
@@ -8800,19 +8831,18 @@ a.mdc-list-item {
|
|
8800 |
* See the License for the specific language governing permissions and
|
8801 |
* limitations under the License.
|
8802 |
*/
|
8803 |
-
.googlesitekit-
|
8804 |
-
|
8805 |
-
background-
|
8806 |
-
|
8807 |
-
|
8808 |
-
|
8809 |
-
|
8810 |
-
|
8811 |
-
|
8812 |
-
|
8813 |
-
|
8814 |
-
|
8815 |
-
display: none; }
|
8816 |
|
8817 |
/**
|
8818 |
* Dashboard signin box styles.
|
7186 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2212%22%20viewBox%3D%220%200%2016%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22%23FFF%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M0%206.414L1.415%205l5.292%205.292-1.414%201.415z%22%2F%3E%3Cpath%20d%3D%22M14.146.146l1.415%201.414L5.414%2011.707%204%2010.292z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
7187 |
background-size: 8px 6px; }
|
7188 |
|
7189 |
+
/**
|
7190 |
+
* Noscript notification styles.
|
7191 |
+
*
|
7192 |
+
* Site Kit by Google, Copyright 2020 Google LLC
|
7193 |
+
*
|
7194 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7195 |
+
* you may not use this file except in compliance with the License.
|
7196 |
+
* You may obtain a copy of the License at
|
7197 |
+
*
|
7198 |
+
* https://www.apache.org/licenses/LICENSE-2.0
|
7199 |
+
*
|
7200 |
+
* Unless required by applicable law or agreed to in writing, software
|
7201 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7202 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7203 |
+
* See the License for the specific language governing permissions and
|
7204 |
+
* limitations under the License.
|
7205 |
+
*/
|
7206 |
+
.googlesitekit-noscript {
|
7207 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
7208 |
+
background-color: #fff;
|
7209 |
+
margin: 5px 20px 5px 0; }
|
7210 |
+
@media (min-width: 600px) {
|
7211 |
+
.googlesitekit-noscript {
|
7212 |
+
padding-left: 10px;
|
7213 |
+
padding-right: 10px; } }
|
7214 |
+
.googlesitekit-noscript__title {
|
7215 |
+
margin: 0; }
|
7216 |
+
|
7217 |
+
.no-js:not([amp-version]) [id^="js-googlesitekit-"] {
|
7218 |
+
display: none; }
|
7219 |
+
|
7220 |
/**
|
7221 |
* Notifications counter styles.
|
7222 |
*
|
8815 |
white-space: normal; } }
|
8816 |
|
8817 |
/**
|
8818 |
+
* Text Field Icon styles.
|
8819 |
*
|
8820 |
* Site Kit by Google, Copyright 2020 Google LLC
|
8821 |
*
|
8831 |
* See the License for the specific language governing permissions and
|
8832 |
* limitations under the License.
|
8833 |
*/
|
8834 |
+
.googlesitekit-plugin .googlesitekit-text-field-icon--warning::before {
|
8835 |
+
background-color: #fbbc05;
|
8836 |
+
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2222%22%20height%3D%2219%22%20viewBox%3D%220%200%2022%2019%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0%2019h22L11%200%200%2019zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
|
8837 |
+
background-position: center 4px;
|
8838 |
+
background-repeat: no-repeat;
|
8839 |
+
background-size: 14px 12px;
|
8840 |
+
border-radius: 50%;
|
8841 |
+
content: "";
|
8842 |
+
display: inline-block;
|
8843 |
+
height: 22px;
|
8844 |
+
vertical-align: middle;
|
8845 |
+
width: 22px; }
|
|
|
8846 |
|
8847 |
/**
|
8848 |
* Dashboard signin box styles.
|
dist/assets/js/googlesitekit-modules-analytics.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
!function(e){function t(t){for(var n,o,c=t[0],s=t[1],l=t[2],d=0,m=[];d<c.length;d++)o=c[d],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&m.push(i[o][0]),i[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(t);m.length;)m.shift()();return r.push.apply(r,l||[]),a()}function a(){for(var e,t=0;t<r.length;t++){for(var a=r[t],n=!0,o=1;o<a.length;o++){var c=a[o];0!==i[c]&&(n=!1)}n&&(r.splice(t--,1),e=__webpack_require__(__webpack_require__.s=a[0]))}return e}var n={},i={19:0},r=[];function __webpack_require__(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,__webpack_require__),a.l=!0,a.exports}__webpack_require__.m=e,__webpack_require__.c=n,__webpack_require__.d=function(e,t,a){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},__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,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(__webpack_require__.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(a,n,function(t){return e[t]}.bind(null,n));return a},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="";var o=window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var u=c;r.push([629,0]),a()}({1:function(e,t,a){"use strict";(function(e){a.d(t,"d",(function(){return c})),a.d(t,"a",(function(){return s})),a.d(t,"e",(function(){return l})),a.d(t,"f",(function(){return d})),a.d(t,"g",(function(){return m})),a.d(t,"h",(function(){return g})),a.d(t,"b",(function(){return y})),a.d(t,"i",(function(){return h})),a.d(t,"j",(function(){return b})),a.d(t,"k",(function(){return A})),a.d(t,"c",(function(){return k})),a.d(t,"l",(function(){return P})),a.d(t,"m",(function(){return O})),a.d(t,"n",(function(){return M})),a.d(t,"o",(function(){return j})),a.d(t,"p",(function(){return w})),a.d(t,"q",(function(){return D})),a.d(t,"r",(function(){return L})),a.d(t,"s",(function(){return x}));var n=a(92);void 0===e.googlesitekit&&(e.googlesitekit={});var i=e.googlesitekit._element||n,r=i.__experimentalCreateInterpolateElement,o=i.Children,c=i.cloneElement,s=i.Component,u=i.concatChildren,l=i.createContext,d=i.createElement,m=i.createPortal,g=i.createRef,p=i.findDOMNode,f=i.forwardRef,y=i.Fragment,T=i.isEmptyElement,h=i.isValidElement,b=i.lazy,I=i.memo,v=i.Platform,N=i.RawHTML,A=i.render,Z=i.renderToString,_=i.StrictMode,k=i.Suspense,E=i.switchChildrenNodeName,S=i.unmountComponentAtNode,P=i.useCallback,O=i.useContext,C=i.useDebugValue,M=i.useEffect,G=i.useImperativeHandle,j=i.useLayoutEffect,w=i.useMemo,D=i.useReducer,L=i.useRef,x=i.useState;void 0===e.googlesitekit._element&&(e.googlesitekit._element={__experimentalCreateInterpolateElement:r,Children:o,cloneElement:c,Component:s,concatChildren:u,createContext:l,createElement:d,createPortal:m,createRef:g,findDOMNode:p,forwardRef:f,Fragment:y,isEmptyElement:T,isValidElement:h,lazy:b,memo:I,Platform:v,RawHTML:N,render:A,renderToString:Z,StrictMode:_,Suspense:k,switchChildrenNodeName:E,unmountComponentAtNode:S,useCallback:P,useContext:O,useDebugValue:C,useEffect:M,useImperativeHandle:G,useLayoutEffect:j,useMemo:w,useReducer:D,useRef:L,useState:x})}).call(this,a(16))},103:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return r}));var n=a(38),i=a(28),r=function(t,a,r){var o=Object(i.c)(t,a,r);Object(i.d)(),Object.keys(e._googlesitekitLegacyData.admin.datacache).forEach((function(t){0!==t.indexOf(o+"::")&&t!==o||delete e._googlesitekitLegacyData.admin.datacache[t]})),Object.keys(Object(n.a)()).forEach((function(e){0!==e.indexOf("googlesitekit_".concat(o,"::"))&&e!=="googlesitekit_".concat(o)||Object(n.a)().removeItem(e)}))}}).call(this,a(16))},115:function(e,t,a){"use strict";var n=a(358);a.d(t,"b",(function(){return n.a}));var i=a(359);a.d(t,"a",(function(){return i.a}));var r=a(360);a.d(t,"c",(function(){return r.a}));var o=a(361);a.d(t,"d",(function(){return o.a}));var c=a(249);a.d(t,"e",(function(){return c.a}));var s=a(362);a.d(t,"f",(function(){return s.a}));var u=a(363);a.d(t,"g",(function(){return u.a}));var l=a(364);a.d(t,"h",(function(){return l.a}));var d=a(365);a.d(t,"i",(function(){return d.a}));var m=a(366);a.d(t,"j",(function(){return m.a}));var g=a(287);a.d(t,"k",(function(){return g.a}));var p=a(367);a.d(t,"l",(function(){return p.a}))},116:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return f}));var n=a(3),i=a.n(n),r=a(10),o=a.n(r),c=a(59),s=a(37),u=a(117),l=a(118),d=a(119),m=a(46);function g(e,t){var a=Object.keys(e);return Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(e)),t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(a,!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var f=function(t){var a,n,r,o,u;return i.a.async((function(l){for(;;)switch(l.prev=l.next){case 0:return a=e._googlesitekitLegacyData.admin,n=a.homeURL,r=a.ampMode,o={tagverify:1,timestamp:Date.now()},l.next=4,i.a.awrap(y(Object(s.a)(n,o),t));case 4:if((u=l.sent)||"secondary"!==r){l.next=9;break}return l.next=8,i.a.awrap(Object(c.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return i.a.async((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,i.a.awrap(y(Object(s.a)(e.link,p({},o,{amp:1})),t));case 2:return a.abrupt("return",a.sent);case 3:case"end":return a.stop()}}))})).pop()})));case 8:u=l.sent;case 9:return l.abrupt("return",Promise.resolve(u||null));case 10:case"end":return l.stop()}}))},y=function(e,t){var a;return i.a.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,i.a.awrap(fetch(e,{credentials:"omit"}).then((function(e){return e.text()})));case 3:return a=n.sent,n.abrupt("return",T(a,t)||null);case 7:return n.prev=7,n.t0=n.catch(0),n.abrupt("return",null);case 10:case"end":return n.stop()}}),null,null,[[0,7]])},T=function(e,t){var a=({adsense:l.a,analytics:d.a,tagmanager:m.d,setup:u.a}[t]||[]).find((function(t){return t.test(e)}));return!!a&&a.exec(e)[1]}}).call(this,a(16))},117:function(e,t,a){"use strict";t.a=[/<meta name="googlesitekit-setup" content="([a-z0-9-]+)"/]},118:function(e,t,a){"use strict";t.a=[/google_ad_client: ?["|'](.*?)["|']/,/<(?:script|amp-auto-ads) [^>]*data-ad-client="([^"]+)"/]},119:function(e,t,a){"use strict";t.a=[/<script [^>]*src=['|"]https:\/\/www.googletagmanager.com\/gtag\/js\?id=(UA-.*?)['|"][^>]*><\/script>/,/<script[^>]*>[^<]+google-analytics\.com\/analytics\.js[^<]+(UA-\d+-\d+)/,/__gaTracker\( ?['|"]create['|"], ?['|"](UA-.*?)['|"], ?['|"]auto['|"] ?\)/,/ga\( ?['|"]create['|"], ?['|"](UA-.*?)['|"], ?['|"]auto['|"] ?\)/,/_gaq.push\( ?\[ ?['|"]_setAccount['|"], ?['|"](UA-.*?)['|"] ?] ?\)/,/<amp-analytics [^>]*type="gtag"[^>]*>[^<]*<script type="application\/json">[^<]*"gtag_id":\s*"(UA-[^"]+)"/,/<amp-analytics [^>]*type="googleanalytics"[^>]*>[^<]*<script type="application\/json">[^<]*"account":\s*"(UA-[^"]+)"/]},121:function(e,t,a){"use strict";(function(e){var n=a(5),i=a.n(n),r=a(6),o=a.n(r),c=a(7),s=a.n(c),u=a(8),l=a.n(u),d=a(9),m=a.n(d),g=a(1),p=a(2),f=a.n(p),y=a(17),T=a.n(y),h=a(145),b=a(34),I=function(t){function Switch(e){var t;return i()(this,Switch),(t=s()(this,l()(Switch).call(this,e))).switchRef=Object(g.h)(),t}return m()(Switch,t),o()(Switch,[{key:"componentDidMount",value:function(){new b.h(this.switchRef.current)}},{key:"render",value:function(){var t=this.props,a=t.id,n=void 0===a?"googlesitekit-switch-".concat(this.props.instanceId):a,i=t.onClick,r=t.label,o=t.checked,c=t.disabled,s=t.hideLabel;return e.createElement(g.b,null,e.createElement("div",{"aria-checked":o?"true":"false",className:T()("mdc-switch",{"mdc-switch--checked":o,"mdc-switch--disabled":c}),onClick:i,onKeyPress:function(e){"function"==typeof i&&"Enter"===e.code&&i(e)},role:"switch",ref:this.switchRef,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:n,className:"mdc-switch__native-control",role:"switch",checked:o,disabled:c,onChange:function(){}})))),e.createElement("label",{className:T()({"screen-reader-only":s}),htmlFor:n},r))}}]),Switch}(g.a);I.propTypes={id:f.a.string,onClick:f.a.func,label:f.a.string.isRequired,checked:f.a.bool,disabled:f.a.bool,hideLabel:f.a.bool,instanceId:f.a.number.isRequired},I.defaultProps={checked:!1,disabled:!1,hideLabel:!0},t.a=Object(h.a)(I)}).call(this,a(11))},13:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"f",(function(){return c})),a.d(t,"g",(function(){return s})),a.d(t,"e",(function(){return u})),a.d(t,"d",(function(){return g})),a.d(t,"c",(function(){return p}));var n=a(91);void 0===e.googlesitekit&&(e.googlesitekit={});var i=e.googlesitekit._hooks||n,r=i.addAction,o=i.addFilter,c=i.removeAction,s=i.removeFilter,u=i.hasAction,l=i.hasFilter,d=i.removeAllActions,m=i.removeAllFilters,g=i.doAction,p=i.applyFilters,f=i.currentAction,y=i.currentFilter,T=i.doingAction,h=i.doingFilter,b=i.didAction,I=i.didFilter,v=i.actions,N=i.filters;void 0===e.googlesitekit._hooks&&(e.googlesitekit._hooks={addAction:r,addFilter:o,removeAction:c,removeFilter:s,hasAction:u,hasFilter:l,removeAllActions:d,removeAllFilters:m,doAction:g,applyFilters:p,currentAction:f,currentFilter:y,doingAction:T,doingFilter:h,didAction:b,didFilter:I,actions:v,filters:N})}).call(this,a(16))},14:function(e,t){e.exports=googlesitekit.data},143:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ErrorText}));a(1);var n=a(2),i=a.n(n),r=a(0);function ErrorText(t){var a=t.message;return a?e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",null,Object(r.sprintf)(
|
2 |
/* translators: %s: Error message */
|
3 |
-
Object(r.__)("Error: %s","google-site-kit"),a))):null}ErrorText.propTypes={message:i.a.string.isRequired}}).call(this,a(11))},151:function(e,t){e.exports=googlesitekit.modules},19:function(e,t,a){"use strict";a.d(t,"b",(function(){return o})),a.d(t,"q",(function(){return T})),a.d(t,"i",(function(){return d})),a.d(t,"j",(function(){return m})),a.d(t,"n",(function(){return g})),a.d(t,"o",(function(){return p})),a.d(t,"m",(function(){return f})),a.d(t,"l",(function(){return y})),a.d(t,"k",(function(){return d})),a.d(t,"e",(function(){return h})),a.d(t,"c",(function(){return I})),a.d(t,"d",(function(){return v})),a.d(t,"f",(function(){return N})),a.d(t,"h",(function(){return A})),a.d(t,"a",(function(){return Z})),a.d(t,"r",(function(){return _})),a.d(t,"p",(function(){return k})),a.d(t,"t",(function(){return E})),a.d(t,"s",(function(){return S})),a.d(t,"g",(function(){return P}));var n=a(12),i=a(0),r=a(4),o=function(e){if(!e||!e.length)return!1;var t=e[0].data.totals,a=t[0].values,n=t[1].values,i=a[0],o=a[1],c=a[2],s=a[3],u=a[4],l=a[5];return{totalUsers:i,totalSessions:o,averageBounceRate:c,averageSessionDuration:s,totalUsersChange:Object(r.c)(n[0],a[0]),totalSessionsChange:Object(r.c)(n[1],a[1]),averageBounceRateChange:Object(r.c)(n[2],a[2]),averageSessionDurationChange:Object(r.c)(n[3],a[3]),goalCompletions:u,goalCompletionsChange:Object(r.c)(n[4],a[4]),totalPageViews:l,totalPageViewsChange:Object(r.c)(n[5],a[5])}},c=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),a=Number(e.slice(4,6))-1,n=e.slice(6,8);return new Date(t,a.toString(),n)}return!1},s=a(39),u=a.n(s),l=a(22),d=function(e){return(parseInt(e,10)||0)>0};function m(e){return e===l.a||d(e)}function g(e){return"string"==typeof e&&e.match(/^UA-\d+-\d+$/)}function p(e){return e===l.f||g(e)}function f(e){return e===l.e||d(e)}function y(e){return"string"==typeof e&&e.trim().length>0}function T(e){if(!g(e))return!1;var t=e.match(/^UA-(\d+)-(\d+)/),a=u()(t,3);return{accountID:a[1],propertyID:e,number:a[2]}}var h=function(e){if(!e||!e.length)return null;var t=e[0].data,a=t.rows,i=t.totals[0].values[0],r=[["Source","Percent"]];return Object(n.each)(a,(function(e){var t=e.metrics[0].values[0]/i;if(1>100*t)return!1;var a=e.dimensions[0].replace(/\(none\)/gi,"direct");r.push([a,t])})),r};function b(e,t){var a=[];return Object(n.each)(e,(function(e){if(e.metrics){var n=e.metrics[0].values,i=e.dimensions[0],r=c(i);a.push([r,n[t]])}})),a}var I=function(e,t,a){if(!e||!e.length)return null;var r=e[0].data.rows;if(!r)return!1;var o=r.length;if(2*a>o){for(var c=new Date,s=0;a>s;s++){var u=(c.getMonth()+1).toString(),l=c.getDate().toString(),d=c.getFullYear().toString()+(2>u.length?"0":"")+u+(2>l.length?"0":"")+l;if(s>o){var m={dimensions:[d],metrics:[{values:[0,0,0,0,0]}]};r.unshift(m)}c.setDate(c.getDate()-1)}r.push([0,0])}var g=[Object(i.__)("Users","google-site-kit"),Object(i.__)("Sessions","google-site-kit"),Object(i.__)("Bounce Rate","google-site-kit"),Object(i.__)("Session Duration","google-site-kit")],p=[[{type:"date",label:Object(i.__)("Day","google-site-kit")},{type:"number",label:g[t]},{type:"number",label:Object(i.__)("Previous period","google-site-kit")}]],f=r.slice(r.length-a,r.length),y=r.slice(0,r.length-a),T=b(f,t),h=b(y,t);return Object(n.each)(T,(function(e,t){e[0]&&e[1]&&h[t]&&p.push([e[0],e[1],h[t][1]])})),p},v=function(e){if(!e||!e.length)return null;var t=e[0].data.rows,a=[[{type:"date",label:"Day"},{type:"number",label:"Users"},{type:"number",label:"Sessions"},{type:"number",label:"Goals Completed"}]];return Object(n.each)(t,(function(e){var t=e.metrics[0].values,n=e.dimensions[0],i=c(n);a.push([i,t[0],t[1],t[4]])})),a},N=function(e){return!(!e.error||!e.error.status)&&function(e,t){var a="";switch(e){case"INVALID_ARGUMENT":a=Object(i.__)("Analytics module needs to be configured.","google-site-kit");break;case"UNAUTHENTICATED":a=Object(i.__)("You need to be authenticated to get this data.","google-site-kit");break;case"PERMISSION_DENIED":a=Object(i.__)("Your account does not have sufficient permission to access this data, please consult to your web administrator.","google-site-kit");break;case"RESOURCE_EXHAUSTED":a=Object(i.__)("Your account exceeded the maximum quota. Please try again later.","google-site-kit");break;case"INTERNAL":a=Object(i.__)("Unexpected internal server error occurred.","google-site-kit");break;case"BACKEND_ERROR":a=Object(i.__)("Analytics server returned unknown error. Please try again later.","google-site-kit");break;case"UNAVAILABLE":a=Object(i.__)("The service was unable to process the request. Please try again later.","google-site-kit");break;default:a=t}return a}(e.error.status,e.error.message)},A=function(e){if(!e||!e.length)return!0;if(e&&e[0]&&e[0].data&&e[0].data.totals&&e[0].data.totals[0]){var t=e[0].data.totals[0].values,a=!0;return Object(n.each)(t,(function(e){0!==parseInt(e)&&(a=!1)})),a}return!1},Z={dimensions:["ga:pageTitle","ga:pagePath"].join(","),metrics:[{expression:"ga:adsenseRevenue",alias:"Earnings"},{expression:"ga:adsenseECPM",alias:"Page RPM"},{expression:"ga:adsensePageImpressions",alias:"Impressions"}],orderby:[{fieldName:"ga:adsenseRevenue",sortOrder:"DESCENDING"}],limit:10},_={compareDateRanges:1,dimensions:"ga:date",metrics:[{expression:"ga:users",alias:"Users"},{expression:"ga:sessions",alias:"Sessions"},{expression:"ga:bounceRate",alias:"Bounce Rate"},{expression:"ga:avgSessionDuration",alias:"Average Session Duration"},{expression:"ga:goalCompletionsAll",alias:"Goal Completions"}],limit:180},k={multiDateRange:1,dimensions:"ga:date",metrics:[{expression:"ga:users",alias:"Users"},{expression:"ga:sessions",alias:"Sessions"},{expression:"ga:bounceRate",alias:"Bounce Rate"},{expression:"ga:avgSessionDuration",alias:"Average Session Duration"},{expression:"ga:goalCompletionsAll",alias:"Goal Completions"},{expression:"ga:pageviews",alias:"Pageviews"}],limit:10},E={metrics:[{expression:"ga:users",alias:"Total Users"}]},S={dimensions:"ga:medium",metrics:[{expression:"ga:sessions",alias:"Sessions"},{expression:"ga:users",alias:"Users"},{expression:"ga:newUsers",alias:"New Users"}],orderby:[{fieldName:"ga:sessions",sortOrder:"DESCENDING"}],limit:10},P=function(){return{dimensions:["ga:pageTitle","ga:pagePath"].join(","),metrics:[{expression:"ga:pageviews",alias:"Pageviews"},{expression:"ga:uniquePageviews",alias:"Unique Pageviews"},{expression:"ga:bounceRate",alias:"Bounce rate"}],orderby:[{fieldName:"ga:pageviews",sortOrder:"DESCENDING"}],limit:10}}},21:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return o})),a.d(t,"b",(function(){return c}));var n=a(83),i=a.n(n),r=a(1),o=function(e){return function(t){return function FilteredComponent(a){return Object(r.f)(r.b,{},"",Object(r.f)(t,a),e)}}},c=function(t,a){return function(n){return function InnerComponent(r){return e.createElement(t,i()({},r,a,{OriginalComponent:n}))}}}}).call(this,a(11))},22:function(e,t,a){"use strict";a.d(t,"h",(function(){return n})),a.d(t,"a",(function(){return i})),a.d(t,"f",(function(){return r})),a.d(t,"e",(function(){return o})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return s})),a.d(t,"g",(function(){return u})),a.d(t,"b",(function(){return l}));var n="modules/analytics",i="account_create",r="property_create",o="profile_create",c="analyticsAccountCreate",s="analyticsSetup",u="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit"},23:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return i}));var n="core/user",i="missing_required_scopes"},235:function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"d",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return c}));var n=a(12),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"}}],r=i.reduce((function(e,t){return e[t.countryCode]=t.timeZone,e}),{}),o=Object(n.keyBy)(i,"countryCode"),c=i.reduce((function(e,t){return t.timeZone.forEach((function(a){var n=a.timeZoneId;return e[n]=t.countryCode})),e}),{});i.reduce((function(e,t){return t.timeZone.forEach((function(a){var n=a.timeZoneId;e[n]=t})),e}),{})},239:function(e,t,a){"use strict";a.d(t,"a",(function(){return g.a}));var n=a(14),i=a.n(n),r=a(86),o=a(10),c=a.n(o),s=a(20),u=a.n(s);function l(e,t){var a=Object.keys(e);return Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(e)),t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(a,!0).forEach((function(t){c()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var m={INITIAL_STATE:{},actions:{setValues:function(e,t){return u()(e,"formName is required for setting values."),u()(t instanceof Object&&t.constructor===Object,"formData must be an object."),{payload:{formName:e,formData:t},type:"SET_FORM_VALUES"}}},controls:{},reducer:function(e,t){var a=t.type,n=t.payload;switch(a){case"SET_FORM_VALUES":var i=n.formName,r=n.formData;return d({},e,c()({},i,d({},e[i]||{},{},r)));default:return d({},e)}},resolvers:{},selectors:{getValue:function(e,t,a){return(e[t]||{})[a]},hasForm:function(e,t){return!!e[t]}}},g=a(90),p=i.a.combineStores(i.a.commonStore,m,Object(r.a)(g.a));p.INITIAL_STATE,p.actions,p.controls,p.reducer,p.resolvers,p.selectors;i.a.registerStore(g.a,p)},249:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ErrorNotice}));a(1);var n=a(14),i=a.n(n),r=a(22),o=a(23),c=a(143),s=i.a.useSelect;function ErrorNotice(){var t=s((function(e){return e(r.h).getError()}));return t&&t.code!==o.a?e.createElement(c.a,{message:t.message}):null}}).call(this,a(11))},250:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return CreateAccountField}));a(1);var n=a(34),i=a(17),r=a.n(i);function CreateAccountField(t){var a=t.hasError,i=t.value,o=t.setValue,c=t.name,s=t.label;return void 0===i?null:e.createElement(n.k,{className:r()("mdc-text-field",{"mdc-text-field--error":a}),label:s,name:c,onChange:function(e){o(e.target.value,c)},outlined:!0,required:!0},e.createElement(n.b,{name:c,value:i,id:"googlesitekit_analytics_account_create_".concat(c)}))}}).call(this,a(11))},265:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(23);function i(e){return(null==e?void 0:e.code)===n.a}},27:function(e,t,a){"use strict";(function(e){var n=a(5),i=a.n(n),r=a(6),o=a.n(r),c=a(7),s=a.n(c),u=a(8),l=a.n(u),d=a(9),m=a.n(d),g=a(1),p=a(2),f=a.n(p),y=a(17),T=a.n(y),h=function(t){function Link(){return i()(this,Link),s()(this,l()(Link).apply(this,arguments))}return m()(Link,t),o()(Link,[{key:"render",value:function(){var t=this.props,a=t.dangerouslySetInnerHTML,n=t.onClick,i=t.href,r=t.children,o=t.className,c=t.arrow,s=t.external,u=t.inverse,l=t.back,d=t.small,m=t.inherit,g=t.caps,p=t.danger,f=t.disabled,y=t.id,h=i&&!f,b=h?"a":"button";return e.createElement(b,{className:T()("googlesitekit-cta-link",o,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":s,"googlesitekit-cta-link--inverse":u,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":d,"googlesitekit-cta-link--inherit":m,"googlesitekit-cta-link--caps":g,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":f}),onClick:n,id:y,href:h?i:void 0,target:h&&s?"_blank":void 0,rel:s?"noopener noreferrer":void 0,disabled:f,dangerouslySetInnerHTML:a},r)}}]),Link}(g.a);h.propTypes={dangerouslySetInnerHTML:f.a.shape({__html:f.a.string}),onClick:f.a.func,href:f.a.string,children:f.a.oneOfType([f.a.string.isRequired,f.a.array.isRequired]),className:f.a.string,arrow:f.a.bool,external:f.a.bool,inverse:f.a.bool,back:f.a.bool,small:f.a.bool,inherit:f.a.bool,caps:f.a.bool,danger:f.a.bool,disabled:f.a.bool},h.defaultProps={dangerouslySetInnerHTML:void 0,onClick:null,href:"",className:"",arrow:!1,external:!1,inverse:!1,back:!1,small:!1,inherit:!1,caps:!1,danger:!1,disabled:!1},t.a=h}).call(this,a(11))},28:function(e,t,a){"use strict";(function(e){a.d(t,"d",(function(){return s})),a.d(t,"e",(function(){return u})),a.d(t,"b",(function(){return l})),a.d(t,"a",(function(){return d})),a.d(t,"c",(function(){return m}));var n=a(32),i=a.n(n),r=a(12),o=a(38),c=a(55),s=function(){e._googlesitekitLegacyData.admin=e._googlesitekitLegacyData.admin||{},"string"==typeof e._googlesitekitLegacyData.admin.datacache&&(e._googlesitekitLegacyData.admin.datacache=JSON.parse(e._googlesitekitLegacyData.admin.datacache)),"object"!==i()(e._googlesitekitLegacyData.admin.datacache)&&(e._googlesitekitLegacyData.admin.datacache={})},u=function(t,a){if(void 0!==a&&(!a||"object"!==i()(a)||!a.error&&!a.errors)){s(),e._googlesitekitLegacyData.admin.datacache[t]=Object(r.cloneDeep)(a);var n={value:a,date:Date.now()/1e3};Object(o.a)().setItem("googlesitekit_"+t,JSON.stringify(n))}},l=function(t,a){if(!e._googlesitekitLegacyData.admin.nojscache){if(s(),void 0!==e._googlesitekitLegacyData.admin.datacache[t])return e._googlesitekitLegacyData.admin.datacache[t];var n=JSON.parse(Object(o.a)().getItem("googlesitekit_"+t));return n&&"object"===i()(n)&&n.date&&(!a||Date.now()/1e3-n.date<a)?(e._googlesitekitLegacyData.admin.datacache[t]=Object(r.cloneDeep)(n.value),Object(r.cloneDeep)(e._googlesitekitLegacyData.admin.datacache[t])):void 0}},d=function(t){s(),delete e._googlesitekitLegacyData.admin.datacache[t],Object(o.a)().removeItem("googlesitekit_"+t)},m=function(e,t,a){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=[],o=[e,t,a],s=0,u=o;s<u.length;s++){var l=u[s];if(!l||!l.length)break;r.push(l)}return 3===r.length&&n&&"object"===i()(n)&&Object.keys(n).length&&r.push(Object(c.a)(n)),r.join("::")}}).call(this,a(16))},286:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SetupForm}));var n=a(3),i=a.n(n),r=a(1),o=a(2),c=a.n(o),s=a(0),u=a(14),l=a.n(u),d=a(43),m=a(22),g=a(23),p=a(90),f=a(115),y=a(4),T=a(265),h=l.a.useSelect,b=l.a.useDispatch;function SetupForm(t){var a=t.finishSetup,n=h((function(e){return e(m.h).getAccounts()}))||[],o=h((function(e){return e(m.h).hasExistingTag()})),c=h((function(e){return e(m.h).canSubmitChanges()})),u=h((function(e){return e(g.b).hasScope(m.b)})),l=h((function(e){return e(p.a).getValue(m.d,"autoSubmit")})),I=b(p.a).setValues,v=b(m.h).submitChanges,N=Object(r.l)((function(e){var t,n;return i.a.async((function(r){for(;;)switch(r.prev=r.next){case 0:return e.preventDefault(),r.next=3,i.a.awrap(v());case 3:if(t=r.sent,n=t.error,Object(T.a)(n)&&I(m.d,{autoSubmit:!0}),n){r.next=11;break}return I(m.d,{autoSubmit:!1}),r.next=10,i.a.awrap(Object(y.y)("analytics_setup","analytics_configured"));case 10:a();case 11:case"end":return r.stop()}}))}),[c,a]);return Object(r.n)((function(){l&&u&&N({preventDefault:function(){}})}),[u,l,N]),e.createElement("form",{className:"googlesitekit-analytics-setup__form",onSubmit:N},e.createElement(f.e,null),e.createElement(f.g,null),!!n.length&&!o&&e.createElement("p",{className:"googlesitekit-margin-bottom-0"},Object(s.__)("Please select the account information below. You can change this view later in your settings.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(f.c,null),e.createElement(f.j,null),e.createElement(f.i,null)),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(d.a,{disabled:!c},Object(s.__)("Configure Analytics","google-site-kit"))))}SetupForm.propTypes={finishSetup:c.a.func},SetupForm.defaultProps={finishSetup:function(){}}}).call(this,a(11))},287:function(e,t,a){"use strict";(function(e){a.d(t,"b",(function(){return p})),a.d(t,"a",(function(){return TrackingExclusionSwitches}));var n=a(10),i=a.n(n),r=a(1),o=a(0),c=a(14),s=a.n(c),u=a(22),l=a(121),d=s.a.useSelect,m=s.a.useDispatch,g="loggedinUsers",p=i()({},g,Object(o.__)("Logged-in users","google-site-kit"));function TrackingExclusionSwitches(){var t=d((function(e){return e(u.h).getTrackingDisabled()})),a=m(u.h).setTrackingDisabled,n=Object(r.l)((function(e){var t=e.target.checked;a(t?[g]:[])}),[t]);return Array.isArray(t)?e.createElement("fieldset",{className:"googlesitekit-analytics-trackingdisabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(o.__)("Exclude from Analytics","google-site-kit")),e.createElement("div",null,e.createElement(l.a,{label:p[g],checked:t.includes(g),onClick:n,hideLabel:!1})),e.createElement("p",null,t.includes(g)&&Object(o.__)("Logged-in users will be excluded from Analytics tracking.","google-site-kit"),!t.includes(g)&&Object(o.__)("Logged-in users will be included in Analytics tracking.","google-site-kit"))):null}}).call(this,a(11))},30:function(e,t,a){"use strict";(function(e,n){a(1);var i=a(2),r=a.n(i),o=a(17),c=a.n(o),s=function SvgIcon(t){var a=t.id,i=t.className,r=t.height,o=t.width,s="".concat(e._googlesitekitLegacyData.admin.assetsRoot,"svg/svg.svg");return n.createElement("svg",{className:c()("svg",i),height:r,width:o},n.createElement("use",{xlinkHref:"".concat(s,"#").concat(a)}))};s.propTypes={id:r.a.string.isRequired,className:r.a.string,height:r.a.string,width:r.a.string},s.defaultProps={className:"",height:20,width:20},t.a=s}).call(this,a(16),a(11))},33:function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return i}));var n="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},34:function(e,t,a){"use strict";var n=a(89),i=a.n(n);a.d(t,"k",(function(){return i.a})),a.d(t,"a",(function(){return n.HelperText})),a.d(t,"b",(function(){return n.Input}));var r=a(147);a.d(t,"g",(function(){return r.a}));var o=a(217);a.d(t,"e",(function(){return o.a}));var c=a(111),s=a.n(c);a.d(t,"j",(function(){return s.a})),a.d(t,"i",(function(){return c.Option}));var u=a(216);a.d(t,"h",(function(){return u.a}));var l=a(215);a.d(t,"d",(function(){return l.a}));var d=a(214);a.d(t,"c",(function(){return d.a}));var m=a(213);a.d(t,"f",(function(){return m.a}))},357:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SetupMain}));var n=a(39),i=a.n(n),r=a(1),o=a(2),c=a.n(o),s=a(0),u=a(14),l=a.n(u),d=a(286),m=a(44),g=a(4),p=a(22),f=a(56),y=a(115),T=a(19),h=l.a.useSelect,b=l.a.useDispatch;function SetupMain(t){var a=t.finishSetup,n=h((function(e){return e(p.h).getAccounts()})),o=h((function(e){return e(p.h).getAccountID()})),c=h((function(e){return e(p.h).getExistingTag()}))||{},u=h((function(e){return e(p.h).hasExistingTag()})),l=h((function(e){return e(p.h).hasExistingTagPermission()})),I=h((function(e){return e(p.h).isDoingGetAccounts()})),v=h((function(e){return e(p.h).isDoingSubmitChanges()})),N=h((function(e){return e(p.h).hasFinishedResolution("getAccounts")})),A=p.a===o,Z=h((function(e){return e(f.b).isUsingProxy()})),_=b(p.h),k=_.setAccountID,E=_.selectProperty;Object(r.n)((function(){if(u){var e=Object(T.q)(c).accountID;k(e),E(c)}}),[u,c]);var S,P=Object(r.s)(!1),O=i()(P,2),C=O[0],M=O[1];return Object(r.n)((function(){Object(g.y)("analytics_setup","configure_analytics_screen")}),[]),S=I||v||!N||C?e.createElement(m.a,null):u&&!1===l?e.createElement(y.f,null):A||Array.isArray(n)&&!n.length?Z?e.createElement(y.a,null):e.createElement(y.b,null):e.createElement(d.a,{finishSetup:function(){a.apply(void 0,arguments),M(!0)}}),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(g.a,{id:"analytics",width:"33",height:"33"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(s._x)("Analytics","Service name","google-site-kit")),S)}SetupMain.propTypes={finishSetup:c.a.func},SetupMain.defaultProps={finishSetup:function(){}}}).call(this,a(11))},358:function(e,t,a){"use strict";(function(e,n){a.d(t,"a",(function(){return AccountCreateLegacy}));var i=a(3),r=a.n(i),o=a(1),c=a(0),s=a(14),u=a.n(s),l=a(43),d=a(27),m=a(44),g=a(4),p=a(22),f=a(249),y=u.a.useSelect,T=u.a.useDispatch;function AccountCreateLegacy(){var t=y((function(e){return e(p.h).getAccounts()})),a=y((function(e){return e(p.h).getAccountID()})),i=y((function(e){return e(p.h).isDoingGetAccounts()})),s=p.a===a,u=T(p.h).resetAccounts,h=Object(o.l)((function(){u()}));return i?n.createElement(m.a,null):n.createElement("div",null,n.createElement(f.a,null),!s&&t&&0===t.length&&n.createElement("p",null,Object(c.__)('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")),s&&n.createElement(o.b,null,n.createElement("p",null,Object(c.__)("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")),n.createElement("p",null,Object(c.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),n.createElement("div",{className:"googlesitekit-setup-module__action"},n.createElement(l.a,{onClick:function(t){return r.a.async((function(a){for(;;)switch(a.prev=a.next){case 0:return t.preventDefault(),a.next=3,r.a.awrap(Object(g.y)("analytics_setup","new_analytics_account"));case 3:e.open("https://analytics.google.com/analytics/web/?#/provision/SignUp","_blank");case 4:case"end":return a.stop()}}))}},Object(c.__)("Create an account","google-site-kit")),n.createElement("div",{className:"googlesitekit-setup-module__sub-action"},n.createElement(d.a,{onClick:h},Object(c.__)("Re-fetch My Account","google-site-kit")))))}}).call(this,a(16),a(11))},359:function(e,t,a){"use strict";(function(e,n){a.d(t,"a",(function(){return AccountCreate}));var i=a(3),r=a.n(i),o=a(39),c=a.n(o),s=a(1),u=a(0),l=a(43),d=a(27),m=a(44),g=a(4),p=a(390),f=a(391),y=a(392),T=a(393),h=a(394),b=a(249),I=a(22),v=a(56),N=a(23),A=a(90),Z=a(235),_=a(14),k=a.n(_),E=k.a.useDispatch,S=k.a.useSelect;function AccountCreate(){var t=S((function(e){return e(I.h).getAccountTicketTermsOfServiceURL()})),a=S((function(e){return e(I.h).canSubmitAccountCreate()})),i=S((function(e){return e(I.h).isDoingCreateAccount()})),o=S((function(e){return e(I.h).getAccounts()})),_=S((function(e){return e(N.b).hasScope(I.g)})),k=S((function(e){return e(A.a).hasForm(I.c)})),P=S((function(e){return e(A.a).getValue(I.c,"autoSubmit")})),O=S((function(e){return e(v.b).getReferenceSiteURL()})),C=S((function(e){return e(v.b).getSiteName()})),M=S((function(e){return e(v.b).getTimezone()})),G=Object(s.s)(!1),j=c()(G,2),w=j[0],D=j[1];Object(s.n)((function(){t&&e.location.assign(t)}),[t]);var L=E(A.a).setValues;Object(s.n)((function(){if(!k){var e=new URL(O).hostname;M=Z.c[M]?M:Intl.DateTimeFormat().resolvedOptions().timeZone,L(I.c,{accountName:C,propertyName:e,profileName:Object(u.__)("All Web Site Data","google-site-kit"),countryCode:Z.c[M],timezone:M})}}),[k,C,O,M]);var x=E(I.h).createAccount,R=E(N.b).setPermissionScopeError,B=Object(s.l)((function(){var e;return r.a.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(_){t.next=4;break}return L(I.c,{autoSubmit:!0}),R({code:N.a,message:Object(u.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:[I.g],skipModal:!0}}),t.abrupt("return");case 4:return L(I.c,{autoSubmit:!1}),t.next=7,r.a.awrap(Object(g.y)("analytics_setup","new_account_setup_clicked"));case 7:return t.next=9,r.a.awrap(x());case 9:e=t.sent,e.error||D(!0);case 12:case"end":return t.stop()}}))}),[x,D,_,R]);Object(s.n)((function(){_&&P&&B()}),[_,P,B]);var U=E(I.h).rollbackSettings,F=Object(s.l)((function(){return U()}));return i||w||void 0===o||void 0===_?n.createElement(m.a,null):n.createElement("div",null,n.createElement(b.a,null),n.createElement("h3",{className:"googlesitekit-heading-4"},Object(u.__)("Create your Analytics account","google-site-kit")),n.createElement("p",null,Object(u.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),n.createElement("div",{className:"googlesitekit-setup-module__inputs"},n.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-6"},n.createElement(f.a,null)),n.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-6"},n.createElement(y.a,null)),n.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-6"},n.createElement(T.a,null))),n.createElement("div",{className:"googlesitekit-setup-module__inputs"},n.createElement(h.a,null),n.createElement(p.a,null)),n.createElement("p",null,_&&Object(u.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit"),!_&&Object(u.__)("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")),n.createElement("div",{className:"googlesitekit-setup-module__action"},n.createElement(l.a,{disabled:!a,onClick:B},Object(u.__)("Create Account","google-site-kit")),o&&!!o.length&&n.createElement(d.a,{className:"googlesitekit-setup-module__sub-action",onClick:F},Object(u.__)("Back","google-site-kit"))))}}).call(this,a(16),a(11))},360:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return AccountSelect}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(44),s=a(34),u=a(22),l=a(4),d=o.a.useSelect,m=o.a.useDispatch;function AccountSelect(){var t=d((function(e){return e(u.h).getAccounts()})),a=d((function(e){return e(u.h).getAccountID()})),r=d((function(e){return e(u.h).hasExistingTag()})),o=d((function(e){return e(u.h).isDoingGetAccounts()})),g=m(u.h).selectAccount,p=Object(n.l)((function(e,t){var n=t.dataset.value;a!==n&&(g(n),Object(l.y)("analytics_setup","account_change",n))}),[a]);return void 0===t||o?e.createElement(c.a,{small:!0}):e.createElement(s.j,{className:"googlesitekit-analytics__select-account",label:Object(i.__)("Account","google-site-kit"),value:a,onEnhancedChange:p,disabled:r,enhanced:!0,outlined:!0},(t||[]).concat({id:u.a,name:Object(i.__)("Set up a new account","google-site-kit")}).map((function(t,a){var n=t.id,i=t.name;return e.createElement(s.i,{key:a,value:n},i)})))}}).call(this,a(11))},361:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return AnonymizeIPSwitch}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(22),s=a(56),u=a(121),l=a(27),d=a(4),m=o.a.useSelect,g=o.a.useDispatch;function AnonymizeIPSwitch(){var t=m((function(e){return e(c.h).getAnonymizeIP()})),a=m((function(e){return e(c.h).getUseSnippet()})),r=m((function(e){return e(s.b).getAMPMode()})),o=g(c.h).setAnonymizeIP,p=Object(n.l)((function(){o(!t)}),[t]);return a&&"primary"!==r&&void 0!==t?e.createElement("div",{className:"googlesitekit-analytics-anonymizeip"},e.createElement(u.a,{label:Object(i.__)("Anonymize IP addresses","google-site-kit"),onClick:p,checked:t,hideLabel:!1}),e.createElement("p",null,t?Object(i.__)("IP addresses will be anonymized.","google-site-kit"):Object(i.__)("IP addresses will not be anonymized.","google-site-kit")," ",e.createElement(l.a,{href:"https://support.google.com/analytics/answer/2763052",external:!0,inherit:!0,dangerouslySetInnerHTML:Object(d.u)(Object(i.__)('Learn more<span class="screen-reader-text"> about IP anonymization.</span>',"google-site-kit"),{ALLOWED_TAGS:["span"],ALLOWED_ATTR:["class"]})}))):null}}).call(this,a(11))},362:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ExistingTagError}));a(1);var n=a(0),i=a(14),r=a.n(i),o=a(22),c=a(143),s=r.a.useSelect;function ExistingTagError(){var t=s((function(e){return e(o.h).getExistingTag()}));if(!t)return null;var a=Object(n.sprintf)(
|
4 |
/* translators: %s: Property id of the existing tag */
|
5 |
Object(n.__)("We've detected there's already an existing Analytics tag on your site (ID %s), but your account doesn't seem to have access to this Analytics property. You can either remove the existing tag and connect to a different account, or request access to this property from your team.","google-site-kit"),t);return e.createElement(c.a,{message:a})}}).call(this,a(11))},363:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ExistingTagNotice}));a(1);var n=a(0),i=a(14),r=a.n(i),o=a(22),c=r.a.useSelect;function ExistingTagNotice(){var t=c((function(e){return e(o.h).hasExistingTag()})),a=c((function(e){return e(o.h).getExistingTag()}));return t?e.createElement("p",null,Object(n.sprintf)(
|
6 |
/* translators: %s: Analytics tag ID */
|
7 |
-
Object(n.__)("An existing analytics tag was found on your site with the ID %s. If later on you decide to replace this tag, Site Kit can place the new tag for you. Make sure you remove the old tag first.","google-site-kit"),a)):null}}).call(this,a(11))},364:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ProfileNameTextField}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(239),s=a(34),u=a(22),l=o.a.useSelect,d=o.a.useDispatch;function ProfileNameTextField(){var t,a,r=l((function(e){return e(u.h).getPropertyID()})),o=l((function(e){return e(u.h).getProfiles(r)})),m=l((function(e){return e(u.h).getProfileID()})),g=l((function(e){return e(c.a).getValue(u.d,"profileName")})),p=d(c.a).setValues,f=Object(n.l)((function(e){var t=e.currentTarget;p(u.d,{profileName:t.value})}),[]);return Object(n.n)((function(){p(u.d,{profileName:Object(i.__)("All Web Site Data","google-site-kit")})}),[]),m!==u.e?null:(Array.isArray(o)&&o.some((function(e){return e.name===g}))&&(t=e.createElement(s.a,{persistent:!0},Object(i.__)("A view with this name already exists.","google-site-kit")),a=e.createElement("span",{className:"googlesitekit-settings-module__status-icon googlesitekit-settings-module__status-icon--warning"},e.createElement("span",{className:"screen-reader-text"},Object(i.__)("Warning","google-site-kit")))),e.createElement("div",{className:"googlesitekit-analytics-profilename"},e.createElement(s.k,{label:Object(i.__)("View Name","google-site-kit"),outlined:!0,helperText:t,trailingIcon:a},e.createElement(s.b,{value:g,onChange:f})),e.createElement("p",null,Object(i.__)("You can make changes to this view (e.g. exclude URL query parameters) in Google Analytics.","google-site-kit"))))}}).call(this,a(11))},365:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ProfileSelect}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(34),s=a(44),u=a(22),l=a(19),d=a(4),m=o.a.useSelect,g=o.a.useDispatch;function ProfileSelect(){var t=m((function(e){return e(u.h).getAccountID()})),a=m((function(e){return e(u.h).getPropertyID()})),r=m((function(e){return e(u.h).getProfiles(a)})),o=m((function(e){return e(u.h).getProfileID()})),p=m((function(e){return e(u.h).isDoingGetAccounts()})),f=m((function(e){return e(u.h).isDoingGetProperties(t)})),y=m((function(e){return e(u.h).isDoingGetProfiles(a)})),T=g(u.h).setProfileID,h=Object(n.l)((function(e,t){var a=t.dataset.value;o!==a&&(T(t.dataset.value),Object(d.y)("analytics_setup","profile_change",t.dataset.value))}),[o]);return p||f||y?e.createElement(s.a,{small:!0}):e.createElement(c.j,{className:"googlesitekit-analytics__select-profile",label:Object(i.__)("View","google-site-kit"),value:o,onEnhancedChange:h,disabled:!Object(l.i)(t)||!Object(l.n)(a),enhanced:!0,outlined:!0},(r||[]).concat({id:u.e,name:Object(i.__)("Set up a new view","google-site-kit")}).map((function(t,a){var n=t.id,i=t.name;return e.createElement(c.i,{key:a,value:n},i)})))}}).call(this,a(11))},366:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return PropertySelect}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(34),s=a(44),u=a(22),l=a(19),d=a(4),m=o.a.useSelect,g=o.a.useDispatch;function PropertySelect(){var t=m((function(e){return e(u.h).getAccountID()})),a=m((function(e){return e(u.h).getPropertyID()})),r=m((function(e){return e(u.h).getProperties(t)})),o=m((function(e){return e(u.h).hasExistingTag()})),p=m((function(e){return e(u.h).isDoingGetAccounts()})),f=m((function(e){return e(u.h).isDoingGetProperties(t)})),y=g(u.h).selectProperty,T=Object(n.l)((function(e,t){var n=t.dataset.value;a!==n&&(y(n,t.dataset.internalId),Object(d.y)("analytics_setup","property_change",n))}),[a]);return p||f?e.createElement(s.a,{small:!0}):e.createElement(c.j,{className:"googlesitekit-analytics__select-property",label:Object(i.__)("Property","google-site-kit"),value:a,onEnhancedChange:T,disabled:o||!Object(l.i)(t),enhanced:!0,outlined:!0},(r||[]).concat({id:u.f,name:Object(i.__)("Set up a new property","google-site-kit")}).map((function(t,a){var n=t.id,i=t.name,r=t.internalWebPropertyId;return(e.createElement(c.i,{key:a,value:n,"data-internal-id":r},i))})))}}).call(this,a(11))},367:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return UseSnippetSwitch}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(22),s=a(121),u=a(4),l=o.a.useSelect,d=o.a.useDispatch;function UseSnippetSwitch(){var t=l((function(e){return e(c.h).getUseSnippet()})),a=d(c.h).setUseSnippet,r=Object(n.l)((function(){a(!t),Object(u.y)("analytics_setup",t?"analytics_tag_enabled":"analytics_tag_disabled")}),[t]);return void 0===t?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(s.a,{label:Object(i.__)("Let Site Kit place code on your site","google-site-kit"),checked:t,onClick:r,hideLabel:!1}),e.createElement("p",null,t&&Object(i.__)("Site Kit will add the code automatically.","google-site-kit"),!t&&Object(i.__)("Site Kit will not add the code to your site.","google-site-kit")))}}).call(this,a(11))},368:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SettingsMain}));var n=a(1),i=a(14),r=a.n(i),o=a(395),c=a(397),s=a(22),u=r.a.useSelect,l=r.a.useDispatch;function SettingsMain(t){var a=t.isOpen,i=t.isEditing,r=u((function(e){return e(s.h).isDoingSubmitChanges()})),d=u((function(e){return e(s.h).haveSettingsChanged()})),m=l(s.h).rollbackSettings;return Object(n.n)((function(){!d||r||i||m()}),[d,r,i]),a?i?e.createElement(o.a,null):e.createElement(c.a,null):null}}).call(this,a(11))},38:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return l}));var n,i=a(5),r=a.n(i),o=a(6),c=a.n(o),s=function(t){var a=e[t];if(!a)return!1;try{var n="__storage_test__";return a.setItem(n,n),a.removeItem(n),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==a.length}},u=function(){function NullStorage(){r()(this,NullStorage)}return c()(NullStorage,[{key:"key",value:function(){return null}},{key:"getItem",value:function(){return null}},{key:"setItem",value:function(){}},{key:"removeItem",value:function(){}},{key:"clear",value:function(){}},{key:"length",get:function(){return 0}}]),NullStorage}(),l=function(){return n||(n=s("sessionStorage")?e.sessionStorage:s("localStorage")?e.localStorage:new u),n}}).call(this,a(16))},390:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return TimezoneSelect}));var n=a(1),i=a(0),r=a(34),o=a(235),c=a(14),s=a.n(c),u=a(22),l=a(90),d=s.a.useSelect,m=s.a.useDispatch;function TimezoneSelect(){var t=d((function(e){return e(l.a).getValue(u.c,"countryCode")})),a=d((function(e){return e(l.a).getValue(u.c,"timezone")})),c=m(l.a).setValues,s=Object(n.l)((function(e,t){c(u.c,{timezone:t.dataset.value})}),[c]);return e.createElement(r.j,{className:"googlesitekit-analytics__select-timezone",label:Object(i.__)("Timezone","google-site-kit"),value:a,onEnhancedChange:s,disabled:!t,enhanced:!0,outlined:!0},(o.d[t]||[]).map((function(t,a){var n=t.timeZoneId,i=t.displayName;return e.createElement(r.i,{key:a,value:n},i)})))}}).call(this,a(11))},391:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return AccountField}));var n=a(1),i=a(0),r=a(250),o=a(14),c=a.n(o),s=a(22),u=a(90),l=c.a.useSelect,d=c.a.useDispatch;function AccountField(){var t=l((function(e){return e(u.a).getValue(s.c,"accountName")})),a=d(u.a).setValues,o=Object(n.l)((function(e){a(s.c,{accountName:e})}),[a]);return e.createElement(r.a,{label:Object(i.__)("Account","google-site-kit"),hasError:!t,value:t,setValue:o,name:"account"})}}).call(this,a(11))},392:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return PropertyField}));var n=a(1),i=a(0),r=a(250),o=a(14),c=a.n(o),s=a(22),u=a(90),l=c.a.useSelect,d=c.a.useDispatch;function PropertyField(){var t=l((function(e){return e(u.a).getValue(s.c,"propertyName")})),a=d(u.a).setValues,o=Object(n.l)((function(e){a(s.c,{propertyName:e})}),[a]);return e.createElement(r.a,{label:Object(i.__)("Property","google-site-kit"),value:t,hasError:!t,setValue:o,name:"property"})}}).call(this,a(11))},393:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ProfileField}));var n=a(1),i=a(0),r=a(250),o=a(14),c=a.n(o),s=a(22),u=a(90),l=c.a.useSelect,d=c.a.useDispatch;function ProfileField(){var t=l((function(e){return e(u.a).getValue(s.c,"profileName")})),a=d(u.a).setValues,o=Object(n.l)((function(e){a(s.c,{profileName:e})}),[a]);return e.createElement(r.a,{label:Object(i.__)("View","google-site-kit"),value:t,hasError:!t,setValue:o,name:"profile"})}}).call(this,a(11))},394:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return CountrySelect}));var n=a(1),i=a(0),r=a(34),o=a(235),c=a(14),s=a.n(c),u=a(22),l=a(90),d=s.a.useSelect,m=s.a.useDispatch;function CountrySelect(){var t=d((function(e){return e(l.a).getValue(u.c,"countryCode")})),a=m(l.a).setValues,c=Object(n.l)((function(e,n){var i=n.dataset.value;i!==t&&o.b[i]&&a(u.c,{countryCode:i,timezone:o.b[i].defaultTimeZoneId})}),[a]);return e.createElement(r.j,{className:"googlesitekit-analytics__select-country",label:Object(i.__)("Country","google-site-kit"),value:t,onEnhancedChange:c,enhanced:!0,outlined:!0},o.a.map((function(t,a){var n=t.countryCode,i=t.displayName;return e.createElement(r.i,{key:a,value:n},i)})))}}).call(this,a(11))},395:function(e,t,a){"use strict";(function(e,n){a.d(t,"a",(function(){return SettingsEdit}));var i=a(3),r=a.n(i),o=a(1),c=a(13),s=a(14),u=a.n(s),l=a(22),d=a(56),m=a(396),g=a(44),p=a(115),f=a(19),y=u.a.useSelect,T=u.a.useDispatch;function SettingsEdit(){var t=y((function(e){return e(l.h).getAccounts()}))||[],a=y((function(e){return e(l.h).getAccountID()})),i=y((function(e){return e(l.h).hasExistingTag()})),s=y((function(e){return e(l.h).getExistingTag()}))||{},u=y((function(e){return e(l.h).hasExistingTagPermission()})),h=y((function(e){return e(l.h).canSubmitChanges()})),b=y((function(e){return e(l.h).isDoingGetAccounts()})),I=y((function(e){return e(l.h).isDoingSubmitChanges()})),v=y((function(e){return e(l.h).hasFinishedResolution("getAccounts")})),N=l.a===a,A=y((function(e){return e(d.b).isUsingProxy()})),Z=T(l.h),_=Z.setAccountID,k=Z.selectProperty;Object(o.n)((function(){if(i){var e=Object(f.q)(s).accountID;_(e),k(s)}}),[i,s]),Object(o.n)((function(){var t=e.document.getElementById("confirm-changes-analytics");t&&(t.disabled=!h)}),[h]);var E,S=T(l.h).submitChanges;return Object(o.n)((function(){return Object(c.b)("googlekit.SettingsConfirmed","googlekit.AnalyticsSettingsConfirmed",(function(e,t){var a,n;return r.a.async((function(i){for(;;)switch(i.prev=i.next){case 0:if("analytics-module"!==t){i.next=8;break}return i.next=3,r.a.awrap(S());case 3:if(a=i.sent,!(n=a.error)){i.next=7;break}return i.abrupt("return",Promise.reject(n));case 7:return i.abrupt("return",Promise.resolve());case 8:return i.abrupt("return",e);case 9:case"end":return i.stop()}}))})),function(){Object(c.g)("googlekit.SettingsConfirmed","googlekit.AnalyticsSettingsConfirmed")}}),[]),E=b||I||!v?n.createElement(g.a,null):i&&!1===u?n.createElement(p.f,null):!t.length||N?A?n.createElement(p.a,null):n.createElement(p.b,null):n.createElement(m.a,null),n.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},E)}}).call(this,a(16),a(11))},396:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SettingsForm}));a(1);var n=a(115);function SettingsForm(){return e.createElement("div",{className:"googlesitekit-analytics-settings-fields"},e.createElement(n.e,null),e.createElement(n.g,null),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(n.c,null),e.createElement(n.j,null),e.createElement(n.i,null)),e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(n.h,null),e.createElement(n.l,null),e.createElement(n.d,null),e.createElement(n.k,null)))}}).call(this,a(11))},397:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SettingsView}));var n=a(398),i=a.n(n),r=(a(1),a(0)),o=a(14),c=a.n(o),s=a(93),u=a(399),l=a(22),d=a(56),m=a(23),g=a(287),p=a(115);function f(){var e=i()(["https://analytics.google.com/analytics/web/?authuser=","#/a","w","p","/admin/view/settings"]);return f=function(){return e},e}var y=c.a.useSelect;function SettingsView(){var t=y((function(e){return e(l.h).getAccountID()})),a=y((function(e){return e(l.h).getPropertyID()})),n=y((function(e){return e(l.h).getInternalWebPropertyID()})),i=y((function(e){return e(l.h).getProfileID()})),o=y((function(e){return e(l.h).getUseSnippet()})),c=y((function(e){return e(l.h).getAnonymizeIP()})),T=y((function(e){return e(l.h).getTrackingDisabled()}))||[],h=y((function(e){return e(l.h).hasExistingTag()})),b=y((function(e){return e(l.h).hasExistingTagPermission()})),I=y((function(e){return e(d.b).getAMPMode()})),v=y((function(e){return e(m.b).getEmail()})),N=Object(u.a)(f(),v,t,n,i);return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},(!h||b)&&e.createElement(p.e,null),h&&!b&&void 0!==b&&e.createElement(p.f,null),h&&b&&void 0!==b&&e.createElement(p.g,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.__)("Account","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(s.a,{value:t}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Property","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(s.a,{value:a}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("View","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(s.a,{value:i})))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("a",{className:"googlesitekit-cta-link googlesitekit-cta-link--external",href:N,target:"_blank",rel:"noopener noreferrer"},Object(r.__)("You can make changes to this view (e.g. exclude URL query parameters) in Google Analytics","google-site-kit")))),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.__)("Analytics Code Snippet","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},o&&Object(r.__)("Snippet is inserted","google-site-kit"),!o&&!h&&Object(r.__)("Snippet is not inserted","google-site-kit"),!o&&h&&Object(r.__)("Inserted by another plugin or theme","google-site-kit")))),o&&"primary"!==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(r.__)("IP Address Anonymization","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},c&&Object(r.__)("IP addresses are being anonymized","google-site-kit"),!c&&Object(r.__)("IP addresses are not being anonymized","google-site-kit")))),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"},!!T.length&&T.map((function(e){return g.b[e]})).join(Object(r._x)(", ","list separator","google-site-kit")),!T.length&&Object(r.__)("Analytics is currently enabled for all visitors.","google-site-kit")))))}}).call(this,a(11))},399:function(e,t,a){"use strict";function n(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];return e.reduce((function(e,t,n){return e+t+encodeURIComponent(a[n]||"")}),"")}a.d(t,"a",(function(){return n}))},4:function(e,t,a){"use strict";(function(e,n){a.d(t,"t",(function(){return E})),a.d(t,"r",(function(){return S})),a.d(t,"o",(function(){return O})),a.d(t,"s",(function(){return C})),a.d(t,"i",(function(){return M})),a.d(t,"c",(function(){return G})),a.d(t,"g",(function(){return j})),a.d(t,"k",(function(){return w})),a.d(t,"m",(function(){return D})),a.d(t,"n",(function(){return L})),a.d(t,"z",(function(){return x})),a.d(t,"b",(function(){return R})),a.d(t,"x",(function(){return B})),a.d(t,"v",(function(){return U})),a.d(t,"f",(function(){return F})),a.d(t,"q",(function(){return q})),a.d(t,"j",(function(){return V}));var i=a(3),r=a.n(i),o=a(10),c=a.n(o),s=a(47),u=a.n(s),l=a(32),d=a.n(l),m=(a(1),a(12)),g=a(13),p=a(0),f=a(37),y=a(144),T=a(30);a.d(t,"a",(function(){return T.a}));var h=a(50);a.d(t,"y",(function(){return h.c}));var b=a(21),I=a(53);a.d(t,"u",(function(){return I.a}));var v=a(55);a.d(t,"w",(function(){return v.a}));var N=a(54);a.d(t,"d",(function(){return N.b})),a.d(t,"l",(function(){return N.c}));a(38);var A=a(58);function Z(e,t){var a=Object.keys(e);return Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(e)),t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Z(a,!0).forEach((function(t){c()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Z(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}a.d(t,"p",(function(){return A.a})),a.d(t,"e",(function(){return b.a})),a.d(t,"h",(function(){return b.b}));var 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=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Object(m.isFinite)(e)?e:Number(e),Object(m.isFinite)(e)||(console.warn("Invalid number",e,d()(e)),e=0),t)return S(e,{style:"currency",currency:t});var a={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions.
|
8 |
Object(p.__)("%sM","google-site-kit"),S(k(e),e%10==0?{}:a)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands.
|
9 |
Object(p.__)("%sK","google-site-kit"),S(k(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands.
|
10 |
Object(p.__)("%sK","google-site-kit"),S(k(e),e%10==0?{}:a)):e.toString()},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.locale,n=void 0===a?P():a,i=u()(t,["locale"]);return new Intl.NumberFormat(n,i).format(e)},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,a=Object(m.get)(t,["_googlesitekitLegacyData","locale","","lang"]);if(a){var n=a.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language},O=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},C=function(e){if(e=parseInt(e,10),isNaN(e)||0===e)return"0.0s";var t={};return t.hours=Math.floor(e/60/60),t.minutes=Math.floor(e/60%60),t.seconds=Math.floor(e%60),((t.hours?t.hours+"h ":"")+(t.minutes?t.minutes+"m ":"")+(t.seconds?t.seconds+"s ":"")).trim()},M=function(e,t){var a=1e3*O("day"),n=e.getTime(),i=t.getTime();return Math.round(Math.abs(n-i)/a)},G=function(e,t){if("0"===e||0===e||isNaN(e))return"";var a=((t-e)/e*100).toFixed(1);return isNaN(a)||"Infinity"===a?"":a},j=function(e,t){return Object(m.map)(e,(function(e,a){return[e[0],e[t]||(0===a?"":0)]}))},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e._googlesitekitLegacyData,a=t.modules;return a?Object.keys(a).reduce((function(e,t){return"object"!==d()(a[t])?e:void 0===a[t].slug||void 0===a[t].name||a[t].slug!==t?e:_({},e,c()({},t,a[t]))}),{}):{}},D=function(t,a){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e._googlesitekitLegacyData,i=n.admin,r=i.connectURL,o=i.adminRoot,c=n.setup.needReauthenticate,s=w(n)[t].screenID,u="pagespeed-insights"===t?{notification:"authentication_success",reAuth:void 0}:{},l=Object(f.a)(o,_({page:t&&a&&s?s:"googlesitekit-dashboard",slug:t,reAuth:a},u));if(!c)return l;var d=encodeURIComponent(Object(y.a)(l));return l=o+"?"+d,Object(f.a)(r,{redirect:l,status:a})},L=function(t,a){var n=e._googlesitekitLegacyData.admin.adminRoot;return t||(t="googlesitekit-dashboard"),a=_({page:t},a),Object(f.a)(n,a)},x=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},R=function(e,t,a){var n,i,o,c,s=arguments;return r.a.async((function(u){for(;;)switch(u.prev=u.next){case 0:return n=s.length>3&&void 0!==s[3]?s[3]:h.c,i=s.length>4&&void 0!==s[4]?s[4]:w,u.next=4,r.a.awrap(e.setModuleActive(t,a));case 4:return o=u.sent,(c=i())[t]&&(c[t].active=a),u.next=9,r.a.awrap(n("".concat(t,"_setup"),a?"module_activate":"module_deactivate",t));case 9:return u.abrupt("return",o);case 10:case"end":return u.stop()}}))},B=function(t,a,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e._googlesitekitLegacyData,o=w(r)[t],c=o.settings,s=o.setupComplete,u=i||document.getElementById("confirm-changes-".concat(t));if(s&&u){var l=!!Object.keys(a).find((function(e){var t=a[e];return!Object(m.isEqual)(n[e],c[t])}));return i||(u.disabled=!l),l}},U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(g.b)("googlesitekit.ErrorNotification","googlesitekit.ErrorNotification",Object(b.b)(e,t),1)},F=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(m.unescape)(t)};function q(t,a){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"33",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"33",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(e._googlesitekitLegacyData){var c=n.createElement(T.a,{id:t,width:i,height:r,className:o});return a?c=n.createElement(T.a,{id:"".concat(t,"-disabled"),width:i,height:r,className:o}):"pagespeed-insights"===t&&(c=n.createElement("img",{src:e._googlesitekitLegacyData.admin.assetsRoot+"images/icon-pagespeed.png",width:i,alt:"",className:o})),c}}function V(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e._googlesitekitBaseData,n=a.blogPrefix;return a.isNetworkMode?t:n+t}}).call(this,a(16),a(11))},40:function(e,t){e.exports=googlesitekit.api},41:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return T}));var n=a(3),i=a.n(n),r=a(10),o=a.n(r),c=a(20),s=a.n(c),u=a(95),l=a.n(u),d=a(62),m=a(4);function g(e,t){var a=Object.keys(e);return Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(e)),t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(a,!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var f=function(e){return p({},e)},y=function(){return{}},T=function(t){var a,n,r=t.baseName,c=t.controlCallback,u=t.reducerCallback,g=void 0===u?f:u,T=t.argsToParams,h=void 0===T?y:T;s()(r,"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 h,"argsToParams must be a function.");try{h(),n=!1}catch(e){n=!0}var b=Object(d.b)(r),I=Object(d.a)(r),v="FETCH_".concat(I),N="START_".concat(v),A="FINISH_".concat(v),Z="CATCH_".concat(v),_="RECEIVE_".concat(I),k="fetch".concat(b),E="receive".concat(b),S="isFetching".concat(b),P=o()({},S,{}),O=(a={},o()(a,k,i.a.mark((function t(){var a,n,r,o=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,r=h.apply(void 0,o),t.next=9;break;case 4:return t.prev=4,t.t0=t.catch(0),e.console.error(t.t0.message),n=t.t0,t.abrupt("return",{response:a,error:n});case 9:return t.next=11,{payload:{params:r},type:N};case 11:return t.prev=11,t.next=14,{payload:{params:r},type:v};case 14:return a=t.sent,t.next=17,O[E](a,r);case 17:return t.next=19,{payload:{params:r},type:A};case 19:t.next=26;break;case 21:return t.prev=21,t.t1=t.catch(11),n=t.t1,t.next=26,{payload:{error:n,params:r},type:Z};case 26:return t.abrupt("return",{response:a,error:n});case 27:case"end":return t.stop()}}),t,null,[[0,4],[11,21]])}))),o()(a,E,(function(e,t){return s()(void 0!==e,"response is required."),n?s()(l()(t),"params is required."):t={},{payload:{response:e,params:t},type:_}})),a),C=o()({},v,(function(e){var t=e.payload;return c(t.params)})),M=o()({},S,(function(e){if(void 0===e[S])return!1;var t;try{for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];t=h.apply(void 0,n)}catch(e){return!1}return!!e[S][Object(m.w)(t)]}));return{INITIAL_STATE:P,actions:O,controls:C,reducer:function(e,t){var a=t.type,n=t.payload;switch(a){case N:var i=n.params;return p({},e,o()({},S,p({},e[S],o()({},Object(m.w)(i),!0))));case _:var r=n.response,c=n.params;return g(e,r,c);case A:var s=n.params;return p({},e,o()({},S,p({},e[S],o()({},Object(m.w)(s),!1))));case Z:var u=n.error,l=n.params;return p({},e,o()({error:u},S,p({},e[S],o()({},Object(m.w)(l),!1))));default:return p({},e)}},resolvers:{},selectors:M}}}).call(this,a(16))},43:function(e,t,a){"use strict";(function(e){var n=a(5),i=a.n(n),r=a(6),o=a.n(r),c=a(7),s=a.n(c),u=a(8),l=a.n(u),d=a(9),m=a.n(d),g=a(1),p=a(2),f=a.n(p),y=a(17),T=a.n(y),h=a(34),b=function(t){function Button(e){var t;return i()(this,Button),(t=s()(this,l()(Button).call(this,e))).buttonRef=Object(g.h)(),t}return m()(Button,t),o()(Button,[{key:"componentDidMount",value:function(){new h.g(this.buttonRef.current)}},{key:"render",value:function(){var t=this.props,a=t.onClick,n=t.children,i=t.href,r=t.text,o=t.className,c=t.danger,s=t.disabled,u=t.target,l=t.id,d=t.icon,m=t.trailingIcon,g=t.ariaHaspopup,p=t.ariaExpanded,f=t.ariaControls,y=i&&!s?"a":"button";return e.createElement(y,{className:T()("mdc-button",o,{"mdc-button--raised":!r,"mdc-button--danger":c}),onClick:a,href:s?void 0:i,ref:this.buttonRef,disabled:!!s,target:u||"_self",id:l,"aria-haspopup":g,"aria-expanded":p,"aria-controls":f},d&&d,e.createElement("span",{className:"mdc-button__label"},n),m&&m)}}]),Button}(g.a);b.propTypes={onClick:f.a.func,children:f.a.string.isRequired,href:f.a.string,text:f.a.bool,className:f.a.string,danger:f.a.bool,disabled:f.a.bool,icon:f.a.element,trailingIcon:f.a.element,ariaHaspopup:f.a.string,ariaExpanded:f.a.bool,ariaControls:f.a.string},b.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,ariaHaspopup:"",ariaExpanded:!1,ariaControls:""},t.a=b}).call(this,a(11))},44:function(e,t,a){"use strict";(function(e){var n=a(5),i=a.n(n),r=a(6),o=a.n(r),c=a(7),s=a.n(c),u=a(8),l=a.n(u),d=a(9),m=a.n(d),g=a(1),p=a(2),f=a.n(p),y=a(17),T=a.n(y),h=function(t){function ProgressBar(){return i()(this,ProgressBar),s()(this,l()(ProgressBar).apply(this,arguments))}return m()(ProgressBar,t),o()(ProgressBar,[{key:"render",value:function(){var t=this.props,a=t.className,n=t.small,i=t.compress,r=t.height,o=r?Math.round(r/2):null;return e.createElement("div",{role:"progressbar",style:{marginTop:o,marginBottom:o},className:T()("mdc-linear-progress","mdc-linear-progress--indeterminate",a,{"mdc-linear-progress--small":n,"mdc-linear-progress--compress":i})},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"},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}(g.a);h.propTypes={className:f.a.string,small:f.a.bool,compress:f.a.bool},h.defaultProps={className:"",small:!1,compress:!1},t.a=h}).call(this,a(11))},46:function(e,t,a){"use strict";function n(e){return{byContext:function(t){return e.filter((function(e){return e.usageContext.includes(t)}))}}}function i(e){return(parseInt(e)||0)>0}function r(e){return!!e&&e.toString().match(/^GTM-[A-Z0-9]+$/)}a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"d",(function(){return o}));var o=[/<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]+)['|"]/]},50:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return d})),a.d(t,"b",(function(){return g})),a.d(t,"c",(function(){return m}));var n=a(67),i=e._googlesitekitBaseData||{},r=i.isFirstAdmin,o=i.trackingAllowed,c={isFirstAdmin:r,trackingEnabled:i.trackingEnabled,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash},s=Object(n.a)(c),u=s.enableTracking,l=s.disableTracking,d=s.isTrackingEnabled,m=s.trackEvent;function g(e){e?u():l()}!0===o&&g(d())}).call(this,a(16))},51:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(33);function i(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},53:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(72),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:n.a.sanitize(e,t)}}},54:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return o})),a.d(t,"b",(function(){return c})),a.d(t,"c",(function(){return u}));var n=a(39),i=a.n(n),r=a(0),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,a=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),a=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===a)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var s=document.createElement("span");return s.setAttribute("class","screen-reader-text"),s.textContent=Object(r.sprintf)(
|
1 |
!function(e){function t(t){for(var n,o,c=t[0],s=t[1],l=t[2],d=0,m=[];d<c.length;d++)o=c[d],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&m.push(i[o][0]),i[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(t);m.length;)m.shift()();return r.push.apply(r,l||[]),a()}function a(){for(var e,t=0;t<r.length;t++){for(var a=r[t],n=!0,o=1;o<a.length;o++){var c=a[o];0!==i[c]&&(n=!1)}n&&(r.splice(t--,1),e=__webpack_require__(__webpack_require__.s=a[0]))}return e}var n={},i={19:0},r=[];function __webpack_require__(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,__webpack_require__),a.l=!0,a.exports}__webpack_require__.m=e,__webpack_require__.c=n,__webpack_require__.d=function(e,t,a){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},__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,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(__webpack_require__.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(a,n,function(t){return e[t]}.bind(null,n));return a},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="";var o=window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var u=c;r.push([629,0]),a()}({1:function(e,t,a){"use strict";(function(e){a.d(t,"d",(function(){return c})),a.d(t,"a",(function(){return s})),a.d(t,"e",(function(){return l})),a.d(t,"f",(function(){return d})),a.d(t,"g",(function(){return m})),a.d(t,"h",(function(){return g})),a.d(t,"b",(function(){return y})),a.d(t,"i",(function(){return h})),a.d(t,"j",(function(){return b})),a.d(t,"k",(function(){return A})),a.d(t,"c",(function(){return k})),a.d(t,"l",(function(){return P})),a.d(t,"m",(function(){return O})),a.d(t,"n",(function(){return M})),a.d(t,"o",(function(){return j})),a.d(t,"p",(function(){return w})),a.d(t,"q",(function(){return D})),a.d(t,"r",(function(){return L})),a.d(t,"s",(function(){return x}));var n=a(92);void 0===e.googlesitekit&&(e.googlesitekit={});var i=e.googlesitekit._element||n,r=i.__experimentalCreateInterpolateElement,o=i.Children,c=i.cloneElement,s=i.Component,u=i.concatChildren,l=i.createContext,d=i.createElement,m=i.createPortal,g=i.createRef,p=i.findDOMNode,f=i.forwardRef,y=i.Fragment,T=i.isEmptyElement,h=i.isValidElement,b=i.lazy,I=i.memo,v=i.Platform,N=i.RawHTML,A=i.render,Z=i.renderToString,_=i.StrictMode,k=i.Suspense,E=i.switchChildrenNodeName,S=i.unmountComponentAtNode,P=i.useCallback,O=i.useContext,C=i.useDebugValue,M=i.useEffect,G=i.useImperativeHandle,j=i.useLayoutEffect,w=i.useMemo,D=i.useReducer,L=i.useRef,x=i.useState;void 0===e.googlesitekit._element&&(e.googlesitekit._element={__experimentalCreateInterpolateElement:r,Children:o,cloneElement:c,Component:s,concatChildren:u,createContext:l,createElement:d,createPortal:m,createRef:g,findDOMNode:p,forwardRef:f,Fragment:y,isEmptyElement:T,isValidElement:h,lazy:b,memo:I,Platform:v,RawHTML:N,render:A,renderToString:Z,StrictMode:_,Suspense:k,switchChildrenNodeName:E,unmountComponentAtNode:S,useCallback:P,useContext:O,useDebugValue:C,useEffect:M,useImperativeHandle:G,useLayoutEffect:j,useMemo:w,useReducer:D,useRef:L,useState:x})}).call(this,a(16))},103:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return r}));var n=a(38),i=a(28),r=function(t,a,r){var o=Object(i.c)(t,a,r);Object(i.d)(),Object.keys(e._googlesitekitLegacyData.admin.datacache).forEach((function(t){0!==t.indexOf(o+"::")&&t!==o||delete e._googlesitekitLegacyData.admin.datacache[t]})),Object.keys(Object(n.a)()).forEach((function(e){0!==e.indexOf("googlesitekit_".concat(o,"::"))&&e!=="googlesitekit_".concat(o)||Object(n.a)().removeItem(e)}))}}).call(this,a(16))},115:function(e,t,a){"use strict";var n=a(358);a.d(t,"b",(function(){return n.a}));var i=a(359);a.d(t,"a",(function(){return i.a}));var r=a(360);a.d(t,"c",(function(){return r.a}));var o=a(361);a.d(t,"d",(function(){return o.a}));var c=a(249);a.d(t,"e",(function(){return c.a}));var s=a(362);a.d(t,"f",(function(){return s.a}));var u=a(363);a.d(t,"g",(function(){return u.a}));var l=a(364);a.d(t,"h",(function(){return l.a}));var d=a(365);a.d(t,"i",(function(){return d.a}));var m=a(366);a.d(t,"j",(function(){return m.a}));var g=a(287);a.d(t,"k",(function(){return g.a}));var p=a(367);a.d(t,"l",(function(){return p.a}))},116:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return f}));var n=a(3),i=a.n(n),r=a(10),o=a.n(r),c=a(59),s=a(37),u=a(117),l=a(118),d=a(119),m=a(46);function g(e,t){var a=Object.keys(e);return Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(e)),t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(a,!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var f=function(t){var a,n,r,o,u;return i.a.async((function(l){for(;;)switch(l.prev=l.next){case 0:return a=e._googlesitekitLegacyData.admin,n=a.homeURL,r=a.ampMode,o={tagverify:1,timestamp:Date.now()},l.next=4,i.a.awrap(y(Object(s.a)(n,o),t));case 4:if((u=l.sent)||"secondary"!==r){l.next=9;break}return l.next=8,i.a.awrap(Object(c.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return i.a.async((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,i.a.awrap(y(Object(s.a)(e.link,p({},o,{amp:1})),t));case 2:return a.abrupt("return",a.sent);case 3:case"end":return a.stop()}}))})).pop()})));case 8:u=l.sent;case 9:return l.abrupt("return",Promise.resolve(u||null));case 10:case"end":return l.stop()}}))},y=function(e,t){var a;return i.a.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,i.a.awrap(fetch(e,{credentials:"omit"}).then((function(e){return e.text()})));case 3:return a=n.sent,n.abrupt("return",T(a,t)||null);case 7:return n.prev=7,n.t0=n.catch(0),n.abrupt("return",null);case 10:case"end":return n.stop()}}),null,null,[[0,7]])},T=function(e,t){var a=({adsense:l.a,analytics:d.a,tagmanager:m.d,setup:u.a}[t]||[]).find((function(t){return t.test(e)}));return!!a&&a.exec(e)[1]}}).call(this,a(16))},117:function(e,t,a){"use strict";t.a=[/<meta name="googlesitekit-setup" content="([a-z0-9-]+)"/]},118:function(e,t,a){"use strict";t.a=[/google_ad_client: ?["|'](.*?)["|']/,/<(?:script|amp-auto-ads) [^>]*data-ad-client="([^"]+)"/]},119:function(e,t,a){"use strict";t.a=[/<script [^>]*src=['|"]https:\/\/www.googletagmanager.com\/gtag\/js\?id=(UA-.*?)['|"][^>]*><\/script>/,/<script[^>]*>[^<]+google-analytics\.com\/analytics\.js[^<]+(UA-\d+-\d+)/,/__gaTracker\( ?['|"]create['|"], ?['|"](UA-.*?)['|"], ?['|"]auto['|"] ?\)/,/ga\( ?['|"]create['|"], ?['|"](UA-.*?)['|"], ?['|"]auto['|"] ?\)/,/_gaq.push\( ?\[ ?['|"]_setAccount['|"], ?['|"](UA-.*?)['|"] ?] ?\)/,/<amp-analytics [^>]*type="gtag"[^>]*>[^<]*<script type="application\/json">[^<]*"gtag_id":\s*"(UA-[^"]+)"/,/<amp-analytics [^>]*type="googleanalytics"[^>]*>[^<]*<script type="application\/json">[^<]*"account":\s*"(UA-[^"]+)"/]},121:function(e,t,a){"use strict";(function(e){var n=a(5),i=a.n(n),r=a(6),o=a.n(r),c=a(7),s=a.n(c),u=a(8),l=a.n(u),d=a(9),m=a.n(d),g=a(1),p=a(2),f=a.n(p),y=a(17),T=a.n(y),h=a(145),b=a(34),I=function(t){function Switch(e){var t;return i()(this,Switch),(t=s()(this,l()(Switch).call(this,e))).switchRef=Object(g.h)(),t}return m()(Switch,t),o()(Switch,[{key:"componentDidMount",value:function(){new b.h(this.switchRef.current)}},{key:"render",value:function(){var t=this.props,a=t.id,n=void 0===a?"googlesitekit-switch-".concat(this.props.instanceId):a,i=t.onClick,r=t.label,o=t.checked,c=t.disabled,s=t.hideLabel;return e.createElement(g.b,null,e.createElement("div",{"aria-checked":o?"true":"false",className:T()("mdc-switch",{"mdc-switch--checked":o,"mdc-switch--disabled":c}),onClick:i,onKeyPress:function(e){"function"==typeof i&&"Enter"===e.code&&i(e)},role:"switch",ref:this.switchRef,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:n,className:"mdc-switch__native-control",role:"switch",checked:o,disabled:c,onChange:function(){}})))),e.createElement("label",{className:T()({"screen-reader-only":s}),htmlFor:n},r))}}]),Switch}(g.a);I.propTypes={id:f.a.string,onClick:f.a.func,label:f.a.string.isRequired,checked:f.a.bool,disabled:f.a.bool,hideLabel:f.a.bool,instanceId:f.a.number.isRequired},I.defaultProps={checked:!1,disabled:!1,hideLabel:!0},t.a=Object(h.a)(I)}).call(this,a(11))},13:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"f",(function(){return c})),a.d(t,"g",(function(){return s})),a.d(t,"e",(function(){return u})),a.d(t,"d",(function(){return g})),a.d(t,"c",(function(){return p}));var n=a(91);void 0===e.googlesitekit&&(e.googlesitekit={});var i=e.googlesitekit._hooks||n,r=i.addAction,o=i.addFilter,c=i.removeAction,s=i.removeFilter,u=i.hasAction,l=i.hasFilter,d=i.removeAllActions,m=i.removeAllFilters,g=i.doAction,p=i.applyFilters,f=i.currentAction,y=i.currentFilter,T=i.doingAction,h=i.doingFilter,b=i.didAction,I=i.didFilter,v=i.actions,N=i.filters;void 0===e.googlesitekit._hooks&&(e.googlesitekit._hooks={addAction:r,addFilter:o,removeAction:c,removeFilter:s,hasAction:u,hasFilter:l,removeAllActions:d,removeAllFilters:m,doAction:g,applyFilters:p,currentAction:f,currentFilter:y,doingAction:T,doingFilter:h,didAction:b,didFilter:I,actions:v,filters:N})}).call(this,a(16))},14:function(e,t){e.exports=googlesitekit.data},143:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ErrorText}));a(1);var n=a(2),i=a.n(n),r=a(0);function ErrorText(t){var a=t.message;return a?e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",null,Object(r.sprintf)(
|
2 |
/* translators: %s: Error message */
|
3 |
+
Object(r.__)("Error: %s","google-site-kit"),a))):null}ErrorText.propTypes={message:i.a.string.isRequired}}).call(this,a(11))},151:function(e,t){e.exports=googlesitekit.modules},19:function(e,t,a){"use strict";a.d(t,"b",(function(){return o})),a.d(t,"q",(function(){return T})),a.d(t,"i",(function(){return d})),a.d(t,"j",(function(){return m})),a.d(t,"n",(function(){return g})),a.d(t,"o",(function(){return p})),a.d(t,"m",(function(){return f})),a.d(t,"l",(function(){return y})),a.d(t,"k",(function(){return d})),a.d(t,"e",(function(){return h})),a.d(t,"c",(function(){return I})),a.d(t,"d",(function(){return v})),a.d(t,"f",(function(){return N})),a.d(t,"h",(function(){return A})),a.d(t,"a",(function(){return Z})),a.d(t,"r",(function(){return _})),a.d(t,"p",(function(){return k})),a.d(t,"t",(function(){return E})),a.d(t,"s",(function(){return S})),a.d(t,"g",(function(){return P}));var n=a(12),i=a(0),r=a(4),o=function(e){if(!e||!e.length)return!1;var t=e[0].data.totals,a=t[0].values,n=t[1].values,i=a[0],o=a[1],c=a[2],s=a[3],u=a[4],l=a[5];return{totalUsers:i,totalSessions:o,averageBounceRate:c,averageSessionDuration:s,totalUsersChange:Object(r.c)(n[0],a[0]),totalSessionsChange:Object(r.c)(n[1],a[1]),averageBounceRateChange:Object(r.c)(n[2],a[2]),averageSessionDurationChange:Object(r.c)(n[3],a[3]),goalCompletions:u,goalCompletionsChange:Object(r.c)(n[4],a[4]),totalPageViews:l,totalPageViewsChange:Object(r.c)(n[5],a[5])}},c=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),a=Number(e.slice(4,6))-1,n=e.slice(6,8);return new Date(t,a.toString(),n)}return!1},s=a(39),u=a.n(s),l=a(22),d=function(e){return(parseInt(e,10)||0)>0};function m(e){return e===l.a||d(e)}function g(e){return"string"==typeof e&&e.match(/^UA-\d+-\d+$/)}function p(e){return e===l.f||g(e)}function f(e){return e===l.e||d(e)}function y(e){return"string"==typeof e&&e.trim().length>0}function T(e){if(!g(e))return!1;var t=e.match(/^UA-(\d+)-(\d+)/),a=u()(t,3);return{accountID:a[1],propertyID:e,number:a[2]}}var h=function(e){if(!e||!e.length)return null;var t=e[0].data,a=t.rows,i=t.totals[0].values[0],r=[["Source","Percent"]];return Object(n.each)(a,(function(e){var t=e.metrics[0].values[0]/i;if(1>100*t)return!1;var a=e.dimensions[0].replace(/\(none\)/gi,"direct");r.push([a,t])})),r};function b(e,t){var a=[];return Object(n.each)(e,(function(e){if(e.metrics){var n=e.metrics[0].values,i=e.dimensions[0],r=c(i);a.push([r,n[t]])}})),a}var I=function(e,t,a){if(!e||!e.length)return null;var r=e[0].data.rows;if(!r)return!1;var o=r.length;if(2*a>o){for(var c=new Date,s=0;a>s;s++){var u=(c.getMonth()+1).toString(),l=c.getDate().toString(),d=c.getFullYear().toString()+(2>u.length?"0":"")+u+(2>l.length?"0":"")+l;if(s>o){var m={dimensions:[d],metrics:[{values:[0,0,0,0,0]}]};r.unshift(m)}c.setDate(c.getDate()-1)}r.push([0,0])}var g=[Object(i.__)("Users","google-site-kit"),Object(i.__)("Sessions","google-site-kit"),Object(i.__)("Bounce Rate","google-site-kit"),Object(i.__)("Session Duration","google-site-kit")],p=[[{type:"date",label:Object(i.__)("Day","google-site-kit")},{type:"number",label:g[t]},{type:"number",label:Object(i.__)("Previous period","google-site-kit")}]],f=r.slice(r.length-a,r.length),y=r.slice(0,r.length-a),T=b(f,t),h=b(y,t);return Object(n.each)(T,(function(e,t){e[0]&&e[1]&&h[t]&&p.push([e[0],e[1],h[t][1]])})),p},v=function(e){if(!e||!e.length)return null;var t=e[0].data.rows,a=[[{type:"date",label:"Day"},{type:"number",label:"Users"},{type:"number",label:"Sessions"},{type:"number",label:"Goals Completed"}]];return Object(n.each)(t,(function(e){var t=e.metrics[0].values,n=e.dimensions[0],i=c(n);a.push([i,t[0],t[1],t[4]])})),a},N=function(e){return!(!e.error||!e.error.status)&&function(e,t){var a="";switch(e){case"INVALID_ARGUMENT":a=Object(i.__)("Analytics module needs to be configured.","google-site-kit");break;case"UNAUTHENTICATED":a=Object(i.__)("You need to be authenticated to get this data.","google-site-kit");break;case"PERMISSION_DENIED":a=Object(i.__)("Your account does not have sufficient permission to access this data, please consult to your web administrator.","google-site-kit");break;case"RESOURCE_EXHAUSTED":a=Object(i.__)("Your account exceeded the maximum quota. Please try again later.","google-site-kit");break;case"INTERNAL":a=Object(i.__)("Unexpected internal server error occurred.","google-site-kit");break;case"BACKEND_ERROR":a=Object(i.__)("Analytics server returned unknown error. Please try again later.","google-site-kit");break;case"UNAVAILABLE":a=Object(i.__)("The service was unable to process the request. Please try again later.","google-site-kit");break;default:a=t}return a}(e.error.status,e.error.message)},A=function(e){if(!e||!e.length)return!0;if(e&&e[0]&&e[0].data&&e[0].data.totals&&e[0].data.totals[0]){var t=e[0].data.totals[0].values,a=!0;return Object(n.each)(t,(function(e){0!==parseInt(e)&&(a=!1)})),a}return!1},Z={dimensions:["ga:pageTitle","ga:pagePath"].join(","),metrics:[{expression:"ga:adsenseRevenue",alias:"Earnings"},{expression:"ga:adsenseECPM",alias:"Page RPM"},{expression:"ga:adsensePageImpressions",alias:"Impressions"}],orderby:[{fieldName:"ga:adsenseRevenue",sortOrder:"DESCENDING"}],limit:10},_={compareDateRanges:1,dimensions:"ga:date",metrics:[{expression:"ga:users",alias:"Users"},{expression:"ga:sessions",alias:"Sessions"},{expression:"ga:bounceRate",alias:"Bounce Rate"},{expression:"ga:avgSessionDuration",alias:"Average Session Duration"},{expression:"ga:goalCompletionsAll",alias:"Goal Completions"}],limit:180},k={multiDateRange:1,dimensions:"ga:date",metrics:[{expression:"ga:users",alias:"Users"},{expression:"ga:sessions",alias:"Sessions"},{expression:"ga:bounceRate",alias:"Bounce Rate"},{expression:"ga:avgSessionDuration",alias:"Average Session Duration"},{expression:"ga:goalCompletionsAll",alias:"Goal Completions"},{expression:"ga:pageviews",alias:"Pageviews"}],limit:10},E={metrics:[{expression:"ga:users",alias:"Total Users"}]},S={dimensions:"ga:medium",metrics:[{expression:"ga:sessions",alias:"Sessions"},{expression:"ga:users",alias:"Users"},{expression:"ga:newUsers",alias:"New Users"}],orderby:[{fieldName:"ga:sessions",sortOrder:"DESCENDING"}],limit:10},P=function(){return{dimensions:["ga:pageTitle","ga:pagePath"].join(","),metrics:[{expression:"ga:pageviews",alias:"Pageviews"},{expression:"ga:uniquePageviews",alias:"Unique Pageviews"},{expression:"ga:bounceRate",alias:"Bounce rate"}],orderby:[{fieldName:"ga:pageviews",sortOrder:"DESCENDING"}],limit:10}}},21:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return o})),a.d(t,"b",(function(){return c}));var n=a(83),i=a.n(n),r=a(1),o=function(e){return function(t){return function FilteredComponent(a){return Object(r.f)(r.b,{},"",Object(r.f)(t,a),e)}}},c=function(t,a){return function(n){return function InnerComponent(r){return e.createElement(t,i()({},r,a,{OriginalComponent:n}))}}}}).call(this,a(11))},22:function(e,t,a){"use strict";a.d(t,"h",(function(){return n})),a.d(t,"a",(function(){return i})),a.d(t,"f",(function(){return r})),a.d(t,"e",(function(){return o})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return s})),a.d(t,"g",(function(){return u})),a.d(t,"b",(function(){return l}));var n="modules/analytics",i="account_create",r="property_create",o="profile_create",c="analyticsAccountCreate",s="analyticsSetup",u="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit"},23:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return i}));var n="core/user",i="missing_required_scopes"},235:function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"d",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return c}));var n=a(12),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"}}],r=i.reduce((function(e,t){return e[t.countryCode]=t.timeZone,e}),{}),o=Object(n.keyBy)(i,"countryCode"),c=i.reduce((function(e,t){return t.timeZone.forEach((function(a){var n=a.timeZoneId;return e[n]=t.countryCode})),e}),{});i.reduce((function(e,t){return t.timeZone.forEach((function(a){var n=a.timeZoneId;e[n]=t})),e}),{})},239:function(e,t,a){"use strict";a.d(t,"a",(function(){return g.a}));var n=a(14),i=a.n(n),r=a(86),o=a(10),c=a.n(o),s=a(20),u=a.n(s);function l(e,t){var a=Object.keys(e);return Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(e)),t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(a,!0).forEach((function(t){c()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var m={INITIAL_STATE:{},actions:{setValues:function(e,t){return u()(e,"formName is required for setting values."),u()(t instanceof Object&&t.constructor===Object,"formData must be an object."),{payload:{formName:e,formData:t},type:"SET_FORM_VALUES"}}},controls:{},reducer:function(e,t){var a=t.type,n=t.payload;switch(a){case"SET_FORM_VALUES":var i=n.formName,r=n.formData;return d({},e,c()({},i,d({},e[i]||{},{},r)));default:return d({},e)}},resolvers:{},selectors:{getValue:function(e,t,a){return(e[t]||{})[a]},hasForm:function(e,t){return!!e[t]}}},g=a(90),p=i.a.combineStores(i.a.commonStore,m,Object(r.a)(g.a));p.INITIAL_STATE,p.actions,p.controls,p.reducer,p.resolvers,p.selectors;i.a.registerStore(g.a,p)},249:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ErrorNotice}));a(1);var n=a(14),i=a.n(n),r=a(22),o=a(23),c=a(143),s=i.a.useSelect;function ErrorNotice(){var t=s((function(e){return e(r.h).getError()}));return t&&t.code!==o.a?e.createElement(c.a,{message:t.message}):null}}).call(this,a(11))},250:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return CreateAccountField}));a(1);var n=a(34),i=a(17),r=a.n(i);function CreateAccountField(t){var a=t.hasError,i=t.value,o=t.setValue,c=t.name,s=t.label;return void 0===i?null:e.createElement(n.k,{className:r()("mdc-text-field",{"mdc-text-field--error":a}),label:s,name:c,onChange:function(e){o(e.target.value,c)},outlined:!0,required:!0},e.createElement(n.b,{name:c,value:i,id:"googlesitekit_analytics_account_create_".concat(c)}))}}).call(this,a(11))},265:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(23);function i(e){return(null==e?void 0:e.code)===n.a}},27:function(e,t,a){"use strict";(function(e){var n=a(5),i=a.n(n),r=a(6),o=a.n(r),c=a(7),s=a.n(c),u=a(8),l=a.n(u),d=a(9),m=a.n(d),g=a(1),p=a(2),f=a.n(p),y=a(17),T=a.n(y),h=function(t){function Link(){return i()(this,Link),s()(this,l()(Link).apply(this,arguments))}return m()(Link,t),o()(Link,[{key:"render",value:function(){var t=this.props,a=t.dangerouslySetInnerHTML,n=t.onClick,i=t.href,r=t.children,o=t.className,c=t.arrow,s=t.external,u=t.inverse,l=t.back,d=t.small,m=t.inherit,g=t.caps,p=t.danger,f=t.disabled,y=t.id,h=i&&!f,b=h?"a":"button";return e.createElement(b,{className:T()("googlesitekit-cta-link",o,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":s,"googlesitekit-cta-link--inverse":u,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":d,"googlesitekit-cta-link--inherit":m,"googlesitekit-cta-link--caps":g,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":f}),onClick:n,id:y,href:h?i:void 0,target:h&&s?"_blank":void 0,rel:s?"noopener noreferrer":void 0,disabled:f,dangerouslySetInnerHTML:a},r)}}]),Link}(g.a);h.propTypes={dangerouslySetInnerHTML:f.a.shape({__html:f.a.string}),onClick:f.a.func,href:f.a.string,children:f.a.oneOfType([f.a.string.isRequired,f.a.array.isRequired]),className:f.a.string,arrow:f.a.bool,external:f.a.bool,inverse:f.a.bool,back:f.a.bool,small:f.a.bool,inherit:f.a.bool,caps:f.a.bool,danger:f.a.bool,disabled:f.a.bool},h.defaultProps={dangerouslySetInnerHTML:void 0,onClick:null,href:"",className:"",arrow:!1,external:!1,inverse:!1,back:!1,small:!1,inherit:!1,caps:!1,danger:!1,disabled:!1},t.a=h}).call(this,a(11))},28:function(e,t,a){"use strict";(function(e){a.d(t,"d",(function(){return s})),a.d(t,"e",(function(){return u})),a.d(t,"b",(function(){return l})),a.d(t,"a",(function(){return d})),a.d(t,"c",(function(){return m}));var n=a(32),i=a.n(n),r=a(12),o=a(38),c=a(55),s=function(){e._googlesitekitLegacyData.admin=e._googlesitekitLegacyData.admin||{},"string"==typeof e._googlesitekitLegacyData.admin.datacache&&(e._googlesitekitLegacyData.admin.datacache=JSON.parse(e._googlesitekitLegacyData.admin.datacache)),"object"!==i()(e._googlesitekitLegacyData.admin.datacache)&&(e._googlesitekitLegacyData.admin.datacache={})},u=function(t,a){if(void 0!==a&&(!a||"object"!==i()(a)||!a.error&&!a.errors)){s(),e._googlesitekitLegacyData.admin.datacache[t]=Object(r.cloneDeep)(a);var n={value:a,date:Date.now()/1e3};Object(o.a)().setItem("googlesitekit_"+t,JSON.stringify(n))}},l=function(t,a){if(!e._googlesitekitLegacyData.admin.nojscache){if(s(),void 0!==e._googlesitekitLegacyData.admin.datacache[t])return e._googlesitekitLegacyData.admin.datacache[t];var n=JSON.parse(Object(o.a)().getItem("googlesitekit_"+t));return n&&"object"===i()(n)&&n.date&&(!a||Date.now()/1e3-n.date<a)?(e._googlesitekitLegacyData.admin.datacache[t]=Object(r.cloneDeep)(n.value),Object(r.cloneDeep)(e._googlesitekitLegacyData.admin.datacache[t])):void 0}},d=function(t){s(),delete e._googlesitekitLegacyData.admin.datacache[t],Object(o.a)().removeItem("googlesitekit_"+t)},m=function(e,t,a){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=[],o=[e,t,a],s=0,u=o;s<u.length;s++){var l=u[s];if(!l||!l.length)break;r.push(l)}return 3===r.length&&n&&"object"===i()(n)&&Object.keys(n).length&&r.push(Object(c.a)(n)),r.join("::")}}).call(this,a(16))},286:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SetupForm}));var n=a(3),i=a.n(n),r=a(1),o=a(2),c=a.n(o),s=a(0),u=a(14),l=a.n(u),d=a(43),m=a(22),g=a(23),p=a(90),f=a(115),y=a(4),T=a(265),h=l.a.useSelect,b=l.a.useDispatch;function SetupForm(t){var a=t.finishSetup,n=h((function(e){return e(m.h).getAccounts()}))||[],o=h((function(e){return e(m.h).hasExistingTag()})),c=h((function(e){return e(m.h).canSubmitChanges()})),u=h((function(e){return e(g.b).hasScope(m.b)})),l=h((function(e){return e(p.a).getValue(m.d,"autoSubmit")})),I=h((function(e){return e(m.h).getProfileID()})),v=b(p.a).setValues,N=b(m.h).submitChanges,A=Object(r.l)((function(e){var t,n;return i.a.async((function(r){for(;;)switch(r.prev=r.next){case 0:return e.preventDefault(),r.next=3,i.a.awrap(N());case 3:if(t=r.sent,n=t.error,Object(T.a)(n)&&v(m.d,{autoSubmit:!0}),n){r.next=11;break}return v(m.d,{autoSubmit:!1}),r.next=10,i.a.awrap(Object(y.y)("analytics_setup","analytics_configured"));case 10:a();case 11:case"end":return r.stop()}}))}),[c,a]);return Object(r.n)((function(){l&&u&&A({preventDefault:function(){}})}),[u,l,A]),e.createElement("form",{className:"googlesitekit-analytics-setup__form",onSubmit:A},e.createElement(f.e,null),e.createElement(f.g,null),!!n.length&&!o&&e.createElement("p",{className:"googlesitekit-margin-bottom-0"},Object(s.__)("Please select the account information below. You can change this view later in your settings.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(f.c,null),e.createElement(f.j,null),e.createElement(f.i,null)),I===m.e&&e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(f.h,null)),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(d.a,{disabled:!c},Object(s.__)("Configure Analytics","google-site-kit"))))}SetupForm.propTypes={finishSetup:c.a.func},SetupForm.defaultProps={finishSetup:function(){}}}).call(this,a(11))},287:function(e,t,a){"use strict";(function(e){a.d(t,"b",(function(){return p})),a.d(t,"a",(function(){return TrackingExclusionSwitches}));var n=a(10),i=a.n(n),r=a(1),o=a(0),c=a(14),s=a.n(c),u=a(22),l=a(121),d=s.a.useSelect,m=s.a.useDispatch,g="loggedinUsers",p=i()({},g,Object(o.__)("Logged-in users","google-site-kit"));function TrackingExclusionSwitches(){var t=d((function(e){return e(u.h).getTrackingDisabled()})),a=m(u.h).setTrackingDisabled,n=Object(r.l)((function(e){var t=e.target.checked;a(t?[g]:[])}),[t]);return Array.isArray(t)?e.createElement("fieldset",{className:"googlesitekit-analytics-trackingdisabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(o.__)("Exclude from Analytics","google-site-kit")),e.createElement("div",null,e.createElement(l.a,{label:p[g],checked:t.includes(g),onClick:n,hideLabel:!1})),e.createElement("p",null,t.includes(g)&&Object(o.__)("Logged-in users will be excluded from Analytics tracking.","google-site-kit"),!t.includes(g)&&Object(o.__)("Logged-in users will be included in Analytics tracking.","google-site-kit"))):null}}).call(this,a(11))},30:function(e,t,a){"use strict";(function(e,n){a(1);var i=a(2),r=a.n(i),o=a(17),c=a.n(o),s=function SvgIcon(t){var a=t.id,i=t.className,r=t.height,o=t.width,s="".concat(e._googlesitekitLegacyData.admin.assetsRoot,"svg/svg.svg");return n.createElement("svg",{className:c()("svg",i),height:r,width:o},n.createElement("use",{xlinkHref:"".concat(s,"#").concat(a)}))};s.propTypes={id:r.a.string.isRequired,className:r.a.string,height:r.a.string,width:r.a.string},s.defaultProps={className:"",height:20,width:20},t.a=s}).call(this,a(16),a(11))},33:function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return i}));var n="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},34:function(e,t,a){"use strict";var n=a(89),i=a.n(n);a.d(t,"k",(function(){return i.a})),a.d(t,"a",(function(){return n.HelperText})),a.d(t,"b",(function(){return n.Input}));var r=a(147);a.d(t,"g",(function(){return r.a}));var o=a(217);a.d(t,"e",(function(){return o.a}));var c=a(111),s=a.n(c);a.d(t,"j",(function(){return s.a})),a.d(t,"i",(function(){return c.Option}));var u=a(216);a.d(t,"h",(function(){return u.a}));var l=a(215);a.d(t,"d",(function(){return l.a}));var d=a(214);a.d(t,"c",(function(){return d.a}));var m=a(213);a.d(t,"f",(function(){return m.a}))},357:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SetupMain}));var n=a(39),i=a.n(n),r=a(1),o=a(2),c=a.n(o),s=a(0),u=a(14),l=a.n(u),d=a(286),m=a(44),g=a(4),p=a(22),f=a(56),y=a(115),T=a(19),h=l.a.useSelect,b=l.a.useDispatch;function SetupMain(t){var a=t.finishSetup,n=h((function(e){return e(p.h).getAccounts()})),o=h((function(e){return e(p.h).getAccountID()})),c=h((function(e){return e(p.h).getExistingTag()}))||{},u=h((function(e){return e(p.h).hasExistingTag()})),l=h((function(e){return e(p.h).hasExistingTagPermission()})),I=h((function(e){return e(p.h).isDoingGetAccounts()})),v=h((function(e){return e(p.h).isDoingSubmitChanges()})),N=h((function(e){return e(p.h).hasFinishedResolution("getAccounts")})),A=p.a===o,Z=h((function(e){return e(f.b).isUsingProxy()})),_=b(p.h),k=_.setAccountID,E=_.selectProperty;Object(r.n)((function(){if(u){var e=Object(T.q)(c).accountID;k(e),E(c)}}),[u,c]);var S,P=Object(r.s)(!1),O=i()(P,2),C=O[0],M=O[1];return Object(r.n)((function(){Object(g.y)("analytics_setup","configure_analytics_screen")}),[]),S=I||v||!N||C?e.createElement(m.a,null):u&&!1===l?e.createElement(y.f,null):A||Array.isArray(n)&&!n.length?Z?e.createElement(y.a,null):e.createElement(y.b,null):e.createElement(d.a,{finishSetup:function(){a.apply(void 0,arguments),M(!0)}}),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(g.a,{id:"analytics",width:"33",height:"33"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(s._x)("Analytics","Service name","google-site-kit")),S)}SetupMain.propTypes={finishSetup:c.a.func},SetupMain.defaultProps={finishSetup:function(){}}}).call(this,a(11))},358:function(e,t,a){"use strict";(function(e,n){a.d(t,"a",(function(){return AccountCreateLegacy}));var i=a(3),r=a.n(i),o=a(1),c=a(0),s=a(14),u=a.n(s),l=a(43),d=a(27),m=a(44),g=a(4),p=a(22),f=a(249),y=u.a.useSelect,T=u.a.useDispatch;function AccountCreateLegacy(){var t=y((function(e){return e(p.h).getAccounts()})),a=y((function(e){return e(p.h).getAccountID()})),i=y((function(e){return e(p.h).isDoingGetAccounts()})),s=p.a===a,u=T(p.h).resetAccounts,h=Object(o.l)((function(){u()}));return i?n.createElement(m.a,null):n.createElement("div",null,n.createElement(f.a,null),!s&&t&&0===t.length&&n.createElement("p",null,Object(c.__)('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")),s&&n.createElement(o.b,null,n.createElement("p",null,Object(c.__)("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")),n.createElement("p",null,Object(c.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),n.createElement("div",{className:"googlesitekit-setup-module__action"},n.createElement(l.a,{onClick:function(t){return r.a.async((function(a){for(;;)switch(a.prev=a.next){case 0:return t.preventDefault(),a.next=3,r.a.awrap(Object(g.y)("analytics_setup","new_analytics_account"));case 3:e.open("https://analytics.google.com/analytics/web/?#/provision/SignUp","_blank");case 4:case"end":return a.stop()}}))}},Object(c.__)("Create an account","google-site-kit")),n.createElement("div",{className:"googlesitekit-setup-module__sub-action"},n.createElement(d.a,{onClick:h},Object(c.__)("Re-fetch My Account","google-site-kit")))))}}).call(this,a(16),a(11))},359:function(e,t,a){"use strict";(function(e,n){a.d(t,"a",(function(){return AccountCreate}));var i=a(3),r=a.n(i),o=a(39),c=a.n(o),s=a(1),u=a(0),l=a(43),d=a(27),m=a(44),g=a(4),p=a(390),f=a(391),y=a(392),T=a(393),h=a(394),b=a(249),I=a(22),v=a(56),N=a(23),A=a(90),Z=a(235),_=a(14),k=a.n(_),E=k.a.useDispatch,S=k.a.useSelect;function AccountCreate(){var t=S((function(e){return e(I.h).getAccountTicketTermsOfServiceURL()})),a=S((function(e){return e(I.h).canSubmitAccountCreate()})),i=S((function(e){return e(I.h).isDoingCreateAccount()})),o=S((function(e){return e(I.h).getAccounts()})),_=S((function(e){return e(N.b).hasScope(I.g)})),k=S((function(e){return e(A.a).hasForm(I.c)})),P=S((function(e){return e(A.a).getValue(I.c,"autoSubmit")})),O=S((function(e){return e(v.b).getReferenceSiteURL()})),C=S((function(e){return e(v.b).getSiteName()})),M=S((function(e){return e(v.b).getTimezone()})),G=Object(s.s)(!1),j=c()(G,2),w=j[0],D=j[1];Object(s.n)((function(){t&&e.location.assign(t)}),[t]);var L=E(A.a).setValues;Object(s.n)((function(){if(!k){var e=new URL(O).hostname;M=Z.c[M]?M:Intl.DateTimeFormat().resolvedOptions().timeZone,L(I.c,{accountName:C,propertyName:e,profileName:Object(u.__)("All Web Site Data","google-site-kit"),countryCode:Z.c[M],timezone:M})}}),[k,C,O,M]);var x=E(I.h).createAccount,R=E(N.b).setPermissionScopeError,B=Object(s.l)((function(){var e;return r.a.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(_){t.next=4;break}return L(I.c,{autoSubmit:!0}),R({code:N.a,message:Object(u.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:[I.g],skipModal:!0}}),t.abrupt("return");case 4:return L(I.c,{autoSubmit:!1}),t.next=7,r.a.awrap(Object(g.y)("analytics_setup","new_account_setup_clicked"));case 7:return t.next=9,r.a.awrap(x());case 9:e=t.sent,e.error||D(!0);case 12:case"end":return t.stop()}}))}),[x,D,_,R]);Object(s.n)((function(){_&&P&&B()}),[_,P,B]);var U=E(I.h).rollbackSettings,F=Object(s.l)((function(){return U()}));return i||w||void 0===o||void 0===_?n.createElement(m.a,null):n.createElement("div",null,n.createElement(b.a,null),n.createElement("h3",{className:"googlesitekit-heading-4"},Object(u.__)("Create your Analytics account","google-site-kit")),n.createElement("p",null,Object(u.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),n.createElement("div",{className:"googlesitekit-setup-module__inputs"},n.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-6"},n.createElement(f.a,null)),n.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-6"},n.createElement(y.a,null)),n.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-6"},n.createElement(T.a,null))),n.createElement("div",{className:"googlesitekit-setup-module__inputs"},n.createElement(h.a,null),n.createElement(p.a,null)),n.createElement("p",null,_&&Object(u.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit"),!_&&Object(u.__)("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")),n.createElement("div",{className:"googlesitekit-setup-module__action"},n.createElement(l.a,{disabled:!a,onClick:B},Object(u.__)("Create Account","google-site-kit")),o&&!!o.length&&n.createElement(d.a,{className:"googlesitekit-setup-module__sub-action",onClick:F},Object(u.__)("Back","google-site-kit"))))}}).call(this,a(16),a(11))},360:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return AccountSelect}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(44),s=a(34),u=a(22),l=a(4),d=o.a.useSelect,m=o.a.useDispatch;function AccountSelect(){var t=d((function(e){return e(u.h).getAccounts()})),a=d((function(e){return e(u.h).getAccountID()})),r=d((function(e){return e(u.h).hasExistingTag()})),o=d((function(e){return e(u.h).isDoingGetAccounts()})),g=m(u.h).selectAccount,p=Object(n.l)((function(e,t){var n=t.dataset.value;a!==n&&(g(n),Object(l.y)("analytics_setup","account_change",n))}),[a]);return void 0===t||o?e.createElement(c.a,{small:!0}):e.createElement(s.j,{className:"googlesitekit-analytics__select-account",label:Object(i.__)("Account","google-site-kit"),value:a,onEnhancedChange:p,disabled:r,enhanced:!0,outlined:!0},(t||[]).concat({id:u.a,name:Object(i.__)("Set up a new account","google-site-kit")}).map((function(t,a){var n=t.id,i=t.name;return e.createElement(s.i,{key:a,value:n},i)})))}}).call(this,a(11))},361:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return AnonymizeIPSwitch}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(22),s=a(56),u=a(121),l=a(27),d=a(4),m=o.a.useSelect,g=o.a.useDispatch;function AnonymizeIPSwitch(){var t=m((function(e){return e(c.h).getAnonymizeIP()})),a=m((function(e){return e(c.h).getUseSnippet()})),r=m((function(e){return e(s.b).getAMPMode()})),o=g(c.h).setAnonymizeIP,p=Object(n.l)((function(){o(!t)}),[t]);return a&&"primary"!==r&&void 0!==t?e.createElement("div",{className:"googlesitekit-analytics-anonymizeip"},e.createElement(u.a,{label:Object(i.__)("Anonymize IP addresses","google-site-kit"),onClick:p,checked:t,hideLabel:!1}),e.createElement("p",null,t?Object(i.__)("IP addresses will be anonymized.","google-site-kit"):Object(i.__)("IP addresses will not be anonymized.","google-site-kit")," ",e.createElement(l.a,{href:"https://support.google.com/analytics/answer/2763052",external:!0,inherit:!0,dangerouslySetInnerHTML:Object(d.u)(Object(i.__)('Learn more<span class="screen-reader-text"> about IP anonymization.</span>',"google-site-kit"),{ALLOWED_TAGS:["span"],ALLOWED_ATTR:["class"]})}))):null}}).call(this,a(11))},362:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ExistingTagError}));a(1);var n=a(0),i=a(14),r=a.n(i),o=a(22),c=a(143),s=r.a.useSelect;function ExistingTagError(){var t=s((function(e){return e(o.h).getExistingTag()}));if(!t)return null;var a=Object(n.sprintf)(
|
4 |
/* translators: %s: Property id of the existing tag */
|
5 |
Object(n.__)("We've detected there's already an existing Analytics tag on your site (ID %s), but your account doesn't seem to have access to this Analytics property. You can either remove the existing tag and connect to a different account, or request access to this property from your team.","google-site-kit"),t);return e.createElement(c.a,{message:a})}}).call(this,a(11))},363:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ExistingTagNotice}));a(1);var n=a(0),i=a(14),r=a.n(i),o=a(22),c=r.a.useSelect;function ExistingTagNotice(){var t=c((function(e){return e(o.h).hasExistingTag()})),a=c((function(e){return e(o.h).getExistingTag()}));return t?e.createElement("p",null,Object(n.sprintf)(
|
6 |
/* translators: %s: Analytics tag ID */
|
7 |
+
Object(n.__)("An existing analytics tag was found on your site with the ID %s. If later on you decide to replace this tag, Site Kit can place the new tag for you. Make sure you remove the old tag first.","google-site-kit"),a)):null}}).call(this,a(11))},364:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ProfileNameTextField}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(239),s=a(34),u=a(22),l=o.a.useSelect,d=o.a.useDispatch;function ProfileNameTextField(){var t,a,r=l((function(e){return e(u.h).getPropertyID()})),o=l((function(e){return e(u.h).getProfiles(r)})),m=l((function(e){return e(u.h).getProfileID()})),g=l((function(e){return e(c.a).getValue(u.d,"profileName")})),p=d(c.a).setValues,f=Object(n.l)((function(e){var t=e.currentTarget;p(u.d,{profileName:t.value})}),[]);return Object(n.n)((function(){g||p(u.d,{profileName:Object(i.__)("All Web Site Data","google-site-kit")})}),[]),m!==u.e?null:(Array.isArray(o)&&o.some((function(e){return e.name===g}))&&(t=e.createElement(s.a,{persistent:!0},Object(i.__)("A view with this name already exists.","google-site-kit")),a=e.createElement("span",{className:"googlesitekit-text-field-icon--warning"},e.createElement("span",{className:"screen-reader-text"},Object(i.__)("Warning","google-site-kit")))),e.createElement("div",{className:"googlesitekit-analytics-profilename"},e.createElement(s.k,{label:Object(i.__)("View Name","google-site-kit"),outlined:!0,helperText:t,trailingIcon:a},e.createElement(s.b,{value:g,onChange:f})),e.createElement("p",null,Object(i.__)("You can make changes to this view (e.g. exclude URL query parameters) in Google Analytics.","google-site-kit"))))}}).call(this,a(11))},365:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ProfileSelect}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(34),s=a(44),u=a(22),l=a(19),d=a(4),m=o.a.useSelect,g=o.a.useDispatch;function ProfileSelect(){var t=m((function(e){return e(u.h).getAccountID()})),a=m((function(e){return e(u.h).getPropertyID()})),r=m((function(e){return e(u.h).getProfiles(a)})),o=m((function(e){return e(u.h).getProfileID()})),p=m((function(e){return e(u.h).isDoingGetAccounts()})),f=m((function(e){return e(u.h).isDoingGetProperties(t)})),y=m((function(e){return e(u.h).isDoingGetProfiles(a)})),T=g(u.h).setProfileID,h=Object(n.l)((function(e,t){var a=t.dataset.value;o!==a&&(T(t.dataset.value),Object(d.y)("analytics_setup","profile_change",t.dataset.value))}),[o]);return p||f||y?e.createElement(s.a,{small:!0}):e.createElement(c.j,{className:"googlesitekit-analytics__select-profile",label:Object(i.__)("View","google-site-kit"),value:o,onEnhancedChange:h,disabled:!Object(l.i)(t)||!Object(l.n)(a),enhanced:!0,outlined:!0},(r||[]).concat({id:u.e,name:Object(i.__)("Set up a new view","google-site-kit")}).map((function(t,a){var n=t.id,i=t.name;return e.createElement(c.i,{key:a,value:n},i)})))}}).call(this,a(11))},366:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return PropertySelect}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(34),s=a(44),u=a(22),l=a(19),d=a(4),m=o.a.useSelect,g=o.a.useDispatch;function PropertySelect(){var t=m((function(e){return e(u.h).getAccountID()})),a=m((function(e){return e(u.h).getPropertyID()})),r=m((function(e){return e(u.h).getProperties(t)})),o=m((function(e){return e(u.h).hasExistingTag()})),p=m((function(e){return e(u.h).isDoingGetAccounts()})),f=m((function(e){return e(u.h).isDoingGetProperties(t)})),y=g(u.h).selectProperty,T=Object(n.l)((function(e,t){var n=t.dataset.value;a!==n&&(y(n,t.dataset.internalId),Object(d.y)("analytics_setup","property_change",n))}),[a]);return p||f?e.createElement(s.a,{small:!0}):e.createElement(c.j,{className:"googlesitekit-analytics__select-property",label:Object(i.__)("Property","google-site-kit"),value:a,onEnhancedChange:T,disabled:o||!Object(l.i)(t),enhanced:!0,outlined:!0},(r||[]).concat({id:u.f,name:Object(i.__)("Set up a new property","google-site-kit")}).map((function(t,a){var n=t.id,i=t.name,r=t.internalWebPropertyId;return(e.createElement(c.i,{key:a,value:n,"data-internal-id":r},i))})))}}).call(this,a(11))},367:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return UseSnippetSwitch}));var n=a(1),i=a(0),r=a(14),o=a.n(r),c=a(22),s=a(121),u=a(4),l=o.a.useSelect,d=o.a.useDispatch;function UseSnippetSwitch(){var t=l((function(e){return e(c.h).getUseSnippet()})),a=d(c.h).setUseSnippet,r=Object(n.l)((function(){a(!t),Object(u.y)("analytics_setup",t?"analytics_tag_enabled":"analytics_tag_disabled")}),[t]);return void 0===t?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(s.a,{label:Object(i.__)("Let Site Kit place code on your site","google-site-kit"),checked:t,onClick:r,hideLabel:!1}),e.createElement("p",null,t&&Object(i.__)("Site Kit will add the code automatically.","google-site-kit"),!t&&Object(i.__)("Site Kit will not add the code to your site.","google-site-kit")))}}).call(this,a(11))},368:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SettingsMain}));var n=a(1),i=a(14),r=a.n(i),o=a(395),c=a(397),s=a(22),u=r.a.useSelect,l=r.a.useDispatch;function SettingsMain(t){var a=t.isOpen,i=t.isEditing,r=u((function(e){return e(s.h).isDoingSubmitChanges()})),d=u((function(e){return e(s.h).haveSettingsChanged()})),m=l(s.h).rollbackSettings;return Object(n.n)((function(){!d||r||i||m()}),[d,r,i]),a?i?e.createElement(o.a,null):e.createElement(c.a,null):null}}).call(this,a(11))},38:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return l}));var n,i=a(5),r=a.n(i),o=a(6),c=a.n(o),s=function(t){var a=e[t];if(!a)return!1;try{var n="__storage_test__";return a.setItem(n,n),a.removeItem(n),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==a.length}},u=function(){function NullStorage(){r()(this,NullStorage)}return c()(NullStorage,[{key:"key",value:function(){return null}},{key:"getItem",value:function(){return null}},{key:"setItem",value:function(){}},{key:"removeItem",value:function(){}},{key:"clear",value:function(){}},{key:"length",get:function(){return 0}}]),NullStorage}(),l=function(){return n||(n=s("sessionStorage")?e.sessionStorage:s("localStorage")?e.localStorage:new u),n}}).call(this,a(16))},390:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return TimezoneSelect}));var n=a(1),i=a(0),r=a(34),o=a(235),c=a(14),s=a.n(c),u=a(22),l=a(90),d=s.a.useSelect,m=s.a.useDispatch;function TimezoneSelect(){var t=d((function(e){return e(l.a).getValue(u.c,"countryCode")})),a=d((function(e){return e(l.a).getValue(u.c,"timezone")})),c=m(l.a).setValues,s=Object(n.l)((function(e,t){c(u.c,{timezone:t.dataset.value})}),[c]);return e.createElement(r.j,{className:"googlesitekit-analytics__select-timezone",label:Object(i.__)("Timezone","google-site-kit"),value:a,onEnhancedChange:s,disabled:!t,enhanced:!0,outlined:!0},(o.d[t]||[]).map((function(t,a){var n=t.timeZoneId,i=t.displayName;return e.createElement(r.i,{key:a,value:n},i)})))}}).call(this,a(11))},391:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return AccountField}));var n=a(1),i=a(0),r=a(250),o=a(14),c=a.n(o),s=a(22),u=a(90),l=c.a.useSelect,d=c.a.useDispatch;function AccountField(){var t=l((function(e){return e(u.a).getValue(s.c,"accountName")})),a=d(u.a).setValues,o=Object(n.l)((function(e){a(s.c,{accountName:e})}),[a]);return e.createElement(r.a,{label:Object(i.__)("Account","google-site-kit"),hasError:!t,value:t,setValue:o,name:"account"})}}).call(this,a(11))},392:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return PropertyField}));var n=a(1),i=a(0),r=a(250),o=a(14),c=a.n(o),s=a(22),u=a(90),l=c.a.useSelect,d=c.a.useDispatch;function PropertyField(){var t=l((function(e){return e(u.a).getValue(s.c,"propertyName")})),a=d(u.a).setValues,o=Object(n.l)((function(e){a(s.c,{propertyName:e})}),[a]);return e.createElement(r.a,{label:Object(i.__)("Property","google-site-kit"),value:t,hasError:!t,setValue:o,name:"property"})}}).call(this,a(11))},393:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return ProfileField}));var n=a(1),i=a(0),r=a(250),o=a(14),c=a.n(o),s=a(22),u=a(90),l=c.a.useSelect,d=c.a.useDispatch;function ProfileField(){var t=l((function(e){return e(u.a).getValue(s.c,"profileName")})),a=d(u.a).setValues,o=Object(n.l)((function(e){a(s.c,{profileName:e})}),[a]);return e.createElement(r.a,{label:Object(i.__)("View","google-site-kit"),value:t,hasError:!t,setValue:o,name:"profile"})}}).call(this,a(11))},394:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return CountrySelect}));var n=a(1),i=a(0),r=a(34),o=a(235),c=a(14),s=a.n(c),u=a(22),l=a(90),d=s.a.useSelect,m=s.a.useDispatch;function CountrySelect(){var t=d((function(e){return e(l.a).getValue(u.c,"countryCode")})),a=m(l.a).setValues,c=Object(n.l)((function(e,n){var i=n.dataset.value;i!==t&&o.b[i]&&a(u.c,{countryCode:i,timezone:o.b[i].defaultTimeZoneId})}),[a]);return e.createElement(r.j,{className:"googlesitekit-analytics__select-country",label:Object(i.__)("Country","google-site-kit"),value:t,onEnhancedChange:c,enhanced:!0,outlined:!0},o.a.map((function(t,a){var n=t.countryCode,i=t.displayName;return e.createElement(r.i,{key:a,value:n},i)})))}}).call(this,a(11))},395:function(e,t,a){"use strict";(function(e,n){a.d(t,"a",(function(){return SettingsEdit}));var i=a(3),r=a.n(i),o=a(1),c=a(13),s=a(14),u=a.n(s),l=a(22),d=a(56),m=a(396),g=a(44),p=a(115),f=a(19),y=u.a.useSelect,T=u.a.useDispatch;function SettingsEdit(){var t=y((function(e){return e(l.h).getAccounts()}))||[],a=y((function(e){return e(l.h).getAccountID()})),i=y((function(e){return e(l.h).hasExistingTag()})),s=y((function(e){return e(l.h).getExistingTag()}))||{},u=y((function(e){return e(l.h).hasExistingTagPermission()})),h=y((function(e){return e(l.h).canSubmitChanges()})),b=y((function(e){return e(l.h).isDoingGetAccounts()})),I=y((function(e){return e(l.h).isDoingSubmitChanges()})),v=y((function(e){return e(l.h).hasFinishedResolution("getAccounts")})),N=l.a===a,A=y((function(e){return e(d.b).isUsingProxy()})),Z=T(l.h),_=Z.setAccountID,k=Z.selectProperty;Object(o.n)((function(){if(i){var e=Object(f.q)(s).accountID;_(e),k(s)}}),[i,s]),Object(o.n)((function(){var t=e.document.getElementById("confirm-changes-analytics");t&&(t.disabled=!h)}),[h]);var E,S=T(l.h).submitChanges;return Object(o.n)((function(){return Object(c.b)("googlekit.SettingsConfirmed","googlekit.AnalyticsSettingsConfirmed",(function(e,t){var a,n;return r.a.async((function(i){for(;;)switch(i.prev=i.next){case 0:if("analytics-module"!==t){i.next=8;break}return i.next=3,r.a.awrap(S());case 3:if(a=i.sent,!(n=a.error)){i.next=7;break}return i.abrupt("return",Promise.reject(n));case 7:return i.abrupt("return",Promise.resolve());case 8:return i.abrupt("return",e);case 9:case"end":return i.stop()}}))})),function(){Object(c.g)("googlekit.SettingsConfirmed","googlekit.AnalyticsSettingsConfirmed")}}),[]),E=b||I||!v?n.createElement(g.a,null):i&&!1===u?n.createElement(p.f,null):!t.length||N?A?n.createElement(p.a,null):n.createElement(p.b,null):n.createElement(m.a,null),n.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},E)}}).call(this,a(16),a(11))},396:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SettingsForm}));a(1);var n=a(115);function SettingsForm(){return e.createElement("div",{className:"googlesitekit-analytics-settings-fields"},e.createElement(n.e,null),e.createElement(n.g,null),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(n.c,null),e.createElement(n.j,null),e.createElement(n.i,null)),e.createElement("div",{className:"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline"},e.createElement(n.h,null),e.createElement(n.l,null),e.createElement(n.d,null),e.createElement(n.k,null)))}}).call(this,a(11))},397:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return SettingsView}));var n=a(398),i=a.n(n),r=(a(1),a(0)),o=a(14),c=a.n(o),s=a(93),u=a(399),l=a(22),d=a(56),m=a(23),g=a(287),p=a(115);function f(){var e=i()(["https://analytics.google.com/analytics/web/?authuser=","#/a","w","p","/admin/view/settings"]);return f=function(){return e},e}var y=c.a.useSelect;function SettingsView(){var t=y((function(e){return e(l.h).getAccountID()})),a=y((function(e){return e(l.h).getPropertyID()})),n=y((function(e){return e(l.h).getInternalWebPropertyID()})),i=y((function(e){return e(l.h).getProfileID()})),o=y((function(e){return e(l.h).getUseSnippet()})),c=y((function(e){return e(l.h).getAnonymizeIP()})),T=y((function(e){return e(l.h).getTrackingDisabled()}))||[],h=y((function(e){return e(l.h).hasExistingTag()})),b=y((function(e){return e(l.h).hasExistingTagPermission()})),I=y((function(e){return e(d.b).getAMPMode()})),v=y((function(e){return e(m.b).getEmail()})),N=Object(u.a)(f(),v,t,n,i);return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--analytics"},(!h||b)&&e.createElement(p.e,null),h&&!b&&void 0!==b&&e.createElement(p.f,null),h&&b&&void 0!==b&&e.createElement(p.g,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.__)("Account","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(s.a,{value:t}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Property","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(s.a,{value:a}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("View","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(s.a,{value:i})))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("a",{className:"googlesitekit-cta-link googlesitekit-cta-link--external",href:N,target:"_blank",rel:"noopener noreferrer"},Object(r.__)("You can make changes to this view (e.g. exclude URL query parameters) in Google Analytics","google-site-kit")))),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.__)("Analytics Code Snippet","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},o&&Object(r.__)("Snippet is inserted","google-site-kit"),!o&&!h&&Object(r.__)("Snippet is not inserted","google-site-kit"),!o&&h&&Object(r.__)("Inserted by another plugin or theme","google-site-kit")))),o&&"primary"!==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(r.__)("IP Address Anonymization","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},c&&Object(r.__)("IP addresses are being anonymized","google-site-kit"),!c&&Object(r.__)("IP addresses are not being anonymized","google-site-kit")))),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"},!!T.length&&T.map((function(e){return g.b[e]})).join(Object(r._x)(", ","list separator","google-site-kit")),!T.length&&Object(r.__)("Analytics is currently enabled for all visitors.","google-site-kit")))))}}).call(this,a(11))},399:function(e,t,a){"use strict";function n(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];return e.reduce((function(e,t,n){return e+t+encodeURIComponent(a[n]||"")}),"")}a.d(t,"a",(function(){return n}))},4:function(e,t,a){"use strict";(function(e,n){a.d(t,"t",(function(){return E})),a.d(t,"r",(function(){return S})),a.d(t,"o",(function(){return O})),a.d(t,"s",(function(){return C})),a.d(t,"i",(function(){return M})),a.d(t,"c",(function(){return G})),a.d(t,"g",(function(){return j})),a.d(t,"k",(function(){return w})),a.d(t,"m",(function(){return D})),a.d(t,"n",(function(){return L})),a.d(t,"z",(function(){return x})),a.d(t,"b",(function(){return R})),a.d(t,"x",(function(){return B})),a.d(t,"v",(function(){return U})),a.d(t,"f",(function(){return F})),a.d(t,"q",(function(){return q})),a.d(t,"j",(function(){return V}));var i=a(3),r=a.n(i),o=a(10),c=a.n(o),s=a(47),u=a.n(s),l=a(32),d=a.n(l),m=(a(1),a(12)),g=a(13),p=a(0),f=a(37),y=a(144),T=a(30);a.d(t,"a",(function(){return T.a}));var h=a(50);a.d(t,"y",(function(){return h.c}));var b=a(21),I=a(53);a.d(t,"u",(function(){return I.a}));var v=a(55);a.d(t,"w",(function(){return v.a}));var N=a(54);a.d(t,"d",(function(){return N.b})),a.d(t,"l",(function(){return N.c}));a(38);var A=a(58);function Z(e,t){var a=Object.keys(e);return Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(e)),t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Z(a,!0).forEach((function(t){c()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Z(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}a.d(t,"p",(function(){return A.a})),a.d(t,"e",(function(){return b.a})),a.d(t,"h",(function(){return b.b}));var 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=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Object(m.isFinite)(e)?e:Number(e),Object(m.isFinite)(e)||(console.warn("Invalid number",e,d()(e)),e=0),t)return S(e,{style:"currency",currency:t});var a={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions.
|
8 |
Object(p.__)("%sM","google-site-kit"),S(k(e),e%10==0?{}:a)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands.
|
9 |
Object(p.__)("%sK","google-site-kit"),S(k(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands.
|
10 |
Object(p.__)("%sK","google-site-kit"),S(k(e),e%10==0?{}:a)):e.toString()},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.locale,n=void 0===a?P():a,i=u()(t,["locale"]);return new Intl.NumberFormat(n,i).format(e)},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,a=Object(m.get)(t,["_googlesitekitLegacyData","locale","","lang"]);if(a){var n=a.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language},O=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},C=function(e){if(e=parseInt(e,10),isNaN(e)||0===e)return"0.0s";var t={};return t.hours=Math.floor(e/60/60),t.minutes=Math.floor(e/60%60),t.seconds=Math.floor(e%60),((t.hours?t.hours+"h ":"")+(t.minutes?t.minutes+"m ":"")+(t.seconds?t.seconds+"s ":"")).trim()},M=function(e,t){var a=1e3*O("day"),n=e.getTime(),i=t.getTime();return Math.round(Math.abs(n-i)/a)},G=function(e,t){if("0"===e||0===e||isNaN(e))return"";var a=((t-e)/e*100).toFixed(1);return isNaN(a)||"Infinity"===a?"":a},j=function(e,t){return Object(m.map)(e,(function(e,a){return[e[0],e[t]||(0===a?"":0)]}))},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e._googlesitekitLegacyData,a=t.modules;return a?Object.keys(a).reduce((function(e,t){return"object"!==d()(a[t])?e:void 0===a[t].slug||void 0===a[t].name||a[t].slug!==t?e:_({},e,c()({},t,a[t]))}),{}):{}},D=function(t,a){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e._googlesitekitLegacyData,i=n.admin,r=i.connectURL,o=i.adminRoot,c=n.setup.needReauthenticate,s=w(n)[t].screenID,u="pagespeed-insights"===t?{notification:"authentication_success",reAuth:void 0}:{},l=Object(f.a)(o,_({page:t&&a&&s?s:"googlesitekit-dashboard",slug:t,reAuth:a},u));if(!c)return l;var d=encodeURIComponent(Object(y.a)(l));return l=o+"?"+d,Object(f.a)(r,{redirect:l,status:a})},L=function(t,a){var n=e._googlesitekitLegacyData.admin.adminRoot;return t||(t="googlesitekit-dashboard"),a=_({page:t},a),Object(f.a)(n,a)},x=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},R=function(e,t,a){var n,i,o,c,s=arguments;return r.a.async((function(u){for(;;)switch(u.prev=u.next){case 0:return n=s.length>3&&void 0!==s[3]?s[3]:h.c,i=s.length>4&&void 0!==s[4]?s[4]:w,u.next=4,r.a.awrap(e.setModuleActive(t,a));case 4:return o=u.sent,(c=i())[t]&&(c[t].active=a),u.next=9,r.a.awrap(n("".concat(t,"_setup"),a?"module_activate":"module_deactivate",t));case 9:return u.abrupt("return",o);case 10:case"end":return u.stop()}}))},B=function(t,a,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e._googlesitekitLegacyData,o=w(r)[t],c=o.settings,s=o.setupComplete,u=i||document.getElementById("confirm-changes-".concat(t));if(s&&u){var l=!!Object.keys(a).find((function(e){var t=a[e];return!Object(m.isEqual)(n[e],c[t])}));return i||(u.disabled=!l),l}},U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(g.b)("googlesitekit.ErrorNotification","googlesitekit.ErrorNotification",Object(b.b)(e,t),1)},F=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(m.unescape)(t)};function q(t,a){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"33",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"33",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(e._googlesitekitLegacyData){var c=n.createElement(T.a,{id:t,width:i,height:r,className:o});return a?c=n.createElement(T.a,{id:"".concat(t,"-disabled"),width:i,height:r,className:o}):"pagespeed-insights"===t&&(c=n.createElement("img",{src:e._googlesitekitLegacyData.admin.assetsRoot+"images/icon-pagespeed.png",width:i,alt:"",className:o})),c}}function V(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e._googlesitekitBaseData,n=a.blogPrefix;return a.isNetworkMode?t:n+t}}).call(this,a(16),a(11))},40:function(e,t){e.exports=googlesitekit.api},41:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return T}));var n=a(3),i=a.n(n),r=a(10),o=a.n(r),c=a(20),s=a.n(c),u=a(95),l=a.n(u),d=a(62),m=a(4);function g(e,t){var a=Object.keys(e);return Object.getOwnPropertySymbols&&a.push.apply(a,Object.getOwnPropertySymbols(e)),t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(a,!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var f=function(e){return p({},e)},y=function(){return{}},T=function(t){var a,n,r=t.baseName,c=t.controlCallback,u=t.reducerCallback,g=void 0===u?f:u,T=t.argsToParams,h=void 0===T?y:T;s()(r,"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 h,"argsToParams must be a function.");try{h(),n=!1}catch(e){n=!0}var b=Object(d.b)(r),I=Object(d.a)(r),v="FETCH_".concat(I),N="START_".concat(v),A="FINISH_".concat(v),Z="CATCH_".concat(v),_="RECEIVE_".concat(I),k="fetch".concat(b),E="receive".concat(b),S="isFetching".concat(b),P=o()({},S,{}),O=(a={},o()(a,k,i.a.mark((function t(){var a,n,r,o=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,r=h.apply(void 0,o),t.next=9;break;case 4:return t.prev=4,t.t0=t.catch(0),e.console.error(t.t0.message),n=t.t0,t.abrupt("return",{response:a,error:n});case 9:return t.next=11,{payload:{params:r},type:N};case 11:return t.prev=11,t.next=14,{payload:{params:r},type:v};case 14:return a=t.sent,t.next=17,O[E](a,r);case 17:return t.next=19,{payload:{params:r},type:A};case 19:t.next=26;break;case 21:return t.prev=21,t.t1=t.catch(11),n=t.t1,t.next=26,{payload:{error:n,params:r},type:Z};case 26:return t.abrupt("return",{response:a,error:n});case 27:case"end":return t.stop()}}),t,null,[[0,4],[11,21]])}))),o()(a,E,(function(e,t){return s()(void 0!==e,"response is required."),n?s()(l()(t),"params is required."):t={},{payload:{response:e,params:t},type:_}})),a),C=o()({},v,(function(e){var t=e.payload;return c(t.params)})),M=o()({},S,(function(e){if(void 0===e[S])return!1;var t;try{for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];t=h.apply(void 0,n)}catch(e){return!1}return!!e[S][Object(m.w)(t)]}));return{INITIAL_STATE:P,actions:O,controls:C,reducer:function(e,t){var a=t.type,n=t.payload;switch(a){case N:var i=n.params;return p({},e,o()({},S,p({},e[S],o()({},Object(m.w)(i),!0))));case _:var r=n.response,c=n.params;return g(e,r,c);case A:var s=n.params;return p({},e,o()({},S,p({},e[S],o()({},Object(m.w)(s),!1))));case Z:var u=n.error,l=n.params;return p({},e,o()({error:u},S,p({},e[S],o()({},Object(m.w)(l),!1))));default:return p({},e)}},resolvers:{},selectors:M}}}).call(this,a(16))},43:function(e,t,a){"use strict";(function(e){var n=a(5),i=a.n(n),r=a(6),o=a.n(r),c=a(7),s=a.n(c),u=a(8),l=a.n(u),d=a(9),m=a.n(d),g=a(1),p=a(2),f=a.n(p),y=a(17),T=a.n(y),h=a(34),b=function(t){function Button(e){var t;return i()(this,Button),(t=s()(this,l()(Button).call(this,e))).buttonRef=Object(g.h)(),t}return m()(Button,t),o()(Button,[{key:"componentDidMount",value:function(){new h.g(this.buttonRef.current)}},{key:"render",value:function(){var t=this.props,a=t.onClick,n=t.children,i=t.href,r=t.text,o=t.className,c=t.danger,s=t.disabled,u=t.target,l=t.id,d=t.icon,m=t.trailingIcon,g=t.ariaHaspopup,p=t.ariaExpanded,f=t.ariaControls,y=i&&!s?"a":"button";return e.createElement(y,{className:T()("mdc-button",o,{"mdc-button--raised":!r,"mdc-button--danger":c}),onClick:a,href:s?void 0:i,ref:this.buttonRef,disabled:!!s,target:u||"_self",id:l,"aria-haspopup":g,"aria-expanded":p,"aria-controls":f},d&&d,e.createElement("span",{className:"mdc-button__label"},n),m&&m)}}]),Button}(g.a);b.propTypes={onClick:f.a.func,children:f.a.string.isRequired,href:f.a.string,text:f.a.bool,className:f.a.string,danger:f.a.bool,disabled:f.a.bool,icon:f.a.element,trailingIcon:f.a.element,ariaHaspopup:f.a.string,ariaExpanded:f.a.bool,ariaControls:f.a.string},b.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,ariaHaspopup:"",ariaExpanded:!1,ariaControls:""},t.a=b}).call(this,a(11))},44:function(e,t,a){"use strict";(function(e){var n=a(5),i=a.n(n),r=a(6),o=a.n(r),c=a(7),s=a.n(c),u=a(8),l=a.n(u),d=a(9),m=a.n(d),g=a(1),p=a(2),f=a.n(p),y=a(17),T=a.n(y),h=function(t){function ProgressBar(){return i()(this,ProgressBar),s()(this,l()(ProgressBar).apply(this,arguments))}return m()(ProgressBar,t),o()(ProgressBar,[{key:"render",value:function(){var t=this.props,a=t.className,n=t.small,i=t.compress,r=t.height,o=r?Math.round(r/2):null;return e.createElement("div",{role:"progressbar",style:{marginTop:o,marginBottom:o},className:T()("mdc-linear-progress","mdc-linear-progress--indeterminate",a,{"mdc-linear-progress--small":n,"mdc-linear-progress--compress":i})},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"},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}(g.a);h.propTypes={className:f.a.string,small:f.a.bool,compress:f.a.bool},h.defaultProps={className:"",small:!1,compress:!1},t.a=h}).call(this,a(11))},46:function(e,t,a){"use strict";function n(e){return{byContext:function(t){return e.filter((function(e){return e.usageContext.includes(t)}))}}}function i(e){return(parseInt(e)||0)>0}function r(e){return!!e&&e.toString().match(/^GTM-[A-Z0-9]+$/)}a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"d",(function(){return o}));var o=[/<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]+)['|"]/]},50:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return d})),a.d(t,"b",(function(){return g})),a.d(t,"c",(function(){return m}));var n=a(67),i=e._googlesitekitBaseData||{},r=i.isFirstAdmin,o=i.trackingAllowed,c={isFirstAdmin:r,trackingEnabled:i.trackingEnabled,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash},s=Object(n.a)(c),u=s.enableTracking,l=s.disableTracking,d=s.isTrackingEnabled,m=s.trackEvent;function g(e){e?u():l()}!0===o&&g(d())}).call(this,a(16))},51:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(33);function i(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},53:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(72),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:n.a.sanitize(e,t)}}},54:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return o})),a.d(t,"b",(function(){return c})),a.d(t,"c",(function(){return u}));var n=a(39),i=a.n(n),r=a(0),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,a=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),a=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===a)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var s=document.createElement("span");return s.setAttribute("class","screen-reader-text"),s.textContent=Object(r.sprintf)(
|
google-site-kit.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin Name: Site Kit by Google
|
12 |
* Plugin URI: https://sitekit.withgoogle.com
|
13 |
* Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
|
14 |
-
* Version: 1.11.
|
15 |
* Author: Google
|
16 |
* Author URI: https://opensource.google.com
|
17 |
* License: Apache License 2.0
|
@@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
24 |
}
|
25 |
|
26 |
// Define most essential constants.
|
27 |
-
define( 'GOOGLESITEKIT_VERSION', '1.11.
|
28 |
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
|
29 |
define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' );
|
30 |
|
11 |
* Plugin Name: Site Kit by Google
|
12 |
* Plugin URI: https://sitekit.withgoogle.com
|
13 |
* Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
|
14 |
+
* Version: 1.11.1
|
15 |
* Author: Google
|
16 |
* Author URI: https://opensource.google.com
|
17 |
* License: Apache License 2.0
|
24 |
}
|
25 |
|
26 |
// Define most essential constants.
|
27 |
+
define( 'GOOGLESITEKIT_VERSION', '1.11.1' );
|
28 |
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
|
29 |
define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' );
|
30 |
|
includes/Core/Admin/Screens.php
CHANGED
@@ -159,7 +159,7 @@ final class Screens {
|
|
159 |
/**
|
160 |
* Gets the Screen instance for a given hook suffix.
|
161 |
*
|
162 |
-
* @since
|
163 |
*
|
164 |
* @param string $hook_suffix The hook suffix associated with the screen to retrieve.
|
165 |
* @return Screen|null Screen instance if available, otherwise null;
|
159 |
/**
|
160 |
* Gets the Screen instance for a given hook suffix.
|
161 |
*
|
162 |
+
* @since 1.11.0
|
163 |
*
|
164 |
* @param string $hook_suffix The hook suffix associated with the screen to retrieve.
|
165 |
* @return Screen|null Screen instance if available, otherwise null;
|
includes/Core/CLI/Authentication_CLI_Command.php
CHANGED
@@ -19,7 +19,7 @@ use WP_CLI;
|
|
19 |
/**
|
20 |
* Manages Site Kit user authentication for Google APIs.
|
21 |
*
|
22 |
-
* @since
|
23 |
* @access private
|
24 |
* @ignore
|
25 |
*/
|
@@ -39,7 +39,7 @@ class Authentication_CLI_Command extends CLI_Command {
|
|
39 |
*
|
40 |
* @alias revoke
|
41 |
*
|
42 |
-
* @since
|
43 |
*
|
44 |
* @param array $args Array of arguments.
|
45 |
* @param array $assoc_args Array of associated arguments.
|
19 |
/**
|
20 |
* Manages Site Kit user authentication for Google APIs.
|
21 |
*
|
22 |
+
* @since 1.11.0
|
23 |
* @access private
|
24 |
* @ignore
|
25 |
*/
|
39 |
*
|
40 |
* @alias revoke
|
41 |
*
|
42 |
+
* @since 1.11.0
|
43 |
*
|
44 |
* @param array $args Array of arguments.
|
45 |
* @param array $assoc_args Array of associated arguments.
|
includes/Core/CLI/CLI_Command.php
CHANGED
@@ -16,7 +16,7 @@ use WP_CLI_Command;
|
|
16 |
/**
|
17 |
* Base CLI Command class.
|
18 |
*
|
19 |
-
* @since
|
20 |
* @access private
|
21 |
* @ignore
|
22 |
*/
|
@@ -25,7 +25,7 @@ class CLI_Command extends WP_CLI_Command {
|
|
25 |
/**
|
26 |
* Plugin context.
|
27 |
*
|
28 |
-
* @since
|
29 |
*
|
30 |
* @var Context
|
31 |
*/
|
@@ -34,7 +34,7 @@ class CLI_Command extends WP_CLI_Command {
|
|
34 |
/**
|
35 |
* Constructor.
|
36 |
*
|
37 |
-
* @since
|
38 |
*
|
39 |
* @param Context $context Plugin context.
|
40 |
*/
|
16 |
/**
|
17 |
* Base CLI Command class.
|
18 |
*
|
19 |
+
* @since 1.11.0
|
20 |
* @access private
|
21 |
* @ignore
|
22 |
*/
|
25 |
/**
|
26 |
* Plugin context.
|
27 |
*
|
28 |
+
* @since 1.11.0
|
29 |
*
|
30 |
* @var Context
|
31 |
*/
|
34 |
/**
|
35 |
* Constructor.
|
36 |
*
|
37 |
+
* @since 1.11.0
|
38 |
*
|
39 |
* @param Context $context Plugin context.
|
40 |
*/
|
includes/Core/CLI/CLI_Commands.php
CHANGED
@@ -16,7 +16,7 @@ use WP_CLI;
|
|
16 |
/**
|
17 |
* CLI commands hub class.
|
18 |
*
|
19 |
-
* @since
|
20 |
* @access private
|
21 |
* @ignore
|
22 |
*/
|
@@ -25,7 +25,7 @@ class CLI_Commands {
|
|
25 |
/**
|
26 |
* Plugin context.
|
27 |
*
|
28 |
-
* @since
|
29 |
*
|
30 |
* @var Context
|
31 |
*/
|
@@ -34,7 +34,7 @@ class CLI_Commands {
|
|
34 |
/**
|
35 |
* Constructor.
|
36 |
*
|
37 |
-
* @since
|
38 |
*
|
39 |
* @param Context $context Plugin context.
|
40 |
*/
|
@@ -45,7 +45,7 @@ class CLI_Commands {
|
|
45 |
/**
|
46 |
* Registers WP CLI commands.
|
47 |
*
|
48 |
-
* @since
|
49 |
*/
|
50 |
public function register() {
|
51 |
WP_CLI::add_command( 'google-site-kit auth', new Authentication_CLI_Command( $this->context ) );
|
16 |
/**
|
17 |
* CLI commands hub class.
|
18 |
*
|
19 |
+
* @since 1.11.0
|
20 |
* @access private
|
21 |
* @ignore
|
22 |
*/
|
25 |
/**
|
26 |
* Plugin context.
|
27 |
*
|
28 |
+
* @since 1.11.0
|
29 |
*
|
30 |
* @var Context
|
31 |
*/
|
34 |
/**
|
35 |
* Constructor.
|
36 |
*
|
37 |
+
* @since 1.11.0
|
38 |
*
|
39 |
* @param Context $context Plugin context.
|
40 |
*/
|
45 |
/**
|
46 |
* Registers WP CLI commands.
|
47 |
*
|
48 |
+
* @since 1.11.0
|
49 |
*/
|
50 |
public function register() {
|
51 |
WP_CLI::add_command( 'google-site-kit auth', new Authentication_CLI_Command( $this->context ) );
|
includes/Core/CLI/Reset_CLI_Command.php
CHANGED
@@ -16,7 +16,7 @@ use WP_CLI;
|
|
16 |
/**
|
17 |
* Resets Site Kit Settings and Data.
|
18 |
*
|
19 |
-
* @since
|
20 |
* @access private
|
21 |
* @ignore
|
22 |
*/
|
@@ -31,12 +31,12 @@ class Reset_CLI_Command extends CLI_Command {
|
|
31 |
*
|
32 |
* wp google-site-kit reset
|
33 |
*
|
34 |
-
* @since
|
35 |
*/
|
36 |
public function __invoke() {
|
37 |
$reset = new Reset( $this->context );
|
38 |
$reset->all();
|
39 |
-
|
40 |
WP_CLI::success( 'Settings successfully reset.' );
|
41 |
}
|
42 |
|
16 |
/**
|
17 |
* Resets Site Kit Settings and Data.
|
18 |
*
|
19 |
+
* @since 1.11.0
|
20 |
* @access private
|
21 |
* @ignore
|
22 |
*/
|
31 |
*
|
32 |
* wp google-site-kit reset
|
33 |
*
|
34 |
+
* @since 1.11.0
|
35 |
*/
|
36 |
public function __invoke() {
|
37 |
$reset = new Reset( $this->context );
|
38 |
$reset->all();
|
39 |
+
|
40 |
WP_CLI::success( 'Settings successfully reset.' );
|
41 |
}
|
42 |
|
includes/Core/Util/Tracking.php
CHANGED
@@ -29,7 +29,7 @@ final class Tracking {
|
|
29 |
/**
|
30 |
* Screens instance.
|
31 |
*
|
32 |
-
* @since
|
33 |
*
|
34 |
* @var Screens
|
35 |
*/
|
@@ -46,7 +46,7 @@ final class Tracking {
|
|
46 |
* Constructor.
|
47 |
*
|
48 |
* @since 1.4.0
|
49 |
-
* @since
|
50 |
*
|
51 |
* @param Context $context Context instance.
|
52 |
* @param User_Options $user_options Optional. User_Options instance. Default is a new instance.
|
29 |
/**
|
30 |
* Screens instance.
|
31 |
*
|
32 |
+
* @since 1.11.0
|
33 |
*
|
34 |
* @var Screens
|
35 |
*/
|
46 |
* Constructor.
|
47 |
*
|
48 |
* @since 1.4.0
|
49 |
+
* @since 1.11.0 Added `Screens` instance.
|
50 |
*
|
51 |
* @param Context $context Context instance.
|
52 |
* @param User_Options $user_options Optional. User_Options instance. Default is a new instance.
|
includes/Modules/Tag_Manager.php
CHANGED
@@ -890,7 +890,7 @@ final class Tag_Manager extends Module
|
|
890 |
/**
|
891 |
* Sets up the module's assets to register.
|
892 |
*
|
893 |
-
* @since
|
894 |
*
|
895 |
* @return Asset[] List of Asset objects.
|
896 |
*/
|
890 |
/**
|
891 |
* Sets up the module's assets to register.
|
892 |
*
|
893 |
+
* @since 1.11.0
|
894 |
*
|
895 |
* @return Asset[] List of Asset objects.
|
896 |
*/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: google
|
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.4
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 1.11.
|
8 |
License: Apache License 2.0
|
9 |
License URI: https://www.apache.org/licenses/LICENSE-2.0
|
10 |
Tags: google, search-console, analytics, adsense, pagespeed-insights, optimize, tag-manager, site-kit
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.4
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 1.11.1
|
8 |
License: Apache License 2.0
|
9 |
License URI: https://www.apache.org/licenses/LICENSE-2.0
|
10 |
Tags: google, search-console, analytics, adsense, pagespeed-insights, optimize, tag-manager, site-kit
|