Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-modules-ads-8294c3788d693c1aa4d1.js
Назад
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[17],{10:function(e,t){e.exports=googlesitekit.components},100:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),i=n(37),a=n(44);function o(t,n){var o,c=Object(r.a)(n),s=t.activeModules,u=t.referenceSiteURL,l=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,p=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:u,plugin_version:p||"",enabled_features:Array.from(a.a).join(","),active_modules:s.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:l}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(16),s=n.n(c),u=n(58);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,r){var a=Object(u.a)(t);return function(){var t=s()(i.a.mark((function t(o,c,s,u){var l;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),l={send_to:"site_kit",event_category:o,event_label:s,value:u},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(i),e()};a("event",c,d(d({},l),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},104:function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a}));var i=n(124);n.d(t,"c",(function(){return i.a}));var a=n(125);n.d(t,"b",(function(){return a.a}))},105:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:l()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},114:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(200),s=n(38),u=n(2),l=n(10),d=n(71);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,i=t.dialogActive,a=void 0!==i&&i,g=t.handleDialog,f=void 0===g?null:g,p=t.onOpen,m=void 0===p?null:p,v=t.onClose,b=void 0===v?null:v,h=t.title,y=void 0===h?null:h,O=t.provides,E=t.handleConfirm,_=t.subtitle,k=t.confirmButton,S=void 0===k?null:k,j=t.dependentModules,A=t.danger,w=void 0!==A&&A,C=t.inProgress,N=void 0!==C&&C,R=t.small,T=void 0!==R&&R,D=t.medium,P=void 0!==D&&D,L=t.buttonLink,x=void 0===L?null:L,I=Object(c.a)(ModalDialog),M="googlesitekit-dialog-description-".concat(I),U=!(!O||!O.length);return e.createElement(l.Dialog,{open:a,onOpen:m,onClose:b,"aria-describedby":U?M:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":T,"googlesitekit-dialog-md":P})},e.createElement(l.DialogTitle,null,w&&e.createElement(d.a,{width:28,height:28}),y),_?e.createElement("p",{className:"mdc-dialog__lead"},_):[],e.createElement(l.DialogContent,null,U&&e.createElement("section",{id:M,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},O.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),j&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(s.a)(Object(u.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(u.__)("<strong>Note:</strong> %s","google-site-kit"),j),{strong:e.createElement("strong",null)}))),e.createElement(l.DialogFooter,null,e.createElement(l.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:N},Object(u.__)("Cancel","google-site-kit")),x?e.createElement(l.Button,{href:x,onClick:E,target:"_blank",danger:w},S):e.createElement(l.SpinnerButton,{onClick:E,danger:w,disabled:N,isSaving:N},S||Object(u.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:i.a.string,dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,onOpen:i.a.func,onClose:i.a.func,title:i.a.string,confirmButton:i.a.string,danger:i.a.bool,small:i.a.bool,medium:i.a.bool,buttonLink:i.a.string},t.a=ModalDialog}).call(this,n(4))},116:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),s=n(10),u=n(34),l=n(67);function ErrorNotice(t){var n,r=t.error,i=t.hasButton,d=void 0!==i&&i,g=t.storeName,f=t.message,p=void 0===f?r.message:f,m=t.noPrefix,v=void 0!==m&&m,b=t.Icon,h=Object(c.useDispatch)(),y=Object(c.useSelect)((function(e){return g?e(g).getSelectorDataForError(r):null})),O=Object(a.useCallback)((function(){h(y.storeName).invalidateResolution(y.name,y.args)}),[h,y]);if(!r||Object(u.f)(r))return null;var E=d&&Object(u.d)(r,y);return d||(p=Object(o.sprintf)( /* translators: %s: Error message from Google API. */ Object(o.__)("%s. Please try again.","google-site-kit"),p)),e.createElement(a.Fragment,null,b&&e.createElement("div",{className:"googlesitekit-error-notice__icon"},e.createElement(b,{width:"24",height:"24"})),e.createElement(l.a,{message:p,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:v}),E&&e.createElement(s.Button,{className:"googlesitekit-error-notice__retry-button",onClick:O},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,Icon:i.a.elementType}}).call(this,n(4))},120:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(18),a=n(8);function o(e){var t=Object(i.a)(),n="".concat(t,"_").concat(e);return{view:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"view_notification"].concat(t))}),[n]),confirm:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"confirm_notification"].concat(t))}),[n]),dismiss:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"dismiss_notification"].concat(t))}),[n]),clickLearnMore:Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.J.apply(void 0,[n,"click_learn_more_link"].concat(t))}),[n])}}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13),i=function(e){return Object(r.isFinite)(e)?e:0}},123:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(23),s=n.n(c),u=n(1),l=n.n(u),d=n(12),g=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,u=t.alignBottom,l=t.alignRight,d=t.alignLeft,f=t.smAlignRight,p=t.mdAlignRight,m=t.lgAlignRight,v=t.smSize,b=t.smStart,h=t.smOrder,y=t.mdSize,O=t.mdStart,E=t.mdOrder,_=t.lgSize,k=t.lgStart,S=t.lgOrder,j=t.size,A=t.children,w=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},w,{className:g()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":u,"mdc-layout-grid__cell--align-right":l,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":p,"mdc-layout-grid__cell--align-right-desktop":m},o()(n,"mdc-layout-grid__cell--span-".concat(j),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(_,"-desktop"),12>=_&&_>0),o()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--order-".concat(S,"-desktop"),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--span-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--start-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),A)}Cell.propTypes={smSize:l.a.number,smStart:l.a.number,smOrder:l.a.number,mdSize:l.a.number,mdStart:l.a.number,mdOrder:l.a.number,lgSize:l.a.number,lgStart:l.a.number,lgOrder:l.a.number,size:l.a.number,alignTop:l.a.bool,alignMiddle:l.a.bool,alignBottom:l.a.bool,alignRight:l.a.bool,alignLeft:l.a.bool,smAlignRight:l.a.bool,mdAlignRight:l.a.bool,lgAlignRight:l.a.bool,className:l.a.string,children:l.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},1233:function(e,t,n){"use strict";n.r(t);var r=n(3),i=n.n(r),a=n(179),o=n.n(a),c=n(382),s=n.n(c),u=n(488),l=n.n(u),d=n(5),g=n.n(d),f=n(16),p=n.n(f),m=n(2),v=n(519),b=n(605),h=n(832),y=(n(718),n(835)),O=(n(597),n(836)),E=n(837),_=n(155),k=n(6),S=n(44),j=n(972),A=n(84),w=n(838),C=n(839),N=n(60),R=n(22),T=n(502),D=n(11),P=n.n(D),L=n(13),x=n(42),I=n.n(x),M=n(59),U=n(183),B=n(14),F=n(534);function W(){return(W=p()(g.a.mark((function e(t){var n,r,i,a,o,c;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.select,r=t.dispatch,!n(_.c).haveSettingsChanged()){e.next=9;break}return e.next=5,r(_.c).saveSettings();case 5:if(i=e.sent,!(a=i.error)){e.next=9;break}return e.abrupt("return",{error:a});case 9:if(!n(B.c).haveConversionTrackingSettingsChanged()){e.next=17;break}return e.next=13,r(B.c).saveConversionTrackingSettings();case 13:if(o=e.sent,!(c=o.error)){e.next=17;break}return e.abrupt("return",{error:c});case 17:return e.next=19,I.a.invalidateCache("modules","ads");case 19:return e.abrupt("return",{});case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var H,q,K,V=o.a.createModuleStore("ads",{ownedSettingsSlugs:["conversionID","paxConversionID","extCustomerID"],storeName:_.c,settingSlugs:["conversionID","ownerID","paxConversionID","extCustomerID"],requiresSetup:!0,submitChanges:function(e){return W.apply(this,arguments)},rollbackChanges:function(e){var t=e.select,n=e.dispatch;t(_.c).haveSettingsChanged()&&(n(_.c).rollbackSettings(),n(B.c).resetConversionTrackingSettings())},validateCanSubmitChanges:function(e){var t=Object(M.e)(e)(_.c),n=t.isDoingSubmitChanges,r=t.haveSettingsChanged,i=t.getConversionID,a=t.getPaxConversionID;P()(!n(),U.a),P()(r(),U.b),P()(Object(F.a)(i())||Object(F.a)(a()),"a valid conversionID is required to submit changes")},validateHaveSettingsChanged:function(e,t,n){var r=t.settings,i=t.savedSettings,a=e(B.c).haveConversionTrackingSettingsChanged();n&&P()(Object(L.isEqual)(Object(L.pick)(r,n),Object(L.pick)(i,n))||!a,U.b),P()(!Object(L.isEqual)(r,i)||a,U.b)}}),Y=n(19),z={selectors:{getAdBlockerWarningMessage:Object(r.createRegistrySelector)((function(e){return function(){var t=e(k.a).isAdBlockerActive();if(void 0!==t)return t?e(Y.a).isModuleConnected("ads")?Object(m.__)("Ad blocker detected; please disable it to get the latest Ads data","google-site-kit"):Object(m.__)("Ad blocker detected; please disable it to set up Ads","google-site-kit"):null}}))}},G=n(974),X=Object(r.combineStores)(V,z,G.a);X.initialState,X.actions,X.controls,X.reducer,X.resolvers,X.selectors;i.a.registerStore(_.c,X),o.a.registerModule("ads",{storeName:_.c,SettingsEditComponent:y.a,SettingsViewComponent:h.a,SetupComponent:Object(S.b)("adsPax")?E.a:O.a,Icon:b.a,features:[Object(m.__)("Tagging necessary for your ads campaigns to work","google-site-kit"),Object(m.__)("Conversion tracking for your ads campaigns","google-site-kit")],checkRequirements:(H=p()(g.a.mark((function e(t){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.resolveSelect(k.a).isAdBlockerActive();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:throw n=t.select(_.c).getAdBlockerWarningMessage(),{code:k.c,message:n,data:null};case 7:case"end":return e.stop()}}),e)}))),function(e){return H.apply(this,arguments)})}),q=s.a,Object(S.b)("adsPax")&&q.registerWidget("partnerAdsPAX",{Component:j.a,width:q.WIDGET_WIDTHS.FULL,priority:20,wrapWidget:!1,modules:["ads"]},[A.AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY]),(K=l.a).registerNotification("setup-success-notification-ads",{Component:C.a,priority:10,areaSlug:N.b.BANNERS_BELOW_NAV,viewContexts:[R.n,R.o],checkRequirements:function(){var e=Object(v.a)(location.href,"notification"),t=Object(v.a)(location.href,"slug");return"authentication_success"===e&&"ads"===t}}),K.registerNotification("setup-success-notification-pax",{Component:w.a,priority:10,areaSlug:N.b.BANNERS_BELOW_NAV,viewContexts:[R.n,R.o],checkRequirements:function(){var e=Object(v.a)(location.href,"notification");return T.d===e}})},124:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:l()("mdc-layout-grid__inner",r)},c),a)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},125:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(12),l=n.n(u),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,s=t.children,u=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:l()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":u,"mdc-layout-grid--fill":a})},d,{ref:n}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},126:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},127:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},128:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},14:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StoreErrorNotices}));var r=n(1),i=n.n(r),a=n(3),o=n(116),c=n(19),s=n(34),u=n(150);function StoreErrorNotices(t){var n=t.hasButton,r=void 0!==n&&n,i=t.moduleSlug,l=t.storeName,d=Object(a.useSelect)((function(e){return e(l).getErrors()})),g=Object(a.useSelect)((function(e){return e(c.a).getModule(i)})),f=[];return d.filter((function(e){return!(!(null==e?void 0:e.message)||f.includes(e.message))&&(f.push(e.message),!0)})).map((function(t,n){var i=t.message;return Object(s.e)(t)&&(i=Object(u.a)(i,g)),e.createElement(o.a,{key:n,error:t,hasButton:r,storeName:l,message:i})}))}StoreErrorNotices.propTypes={hasButton:i.a.bool,storeName:i.a.string.isRequired,moduleSlug:i.a.string}}).call(this,n(4))},150:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,o=n.name,c=void 0===o?"":o,s=n.owner,u=void 0===s?{}:s;if(!a||!c)return e;var l="",d="";return"analytics-4"===a?e.match(/account/i)?l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(l=Object(r.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===a&&(l=Object(r.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),l||(l=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),u&&u.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),u.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(l," ").concat(d)}},151:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none"},e),a)}},155:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return o}));var r="modules/ads",i="https://www.googleapis.com/auth/adwords",a="https://www.googleapis.com/auth/supportcontent",o=1},158:function(e,t,n){"use strict";var r=n(0),i=n(44),a=Object(r.createContext)(i.a);t.a=a},161:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(232),i=n(13),a=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.b)((function(){return i.debounce.apply(void 0,t)}),t);return Object(a.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},162:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(3),l=n(14),d=n(20);function SupportLink(t){var n=t.path,r=t.query,a=t.hash,c=o()(t,["path","query","hash"]),s=Object(u.useSelect)((function(e){return e(l.c).getGoogleSupportURL({path:n,query:r,hash:a})}));return e.createElement(d.a,i()({},c,{href:s}))}SupportLink.propTypes={path:s.a.string.isRequired,query:s.a.object,hash:s.a.string}}).call(this,n(4))},17:function(e,t,n){"use strict";var r=n(245);n.d(t,"i",(function(){return r.a}));var i=n(309);n.d(t,"f",(function(){return i.a}));var a=n(310);n.d(t,"h",(function(){return a.a}));var o=n(311);n.d(t,"j",(function(){return o.a}));var c=n(308);n.d(t,"g",(function(){return c.a}));var s=n(90),u=n.n(s);n.d(t,"b",(function(){return u.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var l=n(104);n.d(t,"a",(function(){return l.a})),n.d(t,"e",(function(){return l.b})),n.d(t,"k",(function(){return l.c}))},178:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(7),i=n.n(r),a=n(23),o=n.n(a),c=n(1),s=n.n(c),u=n(40);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,i=o()(t,["loading","children"]);return n?e.createElement(u.a,i):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:s.a.bool,children:s.a.node},u.a.propTypes)}).call(this,n(4))},179:function(e,t){e.exports=googlesitekit.modules},18:function(e,t,n){"use strict";var r=n(0),i=n(63);t.a=function(){return Object(r.useContext)(i.b)}},183:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return j})),n.d(t,"g",(function(){return A})),n.d(t,"f",(function(){return w})),n.d(t,"d",(function(){return C})),n.d(t,"e",(function(){return N}));var r=n(16),i=n.n(r),a=n(5),o=n.n(a),c=n(7),s=n.n(c),u=n(11),l=n.n(u),d=n(13),g=n(42),f=n.n(g),p=n(3),m=n(59),v=n(78),b=n(47),h=n(62);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=h.a.clearError,_=h.a.receiveError,k="cannot submit changes while submitting changes",S="cannot submit changes if settings have not changed",j=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.ownedSettingsSlugs,a=void 0===i?void 0:i,c=r.storeName,u=void 0===c?void 0:c,g=r.settingSlugs,h=void 0===g?[]:g,y=r.initialSettings,k=void 0===y?void 0:y,S=r.validateHaveSettingsChanged,j=void 0===S?N():S;l()(e,"type is required."),l()(t,"identifier is required."),l()(n,"datapoint is required.");var A=u||"".concat(e,"/").concat(t),w={ownedSettingsSlugs:a,settings:k,savedSettings:void 0},C=Object(b.a)({baseName:"getSettings",controlCallback:function(){return f.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),R=Object(b.a)({baseName:"saveSettings",controlCallback:function(r){var i=r.values;return f.a.set(e,t,n,i)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;l()(Object(d.isPlainObject)(t),"values is required.")}}),T={},D={setSettings:function(e){return l()(Object(d.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,r,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,E("saveSettings",[]);case 5:return n=t.select(A).getSettings(),e.next=8,R.actions.fetchSaveSettings(n);case 8:if(r=e.sent,i=r.response,!(a=r.error)){e.next=14;break}return e.next=14,_(a,"saveSettings",[]);case 14:return e.abrupt("return",{response:i,error:a});case 15:case"end":return e.stop()}}),e)}))},P={},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"SET_SETTINGS":var i=r.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),i)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==T[n]?T[n](e,{type:n,payload:r}):e}},x={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.commonActions.getRegistry();case 2:if(t=e.sent,t.select(A).getSettings()){e.next=7;break}return e.next=7,C.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},I=Object(m.g)(j),M=I.safeSelector,U=I.dangerousSelector,B={haveSettingsChanged:M,__dangerousHaveSettingsChanged:U,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){l()(t,"setting is required.");var n=e.settings,r=e.savedSettings;return!(!n||!r)&&!Object(d.isEqual)(n[t],r[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(p.createRegistrySelector)((function(e){return function(){var t=e(A).getOwnedSettingsSlugs();return e(A).haveSettingsChanged(t)}}))};h.forEach((function(e){var t=Object(v.b)(e),n=Object(v.a)(e);D["set".concat(t)]=function(e){return l()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},T["SET_".concat(n)]=function(t,n){var r=n.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,r))})},B["get".concat(t)]=Object(p.createRegistrySelector)((function(t){return function(){return(t(A).getSettings()||{})[e]}}))}));var F=Object(p.combineStores)(p.commonStore,C,R,{initialState:w,actions:D,controls:P,reducer:L,resolvers:x,selectors:B});return O(O({},F),{},{STORE_NAME:A})};function A(e,t){return function(){var n=i()(o.a.mark((function n(r){var i,a,c,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=r.select,a=r.dispatch,!i(t).haveSettingsChanged()){n.next=8;break}return n.next=4,a(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,f.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function w(e){return function(t){var n=t.select,r=t.dispatch;return n(e).haveSettingsChanged()?r(e).rollbackSettings():{}}}function C(e){return function(t){var n=Object(m.e)(t)(e),r=n.haveSettingsChanged,i=n.isDoingSubmitChanges;l()(!i(),k),l()(r(),S)}}function N(){return function(e,t,n){var r=t.settings,i=t.savedSettings;n&&l()(!Object(d.isEqual)(Object(d.pick)(r,n),Object(d.pick)(i,n)),S),l()(!Object(d.isEqual)(r,i),S)}}},187:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=n.n(r),a=" ";function DisplaySetting(e){return e.value||a}DisplaySetting.propTypes={value:i.a.oneOfType([i.a.string,i.a.bool,i.a.number])},t.b=DisplaySetting},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},192:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Dismiss}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),u=n(2),l=n(3),d=n(120),g=n(60),f=n(10);function Dismiss(t){var n=t.id,r=t.primary,a=void 0===r||r,c=t.dismissLabel,s=void 0===c?Object(u.__)("OK, Got it!","google-site-kit"):c,p=t.dismissExpires,m=void 0===p?0:p,v=t.disabled,b=t.onDismiss,h=void 0===b?function(){}:b,y=t.gaTrackingEventArgs,O=Object(d.a)(n),E=Object(l.useDispatch)(g.a).dismissNotification,_=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==h?void 0:h(t);case 2:O.dismiss(null==y?void 0:y.label,null==y?void 0:y.value),E(n,{expiresInSeconds:m});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(f.Button,{tertiary:!a,onClick:_,disabled:v},s)}Dismiss.propTypes={id:s.a.string,primary:s.a.bool,dismissLabel:s.a.string,dismissExpires:s.a.number,disabled:s.a.bool,onDismiss:s.a.func,gaTrackingEventArgs:s.a.shape({label:s.a.string,value:s.a.string})}}).call(this,n(4))},193:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(15),o=n.n(a),c=n(0),s=n(519),u=n(157);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(c.useState)(Object(s.a)(r.location.href,t)||n),l=o()(a,2),d=l[0],g=l[1],f=function(e){g(e);var n=Object(u.a)(r.location.href,i()({},t,e));r.history.replaceState(null,"",n)};return[d,f]}}).call(this,n(26))},2:function(e,t){e.exports=googlesitekit.i18n},20:function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(23),o=n.n(a),c=n(12),s=n.n(c),u=n(1),l=n.n(u),d=n(140),g=n(0),f=n(2),p=n(126),m=n(127),v=n(128),b=n(80),h=n(77),y=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.secondary,u=void 0!==c&&c,l=t.arrow,g=void 0!==l&&l,y=t.back,O=void 0!==y&&y,E=t.caps,_=void 0!==E&&E,k=t.children,S=t.className,j=void 0===S?"":S,A=t.danger,w=void 0!==A&&A,C=t.disabled,N=void 0!==C&&C,R=t.external,T=void 0!==R&&R,D=t.hideExternalIndicator,P=void 0!==D&&D,L=t.href,x=void 0===L?"":L,I=t.inverse,M=void 0!==I&&I,U=t.noFlex,B=void 0!==U&&U,F=t.onClick,W=t.small,H=void 0!==W&&W,q=t.standalone,K=void 0!==q&&q,V=t.linkButton,Y=void 0!==V&&V,z=t.to,G=t.leadingIcon,X=t.trailingIcon,J=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=x||z||!F?z?"ROUTER_LINK":T?"EXTERNAL_LINK":"LINK":N?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof k?"".concat(k," ").concat(r):void 0:a),ee=G,te=X;return O&&(ee=e.createElement(v.a,{width:14,height:14})),T&&!P&&(te=e.createElement(b.a,{width:14,height:14})),g&&!M&&(te=e.createElement(p.a,{width:14,height:14})),g&&M&&(te=e.createElement(m.a,{width:14,height:14})),e.createElement(Z,i()({"aria-label":Q,className:s()("googlesitekit-cta-link",j,{"googlesitekit-cta-link--secondary":u,"googlesitekit-cta-link--inverse":M,"googlesitekit-cta-link--small":H,"googlesitekit-cta-link--caps":_,"googlesitekit-cta-link--danger":w,"googlesitekit-cta-link--disabled":N,"googlesitekit-cta-link--standalone":K,"googlesitekit-cta-link--link-button":Y,"googlesitekit-cta-link--no-flex":!!B}),disabled:N,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||N?void 0:x,onClick:F,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:z},J),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(h.a,{marginLeft:5},te))}));y.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inverse:l.a.bool,leadingIcon:l.a.node,linkButton:l.a.bool,noFlex:l.a.bool,onClick:l.a.func,small:l.a.bool,standalone:l.a.bool,to:l.a.string,trailingIcon:l.a.node},t.a=y}).call(this,n(4))},209:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(151),s=n(71),u=n(17);function SubtleNotification(t){var n=t.className,r=t.title,i=t.description,a=t.dismissCTA,l=t.additionalCTA,d=t.type,g=void 0===d?"success":d,f=t.icon;return e.createElement(u.e,null,e.createElement(u.k,null,e.createElement(u.a,{alignMiddle:!0,size:12,className:o()("googlesitekit-subtle-notification",n,{"googlesitekit-subtle-notification--success":"success"===g,"googlesitekit-subtle-notification--warning":"warning"===g})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},f,"success"===g&&!f&&e.createElement(c.a,{width:24,height:24}),"warning"===g&&!f&&e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,r),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},i)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},a,l))))}SubtleNotification.propTypes={className:i.a.string,title:i.a.string.isRequired,description:i.a.node,dismissCTA:i.a.node,additionalCTA:i.a.node,type:i.a.string,icon:i.a.object}}).call(this,n(4))},210:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(158),a=n(44),o=function(e){var t=Object(r.useContext)(i.a);return Object(a.b)(e,t)}},212:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var r=n(12),i=n.n(r),a=n(1),o=n.n(a);function WarningNotice(t){var n=t.children,r=t.className;return e.createElement("div",{className:i()("googlesitekit-warning-notice",r)},n)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,n(4))},219:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarning}));var r=n(1),i=n.n(r),a=n(3),o=n(14),c=n(19),s=n(374);function AdBlockerWarning(t){var n=t.moduleSlug,r=t.className,i=Object(a.useSelect)((function(e){return e(c.a).getModuleStoreName(n)})),u=Object(a.useSelect)((function(e){var t;return null===(t=e(i))||void 0===t?void 0:t.getAdBlockerWarningMessage()})),l=Object(a.useSelect)((function(e){return e(o.c).getDocumentationLinkURL("".concat(n,"-ad-blocker-detected"))}));return e.createElement(s.a,{className:r,getHelpLink:l,warningMessage:u})}AdBlockerWarning.propTypes={className:i.a.string,moduleSlug:i.a.string.isRequired}}).call(this,n(4))},22:function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"p",(function(){return v})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return E})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return k}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",u="splash",l="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",p="wpDashboard",m="wpDashboardViewOnly",v="moduleSetup",b="key-metrics",h="traffic",y="content",O="speed",E="monetization",_=[r,i,a,o,c,u,g,v],k=[a,o,d,m]},25:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(79),i="xlarge",a="desktop",o="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?o:c}},256:function(e,t,n){"use strict";(function(e){var r=n(53),i=n.n(r),a=n(257),o=e._googlesitekitAPIFetchData||{},c=o.nonce,s=o.nonceEndpoint,u=o.preloadedData,l=o.rootURL;i.a.nonceEndpoint=s,i.a.nonceMiddleware=i.a.createNonceMiddleware(c),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(l),i.a.preloadingMiddleware=Object(a.a)(u),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),t.default=i.a}).call(this,n(26))},257:function(e,t,n){"use strict";var r=n(248);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(r.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,i){if(n)return i(e);setTimeout((function(){n=!0}),1e3);var a=e.parse,o=void 0===a||a,c=e.path;if("string"==typeof e.path){var s,u=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",l=Object(r.getStablePath)(c);if(o&&"GET"===u&&t[l]){var d=Promise.resolve(t[l].body);return delete t[l],d}if("OPTIONS"===u&&t[u]&&t[u][l]){var g=Promise.resolve(t[u][l]);return delete t[u][l],g}}return i(e)}}},265:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CTALinkSubtle}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),u=n(120),l=n(10),d=n(80);function CTALinkSubtle(t){var n=t.id,r=t.ctaLink,a=t.ctaLabel,c=t.onCTAClick,s=t.isCTALinkExternal,g=void 0!==s&&s,f=t.gaTrackingEventArgs,p=Object(u.a)(n),m=function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==c?void 0:c(t);case 2:p.confirm(null==f?void 0:f.label,null==f?void 0:f.value);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return e.createElement(l.Button,{className:"googlesitekit-subtle-notification__cta",href:r,onClick:m,target:g?"_blank":"_self",trailingIcon:g?e.createElement(d.a,{width:14,height:14}):void 0},a)}CTALinkSubtle.propTypes={id:s.a.string,ctaLink:s.a.string,ctaLabel:s.a.string,onCTAClick:s.a.func,isCTALinkExternal:s.a.bool,gaTrackingEventArgs:s.a.shape({label:s.a.string,value:s.a.string})}}).call(this,n(4))},3:function(e,t){e.exports=googlesitekit.data},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return d}));n(13);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===i}function s(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function u(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function l(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||u(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},346:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z",fill:"currentColor"});t.a=function SvgWarningV2(e){return r.createElement("svg",i({viewBox:"0 0 22 19"},e),a)}},36:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,s=i.trackingEnabled,u=i.trackingID,l=i.referenceSiteURL,d=i.userIDHash,g=i.isAuthenticated,f={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:g,pluginVersion:"1.140.0"},p=Object(r.a)(f),m=p.enableTracking,v=p.disableTracking,b=(p.isTrackingEnabled,p.initializeSnippet),h=p.trackEvent,y=p.trackEventOnce;function O(e){e?m():v()}c&&s&&b()}).call(this,n(26))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},374:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarningMessage}));var r=n(1),i=n.n(r),a=n(2),o=n(38),c=n(20),s=n(212),u=n(375);function AdBlockerWarningMessage(t){var n=t.className,r=void 0===n?"":n,i=t.getHelpLink,l=void 0===i?"":i,d=t.warningMessage,g=void 0===d?null:d;return g?e.createElement(s.a,{className:r},Object(o.a)(Object(a.sprintf)( /* translators: 1: The warning message. 2: "Get help" text. */ Object(a.__)("%1$s. <Link>%2$s</Link>","google-site-kit"),g,Object(a.__)("Get help","google-site-kit")),{Link:e.createElement(c.a,{href:l,external:!0,hideExternalIndicator:!0,trailingIcon:e.createElement(u.a,{width:15,height:15})})})):null}AdBlockerWarningMessage.propTypes={className:i.a.string,getHelpLink:i.a.string,warningMessage:i.a.string}}).call(this,n(4))},375:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgExternalRounded(e){return r.createElement("svg",i({viewBox:"0 0 13 14",fill:"none"},e),a)}},382:function(e,t){e.exports=googlesitekit.widgets},393:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupEnhancedConversionTrackingNotice}));var r=n(12),i=n.n(r),a=n(3),o=n(14);function SetupEnhancedConversionTrackingNotice(t){var n=t.className,r=t.message,c=Object(a.useSelect)((function(e){return e(o.c).isConversionTrackingEnabled()}));return c||void 0===c?null:e.createElement("p",{className:i()(n,"googlesitekit-color--surfaces-on-background-variant")},r)}}).call(this,n(4))},40:function(e,t,n){"use strict";(function(e){var r=n(7),i=n.n(r),a=n(1),o=n.n(a),c=n(12),s=n.n(c),u=n(25);function PreviewBlock(t){var n,r,a=t.className,o=t.width,c=t.height,l=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,p=t.tabletWidth,m=t.tabletHeight,v=t.desktopWidth,b=t.desktopHeight,h=Object(u.e)(),y={width:(n={},i()(n,u.b,g),i()(n,u.c,p),i()(n,u.a,v),i()(n,u.d,v),n),height:(r={},i()(r,u.b,f),i()(r,u.c,m),i()(r,u.a,b),i()(r,u.d,v),r)};return e.createElement("div",{className:s()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:y.width[h]||o,height:y.height[h]||c}},e.createElement("div",{className:s()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===l})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.a.string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0},t.a=PreviewBlock}).call(this,n(4))},42:function(e,t){e.exports=googlesitekit.api},44:function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},46:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),u=n(13),l=n(62),d=n(78),g=n(8);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){return e},v=function(){return{}},b=function(){},h=l.a.clearError,y=l.a.receiveError,O=function(e){var t,n,r=i.a.mark(x),a=e.baseName,c=e.controlCallback,l=e.reducerCallback,f=void 0===l?m:l,O=e.argsToParams,E=void 0===O?v:O,_=e.validateParams,k=void 0===_?b:_;s()(a,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof f,"reducerCallback must be a function."),s()("function"==typeof E,"argsToParams must be a function."),s()("function"==typeof k,"validateParams must be a function.");try{k(E()),n=!1}catch(e){n=!0}var S=Object(d.b)(a),j=Object(d.a)(a),A="FETCH_".concat(j),w="START_".concat(A),C="FINISH_".concat(A),N="CATCH_".concat(A),R="RECEIVE_".concat(j),T="fetch".concat(S),D="receive".concat(S),P="isFetching".concat(S),L=o()({},P,{});function x(e,t){var n,o;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{payload:{params:e},type:w};case 2:return r.next=4,h(a,t);case 4:return r.prev=4,r.next=7,{payload:{params:e},type:A};case 7:return n=r.sent,r.next=10,I[D](n,e);case 10:return r.next=12,{payload:{params:e},type:C};case 12:r.next=21;break;case 14:return r.prev=14,r.t0=r.catch(4),o=r.t0,r.next=19,y(o,a,t);case 19:return r.next=21,{payload:{params:e},type:N};case 21:return r.abrupt("return",{response:n,error:o});case 22:case"end":return r.stop()}}),r,null,[[4,14]])}var I=(t={},o()(t,T,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=E.apply(void 0,t);return k(r),x(r,t)})),o()(t,D,(function(e,t){return s()(void 0!==e,"response is required."),n?(s()(Object(u.isPlainObject)(t),"params is required."),k(t)):t={},{payload:{response:e,params:t},type:R}})),t),M=o()({},A,(function(e){var t=e.payload;return c(t.params)})),U=o()({},P,(function(e){if(void 0===e[P])return!1;var t;try{for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t=E.apply(void 0,r),k(t)}catch(e){return!1}return!!e[P][Object(g.I)(t)]}));return{initialState:L,actions:I,controls:M,reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case w:var i=r.params;return p(p({},e),{},o()({},P,p(p({},e[P]),{},o()({},Object(g.I)(i),!0))));case R:var a=r.response,c=r.params;return f(e,a,c);case C:var s=r.params;return p(p({},e),{},o()({},P,p(p({},e[P]),{},o()({},Object(g.I)(s),!1))));case N:var u=r.params;return p(p({},e),{},o()({},P,p(p({},e[P]),{},o()({},Object(g.I)(u),!1))));default:return e}},resolvers:{},selectors:U}}},488:function(e,t){e.exports=googlesitekit.notifications},500:function(e,t,n){"use strict";function r(e){if(void 0!==e)return!e}n.d(t,"a",(function(){return r}))},502:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o}));var r="pax",i="_googlesitekitPAXConfig",a={LAUNCH:1,FINISHED:2},o="pax_setup_success_notification"},534:function(e,t,n){"use strict";function r(e){return"string"==typeof e&&""!==e&&/^AW-[0-9]+$/.test(e)}n.d(t,"a",(function(){return r}))},54:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(3),i=n(19),a=n(78);function o(t){var n=t.moduleName,o=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(a){var s=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!s)return null;var u=o||a.WidgetNull||null;if(!1===s.active)return u&&e.createElement(u,a);if(!1===s.connected){var l=c||u;return l&&e.createElement(l,a)}return e.createElement(t,a)}return WhenActiveComponent.displayName="When".concat(Object(a.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(37);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},59:function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return R})),n.d(t,"e",(function(){return T})),n.d(t,"g",(function(){return P})),n.d(t,"f",(function(){return L}));var r,i=n(5),a=n.n(i),o=n(27),c=n.n(o),s=n(7),u=n.n(s),l=n(11),d=n.n(l),g=n(57),f=n.n(g),p=n(13),m=n(111);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return b(b({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=N(i);return d()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),r},y=h,O=h,E=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=[].concat(t);return"function"!=typeof i[0]&&(r=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,n){return n(e,t)}),e)}},_=h,k=h,S=h,j=function(e){return e},A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=S.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:r,controls:O.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:y.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:E.apply(void 0,[r].concat(c()(t.map((function(e){return e.reducer||j}))))),resolvers:_.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:k.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},w={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},C=(r={},u()(r,"GET_REGISTRY",Object(m.a)((function(e){return function(){return e}}))),u()(r,"AWAIT",(function(e){return e.payload.value})),r),N=function(e){for(var t=[],n={},r=0;r<e.length;r++){var i=e[r];n[i]=n[i]>=1?n[i]+1:1,n[i]>1&&t.push(i)}return t},R={actions:w,controls:C,reducer:j},T=function(e){return function(t){return D(e(t))}},D=f()((function(e){return Object(p.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return d()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,r=void 0!==n&&n,i=Object(m.b)((function(t){return function(n){var i=!r,a=!!r;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),i}catch(e){return a}}})),a=Object(m.b)((function(t){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];e.apply(void 0,[t,n].concat(i))}}));return{safeSelector:i,dangerousSelector:a}}function L(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},596:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return PAXEmbeddedApp}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(15),u=n.n(s),l=n(1),d=n.n(l),g=n(506),f=n(200),p=n(0),m=n(2),v=n(3),b=n(40),h=n(85),y=n(6),O=n(9),E=n(714);function PAXEmbeddedApp(t){var n,i,o,s,l,d=t.displayMode,_=void 0===d?"default":d,k=t.onLaunch,S=t.onCampaignCreated,j=t.onFinishAndCloseSignUpFlow,A=Object(p.useState)("function"==typeof(null===(n=e)||void 0===n||null===(i=n.google)||void 0===i||null===(o=i.ads)||void 0===o||null===(s=o.integration)||void 0===s||null===(l=s.integrator)||void 0===l?void 0:l.launchGoogleAds)),w=u()(A,2),C=w[0],N=w[1],R=Object(p.useState)(!1),T=u()(R,2),D=T[0],P=T[1],L=Object(p.useState)(!0),x=u()(L,2),I=x[0],M=x[1],U=Object(p.useState)(void 0),B=u()(U,2),F=B[0],W=B[1],H=Object(v.useSelect)((function(e){return"reporting"!==_?{}:e(y.a).getDateRangeDates({offsetDays:O.f})})),q=Object(v.useSelect)((function(e){return e(y.a).isAdBlockerActive()})),K=Object(f.a)(PAXEmbeddedApp,"PAXEmbeddedApp"),V="googlesitekit-pax-embedded-app-".concat(K),Y=Object(p.useRef)(),z=Object(p.useCallback)((function(){"reporting"===_&&(null==Y?void 0:Y.current)&&H.startDate&&H.endDate&&Y.current.getServices().adsDateRangeService.update({startDate:Object(E.c)(H.startDate),endDate:Object(E.c)(H.endDate)})}),[_,H.endDate,H.startDate]),G=Object(v.useRegistry)(),X=Object(p.useCallback)(c()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!D){t.next=2;break}return t.abrupt("return");case 2:return P(!0),n=Object(E.a)({contentContainer:"#".concat(V),reportingStyle:"reporting"===_?"REPORTING_STYLE_MINI":"REPORTING_STYLE_FULL"}),r=Object(E.b)(G,{onCampaignCreated:S,onFinishAndCloseSignUpFlow:j}),t.prev=5,t.next=8,e.google.ads.integration.integrator.launchGoogleAds(n,r);case 8:Y.current=t.sent,z(),null==k||k(Y.current),t.next=17;break;case 13:t.prev=13,t.t0=t.catch(5),W(t.t0),e.console.error("Google Ads Partner Experience Error:",t.t0);case 17:M(!1);case 18:case"end":return t.stop()}}),t,null,[[5,13]])}))),[_,V,D,S,j,k,G,z]);return Object(g.a)((function(){var t,n,r,i,a;C||D||"function"==typeof(null===(t=e)||void 0===t||null===(n=t.google)||void 0===n||null===(r=n.ads)||void 0===r||null===(i=r.integration)||void 0===i||null===(a=i.integrator)||void 0===a?void 0:a.launchGoogleAds)&&N(!0)}),D?null:50),Object(p.useEffect)((function(){C&&!D&&X()}),[D,I,C,X]),Object(p.useEffect)((function(){z()}),[z,H.startDate,H.endDate]),r.createElement("div",{className:"googlesitekit-pax-embedded-app"},!!F&&!q&&r.createElement(h.a,{title:Object(m.__)("Google Ads error","google-site-kit"),description:Object(m.__)("Could not load Google Ads content.","google-site-kit"),error:!0}),I&&r.createElement(b.a,{width:"100%",height:"240px"}),r.createElement("div",{id:V}))}PAXEmbeddedApp.propTypes={displayMode:d.a.oneOf(["default","reporting","setup"]),onLaunch:d.a.func,onCampaignCreated:d.a.func,onFinishAndCloseSignUpFlow:d.a.func}}).call(this,n(26),n(4))},597:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupForm}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n.n(c),u=n(0),l=n(2),d=n(3),g=n(10),f=n(155),p=n(144),m=n(760),v=n(14),b=n(393);function SetupForm(t){var n=t.finishSetup,r=t.createAccountCTA,a=t.isNavigatingToOAuthURL,c=Object(d.useSelect)((function(e){return e(f.c).canSubmitChanges()})),s=Object(d.useSelect)((function(e){return e(f.c).isDoingSubmitChanges()&&!a})),h=Object(d.useDispatch)(f.c).submitChanges,y=Object(d.useDispatch)(v.c),O=y.setConversionTrackingEnabled,E=y.saveConversionTrackingSettings,_=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,h();case 3:if(r=e.sent,r.error){e.next=10;break}return O(!0),e.next=9,E();case 9:n();case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[n,E,O,h]);return e.createElement("form",{className:"googlesitekit-ads-setup__form",onSubmit:_},e.createElement(p.a,{moduleSlug:"ads",storeName:f.c}),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(m.a,null)),r&&e.createElement("div",{className:"googlesitekit-setup-module__create-account"},r),e.createElement(b.a,{className:"googlesitekit-margin-top-1",message:Object(l.__)("To track the performance of your campaigns, Site Kit will enable enhanced conversion tracking. You can always disable it in settings.","google-site-kit")}),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(g.SpinnerButton,{disabled:!c||s,isSaving:s},Object(l.__)("Complete setup","google-site-kit"))))}SetupForm.propTypes={finishSetup:s.a.func,createAccountCTA:s.a.node,isNavigatingToOAuthURL:s.a.bool},SetupForm.defaultProps={finishSetup:function(){},createAccountCTA:null,isNavigatingToOAuthURL:!1}}).call(this,n(4))},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"H",(function(){return s})),n.d(t,"M",(function(){return u})),n.d(t,"O",(function(){return l})),n.d(t,"K",(function(){return d})),n.d(t,"L",(function(){return g})),n.d(t,"J",(function(){return f})),n.d(t,"I",(function(){return p})),n.d(t,"N",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return _})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return S})),n.d(t,"s",(function(){return j})),n.d(t,"r",(function(){return A})),n.d(t,"t",(function(){return w})),n.d(t,"w",(function(){return C})),n.d(t,"u",(function(){return N})),n.d(t,"v",(function(){return R})),n.d(t,"x",(function(){return T})),n.d(t,"y",(function(){return D})),n.d(t,"A",(function(){return P})),n.d(t,"B",(function(){return L})),n.d(t,"C",(function(){return x})),n.d(t,"D",(function(){return I})),n.d(t,"k",(function(){return M})),n.d(t,"F",(function(){return U})),n.d(t,"z",(function(){return B})),n.d(t,"G",(function(){return F})),n.d(t,"E",(function(){return W})),n.d(t,"i",(function(){return H})),n.d(t,"p",(function(){return q})),n.d(t,"Q",(function(){return K})),n.d(t,"P",(function(){return V}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",u="googlesitekit_setup",l="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",p="googlesitekit_delegate_module_sharing_management",m="googlesitekit_update_plugins",v="kmAnalyticsAdSenseTopEarningContent",b="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",E="kmAnalyticsPopularContent",_="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",S="kmAnalyticsTopCities",j="kmAnalyticsTopCitiesDrivingLeads",A="kmAnalyticsTopCitiesDrivingAddToCart",w="kmAnalyticsTopCitiesDrivingPurchases",C="kmAnalyticsTopDeviceDrivingPurchases",N="kmAnalyticsTopConvertingTrafficSource",R="kmAnalyticsTopCountries",T="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",P="kmAnalyticsTopTrafficSource",L="kmAnalyticsTopTrafficSourceDrivingAddToCart",x="kmAnalyticsTopTrafficSourceDrivingLeads",I="kmAnalyticsTopTrafficSourceDrivingPurchases",M="kmAnalyticsPagesPerVisit",U="kmAnalyticsVisitLength",B="kmAnalyticsTopReturningVisitorPages",F="kmSearchConsolePopularKeywords",W="kmAnalyticsVisitsPerVisitor",H="kmAnalyticsMostEngagingPages",q="kmAnalyticsTopCategories",K=[v,b,h,y,O,E,_,k,q,S,j,A,w,C,N,R,D,P,L,M,U,B,W,H,q],V=[].concat(K,[F])},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(22),i="core/notifications",a={ERRORS:"notification-area-errors",BANNERS_ABOVE_NAV:"notification-area-banners-above-nav",BANNERS_BELOW_NAV:"notification-area-banners-below-nav"},o=[r.n,r.l,r.o,r.m]},605:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#ads_svg__clip0_13_5816)"},r.createElement("path",{d:"M13.612 5.602c.386-1.015.918-1.95 1.707-2.706C18.477-.181 23.697.592 25.84 4.458c1.61 2.932 3.318 5.8 4.978 8.7 2.77 4.816 5.573 9.632 8.312 14.465 2.303 4.044-.193 9.15-4.768 9.843-2.803.419-5.43-.87-6.88-3.383-2.432-4.237-4.88-8.473-7.313-12.694a1.466 1.466 0 00-.177-.258c-.258-.21-.37-.515-.531-.79-1.08-1.9-2.191-3.785-3.27-5.67-.693-1.224-1.418-2.432-2.11-3.656a6.67 6.67 0 01-.887-3.544c.048-.645.129-1.29.419-1.87z",fill:"#3C8BD9"}),r.createElement("path",{d:"M13.612 5.602c-.145.58-.274 1.16-.306 1.772-.048 1.353.29 2.61.966 3.786 1.772 3.044 3.544 6.105 5.3 9.166.161.274.29.547.451.805a804.94 804.94 0 01-2.915 5.01c-1.354 2.336-2.707 4.688-4.076 7.024-.064 0-.08-.032-.097-.08-.016-.13.033-.242.065-.371.66-2.417.113-4.56-1.547-6.396-1.015-1.111-2.303-1.74-3.785-1.949-1.933-.274-3.641.226-5.171 1.434-.274.21-.451.515-.774.677-.064 0-.096-.033-.112-.081.773-1.337 1.53-2.674 2.303-4.011 3.19-5.542 6.38-11.083 9.585-16.609.032-.064.08-.113.113-.177z",fill:"#FABC04"}),r.createElement("path",{d:"M1.675 26.447c.306-.274.596-.564.918-.821 3.915-3.093 9.795-.854 10.648 4.043.21 1.176.097 2.304-.257 3.431a1.697 1.697 0 01-.065.274c-.145.258-.274.532-.435.79-1.434 2.368-3.544 3.544-6.315 3.366C2.996 37.305.5 34.92.064 31.763c-.21-1.53.097-2.964.886-4.285.161-.29.354-.548.532-.838.08-.064.048-.193.193-.193z",fill:"#34A852"}),r.createElement("path",{d:"M1.675 26.447c-.064.065-.064.177-.177.194-.016-.113.048-.178.113-.258l.064.064z",fill:"#FABC04"}),r.createElement("path",{d:"M12.92 33.374c-.065-.113 0-.193.064-.274l.064.065-.129.21z",fill:"#E1C025"})),o=r.createElement("defs",null,r.createElement("clipPath",{id:"ads_svg__clip0_13_5816"},r.createElement("path",{fill:"#fff",d:"M0 0h40v40H0z"})));t.a=function SvgAds(e){return r.createElement("svg",i({viewBox:"0 0 40 40",fill:"none"},e),a,o)}},62:function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return b}));var r=n(7),i=n.n(r),a=n(33),o=n.n(a),c=n(111),s=n(11),u=n.n(s),l=n(94),d=n.n(l),g=n(8);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(g.I)(e):e}));return"".concat(e,"::").concat(d()(JSON.stringify(n)))}return e}var v={receiveError:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"error is required."),u()(t,"baseName is required."),u()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return u()(e,"baseName is required."),u()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function b(e){u()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(n,"selectorName is required."),t.getError(e,n,r)},getErrorForAction:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(n,"actionName is required."),t.getError(e,n,r)},getError:function(e,t,n){var r=e.errors;return u()(t,"baseName is required."),r[m(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,r){var i=t(e).getMetaDataForError(r);if(i){var a=i.baseName,o=i.args;if(!!t(e)[a])return{storeName:e,name:a,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:v,controls:{},reducer:function(e,t){var n=t.type,r=t.payload;switch(n){case"RECEIVE_ERROR":var a=r.baseName,o=r.args,c=r.error,s=m(a,o);return p(p({},e),{},{errors:p(p({},e.errors||{}),{},i()({},s,c)),errorArgs:p(p({},e.errorArgs||{}),{},i()({},s,o))});case"CLEAR_ERROR":var u=r.baseName,l=r.args,d=p({},e),g=m(u,l);return d.errors=p({},e.errors||{}),d.errorArgs=p({},e.errorArgs||{}),delete d.errors[g],delete d.errorArgs[g],d;case"CLEAR_ERRORS":var f=r.baseName,v=p({},e);if(f)for(var b in v.errors=p({},e.errors||{}),v.errorArgs=p({},e.errorArgs||{}),v.errors)(b===f||b.startsWith("".concat(f,"::")))&&(delete v.errors[b],delete v.errorArgs[b]);else v.errors={},v.errorArgs={};return v;default:return e}},resolvers:{},selectors:t}}},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},641:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return A}));var r=n(15),i=n.n(r),a=n(23),o=n.n(a),c=n(5),s=n.n(c),u=n(7),l=n.n(u),d=n(11),g=n.n(d),f=n(750),p=n.n(f),m=n(157),v=n(519),b=n(3),h=n(14),y=n(8),O=n(500);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e){return Object(b.createRegistrySelector)((function(t){return function(){return(t(h.c).getSiteInfo()||{})[e]}}))}var S={siteInfo:void 0,permaLink:!1},j={receiveSiteInfo:function(e){return g()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return g()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}},setSiteKitAutoUpdatesEnabled:function(e){return g()("boolean"==typeof e,"siteKitAutoUpdatesEnabled must be a boolean."),{payload:{siteKitAutoUpdatesEnabled:e},type:"SET_SITE_KIT_AUTO_UPDATES_ENABLED"}},setKeyMetricsSetupCompletedBy:function(e){return g()("number"==typeof e,"keyMetricsSetupCompletedBy must be a number."),{payload:{keyMetricsSetupCompletedBy:e},type:"SET_KEY_METRICS_SETUP_COMPLETED_BY"}},setSetupErrorCode:function(e){return g()("string"==typeof e||null===e,"setupErrorCode must be a string or null."),{payload:{setupErrorCode:e},type:"SET_SETUP_ERROR_CODE"}}},A={},w={getSiteInfo:s.a.mark((function t(){var n,r,i,a,o,c,u,l,d,g,f,p,m,v,y,O,E,_,k,S,A,w,C,N,R,T,D,P,L,x,I;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b.commonActions.getRegistry();case 2:if(!t.sent.select(h.c).getSiteInfo()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitBaseData&&e._googlesitekitEntityData){t.next=8;break}return e.console.error("Could not load core/site info."),t.abrupt("return");case 8:return n=e._googlesitekitBaseData,r=n.adminURL,i=n.ampMode,a=n.homeURL,o=n.proxyPermissionsURL,c=n.proxySetupURL,u=n.referenceSiteURL,l=n.setupErrorCode,d=n.setupErrorMessage,g=n.setupErrorRedoURL,f=n.siteName,p=n.timezone,m=n.usingProxy,v=n.webStoriesActive,y=n.proxySupportLinkURL,O=n.widgetsAdminURL,E=n.postTypes,_=n.wpVersion,k=n.updateCoreURL,S=n.changePluginAutoUpdatesCapacity,A=n.siteKitAutoUpdatesEnabled,w=n.pluginBasename,C=n.productPostType,N=n.keyMetricsSetupCompletedBy,R=n.keyMetricsSetupNew,T=n.consentModeRegions,D=e._googlesitekitEntityData,P=D.currentEntityID,L=D.currentEntityTitle,x=D.currentEntityType,I=D.currentEntityURL,t.next=12,j.receiveSiteInfo({adminURL:r,ampMode:i,currentEntityID:P,currentEntityTitle:L,currentEntityType:x,currentEntityURL:I,homeURL:a,proxyPermissionsURL:o,proxySetupURL:c,referenceSiteURL:u,setupErrorCode:l,setupErrorMessage:d,setupErrorRedoURL:g,siteName:f,timezone:p,postTypes:E,usingProxy:!!m,webStoriesActive:v,proxySupportLinkURL:y,widgetsAdminURL:O,wpVersion:_,updateCoreURL:k,changePluginAutoUpdatesCapacity:S,siteKitAutoUpdatesEnabled:A,pluginBasename:w,productPostType:C,keyMetricsSetupCompletedBy:N,keyMetricsSetupNew:R,consentModeRegions:T});case 12:case"end":return t.stop()}}),t)}))},C={getSiteInfo:function(e){return e.siteInfo},getAdminURL:Object(b.createRegistrySelector)((function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e(h.c).getSiteInfo()||{},a=i.adminURL;if(void 0===a||void 0===n)return a;var c="/"===a[a.length-1]?a:"".concat(a,"/"),s=n,u="admin.php";if(-1!==n.indexOf(".php?")){var l=n.split("?");if(!(s=p.a.parse(l.pop()).page))return a;u=l.shift()}r.page;var d=o()(r,["page"]);return Object(m.a)("".concat(c).concat(u),_({page:s},d))}})),getAMPMode:k("ampMode"),getCurrentEntityID:k("currentEntityID"),getCurrentEntityTitle:k("currentEntityTitle"),getCurrentEntityType:k("currentEntityType"),getCurrentEntityURL:k("currentEntityURL"),getHomeURL:k("homeURL"),getReferenceSiteURL:k("referenceSiteURL"),getProxySetupURL:k("proxySetupURL"),getProxyPermissionsURL:k("proxyPermissionsURL"),getCurrentReferenceURL:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getCurrentEntityURL();return null!==t?t:e(h.c).getReferenceSiteURL()}})),isAMP:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getAMPMode();if(void 0!==t)return!!t}})),isPrimaryAMP:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getAMPMode();if(void 0!==t)return t===h.a}})),isSecondaryAMP:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getAMPMode();if(void 0!==t)return t===h.b}})),getTimezone:k("timezone"),isUsingProxy:k("usingProxy"),getSiteName:k("siteName"),getSetupErrorCode:k("setupErrorCode"),getSetupErrorMessage:k("setupErrorMessage"),getSetupErrorRedoURL:k("setupErrorRedoURL"),getProxySupportLinkURL:k("proxySupportLinkURL"),getWidgetsAdminURL:k("widgetsAdminURL"),getPostTypes:k("postTypes"),getPermaLinkParam:function(t){if(t.permaLink)return t.permaLink;var n=Object(v.a)(e.location.href,"permaLink");return n||!1},isWebStoriesActive:k("webStoriesActive"),isSiteURLMatch:Object(b.createRegistrySelector)((function(e){return function(t,n){var r=e(h.c).getReferenceSiteURL();return Object(y.B)(r)===Object(y.B)(n)}})),getSiteURLPermutations:Object(b.createRegistrySelector)((function(e){return function(){var t=e(h.c).getReferenceSiteURL(),n=[],r=new URL(t);return r.hostname=r.hostname.replace(/^www\./i,""),r.protocol="http",n.push(Object(y.L)(r)),r.protocol="https",n.push(Object(y.L)(r)),r.hostname="www."+r.hostname,n.push(Object(y.L)(r)),r.protocol="http",n.push(Object(y.L)(r)),n}})),getWPVersion:k("wpVersion"),getUpdateCoreURL:k("updateCoreURL"),hasChangePluginAutoUpdatesCapacity:k("changePluginAutoUpdatesCapacity"),getSiteKitAutoUpdatesEnabled:k("siteKitAutoUpdatesEnabled"),getPluginBasename:k("pluginBasename"),getKeyMetricsSetupCompletedBy:k("keyMetricsSetupCompletedBy"),getKeyMetricsSetupNew:k("keyMetricsSetupNew"),hasMinimumWordPressVersion:Object(b.createRegistrySelector)((function(e){return function(t,n){g()(n,"minimumWPVersion is required.");var r=e(h.c).getWPVersion()||{},a=r.major,o=r.minor;if(void 0!==a&&void 0!==o){var c=n.split(".").map((function(e){return parseInt(e,10)})),s=i()(c,2),u=s[0],l=s[1];return u<a||u===a&&(void 0===l?0:l)<=o}}})),getProductPostType:k("productPostType"),isKeyMetricsSetupCompleted:function(e){return Object(O.a)(Object(O.a)(C.getKeyMetricsSetupCompletedBy(e)))},getConsentModeRegions:k("consentModeRegions")};t.b={initialState:S,actions:j,controls:A,reducer:function(e,t){var n=t.payload;switch(t.type){case"RECEIVE_SITE_INFO":var r=n.siteInfo,i=r.adminURL,a=r.ampMode,o=r.currentEntityID,c=r.currentEntityTitle,s=r.currentEntityType,u=r.currentEntityURL,l=r.homeURL,d=r.proxyPermissionsURL,g=r.proxySetupURL,f=r.referenceSiteURL,p=r.setupErrorCode,m=r.setupErrorMessage,v=r.setupErrorRedoURL,b=r.siteName,h=r.timezone,y=r.usingProxy,O=r.webStoriesActive,E=r.proxySupportLinkURL,k=r.widgetsAdminURL,S=r.postTypes,j=r.wpVersion,A=r.updateCoreURL,w=r.changePluginAutoUpdatesCapacity,C=r.siteKitAutoUpdatesEnabled,N=r.pluginBasename,R=r.productPostType,T=r.keyMetricsSetupCompletedBy,D=r.keyMetricsSetupNew,P=r.consentModeRegions;return _(_({},e),{},{siteInfo:{adminURL:i,ampMode:a,currentEntityID:parseInt(o,10),currentEntityTitle:c,currentEntityType:s,currentEntityURL:u,homeURL:l,proxyPermissionsURL:d,proxySetupURL:g,referenceSiteURL:f,setupErrorCode:p,setupErrorMessage:m,setupErrorRedoURL:v,siteName:b,timezone:h,usingProxy:y,webStoriesActive:O,proxySupportLinkURL:E,widgetsAdminURL:k,postTypes:S,wpVersion:j,updateCoreURL:A,changePluginAutoUpdatesCapacity:w,siteKitAutoUpdatesEnabled:C,pluginBasename:N,productPostType:R,keyMetricsSetupCompletedBy:T,keyMetricsSetupNew:D,consentModeRegions:P}});case"RECEIVE_PERMALINK_PARAM":var L=n.permaLink;return _(_({},e),{},{permaLink:L});case"SET_SITE_KIT_AUTO_UPDATES_ENABLED":var x=n.siteKitAutoUpdatesEnabled;return _(_({},e),{},{siteInfo:_(_({},e.siteInfo),{},{siteKitAutoUpdatesEnabled:x})});case"SET_KEY_METRICS_SETUP_COMPLETED_BY":var I=n.keyMetricsSetupCompletedBy;return _(_({},e),{},{siteInfo:_(_({},e.siteInfo),{},{keyMetricsSetupCompletedBy:I})});case"SET_SETUP_ERROR_CODE":var M=n.setupErrorCode;return _(_({},e),{},{siteInfo:_(_({},e.siteInfo),{},{setupErrorCode:M})});default:return e}},resolvers:w,selectors:C}}).call(this,n(26))},644:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConversionTrackingToggle}));var r=n(15),i=n.n(r),a=n(0),o=n(2),c=n(10),s=n(3),u=n(14),l=n(67),d=n(178),g=n(645),f=n(18),p=n(8),m=n(1),v=n.n(m);function ConversionTrackingToggle(t){var n=t.children,r=t.loading,m=Object(f.a)(),v=Object(a.useState)(null),b=i()(v,1)[0],h=Object(a.useState)(!1),y=i()(h,2),O=y[0],E=y[1],_=Object(s.useSelect)((function(e){return e(u.c).isConversionTrackingEnabled()})),k=Object(s.useSelect)((function(e){return e(u.c).isFetchingSaveConversionTrackingSettings()})),S=Object(s.useDispatch)(u.c).setConversionTrackingEnabled;return e.createElement(a.Fragment,null,e.createElement(d.a,{loading:r,width:"180px",height:"21.3px"},e.createElement(c.Switch,{label:Object(o.__)("Enable enhanced conversion tracking","google-site-kit"),checked:_,disabled:k||r,onClick:function(){_?(Object(p.J)("".concat(m),"ect_disable"),E(!0)):(Object(p.J)("".concat(m),"ect_enable"),S(!0))},hideLabel:!1})),!!b&&e.createElement(l.a,{message:b.message}),e.createElement(d.a,{className:"googlesitekit-settings-conversion-tracking-switch-description--loading",loading:r,width:"750px",height:"42px",smallWidth:"386px",smallHeight:"84px",tabletWidth:"540px",tabletHeight:"84px"},e.createElement("p",{className:"googlesitekit-settings-module__fields-group-helper-text"},n)),O&&e.createElement(g.a,{onConfirm:function(){Object(p.J)("".concat(m),"ect_confirm_disable"),S(!1),E(!1)},onCancel:function(){Object(p.J)("".concat(m),"ect_cancel_disable"),E(!1)}}))}ConversionTrackingToggle.propTypes={children:v.a.node.isRequired,loading:v.a.bool}}).call(this,n(4))},645:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConfirmDisableConversionTrackingDialog}));var r=n(1),i=n.n(r),a=n(91),o=n(2),c=n(114),s=n(8),u=n(18);function ConfirmDisableConversionTrackingDialog(t){var n=t.onConfirm,r=t.onCancel,i=Object(u.a)(),l=Object(o.__)("By disabling enhanced conversion tracking, you will no longer have access to:","google-site-kit"),d=[Object(o.__)("Performance of your Ad campaigns","google-site-kit"),Object(o.__)("Tracking additional conversion-related events via Analytics","google-site-kit")];return Object(a.a)((function(){Object(s.J)("".concat(i),"ect_view_modal")})),e.createElement(c.a,{className:"googlesitekit-settings-module__confirm-disconnect-modal",dialogActive:!0,title:Object(o.__)("Disable enhanced conversion tracking","google-site-kit"),subtitle:l,handleConfirm:n,handleDialog:r,onClose:r,provides:d,confirmButton:Object(o.__)("Disable","google-site-kit"),danger:!0})}ConfirmDisableConversionTrackingDialog.propTypes={onConfirm:i.a.func.isRequired,onCancel:i.a.func.isRequired}}).call(this,n(4))},67:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(109),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var s=n;void 0!==i&&i||(s=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(s=s+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},71:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},714:function(e,t,n){"use strict";n.d(t,"a",(function(){return r.a})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return m}));var r=n(834),i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(13),u=n(57),l=n.n(u),d=n(256),g=n(14),f=n(155),p=n(8);function m(e){var t=Object(p.H)(e);return{year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()}}var v=n(6),b=n(42),h=n.n(b),y=function(){var e=c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(d.default)({path:"/wp/v2/pages?per_page=100"});case 3:return t=e.sent,e.abrupt("return",t.map((function(e){return{title:e.title.rendered,path:new URL(e.link).pathname}})));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",[]);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();function O(){var e=l()((function(){return h.a.set("core","user","get-token")})),t=Object(s.debounce)(e.clear,3e4,{leading:!1,trailing:!0,maxWait:24e4});function n(){return t(),e()}return n.clear=function(){t.cancel(),e.clear()},n}function E(e){var t,n,r,i,o,s,u,l,d,p,b,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=h.onCampaignCreated,_=void 0===E?null:E,k=h.onFinishAndCloseSignUpFlow,S=void 0===k?null:k,j=e.select,A=e.resolveSelect,w=O(),C={authenticationService:{get:(b=c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w();case 2:return t=e.sent,e.abrupt("return",{accessToken:t.token});case 4:case"end":return e.stop()}}),e)}))),function(){return b.apply(this,arguments)}),fix:(p=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w.clear(),e.abrupt("return",{retryReady:!0});case 2:case"end":return e.stop()}}),e)}))),function(){return p.apply(this,arguments)})},businessService:{getBusinessInfo:(d=c()(a.a.mark((function e(){var t,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A(g.c).getSiteInfo();case 2:return t=j(g.c).getSiteName(),n=j(g.c).getHomeURL(),e.abrupt("return",{businessName:t,businessUrl:n});case 5:case"end":return e.stop()}}),e)}))),function(){return d.apply(this,arguments)}),fixBusinessInfo:(l=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{retryReady:!0});case 1:case"end":return e.stop()}}),e)}))),function(){return l.apply(this,arguments)})},campaignService:{notifyNewCampaignCreated:(u=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_){e.next=3;break}return e.next=3,_();case 3:return e.abrupt("return",{});case 4:case"end":return e.stop()}}),e)}))),function(){return u.apply(this,arguments)})},conversionTrackingService:{getSupportedConversionLabels:(s=c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A(f.c).getModuleData();case 2:return t=j(f.c).getSupportedConversionEvents()||[],e.abrupt("return",{conversionLabels:t});case 4:case"end":return e.stop()}}),e)}))),function(){return s.apply(this,arguments)}),getPageViewConversionSetting:(o=c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y();case 2:return t=e.sent,e.abrupt("return",{websitePages:t});case 4:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),getSupportedConversionTrackingTypes:(i=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{conversionTrackingTypes:["TYPE_PAGE_VIEW"]});case 1:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},termsAndConditionsService:{notify:(r=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},partnerDateRangeService:{get:(n=c()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(v.a).getDateRangeDates({offsetDays:f.b}),r=n.startDate,i=n.endDate,t.abrupt("return",{startDate:m(r),endDate:m(i)});case 2:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})},userActionService:{finishAndCloseSignUpFlow:(t=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S){e.next=3;break}return e.next=3,S();case 3:return e.abrupt("return",{});case 4:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}};return C}},718:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var r=n(2),i=n(0),a=n(38),o=n(3),c=n(155),s=n(644),u=n(144),l=n(760),d=n(210),g=n(187),f=n(14),p=n(20);function SettingsForm(){var t=Object(d.a)("adsPax"),n=Object(o.useSelect)((function(e){return e(c.c).getConversionID()})),m=Object(o.useSelect)((function(e){return e(c.c).getPaxConversionID()})),v=Object(o.useSelect)((function(e){return e(c.c).getExtCustomerID()})),b=Object(o.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("enhanced-conversion-tracking")})),h=t&&m?m:n,y=t&&(m||v);return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-ads-settings-fields"},e.createElement(u.a,{moduleSlug:"ads",storeName:c.c}),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(s.a,null,Object(a.a)(Object(r.__)("Conversion tracking allows you to measure additional events on your site from other plugins that Site Kit integrates with to optimize your campaign performance. <a>Learn more</a>","google-site-kit"),{a:e.createElement(p.a,{href:b,external:!0,"aria-label":Object(r.__)("Learn more about conversion tracking","google-site-kit")})}))),!y&&e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(l.a,{helperText:Object(r.__)("The Conversion Tracking ID will help track the performance of ad campaigns for the corresponding account","google-site-kit")})),y&&e.createElement("div",null,e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Conversion Tracking ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},""===h&&Object(r.__)("None","google-site-kit"),h||void 0===h&&e.createElement(g.b,{value:h}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(r.__)("Customer ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},""===v&&Object(r.__)("None","google-site-kit"),v||void 0===v&&e.createElement(g.b,{value:v}))))))}}).call(this,n(4))},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),i=n.n(r),a=n(81),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},760:function(e,t,n){"use strict";var r=n(833);n.d(t,"a",(function(){return r.a}));n(596)},77:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},78:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},8:function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return l})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return A})),n.d(t,"a",(function(){return w})),n.d(t,"g",(function(){return C})),n.d(t,"f",(function(){return N})),n.d(t,"o",(function(){return R})),n.d(t,"x",(function(){return T})),n.d(t,"q",(function(){return D})),n.d(t,"H",(function(){return P})),n.d(t,"t",(function(){return L})),n.d(t,"w",(function(){return x})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return M.b})),n.d(t,"i",(function(){return M.a})),n.d(t,"u",(function(){return U.b})),n.d(t,"r",(function(){return U.a})),n.d(t,"B",(function(){return U.c})),n.d(t,"y",(function(){return B})),n.d(t,"v",(function(){return F})),n.d(t,"F",(function(){return q})),n.d(t,"E",(function(){return K.a})),n.d(t,"h",(function(){return V})),n.d(t,"M",(function(){return Y})),n.d(t,"m",(function(){return z}));var r=n(13),i=n(36),a=n(72),o=n(33),c=n.n(o),s=n(94),u=n.n(s),l=function(e){return u()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(82);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[g,f,p];n<r.length;n++){t=(0,r[n])(t)}return t}var v=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},b=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},h=n(15),y=n.n(h),O=n(11),E=n.n(O),_=n(2),k="Invalid dateString parameter, it must be a string.",S='Invalid date range, it must be a string with the format "last-x-days".',j=60,A=60*j,w=24*A,C=7*w,N=30*w;function R(){var e=function(e){return Object(_.sprintf)( /* translators: %s: number of days */ Object(_._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function D(e){E()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function P(e){E()(T(e),k);var t=e.split("-"),n=y()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function L(e,t){return D(I(e,t*w))}function x(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){E()(T(e)||Object(r.isDate)(e)&&!isNaN(e),k);var n=T(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var M=n(98),U=n(83);function B(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function F(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var W=n(27),H=n.n(W),q=function(e){return Array.isArray(e)?H()(e).sort():e},K=n(88);function V(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var Y=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},z=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},80:function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(145),i=n.n(r)()(e)}).call(this,n(26))},82:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return A})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return C}));var r=n(15),i=n.n(r),a=n(33),o=n.n(a),c=n(7),s=n.n(c),u=n(23),l=n.n(u),d=n(13),g=n(57),f=n.n(g),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=y(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=v(v({unitDisplay:void 0===n?"short":n},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?A(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?A(a,v(v({},o),{},{unit:"second"})):"",i?A(i,v(v({},o),{},{unit:"minute"})):"",r?A(r,v(v({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(p.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(p.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(p.__)("%dm","google-site-kit"),i),o=Object(p.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},E=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},_=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in millions. Object(p.__)("%sM","google-site-kit"),A(E(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),A(E(e))):1e3<=e?Object(p.sprintf)(// translators: %s: an abbreviated number in thousands. Object(p.__)("%sK","google-site-kit"),A(E(e),e%10==0?{}:t)):A(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=v({},e)),t}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=k(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?_(e):"duration"===i?b(e,n):"durationISO"===i?h(e):A(e,n)}var j=f()(console.warn),A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,a=l()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},d=0,g=Object.entries(a);d<g.length;d++){var f=i()(g[d],2),p=f[0],m=f[1];c[p]&&m===c[p]||(s.includes(p)||(u[p]=m))}try{return new Intl.NumberFormat(r,u).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?C():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:a,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var u=Object(p.__)(", ","google-site-kit");return e.join(u)},C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},83:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(109);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},832:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var r=n(12),i=n.n(r),a=n(2),o=n(0),c=n(3),s=n(155),u=n(14),l=n(6),d=n(187),g=n(219),f=n(210);function SettingsView(){var t=Object(f.a)("adsPax"),n=Object(c.useSelect)((function(e){return e(s.c).getConversionID()})),r=Object(c.useSelect)((function(e){return e(s.c).getPaxConversionID()})),p=Object(c.useSelect)((function(e){return e(s.c).getExtCustomerID()})),m=Object(c.useSelect)((function(e){return e(l.a).isAdBlockerActive()})),v=t&&r?r:n,b=t&&(r||p),h=Object(c.useSelect)((function(e){return e(u.c).isConversionTrackingEnabled()}));return e.createElement(o.Fragment,null,e.createElement("div",{className:i()({"googlesitekit-settings-module__meta-item":m})},e.createElement(g.a,{moduleSlug:"ads"})),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Enhanced Conversion Tracking","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},h&&Object(a.__)("Enabled","google-site-kit"),!1===h&&Object(a.__)("Disabled","google-site-kit"),void 0===h&&d.a)),!m&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Conversion Tracking ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},""===v&&Object(a.__)("None","google-site-kit"),v||void 0===v&&e.createElement(d.b,{value:v}))),!m&&b&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Customer ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},""===p&&Object(a.__)("None","google-site-kit"),p||void 0===p&&e.createElement(d.b,{value:p}))))}}).call(this,n(4))},833:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConversionIDTextField}));var r=n(15),i=n.n(r),a=n(12),o=n.n(a),c=n(0),s=n(2),u=n(161),l=n(3),d=n(10),g=n(155),f=n(105),p=n(534),m=n(346);function ConversionIDTextField(t){var n=t.helperText,r=Object(l.useSelect)((function(e){return e(g.c).getConversionID()})),a=Object(c.useState)(!r||Object(p.a)(r)),v=i()(a,2),b=v[0],h=v[1],y=Object(u.a)(h,500),O=Object(l.useDispatch)(g.c).setConversionID,E=Object(c.useCallback)((function(e){var t=e.currentTarget.value.trim().toUpperCase();""===t||/^AW-/.test(t)||(t="AW-".concat(t)),t!==r&&O(t),y(Object(p.a)(t))}),[y,r,O]);return e.createElement("div",{className:"googlesitekit-settings-module__fields-group"},e.createElement("h4",{className:"googlesitekit-settings-module__fields-group-title"},Object(s.__)("Conversion Tracking ID","google-site-kit")),n&&e.createElement("p",{className:"googlesitekit-settings-module__fields-group-helper-text"},n),e.createElement(d.TextField,{label:Object(s.__)("Conversion Tracking ID","google-site-kit"),className:o()("googlesitekit-text-field-conversion-tracking-id",{"mdc-text-field--error":!b}),helperText:!b&&Object(s.__)("Tracking for your Ads campaigns won’t work until you insert a valid ID","google-site-kit"),leadingIcon:e.createElement("span",{className:"googlesitekit-text-field-conversion-tracking-id-prefix"},"AW-"),trailingIcon:!b&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(f.a,null,Object(s.__)("Error","google-site-kit")),e.createElement(m.a,{width:14,height:12})),outlined:!0,value:null==r?void 0:r.replace(/^(AW)?-?/,""),onChange:E,maxLength:20}))}}).call(this,n(4))},834:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(11),i=n.n(r),a=n(13),o=n(502);function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.contentContainer,r=t.reportingStyle,c=t._global,s=void 0===c?e:c,u=null==s?void 0:s[o.a];return i()(Object(a.isPlainObject)(u),"base PAX config must be a plain object"),Object(a.merge)(u,n?{clientConfig:{contentContainer:n}}:{},r?{contentConfig:{partnerAdsExperienceConfig:{reportingStyle:r}}}:{})}}).call(this,n(26))},835:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var r=n(3),i=n(10),a=n(155),o=n(6),c=n(718),s=n(219);function SettingsEdit(){var t,n=Object(r.useSelect)((function(e){return e(a.c).isDoingSubmitChanges()}));return t=Object(r.useSelect)((function(e){return e(o.a).isAdBlockerActive()}))?e.createElement(s.a,{moduleSlug:"ads"}):n?e.createElement(i.ProgressBar,null):e.createElement(c.a,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--ads"},t)}}).call(this,n(4))},836:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var r=n(1),i=n.n(r),a=n(0),o=n(38),c=n(2),s=n(3),u=n(605),l=n(597),d=n(162),g=n(219),f=n(6);function SetupMain(t){var n=t.finishSetup,r=Object(s.useSelect)((function(e){return e(f.a).isAdBlockerActive()}));return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--ads"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(u.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(c._x)("Ads","Service name","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement(g.a,{moduleSlug:"ads"}),!r&&e.createElement(a.Fragment,null,e.createElement("p",null,Object(o.a)(Object(c.__)("Add your conversion ID below. Site Kit will place it on your site so you can track the performance of your Google Ads campaigns. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{path:"/google-ads/thread/108976144/where-i-can-find-google-conversion-id-begins-with-aw",external:!0})}),e.createElement("br",null),Object(c.__)("You can always change this later in Site Kit Settings.","google-site-kit")),e.createElement(l.a,{finishSetup:n}))))}SetupMain.propTypes={finishSetup:i.a.func},SetupMain.defaultProps={finishSetup:function(){}}}).call(this,n(4))},837:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupMainPAX}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(7),u=n.n(s),l=n(15),d=n.n(l),g=n(232),f=n(0),p=n(38),m=n(2),v=n(157),b=n(3),h=n(10),y=n(605),O=n(597),E=n(162),_=n(219),k=n(6),S=n(32),j=n(155),A=n(193),w=n(596),C=n(14),N=n(502),R=n(210);function SetupMainPAX(t){var n=t.finishSetup,i=Object(A.a)(N.b),o=d()(i,2),s=o[0],l=o[1],T=!!s&&parseInt(s,10),D=Object(f.useRef)(),P=Object(b.useSelect)((function(e){return e(k.a).isAdBlockerActive()})),L=Object(b.useSelect)((function(e){return e(k.a).hasScope(j.a)})),x=Object(b.useSelect)((function(t){var n=Object(v.a)(e.location.href,u()({},N.b,N.c.LAUNCH));return t(k.a).getConnectURL({additionalScopes:[j.a,j.d],redirectURL:n})})),I=Object(b.useSelect)((function(e){return!!x&&e(S.a).isNavigatingTo(x)})),M=Object(b.useDispatch)(S.a).navigateTo,U=Object(b.useDispatch)(j.c),B=U.setPaxConversionID,F=U.setExtCustomerID,W=U.submitChanges,H=Object(g.a)(c()(a.a.mark((function e(){var t,n,r,i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==D?void 0:D.current){e.next=2;break}return e.abrupt("return");case 2:return t=D.current.getServices(),n=t.accountService,r=t.conversionTrackingIdService,e.next=5,n.getAccountId({});case 5:return i=e.sent,e.next=8,r.getConversionTrackingId({});case 8:if(o=e.sent,i.externalCustomerId||o.conversionTrackingId){e.next=11;break}return e.abrupt("return");case 11:return F(i.externalCustomerId),B(o.conversionTrackingId),e.next=15,W();case 15:case"end":return e.stop()}}),e)}))),[F,B]),q=Object(b.useRegistry)(),K=Object(g.a)(c()(a.a.mark((function e(){var t,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=q.select,r=q.resolveSelect,e.next=3,r(C.c).getSiteInfo();case 3:i=t(C.c).getAdminURL("googlesitekit-dashboard",{notification:N.d}),n(i);case 5:case"end":return e.stop()}}),e)}))),[q,n]),V=Object(f.useCallback)((function(){L?l(N.c.LAUNCH):M(x)}),[M,l,L,x]),Y=Object(f.useCallback)((function(e){D.current=e}),[]),z=Object(R.a)("adsPax");return Object(f.useEffect)((function(){z&&V()}),[z,V]),r.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--ads"},r.createElement("div",{className:"googlesitekit-setup-module__step"},r.createElement("div",{className:"googlesitekit-setup-module__logo"},r.createElement(y.a,{width:"40",height:"40"})),r.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(m._x)("Ads","Service name","google-site-kit"))),r.createElement("div",{className:"googlesitekit-setup-module__step"},r.createElement(_.a,{moduleSlug:"ads"}),z&&!T&&r.createElement(h.ProgressBar,null),!P&&N.c.LAUNCH===T&&L&&r.createElement(w.a,{displayMode:"setup",onLaunch:Y,onCampaignCreated:H,onFinishAndCloseSignUpFlow:K}),!z&&!P&&(!T||!L)&&r.createElement(f.Fragment,null,r.createElement("p",null,Object(p.a)(Object(m.__)("Add your conversion ID below. Site Kit will place it on your site so you can track the performance of your Google Ads campaigns. <a>Learn more</a>","google-site-kit"),{a:r.createElement(E.a,{path:"/google-ads/thread/108976144/where-i-can-find-google-conversion-id-begins-with-aw",external:!0})}),r.createElement("br",null),Object(m.__)("You can always change this later in Site Kit Settings.","google-site-kit")),r.createElement(O.a,{finishSetup:n,isNavigatingToOAuthURL:I,createAccountCTA:r.createElement(f.Fragment,null,r.createElement(h.SpinnerButton,{onClick:V,disabled:I,isSaving:I,inverse:!0},Object(m.__)("Create an account","google-site-kit")),!L&&r.createElement("p",{className:"googlesitekit-setup-module__permission-notice"},Object(m.__)("You’ll be asked to grant Site Kit additional permissions during the account creation process to create a new Ads account.","google-site-kit")))}))))}SetupMainPAX.defaultProps={finishSetup:function(){}}}).call(this,n(26),n(4))},838:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return PAXSetupSuccessSubtleNotification}));var i=n(15),a=n.n(i),o=n(2),c=n(3),s=n(60),u=n(89),l=n(209),d=n(193),g=n(25),f=n(192),p=n(265);function PAXSetupSuccessSubtleNotification(t){var n=t.id,i=t.Notification,m=Object(g.e)(),v=Object(c.useDispatch)(s.a).dismissNotification,b=Object(d.a)("notification"),h=a()(b,2)[1],y=function(){h(void 0)};return r.createElement(i,null,r.createElement(l.a,{title:Object(o.__)("Your Ads campaign was successfully set up!","google-site-kit"),description:Object(o.__)("Track your conversions, measure your campaign results and make the most of your ad spend","google-site-kit"),dismissCTA:r.createElement(f.a,{id:n,primary:!1,dismissLabel:Object(o.__)("Got it","google-site-kit"),onDismiss:y}),additionalCTA:r.createElement(p.a,{id:n,ctaLabel:Object(o.__)("Show me","google-site-kit"),onCTAClick:function(t){t.preventDefault(),setTimeout((function(){e.scrollTo({top:Object(u.a)(".googlesitekit-widget--partnerAdsPAX",m),behavior:"smooth"}),y(),v(n)}),50)}})}))}}).call(this,n(26),n(4))},839:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSuccessSubtleNotification}));var r=n(15),i=n.n(r),a=n(2),o=n(209),c=n(192),s=n(193);function SetupSuccessSubtleNotification(t){var n=t.id,r=t.Notification,u=Object(s.a)("notification"),l=i()(u,2)[1],d=Object(s.a)("slug"),g=i()(d,2)[1];return e.createElement(r,null,e.createElement(o.a,{title:Object(a.__)("Success! Your Conversion Tracking ID was added to your site","google-site-kit"),description:Object(a.__)("You can now track conversions for your Ads campaigns","google-site-kit"),dismissCTA:e.createElement(c.a,{id:n,primary:!1,dismissLabel:Object(a.__)("Got it","google-site-kit"),onDismiss:function(){l(void 0),g(void 0)}})}))}}).call(this,n(4))},84:function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return g}));var r="mainDashboardKeyMetricsPrimary",i="mainDashboardTrafficPrimary",a="mainDashboardTrafficAudienceSegmentation",o="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",s="mainDashboardMonetizationPrimary",u="entityDashboardTrafficPrimary",l="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",g="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:r,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:i,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:o,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:s,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:u,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:l,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:g}},85:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a),c=n(10),s=n(20);function CTA(t){var n=t.title,r=t.headerText,i=t.headerContent,a=t.description,u=t.ctaLink,l=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,f=t.error,p=t.onClick,m=t["aria-label"],v=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(r||i)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),i),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),l&&"button"===g&&e.createElement(c.Button,{"aria-label":m,href:u,onClick:p},l),l&&"link"===g&&e.createElement(s.a,{href:u,onClick:p,"aria-label":m,external:d,hideExternalIndicator:d,arrow:!0},l),v))}CTA.propTypes={title:i.a.string.isRequired,headerText:i.a.string,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node,headerContent:i.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},86:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},89:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),i=n(121);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=o(n);return i+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(26))},9:function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"n",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"v",(function(){return b})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return y})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return E})),n.d(t,"e",(function(){return _})),n.d(t,"r",(function(){return k})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return j})),n.d(t,"b",(function(){return A}));var r="modules/analytics-4",i="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",s=10,u=1,l="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",v="https://www.googleapis.com/auth/analytics.edit",b="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",E="dashboardAllTrafficWidgetLoaded",_={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},S="audiencePermissionsSetup",j="audienceTileCustomDimensionCreate",A="audience-selection-panel-expirable-new-badge-"},97:function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},972:function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(371),o=n(3),c=n(54),s=n(973),u=n(155),l=n(596),d=n(219),g=n(6),f=n(46);function PartnerAdsPAXWidget(t){var n=t.WidgetNull,r=t.Widget,i=Object(o.useSelect)((function(e){return e(g.a).isAdBlockerActive()})),a=Object(o.useSelect)((function(e){return e(u.c).getPaxConversionID()})),c=Object(o.useSelect)((function(e){return e(f.a).isWidgetActive("partnerAdsPAX")}));return(null==a?void 0:a.length)?i?e.createElement(r,null,e.createElement(d.a,{moduleSlug:"ads"})):c?e.createElement(r,{noPadding:!0},e.createElement(l.a,{displayMode:"reporting"})):e.createElement(r,{noPadding:!0}):e.createElement(n,null)}PartnerAdsPAXWidget.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(a.a)(Object(c.a)({moduleName:"ads"}),Object(s.a)({scopes:[u.a]}))(PartnerAdsPAXWidget)}).call(this,n(4))},973:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(3),i=n(6);function a(t){var n=t.scopes,a=void 0===n?[]:n,o=t.FallbackComponent;return function(t){function WhenScopesGranted(n){var c=Object(r.useSelect)((function(e){return a.map((function(t){return e(i.a).hasScope(t)}))}),[a]);if(c.some((function(e){return void 0===e})))return null;var s=o||n.WidgetNull||null;return c.some((function(e){return!1===e}))?s&&e.createElement(s,n):e.createElement(t,n)}return WhenScopesGranted.displayName="WhenScopesGranted",WhenScopesGranted}}}).call(this,n(4))},974:function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),u=n(3),l=n(155),d=n(641);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p,m={moduleData:{supportedConversionEvents:void 0}},v={receiveModuleData:function(e){return s()(e,"moduleData is required."),{payload:e,type:"RECEIVE_MODULE_DATA"}}},b={getModuleData:i.a.mark((function t(){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=null===(n=e._googlesitekitModulesData)||void 0===n?void 0:n.ads){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,v.receiveModuleData(r);case 5:case"end":return t.stop()}}),t)}))},h={getModuleData:function(e){return e.moduleData},getSupportedConversionEvents:(p="supportedConversionEvents",Object(u.createRegistrySelector)((function(e){return function(){return(e(l.c).getModuleData()||[])[p]}})))};t.a={initialState:m,actions:v,controls:d.a,reducer:function(e,t){var n=t.payload;switch(t.type){case"RECEIVE_MODULE_DATA":var r={supportedConversionEvents:n.supportedConversionEvents};return f(f({},e),{},{moduleData:r});default:return e}},resolvers:b,selectors:h}}).call(this,n(26))},98:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(220),i=n(86),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},99:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(7),i=n.n(r),a=n(13),o=n(100),c=n(101);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},l),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(i,n),d=Object(c.a)(i,n,s,r),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);g[r]||(g[r]=Object(a.once)(d)),g[r].apply(g,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:s,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))}},[[1233,1,0]]]);
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка