Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{0:function(t,r){t.exports=googlesitekit.i18n},102:function(t,r,e){"use strict";function n(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'$1')}function o(t){return"

".concat(t.replace(/\n{2,}/g,"

"),"

")}function a(t){return t.replace(/\n/gi,"
")}function i(t){for(var r=t,e=0,i=[n,o,a];e1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(r)))return"";var a=e.invertColor,i=void 0!==a&&a;return Object(n.a)(t.createElement(o.a,{direction:r>0?"up":"down",invertColor:i}))},i=function(t){var r,e,n,o,a,i,c,u,s,l,f,d,v,p,g;if(void 0!==t)return 1===(null==t||null===(r=t[0])||void 0===r||null===(e=r.data)||void 0===e||null===(n=e.rows)||void 0===n?void 0:n.length)||(null==t||null===(o=t[0])||void 0===o||null===(a=o.data)||void 0===a||null===(i=a.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(v=d.totals)||void 0===v||null===(p=v[0])||void 0===p||null===(g=p.values)||void 0===g?void 0:g[0])}}).call(this,e(2))},105:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return l}));var n=e(6),o=e.n(n),a=e(106),i=e(107);function c(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function u(t){for(var r=1;r1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=u(u({},s),r);return o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,"")),{enableTracking:Object(a.a)(o,e),disableTracking:function(){o.trackingEnabled=!1},isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:Object(i.a)(o,e,n)}}}).call(this,e(19))},106:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return a}));var n=e(67),o=e(44);function a(r,e){var a=Object(n.a)(e);return function(){r.trackingEnabled=!0;var e=t.document;if(!e.querySelector("script[".concat(o.b,"]"))){var n=e.createElement("script");n.setAttribute(o.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(r.trackingID,"&l=").concat(o.a),e.head.appendChild(n),a("js",new Date),a("config",r.trackingID)}}}}).call(this,e(19))},107:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return v}));var n=e(7),o=e.n(n),a=e(6),i=e.n(a),c=e(14),u=e.n(c),s=e(67),l=e(55);function f(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var r=1;r0&&void 0!==c[0]?c[0]:{},e=r.clearAfterRestore,n=void 0===e||e,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(o=t.sent,a=o.cacheHit,i=o.value,!a){t.next=13;break}return t.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",a);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))},a=(r={},i()(r,"DELETE_SNAPSHOT",(function(){return Object(v.a)("datastore::cache::".concat(t))})),i()(r,"CREATE_SNAPSHOT",p((function(r){return function(){return Object(v.d)("datastore::cache::".concat(t),r.stores[t].store.getState())}}))),i()(r,"RESTORE_SNAPSHOT",(function(){return Object(v.b)("datastore::cache::".concat(t),3600)})),r);return{initialState:e,actions:n,controls:a,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,n=r.type,a=r.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=a.snapshot,c=(i.error,o()(i,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}},32:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return c}));var n=e(25),o=e.n(n),a=e(2),i=function(t){return function(r){return function FilteredComponent(e){return Object(a.createElement)(a.Fragment,{},"",Object(a.createElement)(r,e),t)}}},c=function(r,e){return function(n){return function InnerComponent(a){return t.createElement(r,o()({},a,e,{OriginalComponent:n}))}}}}).call(this,e(2))},4:function(t,r){t.exports=googlesitekit.data},43:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"c",(function(){return o})),e.d(r,"b",(function(){return a}));var n="Date param must construct to a valid date instance or be a valid date instance itself.",o="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".'},44:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return o}));var n="_googlesitekitDataLayer",o="data-googlesitekit-gtag"},45:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(54),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r="string"==typeof t;if(!r)return!1;var e=t.split("-");return 3===e.length&&Object(n.a)(new Date(t))}},47:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return l}));var n,o=e(15),a=e.n(o),i=e(16),c=e.n(i),u=function(r){var e=t[r];if(!e)return!1;try{var n="__storage_test__";return e.setItem(n,n),e.removeItem(n),!0}catch(t){return t instanceof DOMException&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&0!==e.length}},s=function(){function NullStorage(){a()(this,NullStorage)}return c()(NullStorage,[{key:"key",value:function(){return null}},{key:"getItem",value:function(){return null}},{key:"setItem",value:function(){}},{key:"removeItem",value:function(){}},{key:"clear",value:function(){}},{key:"length",get:function(){return 0}}]),NullStorage}(),l=function(){return n||(n=u("sessionStorage")?t.sessionStorage:u("localStorage")?t.localStorage:new s),n}}).call(this,e(19))},5:function(t,r,e){"use strict";(function(t){e.d(r,"l",(function(){return S})),e.d(r,"a",(function(){return _})),e.d(r,"i",(function(){return D})),e.d(r,"k",(function(){return P})),e.d(r,"y",(function(){return A})),e.d(r,"u",(function(){return x})),e.d(r,"d",(function(){return N}));var n=e(6),o=e.n(n),a=e(33),i=e.n(a),c=e(149),u=e.n(c),s=e(143),l=e.n(s),f=e(20),d=e(100),v=e(58);e.d(r,"w",(function(){return v.b}));var p=e(32),g=e(76);e.d(r,"t",(function(){return g.a})),e.d(r,"x",(function(){return g.b}));var b=e(71);e.d(r,"v",(function(){return b.a}));var h=e(86);e.d(r,"b",(function(){return h.b})),e.d(r,"j",(function(){return h.c}));e(47);var m=e(88);e.d(r,"h",(function(){return m.a})),e.d(r,"o",(function(){return m.b})),e.d(r,"r",(function(){return m.c})),e.d(r,"s",(function(){return m.d})),e.d(r,"e",(function(){return p.b}));var y=e(102);e.d(r,"p",(function(){return y.a}));var O=e(103);e.d(r,"c",(function(){return O.a}));e(50);var j=e(104);e.d(r,"f",(function(){return j.a})),e.d(r,"n",(function(){return j.b}));var w=e(99);function k(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function E(t){for(var r=1;r0&&void 0!==arguments[0]?arguments[0]:t._googlesitekitLegacyData,e=r.modules;return e?Object.keys(e).reduce((function(t,r){return"object"!==i()(e[r])||void 0===e[r].slug||void 0===e[r].name||e[r].slug!==r?t:E(E({},t),{},o()({},r,e[r]))}),{}):{}},P=function(r,e){var n=t._googlesitekitLegacyData.admin.adminRoot;return r||(r="googlesitekit-dashboard"),e=E({page:r},e),Object(d.a)(n,e)},A=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},x=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(f.b)("googlesitekit.ErrorNotification","googlesitekit.ErrorNotification",Object(p.b)(t,r),1)},N=function(t){if(!t)return"";var r=t.replace(/&#(\d+);/g,(function(t,r){return String.fromCharCode(r)})).replace(/(\\)/g,"");return l()(r)}}).call(this,e(19))},50:function(t,r,e){"use strict";e.d(r,"a",(function(){return n.b})),e.d(r,"b",(function(){return n.c})),e.d(r,"e",(function(){return o.a})),e.d(r,"f",(function(){return a.a})),e.d(r,"g",(function(){return i})),e.d(r,"h",(function(){return c})),e.d(r,"i",(function(){return u.a})),e.d(r,"d",(function(){return s})),e.d(r,"c",(function(){return f}));var n=e(43),o=e(66),a=e(56),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=r%7,n=0===e;if(n)return Object(a.a)(t,r);var o=r>7&&e<3,i=o?r-e:r+(7-e);return Object(a.a)(t,i)},c=(e(54),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=t.split("-");return 3===r.length&&"last"===r[0]&&!Number.isNaN(r[1])&&!Number.isNaN(parseFloat(r[1]))&&"days"===r[2]}),u=e(45);function s(t){var r=t.match(/last-(\d+)-days/);if(r&&r[1])return parseInt(r[1],10);throw new Error("Unrecognized date range slug.")}var l=e(0);function f(){var t=function(t){return Object(l.sprintf)( /* translators: %s: number of days */ Object(l._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},54:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},55:function(t,r,e){"use strict";(function(t){var n,o;e.d(r,"a",(function(){return a})),e.d(r,"b",(function(){return i}));var a=new Set((null===(n=t)||void 0===n||null===(o=n._googlesitekitBaseData)||void 0===o?void 0:o.enabledFeatures)||[]),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return r instanceof Set&&r.has(t)}}).call(this,e(19))},56:function(t,r,e){"use strict";e.d(r,"a",(function(){return l}));var n=e(12),o=e.n(n),a=e(10),i=e.n(a),c=e(43),u=e(66),s=e(45),l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0;i()(Object(s.a)(t),c.c);var e=t.split("-"),n=o()(e,3),a=n[0],l=n[1],f=n[2],d=new Date(a,l-1,f);return d.setDate(d.getDate()-r),Object(u.a)(d)}},58:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return v})),e.d(r,"b",(function(){return d}));var n=e(105),o=t._googlesitekitBaseData||{},a=o.isFirstAdmin,i=o.trackingAllowed,c={isFirstAdmin:a,trackingEnabled:o.trackingEnabled,trackingID:o.trackingID,referenceSiteURL:o.referenceSiteURL,userIDHash:o.userIDHash},u=Object(n.a)(c),s=u.enableTracking,l=u.disableTracking,f=u.isTrackingEnabled,d=u.trackEvent;function v(t){t?s():l()}!0===i&&v(f())}).call(this,e(19))},66:function(t,r,e){"use strict";e.d(r,"a",(function(){return c}));var n=e(10),o=e.n(n),a=e(43),i=e(54),c=function(t){var r=new Date(t);o()(Object(i.a)(r),a.a);var e="".concat(r.getMonth()+1),n="".concat(r.getDate());return[r.getFullYear(),e.length<2?"0".concat(e):e,n.length<2?"0".concat(n):n].join("-")}},67:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(44);function o(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},68:function(t,r,e){"use strict";(function(t){var n=e(1),o=e.n(n),a=e(8),i=e.n(a);function ChangeArrow(r){var e=r.direction,n=r.invertColor,o=r.width,a=r.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"googlesitekit-change-arrow--inverted-color":n}),width:o,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:o.a.string,invertColor:o.a.bool,width:o.a.number,height:o.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},r.a=ChangeArrow}).call(this,e(2))},71:function(t,r,e){"use strict";e.d(r,"a",(function(){return c}));var n=e(33),o=e.n(n),a=e(98),i=e.n(a),c=function(t){return i()(JSON.stringify(function t(r){var e={};return Object.keys(r).sort().forEach((function(n){var a=r[n];a&&"object"===o()(a)&&!Array.isArray(a)&&(a=t(a)),e[n]=a})),e}(t)))}},75:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return b}));var n=e(6),o=e.n(n),a=e(33),i=e.n(a),c=e(10),u=e.n(c),s=e(98),l=e.n(s),f=e(5);function d(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function v(t){for(var r=1;r2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"selectorName is required."),t.getError(r,e,n)},getErrorForAction:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"actionName is required."),t.getError(r,e,n)},getError:function(t,r,e){var n=t.error,o=t.errors;return r||e?(u()(r,"baseName is required."),o[p(r,e)]):n},getErrors:function(t){var r=new Set(Object.values(t.errors));return void 0!==t.error&&r.add(t.error),Array.from(r)},hasErrors:function(r){return t.getErrors(r).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"RECEIVE_ERROR":var a=n.baseName,i=n.args,c=n.error;return v(v({},t),{},a?{errors:v(v({},t.errors||{}),{},o()({},p(a,i),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=v({},t);if(u){var f=p(u,s);l.errors=v({},t.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,g=v({},t);if(d)for(var b in g.errors=v({},t.errors||{}),g.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return t}},resolvers:{},selectors:t}}},76:function(t,r,e){"use strict";e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return c}));var n=e(33),o=e.n(n),a=e(108),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(t,r)}};function c(t){var r,e="object"===o()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},78:function(t,r,e){"use strict";e.d(r,"b",(function(){return n})),e.d(r,"a",(function(){return n}));var n="core/forms"},86:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return u})),e.d(r,"b",(function(){return s})),e.d(r,"c",(function(){return f}));var n=e(12),o=e.n(n),a=e(0);function i(t,r){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return c(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return i=t.done,t},e:function(t){u=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(u)throw a}}}}function c(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e0&&void 0!==arguments[0]?arguments[0]:0,r=null,e=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),o=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&o)return!1;if(r=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),e=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===r&&null===e)return!1;var i=document.createElement("span");i.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(a.sprintf)( /* translators: %d is the number of notifications */ Object(a._n)("%d notification","%d notifications",t,"google-site-kit"),t),i.appendChild(c),i.appendChild(u),r&&null===n&&r.appendChild(i),e&&null===o&&e.appendChild(i),i},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var r=location.search.substr(1).split("&"),e={},n=0;n1&&void 0!==arguments[1]?arguments[1]:location,e=new URL(r.href);if(t)return e.searchParams&&e.searchParams.get?e.searchParams.get(t):l(t);var n,a={},c=i(e.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=o()(n.value,2),s=u[0],f=u[1];a[s]=f}}catch(t){c.e(t)}finally{c.f()}return a}}).call(this,e(19))},88:function(t,r,e){"use strict";(function(t){e.d(r,"c",(function(){return h})),e.d(r,"d",(function(){return m})),e.d(r,"b",(function(){return y})),e.d(r,"a",(function(){return O}));var n=e(33),o=e.n(n),a=e(6),i=e.n(a),c=e(26),u=e.n(c),s=e(23),l=e(0);function f(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var r=1;r1&&void 0!==arguments[1]?arguments[1]:{},e=p(t,r),n=e.formatUnit,o=e.formatDecimal;try{return n()}catch(t){return o()}},p=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var e=Math.floor(t/60/60),n=Math.floor(t/60%60),o=Math.floor(t%60);return{hours:e,minutes:n,seconds:o,formatUnit:function(){var a=r.unitDisplay,i=d(d({unitDisplay:void 0===a?"short":a},u()(r,["unitDisplay"])),{},{style:"unit"});return 0===t?m(o,d(d({},i),{},{unit:"second"})):Object(l.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(l._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?m(o,d(d({},i),{},{unit:"second"})):"",n?m(n,d(d({},i),{},{unit:"minute"})):"",e?m(e,d(d({},i),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var r=Object(l.sprintf)(// translators: %s number of seconds with "s" as the abbreviated unit. Object(l.__)("%ds","google-site-kit"),o);if(0===t)return r;var a=Object(l.sprintf)(// translators: %s number of minutes with "m" as the abbreviated unit. Object(l.__)("%dm","google-site-kit"),n),i=Object(l.sprintf)(// translators: %s number of hours with "h" as the abbreviated unit. Object(l.__)("%dh","google-site-kit"),e);return Object(l.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(l._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?r:"",n?a:"",e?i:"").trim()}}},g=function(t){return 1e6<=t?Math.round(t/1e5)/10:1e4<=t?Math.round(t/1e3):1e3<=t?Math.round(t/100)/10:t},b=function(t){var r={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=t?Object(l.sprintf)(// translators: %s: an abbreviated number in millions. Object(l.__)("%sM","google-site-kit"),m(g(t),t%10==0?{}:r)):1e4<=t?Object(l.sprintf)(// translators: %s: an abbreviated number in thousands. Object(l.__)("%sK","google-site-kit"),m(g(t))):1e3<=t?Object(l.sprintf)(// translators: %s: an abbreviated number in thousands. Object(l.__)("%sK","google-site-kit"),m(g(t),t%10==0?{}:r)):m(t,{signDisplay:"never",maximumFractionDigits:1})},h=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(s.isFinite)(t)?t:Number(t),Object(s.isFinite)(t)||(console.warn("Invalid number",t,o()(t)),t=0);var e={};if("%"===r)e={style:"percent",maximumFractionDigits:2};else{if("s"===r)return v(t,{unitDisplay:"narrow"});r&&"string"==typeof r?e={style:"currency",currency:r}:Object(s.isPlainObject)(r)&&(e=d({},r))}var n=e,a=n.style,i=void 0===a?"metric":a;return"metric"===i?b(t):"duration"===i?v(t,r):m(t,e)},m=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?O():e,o=u()(r,["locale"]);return new Intl.NumberFormat(n,o).format(t)},y=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?O():e,o=r.style,a=void 0===o?"long":o,i=r.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:a,type:c});return u.format(t)} /* translators: used between list items, there is a space after the comma. */var s=Object(l.__)(", ","google-site-kit");return t.join(s)},O=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,e=Object(s.get)(r,["_googlesitekitLegacyData","locale"]);if(e){var n=e.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return r.navigator.language}}).call(this,e(19))},90:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return g})),e.d(r,"d",(function(){return b})),e.d(r,"a",(function(){return h})),e.d(r,"c",(function(){return m}));var n=e(7),o=e.n(n),a=e(14),i=e.n(a);e(35);function c(t,r){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return u(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return u(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw a}}}}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e2&&void 0!==g[2]?g[2]:{},i=a.ttl,c=void 0===i?3600:i,u=a.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=a.isError,d=void 0!==f&&f,r.next=3,p();case 3:if(!(v=r.sent)){r.next=14;break}return r.prev=5,v.setItem("".concat(l).concat(e),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(5),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 14:return r.abrupt("return",!1);case 15:case"end":return r.stop()}}),r,null,[[5,10]])})));return function(t,e){return r.apply(this,arguments)}}(),h=function(){var r=i()(o.a.mark((function r(e){var n;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,p();case 2:if(!(n=r.sent)){r.next=13;break}return r.prev=4,n.removeItem("".concat(l).concat(e)),r.abrupt("return",!0);case 9:return r.prev=9,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 13:return r.abrupt("return",!1);case 14:case"end":return r.stop()}}),r,null,[[4,9]])})));return function(t){return r.apply(this,arguments)}}(),m=function(){var r=i()(o.a.mark((function r(){var e,n,a,i;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,p();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],a=0;a