52 lines
189 KiB
JavaScript
52 lines
189 KiB
JavaScript
|
|
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[24],{1:function(e,t){e.exports=googlesitekit.i18n},10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(35),i=n.n(r),a=n(96),o=n.n(a),c=function(e){return o()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===i()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))}},101:function(e,t,n){"use strict";(function(e){n(49),n(50)}).call(this,n(26))},102:function(e,t,n){"use strict";function r(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function i(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function a(e){return e.replace(/\n/gi,"<br>")}function o(e){for(var t=e,n=0,o=[r,i,a];n<o.length;n++){t=(0,o[n])(t)}return t}n.d(t,"a",(function(){return o}))},103:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},i=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t}},1036:function(e,t,n){"use strict";n.r(t),function(e){var t=n(142),r=n(285),i=n(124),a=n(204),o=n(866),c=n(21);Object(r.a)((function(){var n=document.getElementById("js-googlesitekit-settings");n&&Object(i.render)(e.createElement(a.a,{viewContext:c.p},e.createElement(t.a,null,e.createElement(o.a,null))),n)}))}.call(this,n(3))},104:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(221),i=n(85),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},105:function(e,t,n){"use strict";function r(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}n.d(t,"a",(function(){return r}))},106:function(e,t,n){"use strict";function r(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}n.d(t,"a",(function(){return r}))},107:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(6),i=n.n(r),a=n(15),o=n(108),c=n(109);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function g(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=l(l({},u),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(i,n),g=Object(c.a)(i,n,s,r),d={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);d[r]||(d[r]=Object(a.once)(g)),d[r].apply(d,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:g,trackEventOnce:f}}}).call(this,n(26))},108:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(60),i=n(36),a=n(53);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,l
|
|||
|
|
/* translators: %s: source link */
|
|||
|
|
Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:r,external:a})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(3))},138:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},139:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(216),o=n(43),c=n(1),s=n(10);function ModalDialog(t){var n=t.dialogActive,r=t.handleDialog,i=t.title,l=t.provides,u=t.handleConfirm,g=t.subtitle,d=t.confirmButton,f=t.dependentModules,m=t.danger,p=t.inProgress,v=void 0!==p&&p,b=Object(a.a)(ModalDialog),h="googlesitekit-dialog-description-".concat(b),_=!(!l||!l.length);return e.createElement(s.Dialog,{open:n,"aria-describedby":_?h:void 0,tabIndex:"-1"},e.createElement(s.DialogTitle,null,i),g?e.createElement("p",{className:"mdc-dialog__lead"},g):[],e.createElement(s.DialogContent,null,_&&e.createElement("section",{id:h,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},l.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),f&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(o.a)(Object(c.sprintf)(
|
|||
|
|
/* translators: %s is replaced with the dependent modules. */
|
|||
|
|
Object(c.__)("<strong>Note:</strong> %s","google-site-kit"),f),{strong:e.createElement("strong",null)}))),e.createElement(s.DialogFooter,null,e.createElement(s.SpinnerButton,{onClick:u,danger:m,disabled:v,isSaving:v},d||Object(c.__)("Disconnect","google-site-kit")),e.createElement(s.Button,{className:"googlesitekit-margin-left-auto mdc-dialog__cancel-button",tertiary:!0,onClick:r,disabled:v},Object(c.__)("Cancel","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,title:i.a.string,description:i.a.string,confirmButton:i.a.string,danger:i.a.bool},ModalDialog.defaultProps={dialogActive:!1,handleDialog:null,title:null,description:null,confirmButton:null,danger:!1},t.a=ModalDialog}).call(this,n(3))},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},141:function(e,t,n){"use strict";var r=n(2),i=Object(r.createContext)(!1);t.a=i},146:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),a)}},151:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},152:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(21),i=function(e){return r.f.includes(e)}},154:function(e,t,n){"use strict";var r=n(2),i=n(53),a=Object(r.createContext)(i.a);t.a=a},156:function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n.n(c),l=n(2),u=n(24),g=n(8),d=n(19);function HelpMenuLink(t){var n=t.children,r=t.href,a=t.gaEventLabel,c=Object(d.a)(),s=Object(l.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=3;break}return e.next=3,Object(g.B)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",a);case 3:case"end":return e.stop()}}),e)}))),[a,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:s},n))}HelpMenuLink.propTypes={children:s.a.node.isRequired,href:s.a.string.isRequired,gaEventLabel:s.a.string},t.a=HelpMenuLink}).call(this,n(3))},158:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",i({viewBox:"0 0 28 25"},e),a)}},161:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(0),i=n.n(r),a=n(1),o=n(24),c=n(166);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(a.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:i.a.string,componentStack:
|
|||
|
|
/* translators: Account info text. 1: User's (full) name 2: User's email address. */
|
|||
|
|
Object(d.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(U=Object(d.sprintf)(
|
|||
|
|
/* translators: Account info text. 1: User's (full) name. */
|
|||
|
|
Object(d.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(U=Object(d.sprintf)(
|
|||
|
|
/* translators: Account info text. 1: User's email address. */
|
|||
|
|
Object(d.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(g.Fragment,null,r.createElement("div",{ref:B,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(v.Button,{ref:z,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:F,icon:!!i&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:i,alt:Object(d.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":P,"aria-controls":"user-menu","aria-label":Object(d.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:r.createElement("span",{"aria-label":U},r.createElement("strong",null,Object(d.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),o,o&&r.createElement("br",null),n)}),r.createElement(v.Menu,{className:"googlesitekit-user-menu",menuOpen:P,onSelected:G,id:"user-menu"},r.createElement("li",null,r.createElement(E.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(j.a,{width:"22"}),label:Object(d.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(d.__)("Disconnect","google-site-kit")})))),r.createElement(k.a,null,r.createElement(b.a,{dialogActive:R,handleConfirm:q,handleDialog:W,title:Object(d.__)("Disconnect","google-site-kit"),subtitle:Object(d.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(d.__)("Disconnect","google-site-kit"),danger:!0})))):null}}).call(this,n(26),n(3))},246:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(1),i=n(4),a=n.n(i),o=n(7),c=a.a.useSelect;function Details(){var t=c((function(e){return e(o.a).getPicture()})),n=c((function(e){return e(o.a).getFullName()})),i=c((function(e){return e(o.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},i)))}}).call(this,n(3))},247:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"none"},e),a)}},248:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",i({viewBox:"0 0 22 18
|
|||
|
|
/* translators: %s: List of product names */
|
|||
|
|
Object(s.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for: %s – make sure to approve all permissions at the authentication stage.","google-site-kit"),Object(d.t)(l));break;case"single":u=Object(s.sprintf)(
|
|||
|
|
/* translators: %s: Product name */
|
|||
|
|
Object(s.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),l[0]);break;case"generic":u=Object(s.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(g.b,{id:"authentication error",title:w,description:u,format:"small",type:"win-error",isDismissible:!1,ctaLink:j,onCTAClick:function(){_.current=!0},ctaLabel:N})}}).call(this,n(26),n(3))},252:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UnsatisfiedScopesAlertGTE}));var i=n(1),a=n(4),o=n.n(a),c=n(42),s=n(14),l=n(7),u=n(33),g=n(25),d=o.a.useSelect;function UnsatisfiedScopesAlertGTE(){var t=d((function(e){return e(g.a).getValue(l.c,"permissionsError")})),n=d((function(n){var r;return n(l.a).getConnectURL({additionalScopes:[u.h],redirectURL:(null==t||null===(r=t.data)||void 0===r?void 0:r.redirectURL)||e.location.href})})),a=d((function(e){return e(s.c).getGoogleSupportURL({path:"/tagmanager/answer/11994839"})}));return void 0===n?null:r.createElement(c.b,{id:"authentication-error-gte",title:Object(i.__)("Site Kit needs additional permissions to detect updates to tags on your site","google-site-kit"),description:Object(i.__)("To continue using Analytics with Site Kit, you need to grant permission to check for any changes in your Google tag’s target Analytics property. The Google tag feature was recently updated to allow users to change a tag’s connected Analytics property without editing site code. Because of this change, Site Kit now must regularly check if the tag on your site matches the Analytics property destination.","google-site-kit"),format:"small",type:"win-error",isDismissible:!1,ctaLink:n,ctaLabel:Object(i.__)("Grant permission","google-site-kit"),learnMoreLabel:Object(i.__)("Learn more","google-site-kit"),learnMoreURL:a})}}).call(this,n(26),n(3))},253:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),i=n.n(r),a=n(14),o=n(42),c=i.a.useSelect;function InternalServerError(){var t=c((function(e){return e(a.c).getInternalServerError()}));return t?e.createElement(o.b,t):null}}).call(this,n(3))},254:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(4),i=n.n(r),a=n(7),o=n(38),c=n(167),s=n(255),l=i.a.useSelect;function DashboardNavigation(){var t=Object(o.a)(),n=l((function(e){return t?e(a.a).getViewableModules():null})),r=l((function(e){return e(a.a).getKeyMetrics()}));return e.createElement(c.a,{loading:void 0===n||void 0===r,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(s.a,null))}}).call(this,n(3))},255:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var i=n(31),a=n.n(i),o=n(17),c=n.n(o),s=n(12),l=n.n(s),u=n(15),g=n(86),d=n(143),f=n(2),m=n(1),p=n(4),v=n.n(p),b=n(256),h=n(257),_=n(258),k=n(259),E=n(260),O=n(21),y=n(7),j=n(44),S=n(29),w=n(72),N=n(66),T=n(30),C=n(119),x=n(8),A=n(19),R=n(38);function L(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;re
|
|||
|
|
/* translators: %s: module owner Google Account email address */
|
|||
|
|
Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),s.login),{strong:e.createElement("strong",{title:s.login})})))}Service.propTypes={module:i.a.string.isRequired}}).call(this,n(3))},268:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(43),i=n(1),a=n(194),o=n(19);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(i.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(a.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(3))},269:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var r=n(1),i=n(4),a=n.n(i),o=n(42),c=n(14),s=a.a.useSelect;function SetupErrorNotification(){var t=s((function(e){return e(c.c).getSetupErrorMessage()})),n=s((function(e){return e(c.c).getSetupErrorRedoURL()}));return t?e.createElement(o.b,{id:"setup_error",type:"win-error",title:Object(r.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit"),ctaLink:n}):null}}).call(this,n(3))},270:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},282:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgConnected(e){return r.createElement("svg",i({viewBox:"0 0 16 12"},e),a)}},283:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}));t.a=function SvgExclamation(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},29:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},295:function(e,t,n){"use strict";(function(e){var r=n(49),i=n.n(r),a=n(50),o=n.n(a),c=n(68),s=n.n(c),l=n(69),u=n.n(l),g=n(46),d=n.n(g),f=n(0),m=n.n(f),p=n(2),v=n(18),b=n(24);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d()(e);if(t){var i=d()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var _=function(t){s()(LayoutHeader,t);var n=h(LayoutHeader);function LayoutHeader(){return i()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.ctaLabel,i=t.ctaLink,a=i?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("he
|
|||
|
|
/* translators: %s: number of answers allowed. */
|
|||
|
|
Object(g._n)("Select only %d answer","Select up to %d answers",a,"google-site-kit"),a))),e.createElement("div",{className:"googlesitekit-user-input__select-options",ref:T},L))}UserInputSelectOptions.propTypes={slug:s.a.string.isRequired,options:s.a.shape({}).isRequired,max:s.a.number,next:s.a.func,showInstructions:s.a.bool,alignLeftOptions:s.a.bool},UserInputSelectOptions.defaultProps={max:1,showInstructions:!1,alignLeftOptions:!1}}).call(this,n(3))},437:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputPreviewGroup}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(6),s=n.n(c),l=n(0),u=n.n(l),g=n(12),d=n.n(g),f=n(2),m=n(1),p=n(10),v=n(4),b=n.n(v),h=n(29),_=n(7),k=n(32),E=n(8),O=n(348),y=n(19),j=n(126),S=n(111),w=n(24),N=n(167),T=n(436),C=n(476),x=n(550),A=b.a.useSelect,R=b.a.useDispatch;function UserInputPreviewGroup(t){var n=t.slug,r=t.title,a=t.values,c=t.options,l=void 0===c?{}:c,u=t.loading,g=void 0!==u&&u,v=t.settingsView,b=void 0!==v&&v,L=Object(y.a)(),D=A((function(e){return e(k.a).isNavigating()})),M=A((function(e){return e(h.b).getValue(j.a)})),P=A((function(e){return e(_.a).hasUserInputSettingChanged(n)})),I=A((function(e){var t=e(_.a).getUserInputSettings();return e(_.a).isSavingUserInputSettings(t)})),B=A((function(e){return e(_.a).getErrorForAction("saveUserInputSettings",[])})),z=R(h.b).setValues,H=R(_.a),V=H.saveUserInputSettings,U=H.resetUserInputSettings,F=M===n,W=I||D,G="".concat(L,"_kmw"),q=Object(f.useCallback)((function(){var e,t;F?(z(s()({},j.a,void 0)),null===(e=Y.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)):(Object(E.B)(G,"question_edit",n),z(s()({},j.a,n)))}),[G,F,z,n]),K=Object(O.a)(a,j.b[n]),X=Object(O.b)(a),Y=Object(f.useRef)(),$=Object(f.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!X){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,V();case 4:e.sent.error||(Object(E.B)(G,"question_update",n),q());case 6:case"end":return e.stop()}}),e)}))),[X,G,V,n,q]),Q=Object(f.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!b){e.next=6;break}if(!(W||M&&!F)){e.next=3;break}return e.abrupt("return");case 3:if(!F){e.next=6;break}return e.next=6,U();case 6:q();case 7:case"end":return e.stop()}}),e)}))),[b,W,M,F,U,q]),J=Object(f.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!W){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,U();case 4:q();case 5:case"end":return e.stop()}}),e)}))),[W,U,q]);return e.createElement("div",{className:d()("googlesitekit-user-input__preview-group",{"googlesitekit-user-input__preview-group--editing":F,"googlesitekit-user-input__preview-group--individual-cta":b})},e.createElement("div",{className:"googlesitekit-user-input__preview-group-title"},e.createElement(N.a,{loading:g,width:"340px",height:"21px"},e.createElement("p",null,r)),e.createElement(N.a,{loading:g,className:"googlesitekit-margin-left-auto",width:"60px",height:"26px"},e.createElement(w.a,{secondary:!0,onClick:Q,ref:Y,disabled:W||!!M&&!F,linkButton:!0,trailingIcon:e.createElement(x.a,{width:20,height:20})},F&&Object(m.__)("Close","google-site-kit"),!F&&Object(m.__)("Edit","google-site-kit")))),!F&&e.createElement("div",{className:"googlesitekit-user-input__preview-answers"},e.createElement(N.a,{loading:g,width:"340px",height:"36px"},K&&e.createElement("p",{className:"googlesitekit-error-text"},K),!K&&a.map((function(t){return e.createElement("div",{key:t,className:"googlesitekit-user-input__preview-answer"},l[t])})))),F&&e.createElement(f.Fragment,null,e.createElement(T.a,{slug:n,max:j.b[n],options:l,alignLeftOptions:!0}),K&&e.createElement("p",{className:"googlesitekit-error-text"},K),b&&e.createElement(f.Fragment,null,e.createElement(C.a,{slug:n}),B&&e.createElement(S.a,{error:B}),e.createElement("div",{className:"googlesitekit-user-input__preview-actions"},e.createElement(p.SpinnerButton,{disabled:X,onClick:P?$:q,isSaving:W},P||I?Object(m.__)("Apply changes","go
|
|||
|
|
/* translators: %s: number of days */
|
|||
|
|
Object(d._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}},65:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(112);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},650:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsActiveModules}));var r=n(4),i=n.n(r),a=n(20),o=n(176),c=n(871),s=i.a.useSelect;function SettingsActiveModules(){var t=s((function(e){return e(a.a).getModules()}));if(!t)return null;var n=Object.keys(t).map((function(e){return t[e]})).filter((function(e){var t=e.internal,n=e.active;return!t&&n})).sort((function(e,t){return e.order-t.order}));return e.createElement(o.a,{rounded:!0},n.map((function(t){var n=t.slug;return e.createElement(c.a,{key:n,slug:n})})))}}).call(this,n(3))},66:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(21),i=n(19),a=r.m,o=r.k;function c(){var e=Object(i.a)();return e===r.m||e===r.n?a:e===r.k||e===r.l?o:null}},673:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsKeyMetrics}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n.n(c),l=n(2),u=n(1),g=n(10),d=n(4),f=n.n(d),m=n(7),p=n(18),v=n(55),b=f.a.useSelect,h=f.a.useDispatch;function SettingsKeyMetrics(t){var n=t.loading,r=void 0!==n&&n,a=b((function(e){return e(m.a).isKeyMetricsWidgetHidden()})),c=b((function(e){return e(m.a).getKeyMetrics()})),s=h(m.a),d=s.setKeyMetricsSetting,f=s.saveKeyMetricsSettings,_=Object(l.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d("isWidgetHidden",!a);case 2:return e.next=4,f({widgetSlugs:void 0});case 4:case"end":return e.stop()}}),e)}))),[a,f,d]);return r?e.createElement(p.e,null,e.createElement(p.k,null,e.createElement(p.a,{size:12,className:"googlesitekit-overflow-hidden"},e.createElement(v.a,{width:"260px",height:"21.3px"})))):void 0!==a&&(null==c?void 0:c.length)?e.createElement(p.e,null,e.createElement(p.k,null,e.createElement(p.a,{size:12},e.createElement(g.Switch,{label:Object(u.__)("Display key metrics in dashboard","google-site-kit"),checked:!a,onClick:_,hideLabel:!1})))):null}SettingsKeyMetrics.propTypes={loading:s.a.bool}}).call(this,n(3))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"y",(function(){return c})),n.d(t,"D",(function(){return s})),n.d(t,"F",(function(){return l})),n.d(t,"B",(function(){return u})),n.d(t,"C",(function(){return g})),n.d(t,"A",(function(){return d})),n.d(t,"z",(function(){return f})),n.d(t,"E",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"k",(function(){return _})),n.d(t,"l",(function(){return k})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return O})),n.d(t,"p",(function(){return y})),n.d(t,"q",(function(){return j})),n.d(t,"r",(function(){return S})),n.d(t,"s",(function(){return w})),n.d(t,"u",(function(){return N})),n.d(t,"j",(function(){return T})),n.d(t,"w",(function(){return C})),n.d(t,"t",(function(){return x})),n.d(t,"x",(function(){return A})),n.d(t,"v",(function(){return R})),n.d(t,"h",(function(){return L
|
|||
|
|
/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
|
|||
|
|
Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?w(a,v(v({},o),{},{unit:"second"})):"",i?w(i,v(v({},o),{},{unit:"minute"})):"",r?w(r,v(v({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit.
|
|||
|
|
Object(m.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit.
|
|||
|
|
Object(m.__)("%dm","google-site-kit"),i),o=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit.
|
|||
|
|
Object(m.__)("%dh","google-site-kit"),r);return Object(m.sprintf)(
|
|||
|
|
/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
|
|||
|
|
Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},E=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},O=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions.
|
|||
|
|
Object(m.__)("%sM","google-site-kit"),w(E(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands.
|
|||
|
|
Object(m.__)("%sK","google-site-kit"),w(E(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands.
|
|||
|
|
Object(m.__)("%sK","google-site-kit"),w(E(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function y(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(g.isPlainObject)(e)&&(t=v({},e)),t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(g.isFinite)(e)?e:Number(e),Object(g.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=y(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?O(e):"duration"===i?b(e,n):"durationISO"===i?h(e):w(e,n)}var S=f()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},g=0,d=Object.entries(a);g<d.length;g++){var f=i()(d[g],2),m=f[0],p=f[1];c[m]&&p===c[m]||(s.includes(m)||(l[m]=p))}try{return new Intl.NumberFormat(r,l).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?T():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:a,type:c});return s.format(e)}
|
|||
|
|
/* translators: used between list items, there is a space after the comma. */var l=Object(m.__)(", ","google-site-kit");return e.join(l)},T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(g.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},75:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},78:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(35),i=n.n(r),a=n(84),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},8:function(e,t,n){"use strict";(function(e){n.d(t,"p",(function(){return p})),n.d(t,"d",(function(){return v})),n.d(t,"E",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(15),i=n(34);n.d(t,"B",(function(){return i.b})),n.d(t,"C",(function(){return i.c}));var a=n(78);n.d(t,"y",(function(){return a.a})),n.d(t,"D",(function(){return a.b}));var o=n(100);n.d(t,"A",(function(){return o.a}));n(101);var c=n(73);n.d(t,"i",(function(){return c.a})),n.d(t,"n",(function(){return c.b})),n.d(t,"t",(function(){return c.c})),n.d(t,"w",(function(){return c.d})),n.d(t,"x",(function(){return c.e}));var s=n(102);n.d(t,"u",(function(){return s.a}));var l=n(103);n.d(t,"f",(function(){return l.a})),n.d(t,"g",(function(){return l.b}));var u=n(64);n.d(t,"a",(function(){return u.a})),n.d(t,"b",(function(){return u.b})),n.d(t,"c",(function(){return u.e})),n.d(t,"j",(function(){return u.f})),n.d(t,"l",(function(){return u.g})),n.d(t,"o",(function(){return u.h})),n.d(t,"z",(function(){return u.k}));var g=n(104);n.d(t,"e",(function(){return g.a})),n.d(t,"k",(function(){return g.b}));var d=n(65);n.d(t,"m",(function(){return d.a})),n.d(t,"q",(function(){return d.b})),n.d(t,"v",(function(){return d.c}));var f=n(105);n.d(t,"s",(function(){return f.a}));var m=n(106);n.d(t,"r",(function(){return m.a})),e._gsktag=i.b;var p=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}};function v(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var b=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},h=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(0),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(3))},83:function(e,t,n){"use strict";var r=n(129);n.d(t,"a",(function(){return r.a}));var i=n(130);n.d(t,"c",(function(){return i.a}));var a=n(131);n.d(t,"b",(function(){return a.a}))},84:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(144),i=n.n(r)()(e)}).call(this,n(26))},85:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}
|
|||
|
|
/* translators: %s: Error message */
|
|||
|
|
Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(s=s+" "+Object(o.sprintf)(
|
|||
|
|
/* translators: %s: Reconnect URL */
|
|||
|
|
Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.y)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(3))},870:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsPlugin}));var r=n(1),i=n(2),a=n(4),o=n.n(a),c=n(10),s=n(14),l=n(18),u=n(176),g=n(8),d=n(19),f=o.a.useDispatch,m=o.a.useSelect;function SettingsPlugin(){var t=m((function(e){return e(s.c).getShowAdminBar()})),n=f(s.c).setShowAdminBar,a=Object(d.a)(),o=Object(i.useCallback)((function(e){var t=e.target,r=t.checked?"enable_admin_bar_menu":"disable_admin_bar_menu";n(!!t.checked),Object(g.B)(a,r)}),[n,a]);return e.createElement(u.a,{className:"googlesitekit-settings-meta",title:Object(r.__)("Plugin Settings","google-site-kit"),header:!0,fill:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active"},e.createElement(l.e,null,e.createElement(l.k,null,e.createElement(l.a,{size:12},e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--nomargin"},e.createElement(c.Checkbox,{id:"admin-bar-toggle",name:"admin-bar-toggle",value:"1",checked:t,onChange:o,disabled:void 0===t,loading:void 0===t},e.createElement("span",null,Object(r.__)("Display relevant page stats in the Admin bar","google-site-kit"))))))))))}}).call(this,n(3))},871:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsActiveModule}));var r=n(0),i=n.n(r),a=n(12),o=n.n(a),c=n(155),s=n(4),l=n.n(s),u=n(20),g=n(29),d=n(18),f=n(872),m=n(874),p=n(875),v=n(876),b=n(879),h=l.a.useSelect;function SettingsActiveModule(t){var n=t.slug,r=Object(c.i)(),i=r.action,a=r.moduleSlug,s="edit"===i,l=a===n,_=a!==n&&s,k="module-".concat(n,"-error"),E=h((function(e){return e(u.a).getErrorForAction("deactivateModule",[n])})),O=h((function(e){return e(g.b).getValue(k)}));return e.createElement("div",{className:o()("googlesitekit-settings-module","googlesitekit-settings-module--active","googlesitekit-settings-module--".concat(n),{"googlesitekit-settings-module--error":(O||E)&&s})},_&&e.createElement(f.a,{compress:!l}),e.createElement(p.a,{slug:n}),l&&e.createElement("div",{id:"googlesitekit-settings-module__content--".concat(n),className:"googlesitekit-settings-module__content googlesitekit-settings-module__content--open",role:"tabpanel","aria-labelledby":"googlesitekit-settings-module__header--".concat(n)},e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(m.a,{slug:n})))),e.createElement(v.a,{slug:n})),e.createElement(b.a,{slug:n}))}SettingsActiveModule.propTypes={slug:i.a.string.isRequired}}).call(this,n(3))},872:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(12),o=n.n(a),c=n(1),s=n(873);function SettingsOverlay(t){var n=t.compress;return e.createElement("div",{className:o()("googlesitekit-overlay",{"googlesitekit-overlay--compress":n})},e.createElement("div",{className:"googlesitekit-overlay__wrapper"},e.createElement("div",{className:"googlesitekit-overlay__icon"},e.createElement(s.a,{width:"22",height:"30"})),e.createElement("h3",{className:" googlesitekit-heading-2 googlesitekit-overlay__title "},Object(c.__)("Section locked while editing","google-site-kit"))))}SettingsOverlay.propTypes={compress:i.a.bool},SettingsOverlay.defaultProps={compress:!1},t.a=SettingsOverlay}).call(this,n(3))},873:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 10h-1.429V7.143C18
|
|||
|
|
/* translators: %s: module name. */
|
|||
|
|
Object(v.__)("Complete setup for %s","google-site-kit"),G)),e.createElement("div",{className:d()("googlesitekit-settings-module__header",{"googlesitekit-settings-module__header--open":h}),id:"googlesitekit-settings-module__header--".concat(n),type:"button",role:"tab","aria-selected":h,"aria-expanded":h,"aria-controls":"googlesitekit-settings-module__content--".concat(n),to:"/connected-services".concat(h?"":"/".concat(n)),onClick:h?F:U,ref:b,tabIndex:"0"},e.createElement(O.e,null,e.createElement(O.k,null,e.createElement(O.a,{lgSize:6,mdSize:4,smSize:4,className:"googlesitekit-settings-module__heading"},e.createElement(j.a,{slug:n,size:24,className:"googlesitekit-settings-module__heading-icon"}),e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-settings-module__title"},G),e.createElement("div",{className:"googlesitekit-settings-module__heading-badges"},E.b.includes(n)&&e.createElement(S.a,{label:Object(v.__)("Experimental","google-site-kit"),hasLeftSpacing:!0}))),e.createElement(O.a,{lgSize:6,mdSize:4,smSize:4,alignMiddle:!0,mdAlignRight:!0},e.createElement("div",{className:d()("googlesitekit-settings-module__status",{"googlesitekit-settings-module__status--connected":Y,"googlesitekit-settings-module__status--not-connected":!Y,"googlesitekit-settings-module__status--loading":"analytics"===n&&!z&&!H})},$,e.createElement("span",{className:d()("googlesitekit-settings-module__status-icon",{"googlesitekit-settings-module__status-icon--connected":Y,"googlesitekit-settings-module__status-icon--not-connected":!Y})},Y?e.createElement(x.a,{width:10,height:8}):e.createElement(A.a,{width:19,height:17})))))),e.createElement(L.a,null,e.createElement(R.a,{width:12,height:8,className:"icon-chevron-down"})))}Header.propTypes={slug:u.a.string.isRequired}}).call(this,n(3))},876:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n.n(c),l=n(155),u=n(15),g=n(1),d=n(2),f=n(10),m=n(4),p=n.n(m),v=n(13),b=n(20),h=n(25),_=n(9),k=n(18),E=n(877),O=n(878),y=n(24),j=n(8),S=n(39),w=n(29),N=n(7),T=n(19),C=p.a.useDispatch,x=p.a.useSelect;function Footer(t){var n=t.slug,r=Object(T.a)(),a=Object(l.g)(),c=Object(l.i)(),s=c.action,m=c.moduleSlug,p="edit"===s&&m===n,A="module-".concat(n,"-error"),R="module-".concat(n,"-dialogActive"),L="module-".concat(n,"-isSaving"),D=x((function(e){return e(b.a).canSubmitChanges(n)})),M=x((function(e){return e(b.a).getModule(n)})),P=x((function(e){return e(b.a).isModuleConnected(n)})),I=x((function(e){return e(w.b).getValue(R)})),B=x((function(e){return e(w.b).getValue(L)})),z=x((function(e){return e(h.a).getValue(v.e,"enableGA4PropertyTooltip")})),H=C(h.a).setValues,V=Object(d.useCallback)((function(){if("analytics"!==n||!z)return null;H(v.e,{enableGA4PropertyTooltip:!1})}),[n,z,H]),U=x((function(e){if(M&&!Object(u.isEmpty)(M.homepage))return e(N.a).getAccountChooserURL(M.homepage)})),F=C(b.a).submitChanges,W=(C(null==M?void 0:M.storeName)||{}).clearErrors,G=C(w.b).setValue,q=!!(null==M?void 0:M.SettingsEditComponent),K=Object(d.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(j.B)("".concat(r,"_module-list"),"cancel_module_settings",n);case 2:return e.next=4,null==W?void 0:W();case 4:a.push("/connected-services/".concat(n)),"analytics"===n&&V();case 6:case"end":return e.stop()}}),e)}))),[W,a,r,n,V]),X=Object(d.useCallback)(function(){var e=o()(i.a.mark((function e(t){var o,c;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),G(L,!0),e.next=4,F(n);case 4:if(o=e.sent,c=o.error,G(L,!1),!c){e.next=11;break}G(A,c),e.next=19;break;case 11:return e.next=13,Object(j.B)("".concat(r,"_module-list"),"update_module_settings",n);case 13:return e.next=15,null==W?void 0:W();case 15:return a.push("/connected-services/".concat(n)),"analytics"===n&&V(),e.next=19,Object(S.b)();case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[G,L,F,n,A,W,a,r,V]),Y=Object(d.useCallback)((function(){
|
|||
|
|
/* translators: %s: module name */
|
|||
|
|
Object(g.__)("Edit %s settings","google-site-kit"),Z),trailingIcon:e.createElement(E.a,{className:"googlesitekit-settings-module__edit-button-icon",width:10,height:10})},Object(g.__)("Edit","google-site-kit"))),p&&!ee?ne=e.createElement(y.a,{className:"googlesitekit-settings-module__remove-button",onClick:Y,danger:!0,trailingIcon:e.createElement(O.a,{className:"googlesitekit-settings-module__remove-button-icon",width:13,height:13})},Object(g.sprintf)(
|
|||
|
|
/* translators: %s: module name */
|
|||
|
|
Object(g.__)("Disconnect %s from Site Kit","google-site-kit"),Z)):!p&&U&&(ne=e.createElement(y.a,{href:U,className:"googlesitekit-settings-module__cta-button",external:!0},Object(g.sprintf)(
|
|||
|
|
/* translators: %s: module name */
|
|||
|
|
Object(g.__)("See full details in %s","google-site-kit"),Z))),e.createElement("footer",{className:"googlesitekit-settings-module__footer"},e.createElement(k.e,null,e.createElement(k.k,null,e.createElement(k.a,{lgSize:6,mdSize:8,smSize:4},te),e.createElement(k.a,{lgSize:6,mdSize:8,smSize:4,alignMiddle:!0,lgAlignRight:!0},ne))))}Footer.propTypes={slug:s.a.string.isRequired}}).call(this,n(3))},877:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 7.917V10h2.083l6.144-6.144-2.083-2.083L0 7.917zm9.838-5.671a.553.553 0 000-.784l-1.3-1.3a.553.553 0 00-.784 0L6.738 1.18 8.82 3.262l1.017-1.016z",fill:"currentColor"});t.a=function SvgPencil(e){return r.createElement("svg",i({viewBox:"0 0 10 10",fill:"none"},e),a)}},878:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M.722 11.556c0 .794.65 1.444 1.445 1.444h5.777c.795 0 1.445-.65 1.445-1.444V2.889H.722v8.667zM10.112.722H7.582L6.861 0H3.25l-.722.722H0v1.445h10.111V.722z",fill:"currentColor"});t.a=function SvgTrash(e){return r.createElement("svg",i({viewBox:"0 0 11 13",fill:"none"},e),a)}},879:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ConfirmDisconnect}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(17),l=n.n(s),u=n(0),g=n.n(u),d=n(1),f=n(2),m=n(57),p=n(4),v=n.n(p),b=n(139),h=n(32),_=n(20),k=n(14),E=n(29),O=n(39),y=n(8),j=n(19),S=v.a.useSelect,w=v.a.useDispatch;function ConfirmDisconnect(t){var n=t.slug,i=Object(j.a)(),o=Object(f.useState)(!1),s=l()(o,2),u=s[0],g=s[1],p=w(E.b).setValue,v="module-".concat(n,"-dialogActive"),N=S((function(e){return e(_.a).getModuleDependantNames(n)})),T=S((function(e){return e(_.a).getModuleFeatures(n)})),C=S((function(e){return e(_.a).getModule(n)})),x=S((function(e){return e(k.c).getAdminURL("googlesitekit-settings")})),A=S((function(e){return e(E.b).getValue(v)})),R=Object(f.useCallback)((function(){p(v,!A)}),[A,v,p]);Object(f.useEffect)((function(){var t=function(e){m.c===e.keyCode&&A&&R()};return e.addEventListener("keydown",t),function(){e.removeEventListener("keydown",t)}}),[A,R]);var L=w(_.a).deactivateModule,D=w(h.a).navigateTo,M=Object(f.useCallback)(c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!C.forceActive){e.next=2;break}return e.abrupt("return");case 2:return g(!0),e.next=5,L(n);case 5:if(t=e.sent,t.error){e.next=15;break}return e.next=10,Object(O.b)();case 10:return e.next=12,Object(y.B)("".concat(i,"_module-list"),"deactivate_module",n);case 12:D(x),e.next=16;break;case 15:g(!1);case 16:case"end":return e.stop()}}),e)}))),[n,null==C?void 0:C.forceActive,x,L,D,i]);if(!C||!A)return null;var P=C.name,I=Object(d.sprintf)(
|
|||
|
|
/* translators: %s: module name */
|
|||
|
|
Object(d.__)("Disconnect %s from Site Kit?","google-site-kit"),P),B=(null==T?void 0:T.length)>0?Object(d.sprintf)(
|
|||
|
|
/* translators: %s: module name */
|
|||
|
|
Object(d.__)("By disconnecting the %s module from Site Kit, you will no longer have access to:","google-site-kit"),P):null,z=null;return N.length>0&&(z=Object(d.sprintf)(
|
|||
|
|
/* translators: 1: module name, 2: list of dependent modules */
|
|||
|
|
Object(d.__)("these active modules depend on %1$s and will also be disconnected: %2$s","google-site-kit"),P,Object(y.t)(N))),r.createElement(b.a,{dialogActive:!0,handleDialog:R,title:I,subtitle:B,provides:T,handleConfirm:M,dependentModules:z,inProgress:u,danger:!0})}ConfirmDisconnect.propTypes={slug:g.a.string.isRequired}}).call(this,n(26),n(3))},88:function(e,t,n){"use strict";(function(e){var r=n(22),i=n.n(r),a=n(23),o=n.n(a),c=n(0),s=n.n(c),l=n(12),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},880:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsInactiveModules}));var r=n(1),i=n(20),a=n(4),o=n.n(a),c=n(176),s=n(42),l=n(881),u=n(18),g=n(882),d=o.a.useSelect;function SettingsInactiveModules(){var t=d((function(e){return e(i.a).getModules()}));if(!t)return null;var n=Object.keys(t).map((function(e){return t[e]})).filter((function(e){var t=e.internal,n=e.active;return!t&&!n})).sort((function(e,t){return e.order-t.order}));return 0===n.length?e.createElement(s.b,{id:"no-more-modules",title:Object(r.__)("Congrats, you’ve connected all services!","google-site-kit"),description:Object(r.__)("We’re working on adding new services to Site Kit by Google all the time, so please check back in the future","google-site-kit"),format:"small",SmallImageSVG:g.a,type:"win-success",rounded:!0}):e.createElement(c.a,{header:!0,title:Object(r.__)("Connect More Services to Gain More Insights","google-site-kit"),rounded:!0,relative:!0},e.createElement(u.e,null,e.createElement(u.k,null,n.map((function(t){var n=t.slug,r=t.name,i=t.description;return e.createElement(u.a,{key:n,size:4},e.createElement(l.a,{slug:n,name:r,description:i}))})))))}}).call(this,n(3))},881:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupModule}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(17),s=n.n(c),l=n(0),u=n.n(l),g=n(12),d=n.n(g),f=n(1),m=n(2),p=n(4),v=n.n(p),b=n(162),h=n(403),_=n(24),k=n(113),E=n(527),O=n(14),y=n(20),j=n(32),S=n(121),w=n(8),N=n(19),T=v.a.useSelect,C=v.a.useDispatch;function SetupModule(t){var n=t.slug,r=t.name,a=t.description,c=Object(N.a)(),l=Object(m.useState)(!1),u=s()(l,2),g=u[0],p=u[1],v=C(y.a).activateModule,x=C(j.a).navigateTo,A=C(O.c).setInternalServerError,R=Object(m.useCallback)(o()(i.a.mark((function e(){var t,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(!0),e.next=3,v(n);case 3:if(t=e.sent,r=t.error,a=t.response,r){e.next=12;break}return e.next=9,Object(w.B)("".concat(c,"_module-list"),"activate_module",n);case 9:x(a.moduleReauthURL),e.next=14;break;case 12:A({id:"activate-module-error",description:r.message}),p(!1);case 14:case"end":return e.stop()}}),e)}))),[v,x,A,n,c]),L=T((function(e){return e(y.a).canActivateModule(n)}));return e.createElement("div",{className:d()("googlesitekit-settings-connect-module","googlesitekit-settings-connect-module--".concat(n),{"googlesitekit-settings-connect-module--disabled":!1===L}),key:n},e.createElement("div",{className:"googlesitekit-settings-connect-module__switch"},e.createElement(h.a,{isSaving:g})),e.createElement("div",{className:"googlesitekit-settings-connect-module__logo"},e.createElement(b.a,{slug:n})),e.createElement("div",{className:"googlesitekit-settings-connect-module__heading"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-settings-connect-module__title "},r),e.createElement("div",{className:"googlesitekit-settings-connect-module__badges"},S.b.includes(n)&&e.createElement(k.a,{label:Object(f.__)("Experimental","google-site-kit")}))),e.createElement("p",{className:"googlesitekit-settings-connect-module__text"},a),e.createElement(E.a,{slug:n}),e.createElement("p",{className:"googlesitekit-settings-connect-module__cta"},e.createElement(_.a,{onClick:R,href:"",disabled:!L,arrow:!0},Ob
|
|||
|
|
/* translators: %s: module name */
|
|||
|
|
Object(f.__)("Set up %s","google-site-kit"),r))))}SetupModule.propTypes={slug:u.a.string.isRequired,name:u.a.string.isRequired,description:u.a.string.isRequired}}).call(this,n(3))},882:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M382 94.2h-20.91M364.25 33.77l-17.59 11.3M197.01 9.74l13.7 15.8M162.97 62.74l20.06 5.88M162.98 125.72l20.06-5.89M316.7 195.86l-8.69-19.02M364.28 154.59l-17.59-11.3"}),o=r.createElement("ellipse",{cx:154.11,cy:381.74,rx:103.5,ry:8.26,fill:"#F1F3F4"}),c=r.createElement("path",{d:"M166.37 181.8c54.51-10.47 66-55.59 28.92-92.64",stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:9}),s=r.createElement("path",{d:"M148.8 254.55l16.54 51.35a90 90 0 012 47.76l-6.46 28.08h23M125.3 261.45l8.46 34.92a89.84 89.84 0 01-.27 43.48l-10.68 41.83 20 .17",stroke:"#F29900",strokeLinejoin:"round",strokeWidth:9}),l=r.createElement("path",{stroke:"#EA8600",strokeLinejoin:"round",strokeWidth:9,d:"M148.8 254.55l9.53 29.6M128.39 274.19l4.41 17.52"}),u=r.createElement("path",{fill:"#F9AB00",d:"M165.19 159.52L130.41 58.66 29.56 93.45 64.34 194.3l34.79 100.85 100.85-34.78-34.79-100.85z"}),g=r.createElement("path",{d:"M71.7 138.64c16.69 24.27 52.79 17.16 59.56-16.13M75.78 131.55a17.14 17.14 0 01-3.87 6.45 28 28 0 01-7.23 4.93",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),d=r.createElement("path",{stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:20,d:"M269.28 98.8l-24.66 91.66"}),f=r.createElement("path",{d:"M197.37 113.58a11.4 11.4 0 101.41-22.31 38.5 38.5 0 01-8.49-.63 22.81 22.81 0 1128-16.1M324.07 147.67a11.4 11.4 0 1110-20s4.61 2.89 7.65 3.71a22.8 22.8 0 10-16.09-27.95",stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:6}),m=r.createElement("path",{d:"M253.5 157.45c37.27 10 80.69-30.92 97-91.47l-135-36.32c-16.27 60.55.73 117.76 38 127.79z",fill:"#DADCE0"}),p=r.createElement("path",{d:"M224 109.65c-5.87-19.74-6.24-43.45-1.16-67.66M241.18 139.46a54.17 54.17 0 01-11.61-15.67",stroke:"#F1F3F4",strokeMiterlimit:10,strokeWidth:6}),v=r.createElement("path",{d:"M248 177.83c-13.07-3.52-26 2.23-28.83 12.84l47.33 12.73c2.86-10.61-5.42-22.06-18.5-25.57z",fill:"#DADCE0"}),b=r.createElement("path",{d:"M266 110.86l-17.44 3.92a2.18 2.18 0 01-2.46-3l7.5-16.23-9.12-15.37a2.19 2.19 0 012.14-3.28L264.4 79l11.8-13.42a2.18 2.18 0 013.78 1l3.48 17.53 16.41 7.08a2.18 2.18 0 01.2 3.91l-15.6 8.72-1.66 17.79a2.18 2.18 0 01-3.66 1.4z",stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:6}),h=r.createElement("path",{d:"M74.48 209.27c74.32 45.28 152.4-1.07 170.14-18.81M87.61 216.33a129.71 129.71 0 0013.13 5.3",stroke:"#FCC934",strokeLinejoin:"round",strokeWidth:9}),_=r.createElement("path",{d:"M74.48 209.27a136.76 136.76 0 0013.13 7.06",stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:9});t.a=function SvgAward(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,s,l,u,g,d,f,m,p,v,b,h,_)}},9:function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"n",(function(){return a})),n.d(t,"o",(function(){return o})),n.d(t,"j",(function(){return c})),n.d(t,"l",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"k",(function(){return u})),n.d(t,"f",(function(){return g})),n.d(t,"e",(function(){return d})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"i",(function(){return p})),n.d(t,"d",(function(){return v})),n.d(t,"b",(function(){return b}));var r="modules/analytics-4",i="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",s=10,l=1,u="https://www.googleapis.com/auth/tagmanager.readonly",g="enhanced-measurement-form",d="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",v="https://www.googleapis.com/auth/analytics.e
|