(window["__googlesitekit_webpackJsonp"] = window["__googlesitekit_webpackJsonp"] || []).push([["googlesitekit-datastore-site"],{

/***/ "./js/api-fetch-shim.js":
/*!******************************!*\
  !*** ./js/api-fetch-shim.js ***!
  \******************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/api-fetch__non-shim */ \"../node_modules/@wordpress/api-fetch/build/index.js\");\n/* harmony import */ var _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _googlesitekit_api_middleware_preloading_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./googlesitekit/api/middleware/preloading.js */ \"./js/googlesitekit/api/middleware/preloading.js\");\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n/**\n * API Fetch Shim.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nvar _ref = global._googlesitekitAPIFetchData || {},\n  nonce = _ref.nonce,\n  nonceEndpoint = _ref.nonceEndpoint,\n  preloadedData = _ref.preloadedData,\n  rootURL = _ref.rootURL;\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.nonceEndpoint = nonceEndpoint;\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.nonceMiddleware = _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.createNonceMiddleware(nonce);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.rootURLMiddleware = _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.createRootURLMiddleware(rootURL);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.preloadingMiddleware = Object(_googlesitekit_api_middleware_preloading_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(preloadedData);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.use(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.nonceMiddleware);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.use(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.mediaUploadMiddleware);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.use(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.rootURLMiddleware);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.use(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.preloadingMiddleware);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9hcGktZmV0Y2gtc2hpbS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2FwaS1mZXRjaC1zaGltLmpzPzMzYTYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBUEkgRmV0Y2ggU2hpbS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBh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RpbmdNaWRkbGV3YXJlICk7XG5cbmV4cG9ydCAqIGZyb20gJ0B3b3JkcHJlc3MvYXBpLWZldGNoX19ub24tc2hpbSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFwaUZldGNoO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/api-fetch-shim.js\n");

/***/ }),

/***/ "./js/components/ChangeArrow.js":
/*!**************************************!*\
  !*** ./js/components/ChangeArrow.js ***!
  \**************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n\n/**\n * External dependencies\n */\n\n\nfunction ChangeArrow(_ref) {\n  var direction = _ref.direction,\n    invertColor = _ref.invertColor,\n    width = _ref.width,\n    height = _ref.height;\n  return /*#__PURE__*/React.createElement(\"svg\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-change-arrow', \"googlesitekit-change-arrow--\".concat(direction), {\n      'googlesitekit-change-arrow--inverted-color': invertColor\n    }),\n    width: width,\n    height: height,\n    viewBox: \"0 0 10 10\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    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\",\n    fill: \"currentColor\"\n  }));\n}\nChangeArrow.propTypes = {\n  direction: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  invertColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  width: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  height: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number\n};\nChangeArrow.defaultProps = {\n  direction: 'up',\n  invertColor: false,\n  width: 9,\n  height: 9\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ChangeArrow);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0NoYW5nZUFycm93LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9DaGFuZ2VBcnJvdy5qcz9iNjAwIl0sInNvdXJjZX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wVHlwZXMgPSB7XG5cdGRpcmVjdGlvbjogUHJvcFR5cGVzLnN0cmluZyxcblx0aW52ZXJ0Q29sb3I6IFByb3BUeXBlcy5ib29sLFxuXHR3aWR0aDogUHJvcFR5cGVzLm51bWJlcixcblx0aGVpZ2h0OiBQcm9wVHlwZXMubnVtYmVyLFxufTtcblxuQ2hhbmdlQXJyb3cuZGVmYXVsdFByb3BzID0ge1xuXHRkaXJlY3Rpb246ICd1cCcsXG5cdGludmVydENvbG9yOiBmYWxzZSxcblx0d2lkdGg6IDksXG5cdGhlaWdodDogOSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IENoYW5nZUFycm93O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBR0E7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/ChangeArrow.js\n");

/***/ }),

/***/ "./js/features/index.js":
/*!******************************!*\
  !*** ./js/features/index.js ***!
  \******************************/
/*! exports provided: enabledFeatures, isFeatureEnabled */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"enabledFeatures\", function() { return enabledFeatures; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isFeatureEnabled\", function() { return isFeatureEnabled; });\nvar _global, _global$_googlesiteki;\n/**\n * Feature flags.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar enabledFeatures = new Set(((_global = global) === null || _global === void 0 ? void 0 : (_global$_googlesiteki = _global._googlesitekitBaseData) === null || _global$_googlesiteki === void 0 ? void 0 : _global$_googlesiteki.enabledFeatures) || []);\n\n/**\n * Returns true if a feature is enabled; false otherwise.\n *\n * @since 1.25.0\n * @since 1.33.0 Changed _enabledFeatures argument to be a `Set` instead of `Array`.\n *\n * @param {string} feature            The name of the feature to check.\n * @param {Set}    [_enabledFeatures] Optional. The set of enabled features. Uses `enabledFeatures` set by the server in a global JS variable, by default.\n * @return {boolean} `true` if a feature is enabled; `false` otherwise.\n */\nfunction isFeatureEnabled(feature) {\n  var _enabledFeatures = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : enabledFeatures;\n  if (!(_enabledFeatures instanceof Set)) {\n    return false;\n  }\n  return _enabledFeatures.has(feature);\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9mZWF0dXJlcy9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2ZlYXR1cmVzL2luZGV4LmpzPzgyM2MiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBGZWF0dXJlIGZsYWdzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlI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BO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/features/index.js\n");

/***/ }),

/***/ "./js/googlesitekit-datastore-site.js":
/*!********************************************!*\
  !*** ./js/googlesitekit-datastore-site.js ***!
  \********************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _googlesitekit_datastore_site__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./googlesitekit/datastore/site */ \"./js/googlesitekit/datastore/site/index.js\");\n/**\n * Entrypoint for the \"core/site\" data store.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\nObject(_googlesitekit_datastore_site__WEBPACK_IMPORTED_MODULE_1__[\"registerStore\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default.a);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0LWRhdGFzdG9yZS1zaXRlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWN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IGZyb20gJ2dvb2dsZXNpdGVraXQtZGF0YSc7XG5pbXBvcnQgeyByZWdpc3RlclN0b3JlIH0gZnJvbSAnLi9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9zaXRlJztcblxucmVnaXN0ZXJTdG9yZSggRGF0YSApO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit-datastore-site.js\n");

/***/ }),

/***/ "./js/googlesitekit/api/cache.js":
/*!***************************************!*\
  !*** ./js/googlesitekit/api/cache.js ***!
  \***************************************/
/*! exports provided: STORAGE_KEY_PREFIX_ROOT, STORAGE_KEY_PREFIX, setSelectedStorageBackend, setStorageOrder, resetDefaultStorageOrder, isStorageAvailable, getStorage, getItem, setItem, deleteItem, getKeys, clearCache */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"STORAGE_KEY_PREFIX_ROOT\", function() { return STORAGE_KEY_PREFIX_ROOT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"STORAGE_KEY_PREFIX\", function() { return STORAGE_KEY_PREFIX; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setSelectedStorageBackend\", function() { return setSelectedStorageBackend; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setStorageOrder\", function() { return setStorageOrder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resetDefaultStorageOrder\", function() { return resetDefaultStorageOrder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isStorageAvailable\", function() { return isStorageAvailable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStorage\", function() { return getStorage; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getItem\", function() { return getItem; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setItem\", function() { return setItem; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"deleteItem\", function() { return deleteItem; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getKeys\", function() { return getKeys; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"clearCache\", function() { return clearCache; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n/**\n * Caching functions and cache management for API requests.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n/**\n * Prefix used for all Site Kit keys.\n *\n * Anything not using this prefix should not be touched by this library.\n *\n * @since 1.96.0\n * @private\n */\nvar STORAGE_KEY_PREFIX_ROOT = 'googlesitekit_';\n\n/**\n * Prefix used for all Site Kit keys for the current Site Kit version.\n *\n * Anything not using this key should not be touched by this library.\n *\n * @since 1.5.0\n * @since 1.92.0 Updated to include a user, session, and blog-specific hash.\n * @since 1.96.0 Updated to make use of the new STORAGE_KEY_PREFIX_ROOT constant.\n * @private\n */\nvar STORAGE_KEY_PREFIX = \"\".concat(STORAGE_KEY_PREFIX_ROOT).concat(\"1.161.0\", \"_\").concat(global._googlesitekitBaseData.storagePrefix, \"_\");\nvar defaultOrder = ['sessionStorage', 'localStorage'];\nvar storageBackend;\nvar storageOrder = [].concat(defaultOrder);\n\n/**\n * Overrides the storage backend.\n *\n * Largely used for tests. Should not be used directly.\n *\n * @since 1.5.0\n * @private\n *\n * @param {*} backend Backend to set for the cache.\n */\nfunction setSelectedStorageBackend(backend) {\n  storageBackend = backend;\n}\n\n/**\n * Overrides the priority of storage mechanisms.\n *\n * Largely used for tests. Implicitly resets the selected storage backend,\n * causing `_getStorage` to re-run its checks for the best available\n * storage backend.\n *\n * @since 1.5.0\n * @private\n *\n * @param {Array} order Ordered array of storage backends to use.\n */\nfunction setStorageOrder(order) {\n  storageOrder = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default()(order);\n  setSelectedStorageBackend(undefined);\n}\n\n/**\n * Resets the storage mechanism order.\n *\n * Largely used for tests. Implicitly resets the selected storage backend,\n * causing `_getStorage` to re-run its checks for the best available\n * storage backend.\n *\n * @since 1.5.0\n * @private\n */\nfunction resetDefaultStorageOrder() {\n  storageOrder = [].concat(defaultOrder);\n  setSelectedStorageBackend(undefined);\n}\n\n/**\n * Detects whether browser storage is both supported and available.\n *\n * @since 1.5.0\n * @private\n *\n * @param {string} type Browser storage to test. Should be one of `localStorage` or `sessionStorage`.\n * @return {boolean} True if the given storage is available, false otherwise.\n */\n// eslint-disable-next-line require-await\nfunction isStorageAvailable(_x) {\n  return _isStorageAvailable.apply(this, arguments);\n}\n\n/**\n * Gets the storage object to use.\n *\n * @since 1.5.0\n * @private\n *\n * @return {Storage|null} A storage mechanism (`localStorage` or `sessionStorage`) if available; otherwise returns `null`.\n */\nfunction _isStorageAvailable() {\n  _isStorageAvailable = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(type) {\n    var storage, x;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            storage = global[type];\n            if (storage) {\n              _context.next = 3;\n              break;\n            }\n            return _context.abrupt(\"return\", false);\n          case 3:\n            _context.prev = 3;\n            x = '__storage_test__';\n            storage.setItem(x, x);\n            storage.removeItem(x);\n            return _context.abrupt(\"return\", true);\n          case 10:\n            _context.prev = 10;\n            _context.t0 = _context[\"catch\"](3);\n            return _context.abrupt(\"return\", _context.t0 instanceof DOMException && (\n            // everything except Firefox\n            22 === _context.t0.code ||\n            // Firefox\n            1014 === _context.t0.code ||\n            // test name field too, because code might not be present\n            // everything except Firefox\n            'QuotaExceededError' === _context.t0.name ||\n            // Firefox\n            'NS_ERROR_DOM_QUOTA_REACHED' === _context.t0.name) &&\n            // acknowledge QuotaExceededError only if there's something already stored\n            0 !== storage.length);\n          case 13:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee, null, [[3, 10]]);\n  }));\n  return _isStorageAvailable.apply(this, arguments);\n}\nfunction getStorage() {\n  return _getStorage.apply(this, arguments);\n}\n\n/**\n * Gets cached data.\n *\n * Get cached data from the persistent storage cache.\n *\n * @since 1.5.0\n *\n * @param {string} key Name of cache key.\n * @return {Promise} A promise returned, containing an object with the cached value (if found) and whether or not there was a cache hit.\n */\nfunction _getStorage() {\n  _getStorage = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\n    var _iterator, _step, backend;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            if (!(storageBackend !== undefined)) {\n              _context2.next = 2;\n              break;\n            }\n            return _context2.abrupt(\"return\", storageBackend);\n          case 2:\n            // Only run the logic to determine the storage object once.\n            _iterator = _createForOfIteratorHelper(storageOrder);\n            _context2.prev = 3;\n            _iterator.s();\n          case 5:\n            if ((_step = _iterator.n()).done) {\n              _context2.next = 15;\n              break;\n            }\n            backend = _step.value;\n            if (!storageBackend) {\n              _context2.next = 9;\n              break;\n            }\n            return _context2.abrupt(\"continue\", 13);\n          case 9:\n            _context2.next = 11;\n            return isStorageAvailable(backend);\n          case 11:\n            if (!_context2.sent) {\n              _context2.next = 13;\n              break;\n            }\n            storageBackend = global[backend];\n          case 13:\n            _context2.next = 5;\n            break;\n          case 15:\n            _context2.next = 20;\n            break;\n          case 17:\n            _context2.prev = 17;\n            _context2.t0 = _context2[\"catch\"](3);\n            _iterator.e(_context2.t0);\n          case 20:\n            _context2.prev = 20;\n            _iterator.f();\n            return _context2.finish(20);\n          case 23:\n            if (storageBackend === undefined) {\n              storageBackend = null;\n            }\n            return _context2.abrupt(\"return\", storageBackend);\n          case 25:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2, null, [[3, 17, 20, 23]]);\n  }));\n  return _getStorage.apply(this, arguments);\n}\nfunction getItem(_x2) {\n  return _getItem.apply(this, arguments);\n}\n\n/**\n * Sets cached data using a key.\n *\n * Save data to the relevant local storage mechanism, if available.\n * By default, data is saved with a one hour (60 minute) TTL.\n *\n * @since 1.5.0\n *\n * @param {string}  key              Name of cache key.\n * @param {*}       value            Value to store in the cache.\n * @param {Object}  args             Optional object containing ttl, timestamp and isError keys.\n * @param {number}  [args.ttl]       Optional. Validity of the cached item in seconds.\n * @param {number}  [args.timestamp] Optional. Timestamp when the cached item was created.\n * @param {boolean} [args.isError]   Optional. Whether the cached item is an error.\n * @return {Promise} A promise: resolves to `true` if the value was saved; `false` if not (usually because no storage method was available).\n */\nfunction _getItem() {\n  _getItem = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(key) {\n    var storage, cachedData, parsedData, timestamp, ttl, value, isError;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return getStorage();\n          case 2:\n            storage = _context3.sent;\n            if (!storage) {\n              _context3.next = 10;\n              break;\n            }\n            cachedData = storage.getItem(\"\".concat(STORAGE_KEY_PREFIX).concat(key));\n            if (!cachedData) {\n              _context3.next = 10;\n              break;\n            }\n            parsedData = JSON.parse(cachedData);\n            timestamp = parsedData.timestamp, ttl = parsedData.ttl, value = parsedData.value, isError = parsedData.isError; // Ensure a timestamp is found, otherwise this isn't a valid cache hit.\n            // (We don't check for a truthy `value`, because it could be legitimately\n            // false-y if `0`, `null`, etc.)\n            if (!(timestamp && (!ttl ||\n            // Ensure the cached data isn't too old.\n            // The cache dates shouldn't rely on reference\n            // dates for cache expiration. This is a case\n            // where we actually want to rely on\n            // the _actual_ date/time the data was set.\n            Math.round(Date.now() / 1000) - timestamp < ttl) // eslint-disable-line sitekit/no-direct-date\n            )) {\n              _context3.next = 10;\n              break;\n            }\n            return _context3.abrupt(\"return\", {\n              cacheHit: true,\n              value: value,\n              isError: isError\n            });\n          case 10:\n            return _context3.abrupt(\"return\", {\n              cacheHit: false,\n              value: undefined\n            });\n          case 11:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, _callee3);\n  }));\n  return _getItem.apply(this, arguments);\n}\nfunction setItem(_x3, _x4) {\n  return _setItem.apply(this, arguments);\n}\n\n/**\n * Removes cached data by key.\n *\n * Remove one piece of cached data from the persistent storage cache, by key.\n *\n * @since 1.5.0\n *\n * @param {string} key Name of cache key.\n * @return {Promise} A promise: resolves to `true` if the value was deleted; `false` if not (usually because no storage method was available).\n */\nfunction _setItem() {\n  _setItem = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee4(key, value) {\n    var _ref,\n      _ref$ttl,\n      ttl,\n      _ref$timestamp,\n      timestamp,\n      _ref$isError,\n      isError,\n      storage,\n      _args4 = arguments;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee4$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _ref = _args4.length > 2 && _args4[2] !== undefined ? _args4[2] : {}, _ref$ttl = _ref.ttl, ttl = _ref$ttl === void 0 ? _js_util__WEBPACK_IMPORTED_MODULE_3__[\"HOUR_IN_SECONDS\"] : _ref$ttl, _ref$timestamp = _ref.timestamp, timestamp = _ref$timestamp === void 0 ? Math.round(Date.now() / 1000) : _ref$timestamp, _ref$isError = _ref.isError, isError = _ref$isError === void 0 ? false : _ref$isError;\n            _context4.next = 3;\n            return getStorage();\n          case 3:\n            storage = _context4.sent;\n            if (!storage) {\n              _context4.next = 14;\n              break;\n            }\n            _context4.prev = 5;\n            storage.setItem(\"\".concat(STORAGE_KEY_PREFIX).concat(key), JSON.stringify({\n              timestamp: timestamp,\n              ttl: ttl,\n              value: value,\n              isError: isError\n            }));\n            return _context4.abrupt(\"return\", true);\n          case 10:\n            _context4.prev = 10;\n            _context4.t0 = _context4[\"catch\"](5);\n            global.console.warn('Encountered an unexpected storage error:', _context4.t0);\n            return _context4.abrupt(\"return\", false);\n          case 14:\n            return _context4.abrupt(\"return\", false);\n          case 15:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, _callee4, null, [[5, 10]]);\n  }));\n  return _setItem.apply(this, arguments);\n}\nfunction deleteItem(_x5) {\n  return _deleteItem.apply(this, arguments);\n}\n\n/**\n * Gets all cache keys created by Site Kit.\n *\n * @since 1.5.0\n *\n * @return {Promise} A promise: resolves to an array of all keys.\n */\nfunction _deleteItem() {\n  _deleteItem = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee5(key) {\n    var storage, fullKey;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee5$(_context5) {\n      while (1) {\n        switch (_context5.prev = _context5.next) {\n          case 0:\n            _context5.next = 2;\n            return getStorage();\n          case 2:\n            storage = _context5.sent;\n            if (!storage) {\n              _context5.next = 14;\n              break;\n            }\n            _context5.prev = 4;\n            fullKey = key.startsWith(STORAGE_KEY_PREFIX_ROOT) ? key : \"\".concat(STORAGE_KEY_PREFIX).concat(key);\n            storage.removeItem(fullKey);\n            return _context5.abrupt(\"return\", true);\n          case 10:\n            _context5.prev = 10;\n            _context5.t0 = _context5[\"catch\"](4);\n            global.console.warn('Encountered an unexpected storage error:', _context5.t0);\n            return _context5.abrupt(\"return\", false);\n          case 14:\n            return _context5.abrupt(\"return\", false);\n          case 15:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, _callee5, null, [[4, 10]]);\n  }));\n  return _deleteItem.apply(this, arguments);\n}\nfunction getKeys() {\n  return _getKeys.apply(this, arguments);\n}\n\n/**\n * Removes the entire cache created by Site Kit.\n *\n * @since 1.5.0\n *\n * @return {Promise} A promise: resolves to `true` if the cache was cleared; `false` if there was an error.\n */\nfunction _getKeys() {\n  _getKeys = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee6() {\n    var storage, keys, i, itemKey;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee6$(_context6) {\n      while (1) {\n        switch (_context6.prev = _context6.next) {\n          case 0:\n            _context6.next = 2;\n            return getStorage();\n          case 2:\n            storage = _context6.sent;\n            if (!storage) {\n              _context6.next = 14;\n              break;\n            }\n            _context6.prev = 4;\n            keys = [];\n            for (i = 0; i < storage.length; i++) {\n              itemKey = storage.key(i);\n              if (itemKey.indexOf(STORAGE_KEY_PREFIX_ROOT) === 0) {\n                keys.push(itemKey);\n              }\n            }\n            return _context6.abrupt(\"return\", keys);\n          case 10:\n            _context6.prev = 10;\n            _context6.t0 = _context6[\"catch\"](4);\n            global.console.warn('Encountered an unexpected storage error:', _context6.t0);\n            return _context6.abrupt(\"return\", []);\n          case 14:\n            return _context6.abrupt(\"return\", []);\n          case 15:\n          case \"end\":\n            return _context6.stop();\n        }\n      }\n    }, _callee6, null, [[4, 10]]);\n  }));\n  return _getKeys.apply(this, arguments);\n}\nfunction clearCache() {\n  return _clearCache.apply(this, arguments);\n}\nfunction _clearCache() {\n  _clearCache = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee7() {\n    var storage, keys, _iterator2, _step2, key;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee7$(_context7) {\n      while (1) {\n        switch (_context7.prev = _context7.next) {\n          case 0:\n            _context7.next = 2;\n            return getStorage();\n          case 2:\n            storage = _context7.sent;\n            if (!storage) {\n              _context7.next = 25;\n              break;\n            }\n            _context7.next = 6;\n            return getKeys();\n          case 6:\n            keys = _context7.sent;\n            _iterator2 = _createForOfIteratorHelper(keys);\n            _context7.prev = 8;\n            _iterator2.s();\n          case 10:\n            if ((_step2 = _iterator2.n()).done) {\n              _context7.next = 16;\n              break;\n            }\n            key = _step2.value;\n            _context7.next = 14;\n            return deleteItem(key);\n          case 14:\n            _context7.next = 10;\n            break;\n          case 16:\n            _context7.next = 21;\n            break;\n          case 18:\n            _context7.prev = 18;\n            _context7.t0 = _context7[\"catch\"](8);\n            _iterator2.e(_context7.t0);\n          case 21:\n            _context7.prev = 21;\n            _iterator2.f();\n            return _context7.finish(21);\n          case 24:\n            return _context7.abrupt(\"return\", true);\n          case 25:\n            return _context7.abrupt(\"return\", false);\n          case 26:\n          case \"end\":\n            return _context7.stop();\n        }\n      }\n    }, _callee7, null, [[8, 18, 21, 24]]);\n  }));\n  return _clearCache.apply(this, arguments);\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/api/cache.js\n");

/***/ }),

/***/ "./js/googlesitekit/api/middleware/preloading.js":
/*!*******************************************************!*\
  !*** ./js/googlesitekit/api/middleware/preloading.js ***!
  \*******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/api-fetch/build/middlewares/preloading */ \"../node_modules/@wordpress/api-fetch/build/middlewares/preloading.js\");\n/* harmony import */ var _wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Custom preloading middleware.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies.\n */\n\n\n/**\n * Creates a preloading middleware.\n *\n * Based on preloadMiddleware from from @wordpress/api-fetch, this middle is a single-use per-endpoint and provides cached\n * data for the first request only and any subsequent requests reach the server.\n *\n * @since 1.13.0\n *\n * @param {Object} preloadedData Preloaded data paths.\n * @return {Function} Function.\n */\nfunction createPreloadingMiddleware(preloadedData) {\n  var cache = Object.keys(preloadedData).reduce(function (result, path) {\n    result[Object(_wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0__[\"getStablePath\"])(path)] = preloadedData[path];\n    return result;\n  }, {});\n  var cacheHasExpired = false;\n  return function (options, next) {\n    if (cacheHasExpired) {\n      return next(options);\n    }\n    setTimeout(function () {\n      cacheHasExpired = true;\n    }, 3000);\n    var _options$parse = options.parse,\n      parse = _options$parse === void 0 ? true : _options$parse;\n    var uri = options.path;\n    if (typeof options.path === 'string') {\n      var _options$method;\n      var method = ((_options$method = options.method) === null || _options$method === void 0 ? void 0 : _options$method.toUpperCase()) || 'GET';\n      var path = Object(_wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0__[\"getStablePath\"])(uri);\n      if (parse && 'GET' === method && cache[path]) {\n        var result = Promise.resolve(cache[path].body);\n        delete cache[path];\n        return result;\n      } else if ('OPTIONS' === method && cache[method] && cache[method][path]) {\n        var _result = Promise.resolve(cache[method][path]);\n        delete cache[method][path];\n        return _result;\n      }\n    }\n    return next(options);\n  };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (createPreloadingMiddleware);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2FwaS9taWRkbGV3YXJlL3ByZWxvYWRpbmcuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2FwaS9taWRkbGV3YXJlL3ByZWxvYWRpbmcuanM/ZmNhNyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEN1c3RvbSBwcmVsb2FkaW5nIG1pZGRsZXdhcmUuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpd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dFx0Y29uc3QgcmVzdWx0ID0gUHJvbWlzZS5yZXNvbHZlKCBjYWNoZVsgbWV0aG9kIF1bIHBhdGggXSApO1xuXHRcdFx0XHRkZWxldGUgY2FjaGVbIG1ldGhvZCBdWyBwYXRoIF07XG5cdFx0XHRcdHJldHVybiByZXN1bHQ7XG5cdFx0XHR9XG5cdFx0fVxuXHRcdHJldHVybiBuZXh0KCBvcHRpb25zICk7XG5cdH07XG59XG5leHBvcnQgZGVmYXVsdCBjcmVhdGVQcmVsb2FkaW5nTWlkZGxld2FyZTtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBRUE7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUtBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/api/middleware/preloading.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/create-error-store.js":
/*!*****************************************************!*\
  !*** ./js/googlesitekit/data/create-error-store.js ***!
  \*****************************************************/
/*! exports provided: generateErrorKey, actions, createErrorStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"generateErrorKey\", function() { return generateErrorKey; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createErrorStore\", function() { return createErrorStore; });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! md5 */ \"../node_modules/md5/md5.js\");\n/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__);\n\n/**\n * API function to create fetch store.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * External dependencies\n */\n\n\nvar RECEIVE_ERROR = 'RECEIVE_ERROR';\nvar CLEAR_ERROR = 'CLEAR_ERROR';\nvar CLEAR_ERRORS = 'CLEAR_ERRORS';\n\n/**\n * Internal dependencies\n */\n\n\nfunction generateErrorKey(baseName, args) {\n  if (args && Array.isArray(args)) {\n    var stringifiedArgs = args.map(function (item) {\n      return 'object' === _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(item) ? Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"stringifyObject\"])(item) : item;\n    });\n    return \"\".concat(baseName, \"::\").concat(md5__WEBPACK_IMPORTED_MODULE_3___default()(JSON.stringify(stringifiedArgs)));\n  }\n  return baseName;\n}\nvar actions = {\n  receiveError: function receiveError(error, baseName) {\n    var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(error, 'error is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(baseName, 'baseName is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(args && Array.isArray(args), 'args must be an array.');\n    return {\n      type: RECEIVE_ERROR,\n      payload: {\n        error: error,\n        baseName: baseName,\n        args: args\n      }\n    };\n  },\n  clearError: function clearError(baseName) {\n    var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(baseName, 'baseName is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(args && Array.isArray(args), 'args must be an array.');\n    return {\n      type: CLEAR_ERROR,\n      payload: {\n        baseName: baseName,\n        args: args\n      }\n    };\n  },\n  clearErrors: function clearErrors(baseName) {\n    return {\n      type: CLEAR_ERRORS,\n      payload: {\n        baseName: baseName\n      }\n    };\n  }\n};\nfunction createErrorStore(storeName) {\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(storeName, 'storeName must be defined.');\n  var initialState = {\n    errors: {},\n    errorArgs: {}\n  };\n  var reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, _ref) {\n    var type = _ref.type,\n      payload = _ref.payload;\n    switch (type) {\n      case RECEIVE_ERROR:\n        {\n          var baseName = payload.baseName,\n            args = payload.args,\n            error = payload.error;\n          var key = generateErrorKey(baseName, args);\n          state.errors = state.errors || {};\n          state.errorArgs = state.errorArgs || {};\n          state.errors[key] = error;\n          state.errorArgs[key] = args;\n          break;\n        }\n      case CLEAR_ERROR:\n        {\n          var _baseName = payload.baseName,\n            _args = payload.args;\n          var _key = generateErrorKey(_baseName, _args);\n          state.errors = state.errors || {};\n          state.errorArgs = state.errorArgs || {};\n          delete state.errors[_key];\n          delete state.errorArgs[_key];\n          break;\n        }\n      case CLEAR_ERRORS:\n        {\n          var _baseName2 = payload.baseName;\n          if (_baseName2) {\n            state.errors = state.errors || {};\n            state.errorArgs = state.errorArgs || {};\n            for (var _key2 in state.errors) {\n              if (_key2 === _baseName2 || _key2.startsWith(\"\".concat(_baseName2, \"::\"))) {\n                delete state.errors[_key2];\n                delete state.errorArgs[_key2];\n              }\n            }\n          } else {\n            state.errors = {};\n            state.errorArgs = {};\n          }\n          break;\n        }\n    }\n  });\n  var controls = {};\n  var resolvers = {};\n  var selectors = {\n    /**\n     * Retrieves the error object from state.\n     *\n     * Error object has the format:\n     *\n     * ```\n     * {\n     *   code: <String>,\n     *   message: <String>,\n     *   data: <Object>\n     * }\n     * ```\n     *\n     * @since 1.15.0\n     *\n     * @param {Object}      state        Data store's state.\n     * @param {string}      selectorName Selector name.\n     * @param {Array.<any>} [args]       Arguments passed to selector (default `[]`).\n     * @return {(Object|undefined)} Error object if exists, otherwise undefined.\n     */\n    getErrorForSelector: function getErrorForSelector(state, selectorName) {\n      var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(selectorName, 'selectorName is required.');\n      return selectors.getError(state, selectorName, args);\n    },\n    /**\n     * Retrieves the error object from state.\n     *\n     *```\n     * {\n     *   code: <String>,\n     *   message: <String>,\n     *   data: <Object>\n     * }\n     * ```\n     *\n     * @since 1.15.0\n     *\n     * @param {Object}      state      Data store's state.\n     * @param {string}      actionName Action name.\n     * @param {Array.<any>} [args]     Arguments passed to action (default `[]`).\n     * @return {(Object|undefined)} Error object if exists, otherwise undefined.\n     */\n    getErrorForAction: function getErrorForAction(state, actionName) {\n      var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(actionName, 'actionName is required.');\n      return selectors.getError(state, actionName, args);\n    },\n    /**\n     * Retrieves the error object from state.\n     *\n     *```\n     * {\n     *   code: <String>,\n     *   message: <String>,\n     *   data: <Object>\n     * }\n     * ```\n     *\n     * @since 1.15.0\n     * @private\n     *\n     * @param {Object}      state      Data store's state.\n     * @param {string}      [baseName] Selector or action name.\n     * @param {Array.<any>} [args]     Arguments array.\n     * @return {(Object|undefined)} Error object if exists, otherwise undefined.\n     */\n    getError: function getError(state, baseName, args) {\n      var errors = state.errors;\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(baseName, 'baseName is required.');\n      return errors[generateErrorKey(baseName, args)];\n    },\n    /**\n     * Gets a list of all unique errors.\n     *\n     * @since 1.19.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {Object[]} Unique set of errors.\n     */\n    getErrors: function getErrors(state) {\n      var errorsSet = new Set(Object.values(state.errors));\n      return Array.from(errorsSet);\n    },\n    /**\n     * Gets the meta-data for a given error object, or null if the error is not found.\n     *\n     * Returns meta-data in the format:\n     *\n     * ```\n     *\t{\n     *\t\tbaseName: <string>,\n     *\t\targs: <Array>\n     *\t}\n     * ```\n     *\n     * @since 1.84.0\n     *\n     * @param {Object} state Data store's state.\n     * @param {Object} error Error object.\n     * @return {Object|null} Meta-data for the given error object, or null if the error is not found.\n     */\n    getMetaDataForError: function getMetaDataForError(state, error) {\n      var key = Object.keys(state.errors).find(function (errorKey) {\n        return state.errors[errorKey] === error;\n      });\n      if (key) {\n        var baseName = key.substring(0, key.indexOf('::'));\n        return {\n          baseName: baseName,\n          args: state.errorArgs[key]\n        };\n      }\n      return null;\n    },\n    /**\n     * Gets the selector data for a given error object, or null if no selector data is available.\n     *\n     * Returns selector data in the format:\n     *\n     * ```\n     *\t{\n     *\t\tstoreName: <string>,\n     *\t\tname: <string>,\n     *\t\targs: <Array>\n     *\t}\n     * ```\n     *\n     * @since 1.87.0\n     *\n     * @param {Object} state Data store's state.\n     * @param {Object} error Error object.\n     * @return {Object|null} Selector data for the given error object, or null if no selector data is available.\n     */\n    getSelectorDataForError: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__[\"createRegistrySelector\"])(function (select) {\n      return function (state, error) {\n        var metaData = select(storeName).getMetaDataForError(error);\n        if (metaData) {\n          var name = metaData.baseName,\n            args = metaData.args;\n          var isSelector = !!select(storeName)[name];\n          if (isSelector) {\n            return {\n              storeName: storeName,\n              name: name,\n              args: args\n            };\n          }\n        }\n        return null;\n      };\n    }),\n    /**\n     * Determines whether the datastore has errors or not.\n     *\n     * @since 1.15.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {boolean} TRUE if the datastore has errors, otherwise FALSE.\n     */\n    hasErrors: function hasErrors(state) {\n      return selectors.getErrors(state).length > 0;\n    }\n  };\n  return {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer,\n    resolvers: resolvers,\n    selectors: selectors\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-error-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/create-fetch-store.js":
/*!*****************************************************!*\
  !*** ./js/googlesitekit/data/create-fetch-store.js ***!
  \*****************************************************/
/*! exports provided: createFetchStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createFetchStore\", function() { return createFetchStore; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _create_error_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n/* harmony import */ var _transform_case__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./transform-case */ \"./js/googlesitekit/data/transform-case.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__);\n\n\n/**\n * API function to create fetch store.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction defaultReducerCallback(state) {\n  return state;\n}\nfunction defaultArgsToParams() {\n  return {};\n}\nfunction defaultValidateParams() {}\n\n// Get access to error store action creators.\n// If the parent store doesn't include the error store,\n// yielded error actions will be a no-op.\nvar clearError = _create_error_store__WEBPACK_IMPORTED_MODULE_4__[\"actions\"].clearError,\n  receiveError = _create_error_store__WEBPACK_IMPORTED_MODULE_4__[\"actions\"].receiveError;\n/**\n * Creates a store object implementing the necessary infrastructure for a\n * single fetch action.\n *\n * This function returns a partial store object with the following:\n * * action creators to fetch and to receive the data\n * * control to issue the API request\n * * reducer to set API request flag and receive the response\n * * selector to check whether the API request is in progress via a flag\n *\n * The names of the pieces are based on the baseName provided.\n * For example, if baseName is 'saveSettings':\n * * The fetch action creator is called 'fetchSaveSettings'.\n * * The receive action creator is called 'receiveSaveSettings'.\n * * The fetching selector is called 'isFetchingSaveSettings'.\n *\n * All parts of the returned store objects should be considered internal. A\n * public action or selector should be implemented to actually call the\n * fetch action included in the returned store object.\n *\n * For example, if the fetch store is intended for an API-based\n * action 'storeMySetting':\n * * The basename passed should be 'storeMySetting'.\n * * The action 'storeMySetting' should call 'fetchStoreMySetting'.\n *\n * Or, if the fetch store is intended for an API-based selector\n * 'getSomeData':\n * * The baseName passed should be 'getSomeData'.\n * * The resolver for 'getSomeData' should call 'fetchGetSomeData'.\n *\n * @since 1.10.0\n * @private\n *\n * @param {Object}   args                   Arguments for creating the fetch store.\n * @param {string}   args.baseName          The base name to use for all the created infrastructure.\n * @param {Function} args.controlCallback   Callback function to issue the API request. Will be used inside the\n *                                          control. The function receives a params object based on argsToParams,\n *                                          i.e. the respective values passed to the action.\n * @param {Function} [args.reducerCallback] Optional. Callback function to modify state based on the API response.\n *                                          Will be used inside the reducer. The function receives the store's state\n *                                          object as first parameter, the API response as second parameter, and the\n *                                          params object for the request (see above) as third parameter. If not\n *                                          provided, the default will return the unmodified state.\n * @param {Function} [args.argsToParams]    Optional. Function that reduces the given list of arguments\n *                                          into a object of key/value parameters, with the argument names used as keys.\n *                                          If not provided, the default function will return an empty object,\n *                                          essentially indicating that no arguments are supported/required.\n * @param {Function} [args.validateParams]  Optional. Function that validates the given parameters object created by `argsToParams`.\n *                                          Any invalid parameters should cause a respective error to be thrown.\n * @return {Object} Partial store object with properties 'actions', 'controls', 'reducer', 'resolvers', and 'selectors'.\n */\nfunction createFetchStore(_ref) {\n  var _actions;\n  var _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(fetchGenerator);\n  var baseName = _ref.baseName,\n    controlCallback = _ref.controlCallback,\n    _ref$reducerCallback = _ref.reducerCallback,\n    reducerCallback = _ref$reducerCallback === void 0 ? defaultReducerCallback : _ref$reducerCallback,\n    _ref$argsToParams = _ref.argsToParams,\n    argsToParams = _ref$argsToParams === void 0 ? defaultArgsToParams : _ref$argsToParams,\n    _ref$validateParams = _ref.validateParams,\n    validateParams = _ref$validateParams === void 0 ? defaultValidateParams : _ref$validateParams;\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(baseName, 'baseName is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('function' === typeof controlCallback, 'controlCallback is required and must be a function.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('function' === typeof reducerCallback, 'reducerCallback must be a function.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('function' === typeof argsToParams, 'argsToParams must be a function.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('function' === typeof validateParams, 'validateParams must be a function.');\n\n  // If validating the result of argsToParams without any arguments does not result in an error, we\n  // know params is okay to be empty.\n  var requiresParams;\n  try {\n    validateParams(argsToParams());\n    requiresParams = false;\n  } catch (error) {\n    requiresParams = true;\n  }\n  var pascalCaseBaseName = Object(_transform_case__WEBPACK_IMPORTED_MODULE_5__[\"camelCaseToPascalCase\"])(baseName);\n  var constantBaseName = Object(_transform_case__WEBPACK_IMPORTED_MODULE_5__[\"camelCaseToConstantCase\"])(baseName);\n  var FETCH = \"FETCH_\".concat(constantBaseName);\n  var START_FETCH = \"START_\".concat(FETCH);\n  var FINISH_FETCH = \"FINISH_\".concat(FETCH);\n  var CATCH_FETCH = \"CATCH_\".concat(FETCH);\n  var RECEIVE = \"RECEIVE_\".concat(constantBaseName);\n  var fetchCreator = \"fetch\".concat(pascalCaseBaseName);\n  var receiveCreator = \"receive\".concat(pascalCaseBaseName);\n  var isFetching = \"isFetching\".concat(pascalCaseBaseName);\n  var initialState = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, isFetching, {});\n  function fetchGenerator(params, args) {\n    var response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function fetchGenerator$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return {\n              payload: {\n                params: params\n              },\n              type: START_FETCH\n            };\n          case 2:\n            _context.next = 4;\n            return clearError(baseName, args);\n          case 4:\n            _context.prev = 4;\n            _context.next = 7;\n            return {\n              payload: {\n                params: params\n              },\n              type: FETCH\n            };\n          case 7:\n            response = _context.sent;\n            _context.next = 10;\n            return actions[receiveCreator](response, params);\n          case 10:\n            _context.next = 12;\n            return {\n              payload: {\n                params: params\n              },\n              type: FINISH_FETCH\n            };\n          case 12:\n            _context.next = 21;\n            break;\n          case 14:\n            _context.prev = 14;\n            _context.t0 = _context[\"catch\"](4);\n            error = _context.t0;\n            _context.next = 19;\n            return receiveError(error, baseName, args);\n          case 19:\n            _context.next = 21;\n            return {\n              payload: {\n                params: params\n              },\n              type: CATCH_FETCH\n            };\n          case 21:\n            return _context.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 22:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _marked, null, [[4, 14]]);\n  }\n  var actions = (_actions = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_actions, fetchCreator, function () {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    var params = argsToParams.apply(void 0, args);\n    // In order for params validation to throw an error as expected,\n    // this function cannot be a generator.\n    validateParams(params);\n\n    // The normal fetch action generator is invoked as the return here\n    // to preserve asynchronous behavior without registering another action creator.\n    return fetchGenerator(params, args);\n  }), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_actions, receiveCreator, function (response, params) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(response !== undefined, 'response is required.');\n    if (requiresParams) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(params), 'params is required.');\n      validateParams(params);\n    } else {\n      params = {};\n    }\n    return {\n      payload: {\n        response: response,\n        params: params\n      },\n      type: RECEIVE\n    };\n  }), _actions);\n  var controls = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, FETCH, function (_ref2) {\n    var payload = _ref2.payload;\n    return controlCallback(payload.params);\n  });\n  var reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createReducer\"])(function (state, _ref3) {\n    var type = _ref3.type,\n      payload = _ref3.payload;\n    switch (type) {\n      case START_FETCH:\n        {\n          var params = payload.params;\n          state[isFetching] = state[isFetching] || {};\n          state[isFetching][Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"stringifyObject\"])(params)] = true;\n          return state;\n        }\n      case RECEIVE:\n        {\n          var response = payload.response,\n            _params = payload.params;\n          return reducerCallback(state, response, _params);\n        }\n      case FINISH_FETCH:\n        {\n          var _params2 = payload.params;\n          state[isFetching] = state[isFetching] || {};\n          state[isFetching][Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"stringifyObject\"])(_params2)] = false;\n          return state;\n        }\n      case CATCH_FETCH:\n        {\n          var _params3 = payload.params;\n          state[isFetching] = state[isFetching] || {};\n          state[isFetching][Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"stringifyObject\"])(_params3)] = false;\n          return state;\n        }\n      default:\n        return state;\n    }\n  });\n  var selectors = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, isFetching, function (state) {\n    if (state[isFetching] === undefined) {\n      return false;\n    }\n    var params;\n    try {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n      params = argsToParams.apply(void 0, args);\n      validateParams(params);\n    } catch (err) {\n      // If parameters are invalid, fail silently here. It likely is\n      // because some dependency selector is still resolving.\n      return false;\n    }\n    return !!state[isFetching][Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"stringifyObject\"])(params)];\n  });\n  return {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer,\n    resolvers: {},\n    selectors: selectors\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-fetch-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/create-notifications-store.js":
/*!*************************************************************!*\
  !*** ./js/googlesitekit/data/create-notifications-store.js ***!
  \*************************************************************/
/*! exports provided: createNotificationsStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createNotificationsStore\", function() { return createNotificationsStore; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _create_fetch_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Provides API functions to create a datastore for notifications.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n/**\n * Creates a store object that includes actions and selectors for managing notifications.\n *\n * The three required parameters hook up the store to the respective REST API endpoint.\n *\n * @since 1.6.0\n * @private\n *\n * @param {string}  type              The data to access. One of 'core' or 'modules'.\n * @param {string}  identifier        The data identifier, eg. a module slug like search-console.\n * @param {string}  datapoint         The endpoint to request data from, e.g. 'notifications'.\n * @param {Object}  options           Optional. Options to consider for the store.\n * @param {boolean} options.server    Enable server notifications. `true` by default.\n * @param {number}  options.storeName Store name to use. Default is '{type}/{identifier}'.\n * @return {Object} The notifications store object, with additional `STORE_NAME` and\n *                  `initialState` properties.\n */\nfunction createNotificationsStore(type, identifier, datapoint) {\n  var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},\n    _ref$server = _ref.server,\n    server = _ref$server === void 0 ? true : _ref$server,\n    _ref$storeName = _ref.storeName,\n    storeName = _ref$storeName === void 0 ? undefined : _ref$storeName;\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(type, 'type is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(identifier, 'identifier is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(datapoint, 'datapoint is required.');\n  var STORE_NAME = storeName || \"\".concat(type, \"/\").concat(identifier);\n  var initialState = {\n    serverNotifications: server ? undefined : {}\n  };\n  var fetchGetNotificationsStore = Object(_create_fetch_store__WEBPACK_IMPORTED_MODULE_5__[\"createFetchStore\"])({\n    baseName: 'getNotifications',\n    controlCallback: function controlCallback() {\n      return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(type, identifier, datapoint);\n    },\n    reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, notifications) {\n      state.serverNotifications = notifications.reduce(function (acc, notification) {\n        return _objectSpread(_objectSpread({}, acc), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, notification.id, notification));\n      }, {});\n    })\n  });\n  var actions = {};\n  var controls = {};\n\n  // eslint-disable-next-line no-shadow\n  function reducer() {\n    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n    var _ref2 = arguments.length > 1 ? arguments[1] : undefined,\n      type = _ref2.type;\n    switch (type) {\n      default:\n        {\n          return state;\n        }\n    }\n  }\n  var resolvers = {\n    getNotifications: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getNotifications() {\n      var registry, notifications;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getNotifications$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].getRegistry();\n            case 2:\n              registry = _context.sent;\n              notifications = registry.select(STORE_NAME).getNotifications();\n              if (notifications) {\n                _context.next = 7;\n                break;\n              }\n              _context.next = 7;\n              return fetchGetNotificationsStore.actions.fetchGetNotifications();\n            case 7:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, getNotifications);\n    })\n  };\n\n  // If server notifications are disabled, we should remove the getNotifications\n  // resolver. If we set it as `undefined` we'll encounter issues with an `undefined`\n  // resolver, because @wordpress/data will still try to register the resolver because\n  // it sees a key. And this is nicer than a no-op resolver.\n  if (!server) {\n    delete resolvers.getNotifications;\n  }\n  var selectors = {\n    /**\n     * Gets the current notifications.\n     *\n     * Returns `undefined` if notifications are not available/loaded.\n     *\n     * @since 1.6.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {(Array|undefined)} Current list of notifications.\n     */\n    getNotifications: function getNotifications(state) {\n      var serverNotifications = state.serverNotifications; // If there are no client notifications and the server notifications\n      // haven't loaded yet, return `undefined` (the value of\n      // `serverNotifications` here) to signify to anything using this\n      // selector that notifications have not loaded yet.\n      if ('undefined' === typeof serverNotifications) {\n        return serverNotifications;\n      }\n\n      // If there are any notifications from either the client or server,\n      // we should return them, even if the server notifications haven't\n      // finished loading yet.\n      return Object.values(_objectSpread({}, serverNotifications || {}));\n    }\n  };\n  var store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"combineStores\"])(fetchGetNotificationsStore, {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer,\n    resolvers: resolvers,\n    selectors: selectors\n  });\n  return _objectSpread(_objectSpread({}, store), {}, {\n    STORE_NAME: STORE_NAME\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-notifications-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/transform-case.js":
/*!*************************************************!*\
  !*** ./js/googlesitekit/data/transform-case.js ***!
  \*************************************************/
/*! exports provided: camelCaseToPascalCase, camelCaseToConstantCase, hyphenCaseToPascalCase */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"camelCaseToPascalCase\", function() { return camelCaseToPascalCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"camelCaseToConstantCase\", function() { return camelCaseToConstantCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"hyphenCaseToPascalCase\", function() { return hyphenCaseToPascalCase; });\n/**\n * Data store utilities for transforming names to a certain case.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Transforms a camelCase name into its PascalCase name.\n *\n * @since 1.10.0\n * @private\n *\n * @param {string} name \"camelCase\" name to transform.\n * @return {string} PascalCase name.\n */\nfunction camelCaseToPascalCase(name) {\n  return name.charAt(0).toUpperCase() + name.slice(1);\n}\n\n/**\n * Transforms a camelCase name into its CONSTANT_CASE name.\n *\n * @since 1.10.0\n * @private\n *\n * @param {string} name \"camelCase\" name to transform.\n * @return {string} CONSTANT_CASE name.\n */\nfunction camelCaseToConstantCase(name) {\n  return name.replace(/([a-z0-9]{1})([A-Z]{1})/g, '$1_$2').toUpperCase();\n}\n\n/**\n * Transforms a hyphen-case name into its PascalCase name.\n *\n * @since 1.30.0\n * @private\n *\n * @param {string} name \"hyphen-case\" name to transform.\n * @return {string} PascalCase name.\n */\nfunction hyphenCaseToPascalCase(name) {\n  return name.split('-').map(function (part) {\n    return part.charAt(0).toUpperCase() + part.slice(1);\n  }).join('');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGEvdHJhbnNmb3JtLWNhc2UuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2RhdGEvdHJhbnNmb3JtLWNhc2UuanM/ZTZkZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERhdGEgc3RvcmUgdXRpbGl0aWVzIGZvciB0cmFuc2Zvcm1pbmcgbmFtZXMgdG8gYSBjZXJ0YWluIGNhc2UuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdG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ApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/data/transform-case.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/utils.js":
/*!****************************************!*\
  !*** ./js/googlesitekit/data/utils.js ***!
  \****************************************/
/*! exports provided: collect, collectActions, collectControls, collectReducers, collectResolvers, collectSelectors, collectState, collectName, combineStores, commonActions, commonControls, commonStore, createStrictSelect, createValidationSelector, createValidatedAction */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collect\", function() { return collect; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectActions\", function() { return collectActions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectControls\", function() { return collectControls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectReducers\", function() { return collectReducers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectResolvers\", function() { return collectResolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectSelectors\", function() { return collectSelectors; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectState\", function() { return collectState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectName\", function() { return collectName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineStores\", function() { return combineStores; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"commonActions\", function() { return commonActions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"commonControls\", function() { return commonControls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"commonStore\", function() { return commonStore; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createStrictSelect\", function() { return createStrictSelect; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createValidationSelector\", function() { return createValidationSelector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createValidatedAction\", function() { return createValidatedAction; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! memize */ \"../node_modules/memize/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n\n\n\nvar _commonControls;\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Data store utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n\n/**\n * WordPress dependencies\n */\n\nvar GET_REGISTRY = 'GET_REGISTRY';\nvar AWAIT = 'AWAIT';\n\n/**\n * Collects and combines multiple objects of similar shape.\n *\n * Used to combine objects like actions, selectors, etc. for a data\n * store while ensuring no keys/action names/selector names are duplicated.\n *\n * Effectively this is an object spread, but throws an error if keys are\n * duplicated.\n *\n * @since 1.5.0\n * @private\n *\n * @param {...Object} items A list of arguments, each one should be an object to combine into one.\n * @return {Object} The combined object.\n */\nfunction collect() {\n  for (var _len = arguments.length, items = new Array(_len), _key = 0; _key < _len; _key++) {\n    items[_key] = arguments[_key];\n  }\n  var collectedObject = items.reduce(function (acc, item) {\n    return _objectSpread(_objectSpread({}, acc), item);\n  }, {});\n  var functionNames = items.reduce(function (acc, itemSet) {\n    return [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(acc), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(Object.keys(itemSet)));\n  }, []);\n  var duplicates = findDuplicates(functionNames);\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(duplicates.length === 0, \"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: \".concat(duplicates.join(', '), \". Check your data stores for duplicates.\"));\n  return collectedObject;\n}\n\n/**\n * Collects all actions.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own actions.\n * @return {Object} The combined object.\n */\nvar collectActions = collect;\n\n/**\n * Collects all controls.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own controls.\n * @return {Object} The combined object.\n */\nvar collectControls = collect;\n\n/**\n * Collects all reducers and (optionally) provides initial state.\n *\n * If the first argument passed is not a function, it will be used as the\n * combined reducer's `initialState`.\n *\n * @since 1.5.0\n *\n * @param {...(Object|Function)} args A list of reducers, each containing their own controls. If the first argument is not a function, it will be used as the combined reducer's `initialState`.\n * @return {Function} A Redux-style reducer.\n */\nfunction collectReducers() {\n  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n    args[_key2] = arguments[_key2];\n  }\n  var reducers = [].concat(args);\n  var initialState;\n  if (typeof reducers[0] !== 'function') {\n    initialState = reducers.shift();\n  }\n  return function () {\n    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n    var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    return reducers.reduce(function (newState, reducer) {\n      return reducer(newState, action);\n    }, state);\n  };\n}\n\n/**\n * Collects all resolvers.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own resolvers.\n * @return {Object} The combined object.\n */\nvar collectResolvers = collect;\n\n/**\n * Collects all selectors.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own selectors.\n * @return {Object} The combined object.\n */\nvar collectSelectors = collect;\n\n/**\n * Collects all state values.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own state values.\n * @return {Object} The combined object.\n */\nvar collectState = collect;\n\n/**\n * Collects all store names.\n *\n * This function's main purpose is to ensure generated store names for a single store match.\n *\n * @since 1.6.0\n *\n * @param {...string} args A list of store names, all of which must be equal.\n * @return {string} The single store name.\n */\nfunction collectName() {\n  for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n    args[_key3] = arguments[_key3];\n  }\n  var names = [].concat(args);\n  var duplicates = findDuplicates(names);\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(duplicates.length === names.length - 1, 'collectName() must not receive different names.');\n  return names.shift();\n}\n\n/**\n * Passes through state unmodified; eg. an empty reducer.\n *\n * @since 1.8.0\n * @private\n *\n * @param {Object} state A store's state.\n * @return {Object} The same state data as passed in `state`.\n */\nfunction passthroughReducer(state) {\n  return state;\n}\n\n/**\n * Combines multiple stores.\n *\n * @since 1.8.0\n *\n * @param {...Object} stores A list of objects, each a store containing one or more of the following keys: initialState, actions, controls, reducer, resolvers, selectors.\n * @return {Object} The combined store.\n */\nfunction combineStores() {\n  for (var _len4 = arguments.length, stores = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n    stores[_key4] = arguments[_key4];\n  }\n  var combinedInitialState = collectState.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n    return store.initialState || {};\n  })));\n  return {\n    initialState: combinedInitialState,\n    controls: collectControls.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.controls || {};\n    }))),\n    actions: collectActions.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.actions || {};\n    }))),\n    reducer: collectReducers.apply(void 0, [combinedInitialState].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.reducer || passthroughReducer;\n    })))),\n    resolvers: collectResolvers.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.resolvers || {};\n    }))),\n    selectors: collectSelectors.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.selectors || {};\n    })))\n  };\n}\n\n/**\n * An object of common actions most stores will use.\n *\n * @since 1.7.0\n *\n * @return {Object} Key/value list of common actions most stores will want.\n */\nvar commonActions = {\n  /**\n   * Dispatches an action and calls a control to get the current data registry.\n   *\n   * Useful for controls and resolvers that wish to dispatch actions/use selectors\n   * on the current data registry.\n   *\n   * @since 1.7.0\n   *\n   * @return {Object} FSA-compatible action.\n   */\n  getRegistry: function getRegistry() {\n    return {\n      payload: {},\n      type: GET_REGISTRY\n    };\n  },\n  /**\n   * Dispatches an action and calls a control to return the promise resolution.\n   *\n   * Useful for controls and resolvers that wish to call an asynchronous function or other promise.\n   *\n   * @since 1.22.0\n   *\n   * @param {Promise} value A promise to resolve.\n   * @return {Object} Object with resolved promise.\n   */\n  await: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _await(value) {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _await$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            return _context.abrupt(\"return\", {\n              payload: {\n                value: value\n              },\n              type: AWAIT\n            });\n          case 1:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _await);\n  })\n};\n\n/**\n * An object of common controls most stores will use.\n *\n * @since 1.7.0\n *\n * @return {Object} Key/value list of common controls most stores will want.\n */\nvar commonControls = (_commonControls = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(_commonControls, GET_REGISTRY, Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistryControl\"])(function (registry) {\n  return function () {\n    return registry;\n  };\n})), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(_commonControls, AWAIT, function (_ref) {\n  var payload = _ref.payload;\n  return payload.value;\n}), _commonControls);\n\n/**\n * Finds all duplicate items in an array and return them.\n *\n * @since 1.5.0\n * @private\n *\n * @param {Array} array Any array.\n * @return {Array} All values in the input array that were duplicated.\n */\nfunction findDuplicates(array) {\n  var duplicates = [];\n  var counts = {};\n  for (var i = 0; i < array.length; i++) {\n    var item = array[i];\n    counts[item] = counts[item] >= 1 ? counts[item] + 1 : 1;\n    if (counts[item] > 1) {\n      duplicates.push(item);\n    }\n  }\n  return duplicates;\n}\n\n/**\n * A store containing the common actions, controls and reducer that all stores will use.\n *\n * @since 1.8.0\n *\n * @return {Object} Object with common actions, controls and reducer.\n */\nvar commonStore = {\n  actions: commonActions,\n  controls: commonControls,\n  reducer: passthroughReducer\n};\n\n/**\n * Creates a strict version of registry.select for ensuring that a selector is resolved at the time of calling.\n *\n * Not intended to be used directly. This is useful in the context of validation functions\n * to save checking for undefined on every result.\n *\n * Given the registry.select function instance, a new function is returned\n * with the same API as `select()` but will throw an error if the result\n * of the selector function is `undefined`.\n *\n * Ideally this would use something like `hasFinishedResolution` instead,\n * but there is no way to traverse the selectors used internally to identify\n * dependent selectors that have resolvers as many selectors are composed of\n * higher-level selectors internally which is where a resolver is normally implemented.\n *\n * @since 1.18.0\n * @private\n *\n * @param {Function} select The registry.select function.\n * @return {Function} The strict version of registry.select.\n */\nfunction createStrictSelect(select) {\n  return function (storeName) {\n    return getStrictSelectors(select(storeName));\n  };\n}\n\n// Based on {@link https://github.com/WordPress/gutenberg/blob/b1c8026087dfb026eff0a023a5f7febe28c876de/packages/data/src/registry.js#L91}\nvar getStrictSelectors = memize__WEBPACK_IMPORTED_MODULE_4___default()(function (selectors) {\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"mapValues\"])(selectors, function (selector, selectorName) {\n    return function () {\n      var returnValue = selector.apply(void 0, arguments);\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(returnValue !== undefined, \"\".concat(selectorName, \"(...) is not resolved\"));\n      return returnValue;\n    };\n  });\n});\n\n/**\n * Creates two registry selectors that call the incoming function to validate the current state.\n *\n * @since 1.19.0\n *\n * @param {Function} validate         Validation function callback.\n * @param {Object}   [options]        Options to modify the behavior of the generated selectors.\n * @param {boolean}  [options.negate] Whether to negate the boolean result or not. Default: false.\n * @return {Object} Safe and dangerous selectors.\n */\nfunction createValidationSelector(validate) {\n  var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n    _ref2$negate = _ref2.negate,\n    negate = _ref2$negate === void 0 ? false : _ref2$negate;\n  var safeSelector = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      var pass = negate ? false : true;\n      var fail = negate ? true : false;\n      try {\n        for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {\n          args[_key5 - 1] = arguments[_key5];\n        }\n        validate.apply(void 0, [select, state].concat(args));\n        return pass;\n      } catch (_unused) {\n        return fail;\n      }\n    };\n  });\n  var dangerousSelector = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {\n        args[_key6 - 1] = arguments[_key6];\n      }\n      validate.apply(void 0, [select, state].concat(args));\n    };\n  });\n  return {\n    safeSelector: safeSelector,\n    dangerousSelector: dangerousSelector\n  };\n}\n\n/**\n * Creates a validated action creator.\n *\n * @since 1.32.0\n *\n * @param {Function} validate      A function for validating action arguments.\n * @param {Function} actionCreator A function for returning or yielding redux-style actions.\n * @return {Function} An enhanced action creator.\n */\nfunction createValidatedAction(validate, actionCreator) {\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(typeof validate === 'function', 'a validator function is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(typeof actionCreator === 'function', 'an action creator function is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(validate[Symbol.toStringTag] !== 'Generator' && validate[Symbol.toStringTag] !== 'GeneratorFunction', 'an action’s validator function must not be a generator.');\n  return function () {\n    validate.apply(void 0, arguments);\n    return actionCreator.apply(void 0, arguments);\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/utils.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/cache.js":
/*!**************************************************!*\
  !*** ./js/googlesitekit/datastore/site/cache.js ***!
  \**************************************************/
/*! exports provided: baseControls, initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseControls\", function() { return baseControls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/api/cache */ \"./js/googlesitekit/api/cache.js\");\n\n\n\n/**\n * `core/site` data store: client side cache.\n *\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n// Actions.\nvar CACHE_SET_ITEM = 'CACHE_SET_ITEM';\nvar baseInitialState = {};\nvar baseActions = {\n  /**\n   * Yields to setItem function which sets cached data using a key.\n   *\n   * @since 1.109.0\n   * @see setItem\n   *\n   * @param {string}  key              Name of cache key.\n   * @param {*}       value            Value to store in the cache.\n   * @param {Object}  args             Optional object containing ttl, timestamp and isError keys.\n   * @param {number}  [args.ttl]       Optional. Validity of the cached item in seconds.\n   * @param {number}  [args.timestamp] Optional. Timestamp when the cached item was created.\n   * @param {boolean} [args.isError]   Optional. Whether the cached item is an error.\n   */\n  setCacheItem: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function setCacheItem(key, value, args) {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function setCacheItem$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            invariant__WEBPACK_IMPORTED_MODULE_3___default()(key, 'key is required');\n            invariant__WEBPACK_IMPORTED_MODULE_3___default()(value !== undefined, 'value is required');\n            _context.next = 4;\n            return {\n              type: CACHE_SET_ITEM,\n              payload: {\n                key: key,\n                value: value,\n                args: args\n              }\n            };\n          case 4:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, setCacheItem);\n  })\n};\n\n// Base Controls\nvar baseControls = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, CACHE_SET_ITEM, function () {\n  var _ref2 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee(_ref) {\n    var payload, key, value, args;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            payload = _ref.payload;\n            key = payload.key, value = payload.value, args = payload.args;\n            _context2.next = 4;\n            return Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_5__[\"setItem\"])(key, value, args);\n          case 4:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee);\n  }));\n  return function (_x) {\n    return _ref2.apply(this, arguments);\n  };\n}());\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"combineStores\"])({\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: baseControls\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/cache.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/connection.js":
/*!*******************************************************!*\
  !*** ./js/googlesitekit/datastore/site/connection.js ***!
  \*******************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n\n/**\n * `core/site` data store: connection info.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n\nvar fetchGetConnectionStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_4__[\"createFetchStore\"])({\n  baseName: 'getConnection',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__[\"get\"])('core', 'site', 'connection', undefined, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createReducer\"])(function (state, connection) {\n    state.connection = connection;\n  })\n});\nvar baseInitialState = {\n  connection: undefined\n};\nvar baseResolvers = {\n  getConnection: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getConnection() {\n    var registry, existingConnection;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getConnection$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context.sent;\n            existingConnection = registry.select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getConnection();\n            if (existingConnection) {\n              _context.next = 7;\n              break;\n            }\n            _context.next = 7;\n            return fetchGetConnectionStore.actions.fetchGetConnection();\n          case 7:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, getConnection);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets the connection info for this site.\n   *\n   * Returns `undefined` if the connection info is not available/loaded.\n   *\n   * Returns an object with the shape when successful:\n   * ```\n   * {\n   *   connected: <Boolean>,\n   *   resettable: <Boolean>,\n   *   setupCompleted: <Boolean>,\n   * }\n   * ```\n   *\n   * @since 1.5.0\n   * @private\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Site connection info.\n   */\n  getConnection: function getConnection(state) {\n    var connection = state.connection;\n    return connection;\n  },\n  /**\n   * Gets owner ID.\n   *\n   * @since 1.16.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {number|undefined} Owner ID if it exists, otherwise undefined.\n   */\n  getOwnerID: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _ref = select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getConnection() || {},\n        ownerID = _ref.ownerID;\n      return ownerID;\n    };\n  }),\n  /**\n   * Gets information about connected admins.\n   *\n   * @since 1.14.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} TRUE if there are connected admins, otherwise FALSE or undefined if information is not available yet.\n   */\n  hasConnectedAdmins: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _ref2 = select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getConnection() || {},\n        hasConnectedAdmins = _ref2.hasConnectedAdmins;\n      return hasConnectedAdmins;\n    };\n  }),\n  /**\n   * Gets the Site Kit connection status for this site.\n   *\n   * Returns `true` if the site is connected to Site Kit, `false` if\n   * not. Returns `undefined` if the connection info is not available/loaded.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} Site connection status.\n   */\n  isConnected: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var connection = select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getConnection();\n      return typeof connection !== 'undefined' ? connection.connected : connection;\n    };\n  }),\n  /**\n   * Gets the Site Kit reset availability for this site.\n   *\n   * Returns `true` if the site is connected to Site Kit and\n   * the connection can be reset, `false` if reset is not available.\n   * Returns `undefined` if the connection info is not available/loaded.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} Site reset status.\n   */\n  isResettable: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var connection = select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getConnection();\n      return typeof connection !== 'undefined' ? connection.resettable : connection;\n    };\n  }),\n  /**\n   * Gets the Site Kit setup status.\n   *\n   * Returns `true` if the site is connected to Site Kit and\n   * the connection can be reset, `false` if reset is not available.\n   * Returns `undefined` if the connection info is not available/loaded.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} Site setup completion status.\n   */\n  isSetupCompleted: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var connection = select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getConnection();\n      return typeof connection !== 'undefined' ? connection.setupCompleted : connection;\n    };\n  }),\n  /**\n   * Gets the Site Kit information about admin users.\n   *\n   * Returns `true` if the site has multiple admins, `false` if it has just one admin.\n   *\n   * @since 1.29.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} Multiple admins status.\n   */\n  hasMultipleAdmins: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select$getConnection;\n      return (_select$getConnection = select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getConnection()) === null || _select$getConnection === void 0 ? void 0 : _select$getConnection.hasMultipleAdmins;\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"combineStores\"])(fetchGetConnectionStore, {\n  initialState: baseInitialState,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/connection.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/consent-mode.js":
/*!*********************************************************!*\
  !*** ./js/googlesitekit/datastore/site/consent-mode.js ***!
  \*********************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n\n\n/**\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nvar clearError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_9__[\"actions\"].clearError,\n  receiveError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_9__[\"actions\"].receiveError;\nvar getRegistry = googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry;\nvar SET_CONSENT_MODE_ENABLED = 'SET_CONSENT_MODE_ENABLED';\nvar INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE = 'INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE';\nvar INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING = 'INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING';\nvar settingsReducerCallback = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, settings) {\n  state.consentMode.settings = settings;\n});\nvar fetchGetConsentModeSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'getConsentModeSettings',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"get\"])('core', 'site', 'consent-mode', null, {\n      useCache: false\n    });\n  },\n  reducerCallback: settingsReducerCallback\n});\nvar fetchSaveConsentModeSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'saveConsentModeSettings',\n  controlCallback: function controlCallback(_ref) {\n    var settings = _ref.settings;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"set\"])('core', 'site', 'consent-mode', {\n      settings: settings\n    });\n  },\n  reducerCallback: settingsReducerCallback,\n  argsToParams: function argsToParams(settings) {\n    return {\n      settings: settings\n    };\n  },\n  validateParams: function validateParams(_ref2) {\n    var settings = _ref2.settings;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(settings), 'settings must be a plain object.');\n  }\n});\nvar fetchGetConsentAPIInfoStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'getConsentAPIInfo',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"get\"])('core', 'site', 'consent-api-info', null, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, apiInfo) {\n    state.consentMode.apiInfo = apiInfo;\n  })\n});\nvar fetchInstallActivateWPConsentAPI = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'installActivateWPConsentAPI',\n  controlCallback: function () {\n    var _controlCallback = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(_ref3) {\n      var nonce, data, response;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              nonce = _ref3.nonce;\n              /**\n               * This function utilizes an AJAX approach instead of the standardized REST approach\n               * due to the requirement of the Plugin_Upgrader class, which relies on functions\n               * from `admin.php` among others. These functions are properly loaded during the\n               * AJAX callback, ensuring the installation and activation processes can execute correctly.\n               */\n              data = new FormData();\n              data.append('action', 'install_activate_wp_consent_api');\n              data.append('_ajax_nonce', nonce);\n              _context.next = 6;\n              return fetch(global.ajaxurl, {\n                method: 'POST',\n                credentials: 'same-origin',\n                body: data\n              });\n            case 6:\n              response = _context.sent;\n              return _context.abrupt(\"return\", response.json());\n            case 8:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    function controlCallback(_x) {\n      return _controlCallback.apply(this, arguments);\n    }\n    return controlCallback;\n  }(),\n  argsToParams: function argsToParams(_ref4) {\n    var nonce = _ref4.nonce;\n    return {\n      nonce: nonce\n    };\n  },\n  validateParams: function validateParams(_ref5) {\n    var nonce = _ref5.nonce;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(typeof nonce === 'string', 'nonce must be a string.');\n  }\n});\nvar fetchActivateConsentAPI = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'activateConsentAPI',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"set\"])('core', 'site', 'consent-api-activate', null, {\n      useCache: false\n    });\n  }\n});\nvar fetchGetAdsMeasurementStatusStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'getAdsMeasurementStatus',\n  controlCallback: function controlCallback(_ref6) {\n    var useCache = _ref6.useCache;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"get\"])('core', 'site', 'ads-measurement-status', null, {\n      useCache: useCache\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, response, _ref7) {\n    var useCache = _ref7.useCache;\n    state.consentMode.adsConnected = response.connected;\n    if (!useCache) {\n      state.consentMode.adsConnectedUncached = response.connected;\n    }\n  }),\n  argsToParams: function argsToParams() {\n    var _ref8 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      useCache = _ref8.useCache;\n    return {\n      useCache: useCache\n    };\n  },\n  validateParams: function validateParams(_ref9) {\n    var useCache = _ref9.useCache;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(typeof useCache === 'boolean', 'useCache must be a boolean.');\n  }\n});\nvar baseInitialState = {\n  consentMode: {\n    settings: undefined,\n    apiInfo: undefined,\n    apiInstallResponse: undefined,\n    isApiFetching: undefined,\n    adsConnected: undefined,\n    adsConnectedUncached: undefined\n  }\n};\nvar baseActions = {\n  /**\n   * Saves the Consent Mode settings.\n   *\n   * @since 1.122.0\n   *\n   * @return {Object} Object with `response` and `error`.\n   */\n  saveConsentModeSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function saveConsentModeSettings() {\n    var _yield$getRegistry, select, settings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function saveConsentModeSettings$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return getRegistry();\n          case 2:\n            _yield$getRegistry = _context2.sent;\n            select = _yield$getRegistry.select;\n            settings = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getConsentModeSettings();\n            _context2.next = 7;\n            return fetchSaveConsentModeSettingsStore.actions.fetchSaveConsentModeSettings(settings);\n          case 7:\n            return _context2.abrupt(\"return\", _context2.sent);\n          case 8:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, saveConsentModeSettings);\n  }),\n  /**\n   * Sets the Consent Mode enabled status.\n   *\n   * @since 1.122.0\n   *\n   * @param {string} enabled Consent Mode enabled status.\n   * @return {Object} Redux-style action.\n   */\n  setConsentModeEnabled: function setConsentModeEnabled(enabled) {\n    return {\n      type: SET_CONSENT_MODE_ENABLED,\n      payload: {\n        enabled: enabled\n      }\n    };\n  },\n  /**\n   * Installs and activates the WP Consent API Plugin on the backend.\n   *\n   * @since 1.132.0\n   */\n  installActivateWPConsentAPI: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function installActivateWPConsentAPI() {\n    var registry, nonce, error, _yield$fetchInstallAc, response;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function installActivateWPConsentAPI$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return getRegistry();\n          case 2:\n            registry = _context3.sent;\n            _context3.next = 5;\n            return clearError('installActivateWPConsentAPI', []);\n          case 5:\n            _context3.next = 7;\n            return {\n              type: INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING,\n              payload: true\n            };\n          case 7:\n            _context3.next = 9;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(registry.resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getNonces());\n          case 9:\n            nonce = registry.select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getNonce('updates');\n            if (!(nonce === undefined)) {\n              _context3.next = 18;\n              break;\n            }\n            error = registry.select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getErrorForSelector('getNonces');\n            _context3.next = 14;\n            return receiveError(error, 'installActivateWPConsentAPI', []);\n          case 14:\n            _context3.next = 16;\n            return {\n              type: INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING,\n              payload: false\n            };\n          case 16:\n            registry.dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).invalidateResolution('getNonces', []);\n            return _context3.abrupt(\"return\");\n          case 18:\n            _context3.next = 20;\n            return fetchInstallActivateWPConsentAPI.actions.fetchInstallActivateWPConsentAPI({\n              nonce: nonce\n            });\n          case 20:\n            _yield$fetchInstallAc = _context3.sent;\n            response = _yield$fetchInstallAc.response;\n            _context3.next = 24;\n            return {\n              type: INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE,\n              payload: response\n            };\n          case 24:\n            _context3.next = 26;\n            return {\n              type: INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING,\n              payload: false\n            };\n          case 26:\n            _context3.next = 28;\n            return fetchGetConsentAPIInfoStore.actions.fetchGetConsentAPIInfo();\n          case 28:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, installActivateWPConsentAPI);\n  }),\n  /**\n   * Activates the WP Consent API Plugin on the backend.\n   *\n   * @since 1.132.0\n   */\n  activateConsentAPI: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function activateConsentAPI() {\n    var response;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function activateConsentAPI$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _context4.next = 2;\n            return fetchActivateConsentAPI.actions.fetchActivateConsentAPI();\n          case 2:\n            response = _context4.sent;\n            _context4.next = 5;\n            return {\n              type: INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE,\n              payload: response\n            };\n          case 5:\n            _context4.next = 7;\n            return fetchGetConsentAPIInfoStore.actions.fetchGetConsentAPIInfo();\n          case 7:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, activateConsentAPI);\n  })\n};\nvar baseControls = {};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, _ref10) {\n  var type = _ref10.type,\n    payload = _ref10.payload;\n  switch (type) {\n    case SET_CONSENT_MODE_ENABLED:\n      state.consentMode.settings = state.consentMode.settings || {};\n      state.consentMode.settings.enabled = !!payload.enabled;\n      break;\n    case INSTALL_ACTIVATE_WP_CONSENT_API_RESPONSE:\n      state.consentMode.apiInstallResponse = payload;\n      break;\n    case INSTALL_ACTIVATE_WP_CONSENT_API_FETCHING:\n      state.consentMode.isApiFetching = payload;\n      break;\n    default:\n      break;\n  }\n});\nvar baseSelectors = {\n  /**\n   * Gets the Consent Mode settings.\n   *\n   * @since 1.122.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Object|undefined} Consent Mode settings, or `undefined` if not loaded.\n   */\n  getConsentModeSettings: function getConsentModeSettings(state) {\n    return state.consentMode.settings;\n  },\n  /**\n   * Gets the Consent Mode enabled status.\n   *\n   * @since 1.122.0\n   *\n   * @return {boolean|undefined} Consent Mode enabled status, or `undefined` if not loaded.\n   */\n  isConsentModeEnabled: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _ref11 = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getConsentModeSettings() || {},\n        enabled = _ref11.enabled;\n      return enabled;\n    };\n  }),\n  /**\n   * Gets the WP Consent Mode API info.\n   *\n   * @since 1.122.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Object|undefined} WP Consent Mode API info, or `undefined` if not loaded.\n   */\n  getConsentAPIInfo: function getConsentAPIInfo(state) {\n    return state.consentMode.apiInfo;\n  },\n  /**\n   * Gets the WP Consent API Install/Activate Response.\n   *\n   * @since 1.132.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Object|undefined} WP Consent Mode API response, or `undefined` if not loaded.\n   */\n  getApiInstallResponse: function getApiInstallResponse(state) {\n    return state.consentMode.apiInstallResponse;\n  },\n  /**\n   * Gets the WP Consent API Install/Activate isApiFetching value.\n   *\n   * @since 1.132.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|undefined} Gets the value if WP Consent Mode API is currently fetching, or `undefined` if not loaded.\n   */\n  isApiFetching: function isApiFetching(state) {\n    return state.consentMode.isApiFetching;\n  },\n  /**\n   * Returns true if Google Ads is in use, either through a linked Analytics & Ads\n   * account, an Ads conversion tracking ID, or via Analytics tag config.\n   *\n   * @since 1.124.0\n   * @since 1.125.0 Updated to consider Ads connection status via the Analytics tag config, and to source Conversion ID field from Ads module.\n   * @since 1.142.0 Updated to a simple selector which returns value from the state.\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|undefined} True if Google Ads is in use, false otherwise. Undefined if the selectors have not loaded.\n   */\n  isAdsConnected: function isAdsConnected(state) {\n    return state.consentMode.adsConnected;\n  },\n  /**\n   * Returns true if Google Ads is in use, but ensures fresh data is fetched.\n   *\n   * @since 1.151.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|undefined} True if Google Ads is in use, false otherwise. Undefined if the selectors have not loaded.\n   */\n  isAdsConnectedUncached: function isAdsConnectedUncached(state) {\n    return state.consentMode.adsConnectedUncached;\n  }\n};\nvar baseResolvers = {\n  getConsentModeSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getConsentModeSettings() {\n    var _yield$getRegistry2, select;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getConsentModeSettings$(_context5) {\n      while (1) {\n        switch (_context5.prev = _context5.next) {\n          case 0:\n            _context5.next = 2;\n            return getRegistry();\n          case 2:\n            _yield$getRegistry2 = _context5.sent;\n            select = _yield$getRegistry2.select;\n            if (!select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getConsentModeSettings()) {\n              _context5.next = 6;\n              break;\n            }\n            return _context5.abrupt(\"return\");\n          case 6:\n            _context5.next = 8;\n            return fetchGetConsentModeSettingsStore.actions.fetchGetConsentModeSettings();\n          case 8:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, getConsentModeSettings);\n  }),\n  getConsentAPIInfo: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getConsentAPIInfo() {\n    var _yield$getRegistry3, select;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getConsentAPIInfo$(_context6) {\n      while (1) {\n        switch (_context6.prev = _context6.next) {\n          case 0:\n            _context6.next = 2;\n            return getRegistry();\n          case 2:\n            _yield$getRegistry3 = _context6.sent;\n            select = _yield$getRegistry3.select;\n            if (!select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getConsentAPIInfo()) {\n              _context6.next = 6;\n              break;\n            }\n            return _context6.abrupt(\"return\");\n          case 6:\n            _context6.next = 8;\n            return fetchGetConsentAPIInfoStore.actions.fetchGetConsentAPIInfo();\n          case 8:\n          case \"end\":\n            return _context6.stop();\n        }\n      }\n    }, getConsentAPIInfo);\n  }),\n  isAdsConnected: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function isAdsConnected() {\n    var _yield$getRegistry4, select;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function isAdsConnected$(_context7) {\n      while (1) {\n        switch (_context7.prev = _context7.next) {\n          case 0:\n            _context7.next = 2;\n            return getRegistry();\n          case 2:\n            _yield$getRegistry4 = _context7.sent;\n            select = _yield$getRegistry4.select;\n            if (!(select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).isAdsConnected() !== undefined)) {\n              _context7.next = 6;\n              break;\n            }\n            return _context7.abrupt(\"return\");\n          case 6:\n            _context7.next = 8;\n            return fetchGetAdsMeasurementStatusStore.actions.fetchGetAdsMeasurementStatus({\n              useCache: true\n            });\n          case 8:\n          case \"end\":\n            return _context7.stop();\n        }\n      }\n    }, isAdsConnected);\n  }),\n  isAdsConnectedUncached: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function isAdsConnectedUncached() {\n    var _yield$getRegistry5, select;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function isAdsConnectedUncached$(_context8) {\n      while (1) {\n        switch (_context8.prev = _context8.next) {\n          case 0:\n            _context8.next = 2;\n            return getRegistry();\n          case 2:\n            _yield$getRegistry5 = _context8.sent;\n            select = _yield$getRegistry5.select;\n            if (!(select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).isAdsConnectedUncached() !== undefined)) {\n              _context8.next = 6;\n              break;\n            }\n            return _context8.abrupt(\"return\");\n          case 6:\n            _context8.next = 8;\n            return fetchGetAdsMeasurementStatusStore.actions.fetchGetAdsMeasurementStatus({\n              useCache: false\n            });\n          case 8:\n          case \"end\":\n            return _context8.stop();\n        }\n      }\n    }, isAdsConnectedUncached);\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"combineStores\"])(fetchGetConsentModeSettingsStore, fetchSaveConsentModeSettingsStore, fetchGetConsentAPIInfoStore, fetchInstallActivateWPConsentAPI, fetchActivateConsentAPI, fetchGetAdsMeasurementStatusStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: baseControls,\n  reducer: baseReducer,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/consent-mode.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/constants.js":
/*!******************************************************!*\
  !*** ./js/googlesitekit/datastore/site/constants.js ***!
  \******************************************************/
/*! exports provided: CORE_SITE, AMP_MODE_PRIMARY, AMP_MODE_SECONDARY */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_SITE\", function() { return CORE_SITE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AMP_MODE_PRIMARY\", function() { return AMP_MODE_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AMP_MODE_SECONDARY\", function() { return AMP_MODE_SECONDARY; });\n/**\n * `core/site` data store: constants.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar CORE_SITE = 'core/site';\nvar AMP_MODE_PRIMARY = 'primary';\nvar AMP_MODE_SECONDARY = 'secondary';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9zaXRlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvZGF0YXN0b3JlL3NpdGUvY29uc3RhbnRzLmpzP2QxMjEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgY29yZS9zaXRlYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgQ09SRV9TSVRFID0gJ2NvcmUvc2l0ZSc7XG5cbmV4cG9ydCBjb25zdCBBTVBfTU9ERV9QUklNQVJZID0gJ3ByaW1hcnknO1xuZXhwb3J0IGNvbnN0IEFNUF9NT0RFX1NFQ09OREFSWSA9ICdzZWNvbmRhcnknO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/conversion-tracking.js":
/*!****************************************************************!*\
  !*** ./js/googlesitekit/datastore/site/conversion-tracking.js ***!
  \****************************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n\n/**\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nvar getRegistry = googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].getRegistry;\nvar SET_CONVERSION_TRACKING_ENABLED = 'SET_CONVERSION_TRACKING_ENABLED';\nvar RESET_CONVERSION_TRACKING_SETTINGS = 'RESET_CONVERSION_TRACKING_SETTINGS';\nvar settingsReducerCallback = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, settings) {\n  state.conversionTracking.settings = settings;\n  state.conversionTracking.savedSettings = settings;\n});\nvar fetchGetConversionTrackingSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_5__[\"createFetchStore\"])({\n  baseName: 'getConversionTrackingSettings',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"get\"])('core', 'site', 'conversion-tracking', null, {\n      useCache: false\n    });\n  },\n  reducerCallback: settingsReducerCallback\n});\nvar fetchSaveConversionTrackingSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_5__[\"createFetchStore\"])({\n  baseName: 'saveConversionTrackingSettings',\n  controlCallback: function controlCallback(_ref) {\n    var settings = _ref.settings;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"set\"])('core', 'site', 'conversion-tracking', {\n      settings: settings\n    });\n  },\n  reducerCallback: settingsReducerCallback,\n  argsToParams: function argsToParams(settings) {\n    return {\n      settings: settings\n    };\n  },\n  validateParams: function validateParams(_ref2) {\n    var settings = _ref2.settings;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(settings), 'settings must be a plain object.');\n  }\n});\nvar baseInitialState = {\n  conversionTracking: {\n    settings: undefined,\n    savedSettings: undefined\n  }\n};\nvar baseActions = {\n  /**\n   * Saves the Conversion Tracking settings.\n   *\n   * @since 1.128.0\n   *\n   * @return {Object} Object with `response` and `error`.\n   */\n  saveConversionTrackingSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function saveConversionTrackingSettings() {\n    var _yield$getRegistry, select, settings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function saveConversionTrackingSettings$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return getRegistry();\n          case 2:\n            _yield$getRegistry = _context.sent;\n            select = _yield$getRegistry.select;\n            settings = select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getConversionTrackingSettings();\n            _context.next = 7;\n            return fetchSaveConversionTrackingSettingsStore.actions.fetchSaveConversionTrackingSettings(settings);\n          case 7:\n            return _context.abrupt(\"return\", _context.sent);\n          case 8:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, saveConversionTrackingSettings);\n  }),\n  /**\n   * Sets the Conversion Tracking enabled status.\n   *\n   * @since 1.128.0\n   *\n   * @param {string} enabled Consent Mode enabled status.\n   * @return {Object} Redux-style action.\n   */\n  setConversionTrackingEnabled: function setConversionTrackingEnabled(enabled) {\n    return {\n      type: SET_CONVERSION_TRACKING_ENABLED,\n      payload: {\n        enabled: enabled\n      }\n    };\n  },\n  /**\n   * Returns the current settings back to the current saved values.\n   *\n   * @since 1.129.0\n   * @private\n   *\n   * @return {Object} Redux-style action.\n   */\n  resetConversionTrackingSettings: function resetConversionTrackingSettings() {\n    return {\n      payload: {},\n      type: RESET_CONVERSION_TRACKING_SETTINGS\n    };\n  }\n};\nvar baseControls = {};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, _ref3) {\n  var type = _ref3.type,\n    payload = _ref3.payload;\n  switch (type) {\n    case SET_CONVERSION_TRACKING_ENABLED:\n      state.conversionTracking.settings = state.conversionTracking.settings || {};\n      state.conversionTracking.settings.enabled = !!payload.enabled;\n      break;\n    case RESET_CONVERSION_TRACKING_SETTINGS:\n      state.conversionTracking.settings = state.conversionTracking.savedSettings;\n      break;\n    default:\n      break;\n  }\n});\nvar baseSelectors = {\n  /**\n   * Gets the Conversion Tracking settings.\n   *\n   * @since 1.128.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Object|undefined} Conversion Tracking settings, or `undefined` if not loaded.\n   */\n  getConversionTrackingSettings: function getConversionTrackingSettings(state) {\n    return state.conversionTracking.settings;\n  },\n  /**\n   * Gets the Consent Mode enabled status.\n   *\n   * @since 1.128.0\n   *\n   * @return {boolean|undefined} Consent Mode enabled status, or `undefined` if not loaded.\n   */\n  isConversionTrackingEnabled: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _ref4 = select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getConversionTrackingSettings() || {},\n        enabled = _ref4.enabled;\n      return enabled;\n    };\n  }),\n  /**\n   * Indicates whether the current settings have changed from what is saved.\n   *\n   * @since 1.128.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} True if the settings have changed, false otherwise.\n   */\n  haveConversionTrackingSettingsChanged: function haveConversionTrackingSettingsChanged(state) {\n    var _state$conversionTrac = state.conversionTracking,\n      settings = _state$conversionTrac.settings,\n      savedSettings = _state$conversionTrac.savedSettings;\n    return !Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isEqual\"])(settings, savedSettings);\n  }\n};\nvar baseResolvers = {\n  getConversionTrackingSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getConversionTrackingSettings() {\n    var _yield$getRegistry2, select, conversionTrackingSettings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getConversionTrackingSettings$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return getRegistry();\n          case 2:\n            _yield$getRegistry2 = _context2.sent;\n            select = _yield$getRegistry2.select;\n            conversionTrackingSettings = select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getConversionTrackingSettings();\n            if (!conversionTrackingSettings) {\n              _context2.next = 7;\n              break;\n            }\n            return _context2.abrupt(\"return\");\n          case 7:\n            _context2.next = 9;\n            return fetchGetConversionTrackingSettingsStore.actions.fetchGetConversionTrackingSettings();\n          case 9:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, getConversionTrackingSettings);\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"combineStores\"])(fetchGetConversionTrackingSettingsStore, fetchSaveConversionTrackingSettingsStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: baseControls,\n  reducer: baseReducer,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/conversion-tracking.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/developer-plugin.js":
/*!*************************************************************!*\
  !*** ./js/googlesitekit/datastore/site/developer-plugin.js ***!
  \*************************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n\n/**\n * `core/site` data store: developer plugin.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n\nvar fetchGetDeveloperPluginState = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_4__[\"createFetchStore\"])({\n  baseName: 'getDeveloperPluginState',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__[\"get\"])('core', 'site', 'developer-plugin', undefined, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createReducer\"])(function (state, developerPluginState) {\n    state.developerPluginState = developerPluginState;\n  })\n});\nvar baseInitialState = {\n  developerPluginState: undefined\n};\nvar baseResolvers = {\n  getDeveloperPluginState: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getDeveloperPluginState() {\n    var registry, existingDeveloperPluginState;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getDeveloperPluginState$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context.sent;\n            existingDeveloperPluginState = registry.select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getDeveloperPluginState();\n            if (existingDeveloperPluginState) {\n              _context.next = 7;\n              break;\n            }\n            _context.next = 7;\n            return fetchGetDeveloperPluginState.actions.fetchGetDeveloperPluginState();\n          case 7:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, getDeveloperPluginState);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets the developer plugin state info for this site.\n   *\n   * Returns `undefined` if the developer plugin state is not available/loaded.\n   *\n   * Returns an object with the shape when successful:\n   * ```\n   * {\n   *   active: <Boolean>,\n   *   activateURL: <String>,\n   *   configureURL: <String>,\n   *   installURL: <String>,\n   *   installed: <Boolean>,\n   * }\n   * ```\n   *\n   * @since 1.21.0\n   * @private\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Developer plugin state.\n   */\n  getDeveloperPluginState: function getDeveloperPluginState(state) {\n    return state.developerPluginState;\n  }\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"combineStores\"])(fetchGetDeveloperPluginState, {\n  initialState: baseInitialState,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/developer-plugin.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/enable-auto-update.js":
/*!***************************************************************!*\
  !*** ./js/googlesitekit/datastore/site/enable-auto-update.js ***!
  \***************************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n\n\n/**\n * `core/site` data store: handle \"Auto-updating\" of Site Kit plugin in WordPress.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nvar receiveError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_6__[\"actions\"].receiveError,\n  clearError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_6__[\"actions\"].clearError;\nvar fetchEnableAutoUpdateStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_5__[\"createFetchStore\"])({\n  baseName: 'enableAutoUpdate',\n  controlCallback: function () {\n    var _controlCallback = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(_ref) {\n      var nonce, pluginBasename, data, response;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              nonce = _ref.nonce, pluginBasename = _ref.pluginBasename;\n              data = new FormData();\n              data.append('action', 'toggle-auto-updates');\n              data.append('_ajax_nonce', nonce);\n              data.append('state', 'enable');\n              data.append('type', 'plugin');\n              data.append('asset', pluginBasename);\n              _context.next = 9;\n              return fetch(global.ajaxurl, {\n                method: 'POST',\n                credentials: 'same-origin',\n                body: data\n              });\n            case 9:\n              response = _context.sent;\n              return _context.abrupt(\"return\", response.json());\n            case 11:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    function controlCallback(_x) {\n      return _controlCallback.apply(this, arguments);\n    }\n    return controlCallback;\n  }(),\n  argsToParams: function argsToParams(_ref2) {\n    var nonce = _ref2.nonce,\n      pluginBasename = _ref2.pluginBasename;\n    return {\n      nonce: nonce,\n      pluginBasename: pluginBasename\n    };\n  },\n  validateParams: function validateParams(_ref3) {\n    var nonce = _ref3.nonce,\n      pluginBasename = _ref3.pluginBasename;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(typeof nonce === 'string', 'nonce must be a string.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(typeof pluginBasename === 'string', 'pluginBasename must be a string.');\n  }\n});\nvar baseInitialState = {};\nvar baseActions = {\n  /**\n   * Enables auto updates for Site Kit.\n   *\n   * @since 1.93.0\n   */\n  enableAutoUpdate: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function enableAutoUpdate() {\n    var registry, nonce, pluginBasename, _yield$fetchEnableAut, response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function enableAutoUpdate$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return clearError('enableAutoUpdate', []);\n          case 2:\n            _context2.next = 4;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].getRegistry();\n          case 4:\n            registry = _context2.sent;\n            _context2.next = 7;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(registry.resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getNonces());\n          case 7:\n            _context2.next = 9;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getSiteInfo());\n          case 9:\n            nonce = registry.select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getNonce('updates');\n            pluginBasename = registry.select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getPluginBasename();\n            _context2.next = 13;\n            return fetchEnableAutoUpdateStore.actions.fetchEnableAutoUpdate({\n              nonce: nonce,\n              pluginBasename: pluginBasename\n            });\n          case 13:\n            _yield$fetchEnableAut = _context2.sent;\n            response = _yield$fetchEnableAut.response;\n            error = _yield$fetchEnableAut.error;\n            if (response === null || response === void 0 ? void 0 : response.success) {\n              registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).setSiteKitAutoUpdatesEnabled(true);\n            }\n            if (!error) {\n              _context2.next = 20;\n              break;\n            }\n            _context2.next = 20;\n            return receiveError(error, 'enableAutoUpdate', []);\n          case 20:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, enableAutoUpdate);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Checks if enableAutoUpdate action is in-process.\n   *\n   * @since 1.93.0\n   *\n   * @param {Object} state          Data store's state.\n   * @param {string} nonce          The nonce string.\n   * @param {string} pluginBasename The plugin base name.\n   * @return {boolean} `true` if enableAutoUpdate is in-flight; `false` if not.\n   */\n  isDoingEnableAutoUpdate: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var nonce = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getNonce('updates');\n      var pluginBasename = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getPluginBasename();\n      if (nonce === undefined || pluginBasename === undefined) {\n        return false;\n      }\n      return select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).isFetchingEnableAutoUpdate({\n        nonce: nonce,\n        pluginBasename: pluginBasename\n      });\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"combineStores\"])(fetchEnableAutoUpdateStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/enable-auto-update.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/errors.js":
/*!***************************************************!*\
  !*** ./js/googlesitekit/datastore/site/errors.js ***!
  \***************************************************/
/*! exports provided: baseReducer, initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseReducer\", function() { return baseReducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__);\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * `core/site` data store: Error info.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n// Actions\nvar SET_SERVER_ERROR = 'SET_SERVER_ERROR';\nvar CLEAR_SERVER_ERROR = 'CLEAR_SERVER_ERROR';\nvar baseInitialState = {\n  internalServerError: undefined\n};\nvar baseActions = {\n  /**\n   * Sets the internal server error.\n   *\n   * @since 1.38.0\n   *\n   * @param {Object} error             Internal server error object.\n   * @param {string} error.id          Error notification ID.\n   * @param {string} [error.title]     Optional. Error notification title. Default is \"Internal Server Error\".\n   * @param {string} error.description Error notification message.\n   * @param {string} [error.format]    Optional. Error notification format. Valid values \"small\" and \"large\". Default is \"small\".\n   * @param {string} [error.type]      Optional. Error notification type. Valid values \"win-warning\" and \"win-error\". Default is \"win-error\".\n   * @return {Object} Redux-style action.\n   */\n  setInternalServerError: function setInternalServerError(error) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(error), 'internalServerError must be a plain object.');\n    var _error$title = error.title,\n      title = _error$title === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Internal Server Error', 'google-site-kit') : _error$title,\n      _error$format = error.format,\n      format = _error$format === void 0 ? 'small' : _error$format,\n      _error$type = error.type,\n      type = _error$type === void 0 ? 'win-error' : _error$type,\n      props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(error, [\"title\", \"format\", \"type\"]);\n    return {\n      type: SET_SERVER_ERROR,\n      payload: {\n        internalServerError: _objectSpread({\n          title: title,\n          format: format,\n          type: type\n        }, props)\n      }\n    };\n  },\n  /**\n   * Clears the internal server error, if one was previously set.\n   *\n   * @since 1.38.0\n   *\n   * @return {Object} Redux-style action.\n   */\n  clearInternalServerError: function clearInternalServerError() {\n    return {\n      type: CLEAR_SERVER_ERROR\n    };\n  }\n};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, _ref) {\n  var type = _ref.type,\n    payload = _ref.payload;\n  switch (type) {\n    case SET_SERVER_ERROR:\n      state.internalServerError = payload.internalServerError;\n      break;\n    case CLEAR_SERVER_ERROR:\n      state.internalServerError = undefined;\n      break;\n    default:\n      break;\n  }\n});\nvar baseResolvers = {};\nvar baseSelectors = {\n  /**\n   * Gets the internal server error.\n   *\n   * @since 1.38.0\n   * @private\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Error info.\n   */\n  getInternalServerError: function getInternalServerError(state) {\n    return state.internalServerError;\n  }\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"combineStores\"])({\n  initialState: baseInitialState,\n  actions: baseActions,\n  reducer: baseReducer,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/errors.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/google-tag-gateway.js":
/*!***************************************************************!*\
  !*** ./js/googlesitekit/datastore/site/google-tag-gateway.js ***!
  \***************************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_modules_ads_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/ads/constants */ \"./js/modules/ads/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_features__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/features */ \"./js/features/index.js\");\n/* harmony import */ var _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/tagmanager/constants */ \"./js/modules/tagmanager/constants.js\");\n\n/**\n * `core/site` data store: google-tag-gateway.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable sitekit/jsdoc-no-unnamed-boolean-params */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nvar SET_GOOGLE_TAG_GATEWAY_ENABLED = 'SET_GOOGLE_TAG_GATEWAY_ENABLED';\nvar RESET_GOOGLE_TAG_GATEWAY_SETTINGS = 'RESET_GOOGLE_TAG_GATEWAY_SETTINGS';\nvar settingsReducerCallback = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, googleTagGatewaySettings) {\n  state.googleTagGatewaySettings = googleTagGatewaySettings;\n  state.googleTagGatewaySavedSettings = googleTagGatewaySettings;\n});\nvar fetchGetGoogleTagGatewaySettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_10__[\"createFetchStore\"])({\n  baseName: 'getGoogleTagGatewaySettings',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"get\"])('core', 'site', 'gtg-settings', undefined, {\n      useCache: false\n    });\n  },\n  reducerCallback: settingsReducerCallback\n});\nvar fetchSaveGoogleTagGatewaySettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_10__[\"createFetchStore\"])({\n  baseName: 'saveGoogleTagGatewaySettings',\n  controlCallback: function controlCallback(_ref) {\n    var settings = _ref.settings;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"set\"])('core', 'site', 'gtg-settings', {\n      settings: settings\n    });\n  },\n  reducerCallback: settingsReducerCallback,\n  argsToParams: function argsToParams(settings) {\n    var _ref2 = settings || {},\n      isEnabled = _ref2.isEnabled;\n    return {\n      settings: {\n        isEnabled: isEnabled\n      }\n    };\n  },\n  validateParams: function validateParams(_ref3) {\n    var settings = _ref3.settings;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(settings), 'settings must be a plain object.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(typeof settings.isEnabled === 'boolean', 'isEnabled must be a boolean.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object.keys(settings).length === 1, 'settings must have only the `isEnabled` property.');\n  }\n});\nvar fetchGetGTGServerRequirementStatusStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_10__[\"createFetchStore\"])({\n  baseName: 'getGTGServerRequirementStatus',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"get\"])('core', 'site', 'gtg-server-requirement-status', undefined, {\n      useCache: false\n    });\n  },\n  reducerCallback: settingsReducerCallback\n});\nvar baseInitialState = {\n  googleTagGatewaySettings: undefined,\n  googleTagGatewaySavedSettings: undefined\n};\nvar baseActions = {\n  /**\n   * Saves the Google tag gateway settings.\n   *\n   * @since 1.141.0\n   * @since 1.145.0 Added the survey trigger.\n   * @since 1.157.0 Renamed from `saveFirstPartyModeSettings` to `saveGoogleTagGatewaySettings`.\n   *\n   * @return {Object} Object with `response` and `error`.\n   */\n  saveGoogleTagGatewaySettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function saveGoogleTagGatewaySettings() {\n    var _results$response;\n    var _yield$commonActions$, dispatch, select, settings, results;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function saveGoogleTagGatewaySettings$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context.sent;\n            dispatch = _yield$commonActions$.dispatch;\n            select = _yield$commonActions$.select;\n            settings = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getGoogleTagGatewaySettings();\n            _context.next = 8;\n            return fetchSaveGoogleTagGatewaySettingsStore.actions.fetchSaveGoogleTagGatewaySettings(settings);\n          case 8:\n            results = _context.sent;\n            if (!(results === null || results === void 0 ? void 0 : (_results$response = results.response) === null || _results$response === void 0 ? void 0 : _results$response.isEnabled)) {\n              _context.next = 12;\n              break;\n            }\n            _context.next = 12;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].await(dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).triggerSurvey('gtg_setup_completed'));\n          case 12:\n            return _context.abrupt(\"return\", results);\n          case 13:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, saveGoogleTagGatewaySettings);\n  }),\n  /**\n   * Sets the Google tag gateway enabled status.\n   *\n   * @since 1.141.0\n   * @since 1.157.0 Renamed from `setFirstPartyModeEnabled` to `setGoogleTagGatewayEnabled`.\n   *\n   * @param {boolean} isEnabled Google tag gateway enabled status.\n   * @return {Object} Redux-style action.\n   */\n  setGoogleTagGatewayEnabled: function setGoogleTagGatewayEnabled(isEnabled) {\n    return {\n      type: SET_GOOGLE_TAG_GATEWAY_ENABLED,\n      payload: {\n        isEnabled: isEnabled\n      }\n    };\n  },\n  /**\n   * Returns the current settings back to the current saved values.\n   *\n   * @since 1.142.0\n   * @since 1.157.0 Renamed from `resetFirstPartyModeSettings` to `resetGoogleTagGatewaySettings`.\n   *\n   * @return {Object} Redux-style action.\n   */\n  resetGoogleTagGatewaySettings: function resetGoogleTagGatewaySettings() {\n    return {\n      payload: {},\n      type: RESET_GOOGLE_TAG_GATEWAY_SETTINGS\n    };\n  }\n};\nvar baseControls = {};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, _ref4) {\n  var type = _ref4.type,\n    payload = _ref4.payload;\n  switch (type) {\n    case SET_GOOGLE_TAG_GATEWAY_ENABLED:\n      {\n        state.googleTagGatewaySettings = state.googleTagGatewaySettings || {};\n        state.googleTagGatewaySettings.isEnabled = !!payload.isEnabled;\n        break;\n      }\n    case RESET_GOOGLE_TAG_GATEWAY_SETTINGS:\n      {\n        state.googleTagGatewaySettings = state.googleTagGatewaySavedSettings;\n        break;\n      }\n    default:\n      break;\n  }\n});\nvar baseResolvers = {\n  getGoogleTagGatewaySettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getGoogleTagGatewaySettings() {\n    var _yield$commonActions$2, select, settings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getGoogleTagGatewaySettings$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$2 = _context2.sent;\n            select = _yield$commonActions$2.select;\n            settings = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getGoogleTagGatewaySettings();\n            if (!(settings === undefined)) {\n              _context2.next = 8;\n              break;\n            }\n            _context2.next = 8;\n            return fetchGetGoogleTagGatewaySettingsStore.actions.fetchGetGoogleTagGatewaySettings();\n          case 8:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, getGoogleTagGatewaySettings);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets the Google tag gateway settings.\n   *\n   * @since 1.141.0\n   * @since 1.157.0 Renamed from `getFirstPartyModeSettings` to `getGoogleTagGatewaySettings`.\n   *\n   * @param {Object} state Data store's state.\n   * @return {Object|undefined} Google tag gateway settings, or undefined if not loaded.\n   */\n  getGoogleTagGatewaySettings: function getGoogleTagGatewaySettings(state) {\n    return state.googleTagGatewaySettings;\n  },\n  /**\n   * Checks if Google tag gateway is enabled.\n   *\n   * @since 1.141.0\n   * @since 1.157.0 Renamed from `isFirstPartyModeEnabled` to `isGoogleTagGatewayEnabled`.\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|undefined} True if Google tag gateway is enabled, otherwise false. Returns undefined if the state is not loaded.\n   */\n  isGoogleTagGatewayEnabled: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _ref5 = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getGoogleTagGatewaySettings() || {},\n        isEnabled = _ref5.isEnabled;\n      return isEnabled;\n    };\n  }),\n  /**\n   * Checks if the GTG service is determined to be healthy.\n   *\n   * @since 1.141.0\n   * @since 1.157.0 Renamed from `isFPMHealthy` to `isGTGHealthy`.\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|null|undefined} True if the GTG service is healthy, otherwise false. Returns undefined if the state is not loaded.\n   */\n  isGTGHealthy: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _ref6 = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getGoogleTagGatewaySettings() || {},\n        isGTGHealthy = _ref6.isGTGHealthy;\n      return isGTGHealthy;\n    };\n  }),\n  /**\n   * Checks if the GTag proxy script is accessible.\n   *\n   * @since 1.141.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|null|undefined} True if the `gtg/measurement.php` proxy script is accessible, otherwise false. Returns undefined if the state is not loaded.\n   */\n  isScriptAccessEnabled: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _ref7 = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getGoogleTagGatewaySettings() || {},\n        isScriptAccessEnabled = _ref7.isScriptAccessEnabled;\n      return isScriptAccessEnabled;\n    };\n  }),\n  /**\n   * Indicates whether the current Google tag gateway settings have changed from what is saved.\n   *\n   * @since 1.142.0\n   * @since 1.157.0 Renamed from `haveFirstPartyModeSettingsChanged` to `haveGoogleTagGatewaySettingsChanged`.\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} True if the settings have changed, false otherwise.\n   */\n  haveGoogleTagGatewaySettingsChanged: function haveGoogleTagGatewaySettingsChanged(state) {\n    var googleTagGatewaySettings = state.googleTagGatewaySettings,\n      googleTagGatewaySavedSettings = state.googleTagGatewaySavedSettings;\n    return !Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isEqual\"])(googleTagGatewaySettings, googleTagGatewaySavedSettings);\n  },\n  /**\n   * Checks if any Google tag gateway module is connected.\n   *\n   * @since 1.157.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} True if any Google tag gateway module is connected, false otherwise.\n   */\n  isAnyGoogleTagGatewayModuleConnected: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      if (!Object(_js_features__WEBPACK_IMPORTED_MODULE_11__[\"isFeatureEnabled\"])('googleTagGateway')) {\n        return false;\n      }\n      var _select = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_MODULES\"]),\n        isModuleConnected = _select.isModuleConnected;\n      return isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_ANALYTICS_4\"]) || isModuleConnected(_js_modules_ads_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ADS\"]) || isModuleConnected(_js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_TAGMANAGER\"]);\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"combineStores\"])(fetchGetGoogleTagGatewaySettingsStore, fetchSaveGoogleTagGatewaySettingsStore, fetchGetGTGServerRequirementStatusStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: baseControls,\n  reducer: baseReducer,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/google-tag-gateway.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/html.js":
/*!*************************************************!*\
  !*** ./js/googlesitekit/datastore/site/html.js ***!
  \*************************************************/
/*! exports provided: baseInitialState, baseResolvers, baseSelectors, initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseInitialState\", function() { return baseInitialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseResolvers\", function() { return baseResolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseSelectors\", function() { return baseSelectors; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_util_tag__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util/tag */ \"./js/util/tag.js\");\n\n\n\n/**\n * `core/site` data store: HTML for URL.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nvar fetchHTMLForURLStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'getHTMLForURL',\n  argsToParams: function argsToParams(url) {\n    return {\n      url: url\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      url = _ref.url;\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_4__[\"isURL\"])(url), 'a valid url is required to fetch HTML.');\n  },\n  controlCallback: function () {\n    var _controlCallback = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee(_ref2) {\n      var url, fetchHTMLOptions, fetchHTMLQueryArgs, response, html;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              url = _ref2.url;\n              fetchHTMLOptions = {\n                credentials: 'omit'\n              };\n              fetchHTMLQueryArgs = {\n                // Indicates a tag checking request. This lets Site Kit know not to output its own tags.\n                tagverify: 1,\n                // Add a timestamp for cache-busting.\n                //\n                // This value is used for cache-busting, so we don't want to rely on\n                // the reference date. We should always use the current time.\n                timestamp: Date.now() // eslint-disable-line sitekit/no-direct-date\n              };\n              _context.next = 5;\n              return fetch(Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_4__[\"addQueryArgs\"])(url, fetchHTMLQueryArgs), fetchHTMLOptions);\n            case 5:\n              response = _context.sent;\n              _context.prev = 6;\n              _context.next = 9;\n              return response.text();\n            case 9:\n              html = _context.sent;\n              if (!(html === '' || html === undefined)) {\n                _context.next = 12;\n                break;\n              }\n              return _context.abrupt(\"return\", null);\n            case 12:\n              return _context.abrupt(\"return\", html);\n            case 15:\n              _context.prev = 15;\n              _context.t0 = _context[\"catch\"](6);\n              return _context.abrupt(\"return\", null);\n            case 18:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee, null, [[6, 15]]);\n    }));\n    function controlCallback(_x) {\n      return _controlCallback.apply(this, arguments);\n    }\n    return controlCallback;\n  }(),\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, htmlForURL, _ref3) {\n    var url = _ref3.url;\n    state.htmlForURL[url] = htmlForURL;\n  })\n});\n\n// Actions\nvar RESET_HTML_FOR_URL = 'RESET_HTML_FOR_URL';\nvar CHECK_FOR_SETUP_TAG = 'CHECK_FOR_SETUP_TAG';\n\n// Errors\nvar ERROR_FETCH_FAIL = 'check_fetch_failed';\nvar ERROR_TOKEN_MISMATCH = 'setup_token_mismatch';\nvar baseInitialState = {\n  htmlForURL: {}\n};\nvar baseActions = {\n  /**\n   * Resets the HTML for a given URL.\n   *\n   * @since 1.13.0\n   * @private\n   *\n   * @param {string} url URL for which the HTML should be reset.\n   * @return {Object} Redux-style action.\n   */\n  resetHTMLForURL: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function resetHTMLForURL(url) {\n    var _yield$commonActions$, dispatch;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function resetHTMLForURL$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context2.sent;\n            dispatch = _yield$commonActions$.dispatch;\n            _context2.next = 6;\n            return {\n              payload: {\n                url: url\n              },\n              type: RESET_HTML_FOR_URL\n            };\n          case 6:\n            return _context2.abrupt(\"return\", dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).invalidateResolutionForStoreSelector('getHTMLForURL'));\n          case 7:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, resetHTMLForURL);\n  }),\n  checkForSetupTag: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function checkForSetupTag() {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function checkForSetupTag$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return {\n              payload: {},\n              type: CHECK_FOR_SETUP_TAG\n            };\n          case 2:\n            return _context3.abrupt(\"return\", _context3.sent);\n          case 3:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, checkForSetupTag);\n  })\n};\nvar baseControls = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, CHECK_FOR_SETUP_TAG, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistryControl\"])(function (registry) {\n  return /*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee2() {\n    var error, response, token, tokenMatch, _yield$set, homeURL, _yield$registry$dispa, scrapedTag;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee2$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            tokenMatch = false;\n            _context4.prev = 1;\n            _context4.next = 4;\n            return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_6__[\"set\"])('core', 'site', 'setup-tag');\n          case 4:\n            _yield$set = _context4.sent;\n            token = _yield$set.token;\n            _context4.next = 8;\n            return registry.select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getHomeURL();\n          case 8:\n            homeURL = _context4.sent;\n            _context4.next = 11;\n            return registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).fetchGetHTMLForURL(homeURL);\n          case 11:\n            _yield$registry$dispa = _context4.sent;\n            response = _yield$registry$dispa.response;\n            error = _yield$registry$dispa.error;\n            _context4.next = 19;\n            break;\n          case 16:\n            _context4.prev = 16;\n            _context4.t0 = _context4[\"catch\"](1);\n            error = ERROR_FETCH_FAIL;\n          case 19:\n            if (!error) {\n              scrapedTag = Object(_js_util_tag__WEBPACK_IMPORTED_MODULE_9__[\"extractExistingTag\"])(response, [/<meta name=\"googlesitekit-setup\" content=\"([a-z0-9-]+)\"/]);\n              tokenMatch = token === scrapedTag;\n              if (!tokenMatch) {\n                error = ERROR_TOKEN_MISMATCH;\n              }\n            }\n            return _context4.abrupt(\"return\", {\n              response: tokenMatch,\n              error: error\n            });\n          case 21:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, _callee2, null, [[1, 16]]);\n  }));\n}));\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, _ref5) {\n  var type = _ref5.type,\n    payload = _ref5.payload;\n  switch (type) {\n    case RESET_HTML_FOR_URL:\n      var url = payload.url;\n      state.htmlForURL[url] = undefined;\n      break;\n    default:\n      break;\n  }\n});\nvar baseResolvers = {\n  getHTMLForURL: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getHTMLForURL(url) {\n    var registry, existingHTML;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getHTMLForURL$(_context5) {\n      while (1) {\n        switch (_context5.prev = _context5.next) {\n          case 0:\n            _context5.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context5.sent;\n            existingHTML = registry.select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getHTMLForURL(url);\n            if (!(existingHTML === undefined)) {\n              _context5.next = 7;\n              break;\n            }\n            _context5.next = 7;\n            return fetchHTMLForURLStore.actions.fetchGetHTMLForURL(url);\n          case 7:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, getHTMLForURL);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets the HTML for a given URL.\n   *\n   * Returns `undefined` if the HTML is not available/loaded.\n   *\n   * Returns a string representation of the HTML when successful.\n   *\n   * @since 1.13.0\n   * @private\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} url   URL for which to fetch HTML.\n   * @return {(string|undefined)} String representation of HTML for given URL, or `undefined` if not loaded yet.\n   */\n  getHTMLForURL: function getHTMLForURL(state, url) {\n    return state.htmlForURL[url];\n  }\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"combineStores\"])(fetchHTMLForURLStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: baseControls,\n  reducer: baseReducer,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/html.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/index.js":
/*!**************************************************!*\
  !*** ./js/googlesitekit/datastore/site/index.js ***!
  \**************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, registerStore, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"registerStore\", function() { return registerStore; });\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _cache__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cache */ \"./js/googlesitekit/datastore/site/cache.js\");\n/* harmony import */ var _connection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./connection */ \"./js/googlesitekit/datastore/site/connection.js\");\n/* harmony import */ var _consent_mode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./consent-mode */ \"./js/googlesitekit/datastore/site/consent-mode.js\");\n/* harmony import */ var _conversion_tracking__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./conversion-tracking */ \"./js/googlesitekit/datastore/site/conversion-tracking.js\");\n/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./errors */ \"./js/googlesitekit/datastore/site/errors.js\");\n/* harmony import */ var _google_tag_gateway__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./google-tag-gateway */ \"./js/googlesitekit/datastore/site/google-tag-gateway.js\");\n/* harmony import */ var _html__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./html */ \"./js/googlesitekit/datastore/site/html.js\");\n/* harmony import */ var _info__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./info */ \"./js/googlesitekit/datastore/site/info.js\");\n/* harmony import */ var _reset__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./reset */ \"./js/googlesitekit/datastore/site/reset.js\");\n/* harmony import */ var _enable_auto_update__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./enable-auto-update */ \"./js/googlesitekit/datastore/site/enable-auto-update.js\");\n/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./settings */ \"./js/googlesitekit/datastore/site/settings.js\");\n/* harmony import */ var _urls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./urls */ \"./js/googlesitekit/datastore/site/urls.js\");\n/* harmony import */ var _developer_plugin__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./developer-plugin */ \"./js/googlesitekit/datastore/site/developer-plugin.js\");\n/* harmony import */ var _notifications__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./notifications */ \"./js/googlesitekit/datastore/site/notifications.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n/**\n * `core/site` data store\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"combineStores\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"commonStore\"], _connection__WEBPACK_IMPORTED_MODULE_3__[\"default\"], _consent_mode__WEBPACK_IMPORTED_MODULE_4__[\"default\"], _conversion_tracking__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _errors__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _google_tag_gateway__WEBPACK_IMPORTED_MODULE_7__[\"default\"], _html__WEBPACK_IMPORTED_MODULE_8__[\"default\"], _info__WEBPACK_IMPORTED_MODULE_9__[\"default\"], _developer_plugin__WEBPACK_IMPORTED_MODULE_14__[\"default\"], _reset__WEBPACK_IMPORTED_MODULE_10__[\"default\"], _enable_auto_update__WEBPACK_IMPORTED_MODULE_11__[\"default\"], _settings__WEBPACK_IMPORTED_MODULE_12__[\"default\"], _urls__WEBPACK_IMPORTED_MODULE_13__[\"default\"], _notifications__WEBPACK_IMPORTED_MODULE_15__[\"default\"], _cache__WEBPACK_IMPORTED_MODULE_2__[\"default\"], Object(_js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_16__[\"createErrorStore\"])(_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_SITE\"]));\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\nfunction registerStore(registry) {\n  registry.registerStore(_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_SITE\"], store);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9zaXRlL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC9kYXRhc3RvcmUvc2l0ZS9pbmRleC5qcz9hODVmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICog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QUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBbUJBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/index.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/info.js":
/*!*************************************************!*\
  !*** ./js/googlesitekit/datastore/site/info.js ***!
  \*************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var query_string__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! query-string */ \"../node_modules/query-string/index.js\");\n/* harmony import */ var query_string__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(query_string__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_negate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/negate */ \"./js/util/negate.js\");\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * `core/site` data store: site info.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable sitekit/jsdoc-no-unnamed-boolean-params */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction getSiteInfoProperty(propName) {\n  return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var siteInfo = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getSiteInfo() || {};\n      return siteInfo[propName];\n    };\n  });\n}\n\n// Actions\nvar RECEIVE_SITE_INFO = 'RECEIVE_SITE_INFO';\nvar RECEIVE_PERMALINK_PARAM = 'RECEIVE_PERMALINK_PARAM';\nvar SET_SITE_KIT_AUTO_UPDATES_ENABLED = 'SET_SITE_KIT_AUTO_UPDATES_ENABLED';\nvar SET_KEY_METRICS_SETUP_COMPLETED_BY = 'SET_KEY_METRICS_SETUP_COMPLETED_BY';\nvar SET_SETUP_ERROR_CODE = 'SET_SETUP_ERROR_CODE';\nvar initialState = {\n  siteInfo: undefined,\n  permaLink: false\n};\nvar actions = {\n  /**\n   * Stores site info in the datastore.\n   *\n   * Because this is frequently-accessed data, this is usually sourced\n   * from a global variable (`_googlesitekitSiteData`), set by PHP\n   * in the `before_print` callback for `googlesitekit-datastore-site`.\n   *\n   * @since 1.7.0\n   * @private\n   *\n   * @param {Object} siteInfo Site info, usually supplied via a global variable from PHP.\n   * @return {Object} Redux-style action.\n   */\n  receiveSiteInfo: function receiveSiteInfo(siteInfo) {\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(siteInfo, 'siteInfo is required.');\n    return {\n      payload: {\n        siteInfo: siteInfo\n      },\n      type: RECEIVE_SITE_INFO\n    };\n  },\n  receivePermaLinkParam: function receivePermaLinkParam(permaLink) {\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(permaLink, 'permaLink is required.');\n    return {\n      payload: {\n        permaLink: permaLink\n      },\n      type: RECEIVE_PERMALINK_PARAM\n    };\n  },\n  /**\n   * Sets `siteKitAutoUpdatesEnabled` value; if set to `true` this will\n   * enable auto-updates for Site Kit. Set to `false` to disable this\n   * behaviour.\n   *\n   * @since 1.93.0\n   *\n   * @param {boolean} siteKitAutoUpdatesEnabled Whether Site Kit auto-updates are enabled.\n   * @return {Object} Redux-style action.\n   */\n  setSiteKitAutoUpdatesEnabled: function setSiteKitAutoUpdatesEnabled(siteKitAutoUpdatesEnabled) {\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(typeof siteKitAutoUpdatesEnabled === 'boolean', 'siteKitAutoUpdatesEnabled must be a boolean.');\n    return {\n      payload: {\n        siteKitAutoUpdatesEnabled: siteKitAutoUpdatesEnabled\n      },\n      type: SET_SITE_KIT_AUTO_UPDATES_ENABLED\n    };\n  },\n  /**\n   * Sets the `setKeyMetricsSetupCompletedBy` value.\n   *\n   * @since 1.113.0\n   *\n   * @param {number} keyMetricsSetupCompletedBy Positive integer if key metrics setup is completed, otherwise 0.\n   * @return {Object} Redux-style action.\n   */\n  setKeyMetricsSetupCompletedBy: function setKeyMetricsSetupCompletedBy(keyMetricsSetupCompletedBy) {\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(typeof keyMetricsSetupCompletedBy === 'number', 'keyMetricsSetupCompletedBy must be a number.');\n    return {\n      payload: {\n        keyMetricsSetupCompletedBy: keyMetricsSetupCompletedBy\n      },\n      type: SET_KEY_METRICS_SETUP_COMPLETED_BY\n    };\n  },\n  /**\n   * Sets `setupErrorCode` value.\n   *\n   * @since 1.131.0\n   *\n   * @param {string|null} setupErrorCode Error code from setup, or `null` if no error.\n   * @return {Object} Redux-style action.\n   */\n  setSetupErrorCode: function setSetupErrorCode(setupErrorCode) {\n    // setupErrorCode can be a string or null.\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(typeof setupErrorCode === 'string' || setupErrorCode === null, 'setupErrorCode must be a string or null.');\n    return {\n      payload: {\n        setupErrorCode: setupErrorCode\n      },\n      type: SET_SETUP_ERROR_CODE\n    };\n  }\n};\nvar controls = {};\nvar reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createReducer\"])(function (state, _ref) {\n  var payload = _ref.payload,\n    type = _ref.type;\n  switch (type) {\n    case RECEIVE_SITE_INFO:\n      var _payload$siteInfo = payload.siteInfo,\n        adminURL = _payload$siteInfo.adminURL,\n        ampMode = _payload$siteInfo.ampMode,\n        currentEntityID = _payload$siteInfo.currentEntityID,\n        currentEntityTitle = _payload$siteInfo.currentEntityTitle,\n        currentEntityType = _payload$siteInfo.currentEntityType,\n        currentEntityURL = _payload$siteInfo.currentEntityURL,\n        homeURL = _payload$siteInfo.homeURL,\n        proxyPermissionsURL = _payload$siteInfo.proxyPermissionsURL,\n        proxySetupURL = _payload$siteInfo.proxySetupURL,\n        referenceSiteURL = _payload$siteInfo.referenceSiteURL,\n        setupErrorCode = _payload$siteInfo.setupErrorCode,\n        setupErrorMessage = _payload$siteInfo.setupErrorMessage,\n        setupErrorRedoURL = _payload$siteInfo.setupErrorRedoURL,\n        siteName = _payload$siteInfo.siteName,\n        siteLocale = _payload$siteInfo.siteLocale,\n        timezone = _payload$siteInfo.timezone,\n        usingProxy = _payload$siteInfo.usingProxy,\n        webStoriesActive = _payload$siteInfo.webStoriesActive,\n        proxySupportLinkURL = _payload$siteInfo.proxySupportLinkURL,\n        widgetsAdminURL = _payload$siteInfo.widgetsAdminURL,\n        postTypes = _payload$siteInfo.postTypes,\n        wpVersion = _payload$siteInfo.wpVersion,\n        updateCoreURL = _payload$siteInfo.updateCoreURL,\n        changePluginAutoUpdatesCapacity = _payload$siteInfo.changePluginAutoUpdatesCapacity,\n        siteKitAutoUpdatesEnabled = _payload$siteInfo.siteKitAutoUpdatesEnabled,\n        pluginBasename = _payload$siteInfo.pluginBasename,\n        productPostType = _payload$siteInfo.productPostType,\n        keyMetricsSetupCompletedBy = _payload$siteInfo.keyMetricsSetupCompletedBy,\n        keyMetricsSetupNew = _payload$siteInfo.keyMetricsSetupNew,\n        consentModeRegions = _payload$siteInfo.consentModeRegions,\n        anyoneCanRegister = _payload$siteInfo.anyoneCanRegister,\n        isMultisite = _payload$siteInfo.isMultisite;\n      state.siteInfo = {\n        adminURL: adminURL,\n        ampMode: ampMode,\n        currentEntityID: parseInt(currentEntityID, 10),\n        currentEntityTitle: currentEntityTitle,\n        currentEntityType: currentEntityType,\n        currentEntityURL: currentEntityURL,\n        homeURL: homeURL,\n        proxyPermissionsURL: proxyPermissionsURL,\n        proxySetupURL: proxySetupURL,\n        referenceSiteURL: referenceSiteURL,\n        setupErrorCode: setupErrorCode,\n        setupErrorMessage: setupErrorMessage,\n        setupErrorRedoURL: setupErrorRedoURL,\n        siteName: siteName,\n        siteLocale: siteLocale,\n        timezone: timezone,\n        usingProxy: usingProxy,\n        webStoriesActive: webStoriesActive,\n        proxySupportLinkURL: proxySupportLinkURL,\n        widgetsAdminURL: widgetsAdminURL,\n        postTypes: postTypes,\n        wpVersion: wpVersion,\n        updateCoreURL: updateCoreURL,\n        changePluginAutoUpdatesCapacity: changePluginAutoUpdatesCapacity,\n        siteKitAutoUpdatesEnabled: siteKitAutoUpdatesEnabled,\n        pluginBasename: pluginBasename,\n        productPostType: productPostType,\n        keyMetricsSetupCompletedBy: keyMetricsSetupCompletedBy,\n        keyMetricsSetupNew: keyMetricsSetupNew,\n        consentModeRegions: consentModeRegions,\n        anyoneCanRegister: anyoneCanRegister,\n        isMultisite: isMultisite\n      };\n      break;\n    case RECEIVE_PERMALINK_PARAM:\n      {\n        state.permaLink = payload.permaLink;\n        break;\n      }\n    case SET_SITE_KIT_AUTO_UPDATES_ENABLED:\n      {\n        if (!state.siteInfo) {\n          state.siteInfo = {};\n        }\n        state.siteInfo.siteKitAutoUpdatesEnabled = payload.siteKitAutoUpdatesEnabled;\n        break;\n      }\n    case SET_KEY_METRICS_SETUP_COMPLETED_BY:\n      {\n        if (!state.siteInfo) {\n          state.siteInfo = {};\n        }\n        state.siteInfo.keyMetricsSetupCompletedBy = payload.keyMetricsSetupCompletedBy;\n        break;\n      }\n    case SET_SETUP_ERROR_CODE:\n      {\n        if (!state.siteInfo) {\n          state.siteInfo = {};\n        }\n        state.siteInfo.setupErrorCode = payload.setupErrorCode;\n        break;\n      }\n    default:\n      break;\n  }\n});\nvar resolvers = {\n  getSiteInfo: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default.a.mark(function getSiteInfo() {\n    var registry, _global$_googlesiteki, adminURL, ampMode, homeURL, proxyPermissionsURL, proxySetupURL, referenceSiteURL, setupErrorCode, setupErrorMessage, setupErrorRedoURL, siteName, siteLocale, timezone, usingProxy, webStoriesActive, proxySupportLinkURL, widgetsAdminURL, postTypes, wpVersion, updateCoreURL, changePluginAutoUpdatesCapacity, siteKitAutoUpdatesEnabled, pluginBasename, productPostType, keyMetricsSetupCompletedBy, keyMetricsSetupNew, consentModeRegions, anyoneCanRegister, isMultisite, _global$_googlesiteki2, currentEntityID, currentEntityTitle, currentEntityType, currentEntityURL;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default.a.wrap(function getSiteInfo$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context.sent;\n            if (!registry.select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getSiteInfo()) {\n              _context.next = 5;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 5:\n            if (!(!global._googlesitekitBaseData || !global._googlesitekitEntityData)) {\n              _context.next = 8;\n              break;\n            }\n            global.console.error('Could not load core/site info.');\n            return _context.abrupt(\"return\");\n          case 8:\n            _global$_googlesiteki = global._googlesitekitBaseData, adminURL = _global$_googlesiteki.adminURL, ampMode = _global$_googlesiteki.ampMode, homeURL = _global$_googlesiteki.homeURL, proxyPermissionsURL = _global$_googlesiteki.proxyPermissionsURL, proxySetupURL = _global$_googlesiteki.proxySetupURL, referenceSiteURL = _global$_googlesiteki.referenceSiteURL, setupErrorCode = _global$_googlesiteki.setupErrorCode, setupErrorMessage = _global$_googlesiteki.setupErrorMessage, setupErrorRedoURL = _global$_googlesiteki.setupErrorRedoURL, siteName = _global$_googlesiteki.siteName, siteLocale = _global$_googlesiteki.siteLocale, timezone = _global$_googlesiteki.timezone, usingProxy = _global$_googlesiteki.usingProxy, webStoriesActive = _global$_googlesiteki.webStoriesActive, proxySupportLinkURL = _global$_googlesiteki.proxySupportLinkURL, widgetsAdminURL = _global$_googlesiteki.widgetsAdminURL, postTypes = _global$_googlesiteki.postTypes, wpVersion = _global$_googlesiteki.wpVersion, updateCoreURL = _global$_googlesiteki.updateCoreURL, changePluginAutoUpdatesCapacity = _global$_googlesiteki.changePluginAutoUpdatesCapacity, siteKitAutoUpdatesEnabled = _global$_googlesiteki.siteKitAutoUpdatesEnabled, pluginBasename = _global$_googlesiteki.pluginBasename, productPostType = _global$_googlesiteki.productPostType, keyMetricsSetupCompletedBy = _global$_googlesiteki.keyMetricsSetupCompletedBy, keyMetricsSetupNew = _global$_googlesiteki.keyMetricsSetupNew, consentModeRegions = _global$_googlesiteki.consentModeRegions, anyoneCanRegister = _global$_googlesiteki.anyoneCanRegister, isMultisite = _global$_googlesiteki.isMultisite;\n            _global$_googlesiteki2 = global._googlesitekitEntityData, currentEntityID = _global$_googlesiteki2.currentEntityID, currentEntityTitle = _global$_googlesiteki2.currentEntityTitle, currentEntityType = _global$_googlesiteki2.currentEntityType, currentEntityURL = _global$_googlesiteki2.currentEntityURL;\n            _context.next = 12;\n            return actions.receiveSiteInfo({\n              adminURL: adminURL,\n              ampMode: ampMode,\n              currentEntityID: currentEntityID,\n              currentEntityTitle: currentEntityTitle,\n              currentEntityType: currentEntityType,\n              currentEntityURL: currentEntityURL,\n              homeURL: homeURL,\n              proxyPermissionsURL: proxyPermissionsURL,\n              proxySetupURL: proxySetupURL,\n              referenceSiteURL: referenceSiteURL,\n              setupErrorCode: setupErrorCode,\n              setupErrorMessage: setupErrorMessage,\n              setupErrorRedoURL: setupErrorRedoURL,\n              siteName: siteName,\n              siteLocale: siteLocale,\n              timezone: timezone,\n              postTypes: postTypes,\n              usingProxy: !!usingProxy,\n              webStoriesActive: webStoriesActive,\n              proxySupportLinkURL: proxySupportLinkURL,\n              widgetsAdminURL: widgetsAdminURL,\n              wpVersion: wpVersion,\n              updateCoreURL: updateCoreURL,\n              changePluginAutoUpdatesCapacity: changePluginAutoUpdatesCapacity,\n              siteKitAutoUpdatesEnabled: siteKitAutoUpdatesEnabled,\n              pluginBasename: pluginBasename,\n              productPostType: productPostType,\n              keyMetricsSetupCompletedBy: keyMetricsSetupCompletedBy,\n              keyMetricsSetupNew: keyMetricsSetupNew,\n              consentModeRegions: consentModeRegions,\n              anyoneCanRegister: anyoneCanRegister,\n              isMultisite: isMultisite\n            });\n          case 12:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, getSiteInfo);\n  })\n};\nvar selectors = {\n  /**\n   * Gets all site info from this data store.\n   *\n   * Not intended to be used publicly; this is largely here so other selectors can\n   * request data using the selector/resolver pattern.\n   *\n   * @since 1.7.0\n   * @private\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Site connection info.\n   */\n  getSiteInfo: function getSiteInfo(state) {\n    return state.siteInfo;\n  },\n  /**\n   * Gets a site's admin URL.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object}             state Data store's state.\n   * @param {(string|undefined)} page  Optional page query argument ( Simple format: 'test-page' or Full format: 'custom.php?page=test-page' ) to add to admin URL. If not provided, the base admin URL is returned.\n   * @param {(Object|undefined)} args  Optional additional query arguments to add to admin URL.\n   * @return {(string|undefined)} This site's admin URL.\n   */\n  getAdminURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, page) {\n      var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      var _ref2 = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getSiteInfo() || {},\n        adminURL = _ref2.adminURL; // Return adminURL if undefined, or if no page supplied.\n      if (adminURL === undefined || page === undefined) {\n        return adminURL;\n      }\n      var baseURL = adminURL[adminURL.length - 1] === '/' ? adminURL : \"\".concat(adminURL, \"/\");\n      var pageArg = page;\n      var phpFile = 'admin.php';\n\n      // If page argument is full format (i.e. 'admin.php?page=google-site-kit'), extract php file and pageArg, returning early with adminURL if no 'page' param found.\n      if (page.indexOf('.php?') !== -1) {\n        var splitPage = page.split('?');\n        pageArg = query_string__WEBPACK_IMPORTED_MODULE_5___default.a.parse(splitPage.pop()).page;\n        if (!pageArg) {\n          return adminURL;\n        }\n        phpFile = splitPage.shift();\n      }\n\n      // Since page should be first query arg, create queryArgs without 'page' to prevent a 'page' in args from overriding it.\n      var extraPage = args.page,\n        queryArgs = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(args, [\"page\"]); // eslint-disable-line no-unused-vars\n      return Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_6__[\"addQueryArgs\"])(\"\".concat(baseURL).concat(phpFile), _objectSpread({\n        page: pageArg\n      }, queryArgs));\n    };\n  }),\n  /**\n   * Gets a site's AMP mode.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|undefined)} AMP Mode.\n   */\n  getAMPMode: getSiteInfoProperty('ampMode'),\n  /**\n   * Gets the current entity's ID.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(number|null|undefined)} Current entity's ID, null if there is\n   *                                   none, undefined if not loaded yet.\n   */\n  getCurrentEntityID: getSiteInfoProperty('currentEntityID'),\n  /**\n   * Gets the current entity's title.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|null|undefined)} Current entity's title, null if there\n   *                                   is none, undefined if not loaded yet.\n   */\n  getCurrentEntityTitle: getSiteInfoProperty('currentEntityTitle'),\n  /**\n   * Gets the current entity's title.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|null|undefined)} Current entity's type, null if there\n   *                                   is none, undefined if not loaded yet.\n   */\n  getCurrentEntityType: getSiteInfoProperty('currentEntityType'),\n  /**\n   * Gets the current entity's reference URL.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|null|undefined)} Current entity's URL, null if there is\n   *                                   none, undefined if not loaded yet.\n   */\n  getCurrentEntityURL: getSiteInfoProperty('currentEntityURL'),\n  /**\n   * Gets a site's homepage URL.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|undefined)} This site's home URL.\n   */\n  getHomeURL: getSiteInfoProperty('homeURL'),\n  /**\n   * Gets a site's reference site URL.\n   *\n   * @since 1.7.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|undefined)} The reference site URL.\n   */\n  getReferenceSiteURL: getSiteInfoProperty('referenceSiteURL'),\n  /**\n   * Gets proxy setup URL.\n   *\n   * @since 1.14.0\n   *\n   * @return {string} Proxy setup URL if available, otherwise an empty string.\n   */\n  getProxySetupURL: getSiteInfoProperty('proxySetupURL'),\n  /**\n   * Gets proxy permissions URL.\n   *\n   * @since 1.14.0\n   *\n   * @return {string} Proxy permissions URL if available, otherwise an empty string.\n   */\n  getProxyPermissionsURL: getSiteInfoProperty('proxyPermissionsURL'),\n  /**\n   * Gets the current reference URL to use.\n   *\n   * This selector should be used to get the contextual URL for requesting\n   * URL-specific data from Google APIs.\n   *\n   * If a current entity exists, this will return the same value as the\n   * `getCurrentEntityURL` selector. Otherwise it will fall back to returning\n   * the same value as the `getReferenceSiteURL` selector.\n   *\n   * @since 1.10.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|undefined)} The current reference URL, or undefined if\n   *                              not loaded yet.\n   */\n  getCurrentReferenceURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      // Use current entity URL if present or still loading.\n      var currentEntityURL = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getCurrentEntityURL();\n      if (currentEntityURL !== null) {\n        return currentEntityURL;\n      }\n\n      // Otherwise fall back to reference site URL.\n      return select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getReferenceSiteURL();\n    };\n  }),\n  /**\n   * Returns true if this site supports AMP.\n   *\n   * @since 1.7.0\n   * @since 1.11.0 Renamed from isAmp to isAMP.\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|undefined)} `true` if AMP support is enabled, `false` if not. Returns `undefined` if not loaded.\n   */\n  isAMP: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var ampMode = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getAMPMode();\n      if (ampMode === undefined) {\n        return undefined;\n      }\n      return !!ampMode;\n    };\n  }),\n  /**\n   * Checks if the site is in the primary AMP mode.\n   *\n   * @since 1.12.0\n   *\n   * @return {(boolean|undefined)} `true` or `false` if the site is in the primary AMP mode. Returns `undefined` if not loaded.\n   */\n  isPrimaryAMP: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var ampMode = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getAMPMode();\n      if (ampMode === undefined) {\n        return undefined;\n      }\n      return ampMode === _constants__WEBPACK_IMPORTED_MODULE_8__[\"AMP_MODE_PRIMARY\"];\n    };\n  }),\n  /**\n   * Checks if the site is in a secondary AMP mode.\n   *\n   * @since 1.12.0\n   *\n   * @return {(boolean|undefined)} `true` or `false` if the site is in a secondary AMP mode. Returns `undefined` if not loaded.\n   */\n  isSecondaryAMP: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var ampMode = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getAMPMode();\n      if (ampMode === undefined) {\n        return undefined;\n      }\n      return ampMode === _constants__WEBPACK_IMPORTED_MODULE_8__[\"AMP_MODE_SECONDARY\"];\n    };\n  }),\n  /**\n   * Retrieves an admin settings URL, pointing to either network or single-site settings\n   * depending on whether the site is multisite.\n   *\n   * @since 1.146.0\n   *\n   * @return {string|undefined} The admin settings URL, or undefined if required data is unavailable.\n   */\n  getAdminSettingsURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var adminURL = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getAdminURL();\n      var isMultisite = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).isMultisite();\n      if (adminURL === undefined || isMultisite === undefined) {\n        return undefined;\n      }\n      return new URL(isMultisite === true ? 'network/settings.php' : 'options-general.php', adminURL).href;\n    };\n  }),\n  /**\n   * Gets a site's timezone.\n   *\n   * @since 1.9.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|undefined)} The timezone.\n   */\n  getTimezone: getSiteInfoProperty('timezone'),\n  /**\n   * Returns true if this site is using the proxy service.\n   *\n   * @since 1.9.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} `true` if the proxy service is in use, `false` if not. Returns `undefined` if not loaded.\n   */\n  isUsingProxy: getSiteInfoProperty('usingProxy'),\n  /**\n   * Gets a site's name.\n   *\n   * @since 1.9.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|undefined)} The site name.\n   */\n  getSiteName: getSiteInfoProperty('siteName'),\n  /**\n   * Gets a site's locale.\n   *\n   * @since 1.147.0\n   *\n   * @return {(string|undefined)} The site locale.\n   */\n  getSiteLocale: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select$getSiteInfo, _select$getSiteInfo$s;\n      return (_select$getSiteInfo = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getSiteInfo()) === null || _select$getSiteInfo === void 0 ? void 0 : (_select$getSiteInfo$s = _select$getSiteInfo.siteLocale) === null || _select$getSiteInfo$s === void 0 ? void 0 : _select$getSiteInfo$s.replace('_', '-');\n    };\n  }),\n  /**\n   * Gets a setup error code, if one exists.\n   *\n   * @since 1.80.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|undefined)} An error code from setup, if one exists. Will be `null` if no error exists; `undefined` when loading.\n   */\n  getSetupErrorCode: getSiteInfoProperty('setupErrorCode'),\n  /**\n   * Gets a setup error message, if one exists.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|null|undefined)} An error message from setup, if one exists. Will be `null` if no error exists; `undefined` when loading.\n   */\n  getSetupErrorMessage: getSiteInfoProperty('setupErrorMessage'),\n  /**\n   * Gets a setup redo URL, if one exists after encountering a setup error.\n   *\n   * This URL will be used to redo the setup process if a user encountered\n   * an error.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|null|undefined)} The setup URL, if one exists. Will be `null` if no error exists and thus the setup redo URL doesn't exist; `undefined` when loading.\n   */\n  getSetupErrorRedoURL: getSiteInfoProperty('setupErrorRedoURL'),\n  /**\n   * Gets the proxy support URL.\n   *\n   * @since 1.80.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|null)} The proxy support URL.\n   */\n  getProxySupportLinkURL: getSiteInfoProperty('proxySupportLinkURL'),\n  /**\n   * Gets the admin widgets editor URL.\n   *\n   * @since 1.81.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|null)} The proxy support URL.\n   */\n  getWidgetsAdminURL: getSiteInfoProperty('widgetsAdminURL'),\n  /**\n   * Gets the public post types.\n   *\n   * @since 1.81.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Array.<Object>} The public post types.\n   */\n  getPostTypes: getSiteInfoProperty('postTypes'),\n  /**\n   * Gets the 'permaLink' query parameter.\n   *\n   * @since 1.18.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|boolean)} Value of the 'permaLink' query parameter or `false` if not set.\n   */\n  getPermaLinkParam: function getPermaLinkParam(state) {\n    if (state.permaLink) {\n      return state.permaLink;\n    }\n    var queryArg = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_6__[\"getQueryArg\"])(global.location.href, 'permaLink');\n    return queryArg ? queryArg : false;\n  },\n  /**\n   * Returns true if this site has the Web Stories plugin enabled.\n   *\n   * @since 1.27.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} `true` if the Web Stories plugin is enabled, `false` if not. Returns `undefined` if not loaded.\n   */\n  isWebStoriesActive: getSiteInfoProperty('webStoriesActive'),\n  /**\n   * Determines whether the provided URL matches reference site URL or not.\n   *\n   * @since 1.32.0\n   *\n   * @param {string} url The URL to compare with the reference site URL.\n   * @return {boolean} TRUE if the URL matches reference site URL, otherwise FALSE.\n   */\n  isSiteURLMatch: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, url) {\n      var referenceURL = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getReferenceSiteURL();\n      return Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"normalizeURL\"])(referenceURL) === Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"normalizeURL\"])(url);\n    };\n  }),\n  /**\n   * Gets an array with site URL permutations.\n   *\n   * @since 1.34.0\n   *\n   * @return {Array.<string>} An array with permutations.\n   */\n  getSiteURLPermutations: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var referenceURL = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getReferenceSiteURL();\n      var permutations = [];\n      var url = new URL(referenceURL);\n      url.hostname = url.hostname.replace(/^www\\./i, '');\n      url.protocol = 'http';\n      permutations.push(Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"untrailingslashit\"])(url));\n      url.protocol = 'https';\n      permutations.push(Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"untrailingslashit\"])(url));\n      url.hostname = 'www.' + url.hostname;\n      permutations.push(Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"untrailingslashit\"])(url));\n      url.protocol = 'http';\n      permutations.push(Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"untrailingslashit\"])(url));\n      return permutations;\n    };\n  }),\n  /**\n   * Gets the WordPress version object.\n   *\n   * @since 1.85.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} WordPress version object.\n   */\n  getWPVersion: getSiteInfoProperty('wpVersion'),\n  /**\n   * Gets the WordPress update core URL.\n   *\n   * @since 1.85.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} WordPress update core URL.\n   */\n  getUpdateCoreURL: getSiteInfoProperty('updateCoreURL'),\n  /**\n   * Determines if Site Kit auto update settings can be changed.\n   *\n   * Auto update settings can not be changed if plugin updates are disabled site-wide\n   * or if Site Kit auto updates are enforced by a PHP filter.\n   *\n   * @since 1.93.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} `true` if plugin auto updates are enabled, otherwise `false`.\n   */\n  hasChangePluginAutoUpdatesCapacity: getSiteInfoProperty('changePluginAutoUpdatesCapacity'),\n  /**\n   * Determines if the auto updates are enabled for the Site Kit plugin.\n   *\n   * @since 1.93.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} `true` if Site Kit auto updates are enabled, otherwise `false`.\n   */\n  getSiteKitAutoUpdatesEnabled: getSiteInfoProperty('siteKitAutoUpdatesEnabled'),\n  /**\n   * Get the plugin basename.\n   *\n   * @since 1.93.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {string} The basename of plugin, e.g. `'google-site-kit/google-site-kit.php'`.\n   */\n  getPluginBasename: getSiteInfoProperty('pluginBasename'),\n  /**\n   * Get the user ID of the user who setup Key Metrics widget if present.\n   *\n   * @since 1.113.0\n   *\n   * @return {number} `ID` of the user who did initial setup of the Key Metrics widget, if setup was done, otherwise `0`.\n   */\n  getKeyMetricsSetupCompletedBy: getSiteInfoProperty('keyMetricsSetupCompletedBy'),\n  /**\n   * Gets the state of whether or not Key Metrics was recently set up.\n   *\n   * @since 1.115.0\n   *\n   * @return {boolean} `true` if recently set up, otherwise `false`.\n   */\n  getKeyMetricsSetupNew: getSiteInfoProperty('keyMetricsSetupNew'),\n  /**\n   * Determines whether the current WordPress site has the minimum required version.\n   * Currently, the minimum required version is 5.2.\n   *\n   * @since 1.85.0\n   *\n   * @param {string} minimumWPVersion The minimum required WordPress version.\n   * @return {(boolean|undefined)} `true` if the WordPress site's version is greater than or equal to the minimum required version, `false` if not. Returns `undefined` if not loaded.\n   */\n  hasMinimumWordPressVersion: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, minimumWPVersion) {\n      invariant__WEBPACK_IMPORTED_MODULE_4___default()(minimumWPVersion, 'minimumWPVersion is required.');\n      var _ref3 = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getWPVersion() || {},\n        major = _ref3.major,\n        minor = _ref3.minor;\n      if (major === undefined || minor === undefined) {\n        return undefined;\n      }\n      var _minimumWPVersion$spl = minimumWPVersion.split('.').map(function (v) {\n          return parseInt(v, 10);\n        }),\n        _minimumWPVersion$spl2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_minimumWPVersion$spl, 2),\n        minimumMajor = _minimumWPVersion$spl2[0],\n        _minimumWPVersion$spl3 = _minimumWPVersion$spl2[1],\n        minimumMinor = _minimumWPVersion$spl3 === void 0 ? 0 : _minimumWPVersion$spl3;\n      return minimumMajor < major || minimumMajor === major && minimumMinor <= minor;\n    };\n  }),\n  /**\n   * Gets product post type.\n   *\n   * @since 1.116.0\n   *\n   * @return {string|null} The product post type or null if not present.\n   */\n  getProductPostType: getSiteInfoProperty('productPostType'),\n  /**\n   * Checks if the Key Metrics widget has been setup either if at least one user\n   * has answered the User Input questionnaire or picked their own metrics.\n   *\n   * @since 1.108.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} `true` if the Key Metrics widget has been setup, otherwise `false`.\n   */\n  isKeyMetricsSetupCompleted: function isKeyMetricsSetupCompleted(state) {\n    // Here we double-negate the value of the setup completed by state\n    // in order to cast it to a boolean, but only if it's not undefined.\n    return Object(_js_util_negate__WEBPACK_IMPORTED_MODULE_10__[\"negateDefined\"])(Object(_js_util_negate__WEBPACK_IMPORTED_MODULE_10__[\"negateDefined\"])(selectors.getKeyMetricsSetupCompletedBy(state)));\n  },\n  /**\n   * Get the static list of consent mode regions.\n   *\n   * @since 1.128.0\n   *\n   * @return {Array<string>} Array of consent mode regions.\n   */\n  getConsentModeRegions: getSiteInfoProperty('consentModeRegions'),\n  /**\n   * Checks if user registrations are open on this WordPress site.\n   *\n   * @since 1.141.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|undefined} `true` if registrations are open; `false` if not. Returns `undefined` if not yet loaded.\n   */\n  getAnyoneCanRegister: getSiteInfoProperty('anyoneCanRegister'),\n  /**\n   * Checks if WordPress site is running in the multisite mode.\n   *\n   * @since 1.142.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|undefined} `true` if it is multisite; `false` if not. Returns `undefined` if not yet loaded.\n   */\n  isMultisite: getSiteInfoProperty('isMultisite')\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  initialState: initialState,\n  actions: actions,\n  controls: controls,\n  reducer: reducer,\n  resolvers: resolvers,\n  selectors: selectors\n});\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/info.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/notifications.js":
/*!**********************************************************!*\
  !*** ./js/googlesitekit/datastore/site/notifications.js ***!
  \**********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_notifications_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/data/create-notifications-store */ \"./js/googlesitekit/data/create-notifications-store.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n\n/**\n * `core/site` data store: notifications.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nvar ACCEPTED = 'accepted';\nvar DISMISSED = 'dismissed';\nfunction isValidNotificationID(notificationID) {\n  return 'string' === typeof notificationID;\n}\nvar fetchMarkNotificationStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'markNotification',\n  controlCallback: function controlCallback(_ref) {\n    var notificationID = _ref.notificationID,\n      notificationState = _ref.notificationState;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_2__[\"set\"])('core', 'site', 'mark-notification', {\n      notificationID: notificationID,\n      notificationState: notificationState\n    });\n  },\n  argsToParams: function argsToParams(_ref2) {\n    var notificationID = _ref2.notificationID,\n      notificationState = _ref2.notificationState;\n    return {\n      notificationID: notificationID,\n      notificationState: notificationState\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      notificationID = _ref3.notificationID,\n      notificationState = _ref3.notificationState;\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()([ACCEPTED, DISMISSED].includes(notificationState), 'notificationState must be accepted or dismissed.');\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(isValidNotificationID(notificationID), 'a valid notification ID is required to mark a notification.');\n  }\n});\nvar baseActions = {\n  /**\n   * Marks the given notification as accepted.\n   *\n   * @since 1.47.0\n   *\n   * @param {string} id Notification ID.\n   * @return {Object} Object with `response` and `error`.\n   */\n  acceptNotification: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_7__[\"createValidatedAction\"])(function (notificationID) {\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(isValidNotificationID(notificationID), 'a valid notification ID is required to accept a notification.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(notificationID) {\n    var _yield$fetchMarkNotif, response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return fetchMarkNotificationStore.actions.fetchMarkNotification({\n              notificationID: notificationID,\n              notificationState: ACCEPTED\n            });\n          case 2:\n            _yield$fetchMarkNotif = _context.sent;\n            response = _yield$fetchMarkNotif.response;\n            error = _yield$fetchMarkNotif.error;\n            if (!error) {\n              _context.next = 8;\n              break;\n            }\n            _context.next = 8;\n            return _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_8__[\"actions\"].receiveError(error, 'acceptNotification', [notificationID]);\n          case 8:\n            return _context.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 9:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })),\n  /**\n   * Marks the given notification as dismissed.\n   *\n   * @since 1.47.0\n   *\n   * @param {string} id Notification ID.\n   * @return {Object} Object with `response` and `error`.\n   */\n  dismissNotification: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_7__[\"createValidatedAction\"])(function (notificationID) {\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(isValidNotificationID(notificationID), 'a valid notification ID is required to dismiss a notification.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(notificationID) {\n    var _yield$fetchMarkNotif2, response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return fetchMarkNotificationStore.actions.fetchMarkNotification({\n              notificationID: notificationID,\n              notificationState: DISMISSED\n            });\n          case 2:\n            _yield$fetchMarkNotif2 = _context2.sent;\n            response = _yield$fetchMarkNotif2.response;\n            error = _yield$fetchMarkNotif2.error;\n            if (!error) {\n              _context2.next = 8;\n              break;\n            }\n            _context2.next = 8;\n            return _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_8__[\"actions\"].receiveError(error, 'dismissNotification', [notificationID]);\n          case 8:\n            return _context2.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 9:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  }))\n};\nvar notifications = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"combineStores\"])(Object(_js_googlesitekit_data_create_notifications_store__WEBPACK_IMPORTED_MODULE_5__[\"createNotificationsStore\"])('core', 'site', 'notifications', {\n  storeName: _constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]\n}), fetchMarkNotificationStore, {\n  actions: baseActions\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (notifications);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/notifications.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/reset.js":
/*!**************************************************!*\
  !*** ./js/googlesitekit/datastore/site/reset.js ***!
  \**************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n\n/**\n * `core/site` data store: reset connection.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n\nvar fetchResetStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_4__[\"createFetchStore\"])({\n  baseName: 'reset',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__[\"set\"])('core', 'site', 'reset');\n  }\n});\nvar baseInitialState = {};\nvar baseActions = {\n  /**\n   * Resets the website's connection info to Site Kit.\n   *\n   * WARNING: This causes the website's connection with Google Site Kit to be\n   * removed and will require re-authentication. Use this action with caution,\n   * and always request user confirmation before dispatching.\n   *\n   * @since 1.5.0\n   */\n  reset: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function reset() {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function reset$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return fetchResetStore.actions.fetchReset();\n          case 2:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, reset);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Checks if reset action is in-process.\n   *\n   * @since 1.5.0\n   *\n   * @return {boolean} `true` if resetting is in-flight; `false` if not.\n   */\n  isDoingReset: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).isFetchingReset();\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"combineStores\"])(fetchResetStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9zaXRlL3Jlc2V0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC9kYXRhc3RvcmUvc2l0ZS9yZXNldC5qcz82ZTU0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYGNvcmUvc2l0ZWAgZGF0YSBzdG9yZTogcmVzZXQgY29ubmVjdGlvbi5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMa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tBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/reset.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/settings.js":
/*!*****************************************************!*\
  !*** ./js/googlesitekit/datastore/site/settings.js ***!
  \*****************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * `core/site` data store: settings.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable sitekit/jsdoc-no-unnamed-boolean-params */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nvar fetchGetAdminBarSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'getAdminBarSettings',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"get\"])('core', 'site', 'admin-bar-settings', undefined, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, adminBarSettings) {\n    state.adminBarSettings = _objectSpread(_objectSpread({}, state.adminBarSettings || {}), adminBarSettings);\n  })\n});\nvar fetchSetAdminBarSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'setAdminBarSettings',\n  controlCallback: function controlCallback(_ref) {\n    var enabled = _ref.enabled;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"set\"])('core', 'site', 'admin-bar-settings', {\n      enabled: enabled\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, adminBarSettings) {\n    state.adminBarSettings = _objectSpread(_objectSpread({}, state.adminBarSettings || {}), adminBarSettings);\n  }),\n  argsToParams: function argsToParams(_ref2) {\n    var enabled = _ref2.enabled;\n    return {\n      enabled: enabled\n    };\n  },\n  validateParams: function validateParams(_ref3) {\n    var enabled = _ref3.enabled;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(typeof enabled === 'boolean', 'enabled must be of boolean type');\n  }\n});\nvar baseInitialState = {\n  adminBarSettings: undefined\n};\nvar baseActions = {\n  /**\n   * Sets showAdminBar setting.\n   *\n   * @since 1.39.0\n   *\n   * @param {boolean} enabled Whether to show or hide the admin bar.\n   * @return {Object} Object with `response` and `error`.\n   */\n  setShowAdminBar: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function setShowAdminBar(enabled) {\n    var _yield$fetchSetAdminB, response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function setShowAdminBar$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return fetchSetAdminBarSettingsStore.actions.fetchSetAdminBarSettings({\n              enabled: enabled\n            });\n          case 2:\n            _yield$fetchSetAdminB = _context.sent;\n            response = _yield$fetchSetAdminB.response;\n            error = _yield$fetchSetAdminB.error;\n            return _context.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 6:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, setShowAdminBar);\n  })\n};\nvar baseControls = {};\nfunction baseReducer(state, _ref4) {\n  var type = _ref4.type;\n  switch (type) {\n    default:\n      return state;\n  }\n}\nvar baseResolvers = {\n  getAdminBarSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getAdminBarSettings() {\n    var _yield$commonActions$, select, settings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getAdminBarSettings$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context2.sent;\n            select = _yield$commonActions$.select;\n            settings = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getAdminBarSettings();\n            if (!(settings === undefined)) {\n              _context2.next = 8;\n              break;\n            }\n            _context2.next = 8;\n            return fetchGetAdminBarSettingsStore.actions.fetchGetAdminBarSettings();\n          case 8:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, getAdminBarSettings);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets admin bar settings.\n   *\n   * @since 1.39.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} Admin bar setting if they have been already resolved, otherwise undefined.\n   */\n  getAdminBarSettings: function getAdminBarSettings(state) {\n    return state.adminBarSettings;\n  },\n  /**\n   * Gets showAdminBar setting.\n   *\n   * @since 1.39.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} The showAdminBar setting if it has been already resolved, otherwise undefined.\n   */\n  getShowAdminBar: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select$getAdminBarSe;\n      return (_select$getAdminBarSe = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getAdminBarSettings()) === null || _select$getAdminBarSe === void 0 ? void 0 : _select$getAdminBarSe.enabled;\n    };\n  }),\n  /**\n   * Gets the URL for the module settings page.\n   *\n   * @since 1.157.0\n   *\n   * @param {Object} state      Data store's state.\n   * @param {string} moduleSlug The slug of the module.\n   * @return {string} The URL for the module settings page.\n   */\n  getModuleSettingsURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function (state, moduleSlug) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(moduleSlug, 'moduleSlug is required to get module settings URL');\n      var baseURL = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getAdminURL('googlesitekit-settings');\n      return \"\".concat(baseURL, \"#connected-services/\").concat(moduleSlug);\n    };\n  }),\n  /**\n   * Gets the URL for the module settings edit page.\n   *\n   * @since 1.157.0\n   *\n   * @param {Object} state      Data store's state.\n   * @param {string} moduleSlug The slug of the module.\n   * @return {string} The URL for the module settings edit page.\n   */\n  getModuleSettingsEditURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function (state, moduleSlug) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(moduleSlug, 'moduleSlug is required to get module settings edit URL');\n      var settingsURL = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getModuleSettingsURL(moduleSlug);\n      return \"\".concat(settingsURL, \"/edit\");\n    };\n  }),\n  /**\n   * Gets the URL for the \"Connect More Services\" page.\n   *\n   * @since 1.157.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {string} The URL for the \"Connect More Services\" page.\n   */\n  getConnectMoreServicesURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var baseURL = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getAdminURL('googlesitekit-settings');\n      return \"\".concat(baseURL, \"#connect-more-services\");\n    };\n  }),\n  /**\n   * Gets the URL for the admin settings page.\n   *\n   * @since 1.157.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {Object} args  Optional additional query arguments to add to admin URL.\n   * @return {string} The URL for the admin settings page.\n   */\n  getSiteKitAdminSettingsURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function (state, args) {\n      var baseURL = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getAdminURL('googlesitekit-settings', args);\n      return \"\".concat(baseURL, \"#/admin-settings\");\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"combineStores\"])(fetchGetAdminBarSettingsStore, fetchSetAdminBarSettingsStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: baseControls,\n  reducer: baseReducer,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/settings.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/urls.js":
/*!*************************************************!*\
  !*** ./js/googlesitekit/datastore/site/urls.js ***!
  \*************************************************/
/*! exports provided: selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * `core/site` data store: urls.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nvar selectors = {\n  /**\n   * Gets an external Google URL that includes the user's locale.\n   *\n   * @since 1.36.0\n   *\n   * @param {Object} state          Data store's state.\n   * @param {Object} [args]         Optional arguments for the resulting URL.\n   * @param {string} [args.website] Base URL hostname and schema.\n   * @param {string} [args.path]    URL path to build complete URL with starting slash.\n   * @param {Object} [args.query]   Object to append query to the URL.\n   * @param {string} [args.hash]    Optional hash.\n   * @param {string} [args.locale]  Optional locale.\n   * @return {(string|null)} The URL containing the user's locale or `null` if path is not set.\n   */\n  getGoogleLocaleAwareURL: function getGoogleLocaleAwareURL(state, args) {\n    var _currentLocale$match;\n    var currentLocale = Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"getLocale\"])();\n    var _ref = args || {},\n      website = _ref.website,\n      path = _ref.path,\n      query = _ref.query,\n      hash = _ref.hash,\n      _ref$locale = _ref.locale,\n      locale = _ref$locale === void 0 ? ((_currentLocale$match = currentLocale.match(/^([a-zA-Z]+[-_]?[a-zA-Z]*)/)) === null || _currentLocale$match === void 0 ? void 0 : _currentLocale$match[0]) || currentLocale : _ref$locale;\n    if (!path) {\n      return null;\n    }\n    var url = new URL(website);\n    url.pathname = path;\n    url.hash = hash || '';\n    var params = _objectSpread(_objectSpread({}, query), {}, {\n      hl: locale\n    });\n    for (var key in params) {\n      url.searchParams.set(key, params[key]);\n    }\n    return url.toString();\n  },\n  /**\n   * Gets an external help link that includes the user's locale.\n   *\n   * @since 1.24.0\n   *\n   * @param {Object} state        Data store's state.\n   * @param {Object} [args]       Optional arguments for the resulting URL.\n   * @param {string} [args.path]  URL path to build complete URL with starting slash.\n   * @param {Object} [args.query] Object to append query to the URL.\n   * @param {string} [args.hash]  Optional hash.\n   * @return {(string|null)} The URL containing the user's locale or `null` if path is not set.\n   */\n  getGoogleSupportURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function (state, args) {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getGoogleLocaleAwareURL(_objectSpread(_objectSpread({}, args), {}, {\n        website: 'https://support.google.com'\n      }));\n    };\n  }),\n  /**\n   * Gets the Google privacy policy URL.\n   *\n   * @since 1.36.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {string} The Google privacy policy URL.\n   */\n  getGooglePrivacyPolicyURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getGoogleLocaleAwareURL({\n        website: 'https://myaccount.google.com',\n        path: '/privacypolicy'\n      });\n    };\n  }),\n  /**\n   * Gets the Site Kit documentation URL.\n   *\n   * @since 1.80.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  The slug of the documentation page.\n   * @return {string} The Site Kit support URL.\n   */\n  getDocumentationLinkURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      invariant__WEBPACK_IMPORTED_MODULE_1___default()(slug, 'A slug is required.');\n      var proxySupportLink = select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getProxySupportLinkURL();\n      return \"\".concat(proxySupportLink, \"?doc=\").concat(encodeURIComponent(slug));\n    };\n  }),\n  /**\n   * Gets the relevant troubleshooting URL.\n   *\n   * @since 1.80.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {Object} error The error object.\n   * @return {string} The Site Kit support URL.\n   */\n  getErrorTroubleshootingLinkURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function (state, error) {\n      invariant__WEBPACK_IMPORTED_MODULE_1___default()(error, 'An error is required.');\n      var proxySupportLink = select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getProxySupportLinkURL();\n      if (error.id && !Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"isNumeric\"])(error.id)) {\n        return \"\".concat(proxySupportLink, \"?error_id=\").concat(encodeURIComponent(error.id));\n      }\n      if (error.code && !Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"isNumeric\"])(error.code)) {\n        return \"\".concat(proxySupportLink, \"?error_id=\").concat(encodeURIComponent(error.code));\n      }\n      return \"\".concat(proxySupportLink, \"?error=\").concat(encodeURIComponent(error.message));\n    };\n  }),\n  /**\n   * Gets the Google terms of service URL.\n   *\n   * @since 1.36.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {string} The Google terms URL.\n   */\n  getGoogleTermsURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getGoogleLocaleAwareURL({\n        website: 'https://policies.google.com',\n        path: '/terms'\n      });\n    };\n  })\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  selectors: selectors\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/urls.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/user/constants.js":
/*!******************************************************!*\
  !*** ./js/googlesitekit/datastore/user/constants.js ***!
  \******************************************************/
/*! exports provided: CORE_USER, DISCONNECTED_REASON_CONNECTED_URL_MISMATCH, GLOBAL_SURVEYS_TIMEOUT_SLUG, FORM_TEMPORARY_PERSIST_PERMISSION_ERROR, ERROR_CODE_ADBLOCKER_ACTIVE, PERMISSION_AUTHENTICATE, PERMISSION_SETUP, PERMISSION_VIEW_POSTS_INSIGHTS, PERMISSION_VIEW_DASHBOARD, PERMISSION_VIEW_SHARED_DASHBOARD, PERMISSION_VIEW_MODULE_DETAILS, PERMISSION_MANAGE_OPTIONS, PERMISSION_READ_SHARED_MODULE_DATA, PERMISSION_MANAGE_MODULE_SHARING_OPTIONS, PERMISSION_DELEGATE_MODULE_SHARING_MANAGEMENT, PERMISSION_UPDATE_PLUGINS, KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT, KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE, KM_ANALYTICS_LEAST_ENGAGING_PAGES, KM_ANALYTICS_NEW_VISITORS, KM_ANALYTICS_POPULAR_AUTHORS, KM_ANALYTICS_POPULAR_CONTENT, KM_ANALYTICS_POPULAR_PRODUCTS, KM_ANALYTICS_RETURNING_VISITORS, KM_ANALYTICS_TOP_CITIES, KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS, KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART, KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES, KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES, KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE, KM_ANALYTICS_TOP_COUNTRIES, KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS, KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES, KM_ANALYTICS_TOP_TRAFFIC_SOURCE, KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART, KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS, KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES, KM_ANALYTICS_PAGES_PER_VISIT, KM_ANALYTICS_VISIT_LENGTH, KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES, KM_SEARCH_CONSOLE_POPULAR_KEYWORDS, KM_ANALYTICS_VISITS_PER_VISITOR, KM_ANALYTICS_MOST_ENGAGING_PAGES, KM_ANALYTICS_TOP_CATEGORIES, keyMetricsGA4Widgets, allKeyMetricsTileWidgets */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_USER\", function() { return CORE_USER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DISCONNECTED_REASON_CONNECTED_URL_MISMATCH\", function() { return DISCONNECTED_REASON_CONNECTED_URL_MISMATCH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GLOBAL_SURVEYS_TIMEOUT_SLUG\", function() { return GLOBAL_SURVEYS_TIMEOUT_SLUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_TEMPORARY_PERSIST_PERMISSION_ERROR\", function() { return FORM_TEMPORARY_PERSIST_PERMISSION_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_CODE_ADBLOCKER_ACTIVE\", function() { return ERROR_CODE_ADBLOCKER_ACTIVE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_AUTHENTICATE\", function() { return PERMISSION_AUTHENTICATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_SETUP\", function() { return PERMISSION_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_VIEW_POSTS_INSIGHTS\", function() { return PERMISSION_VIEW_POSTS_INSIGHTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_VIEW_DASHBOARD\", function() { return PERMISSION_VIEW_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_VIEW_SHARED_DASHBOARD\", function() { return PERMISSION_VIEW_SHARED_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_VIEW_MODULE_DETAILS\", function() { return PERMISSION_VIEW_MODULE_DETAILS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_MANAGE_OPTIONS\", function() { return PERMISSION_MANAGE_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_READ_SHARED_MODULE_DATA\", function() { return PERMISSION_READ_SHARED_MODULE_DATA; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_MANAGE_MODULE_SHARING_OPTIONS\", function() { return PERMISSION_MANAGE_MODULE_SHARING_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_DELEGATE_MODULE_SHARING_MANAGEMENT\", function() { return PERMISSION_DELEGATE_MODULE_SHARING_MANAGEMENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_UPDATE_PLUGINS\", function() { return PERMISSION_UPDATE_PLUGINS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT\", function() { return KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE\", function() { return KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_LEAST_ENGAGING_PAGES\", function() { return KM_ANALYTICS_LEAST_ENGAGING_PAGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_NEW_VISITORS\", function() { return KM_ANALYTICS_NEW_VISITORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_POPULAR_AUTHORS\", function() { return KM_ANALYTICS_POPULAR_AUTHORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_POPULAR_CONTENT\", function() { return KM_ANALYTICS_POPULAR_CONTENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_POPULAR_PRODUCTS\", function() { return KM_ANALYTICS_POPULAR_PRODUCTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_RETURNING_VISITORS\", function() { return KM_ANALYTICS_RETURNING_VISITORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CITIES\", function() { return KM_ANALYTICS_TOP_CITIES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS\", function() { return KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART\", function() { return KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES\", function() { return KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES\", function() { return KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE\", function() { return KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_COUNTRIES\", function() { return KM_ANALYTICS_TOP_COUNTRIES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS\", function() { return KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES\", function() { return KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_TRAFFIC_SOURCE\", function() { return KM_ANALYTICS_TOP_TRAFFIC_SOURCE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART\", function() { return KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS\", function() { return KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES\", function() { return KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_PAGES_PER_VISIT\", function() { return KM_ANALYTICS_PAGES_PER_VISIT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_VISIT_LENGTH\", function() { return KM_ANALYTICS_VISIT_LENGTH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES\", function() { return KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_SEARCH_CONSOLE_POPULAR_KEYWORDS\", function() { return KM_SEARCH_CONSOLE_POPULAR_KEYWORDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_VISITS_PER_VISITOR\", function() { return KM_ANALYTICS_VISITS_PER_VISITOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_MOST_ENGAGING_PAGES\", function() { return KM_ANALYTICS_MOST_ENGAGING_PAGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CATEGORIES\", function() { return KM_ANALYTICS_TOP_CATEGORIES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"keyMetricsGA4Widgets\", function() { return keyMetricsGA4Widgets; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"allKeyMetricsTileWidgets\", function() { return allKeyMetricsTileWidgets; });\n/**\n * `core/user` data store: constants.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar CORE_USER = 'core/user';\nvar DISCONNECTED_REASON_CONNECTED_URL_MISMATCH = 'connected_url_mismatch';\nvar GLOBAL_SURVEYS_TIMEOUT_SLUG = '__global';\nvar FORM_TEMPORARY_PERSIST_PERMISSION_ERROR = 'temporary_persist_permission_error';\nvar ERROR_CODE_ADBLOCKER_ACTIVE = 'adblocker_active';\n\n// Permissions list.\nvar PERMISSION_AUTHENTICATE = 'googlesitekit_authenticate';\nvar PERMISSION_SETUP = 'googlesitekit_setup';\nvar PERMISSION_VIEW_POSTS_INSIGHTS = 'googlesitekit_view_posts_insights';\nvar PERMISSION_VIEW_DASHBOARD = 'googlesitekit_view_dashboard';\nvar PERMISSION_VIEW_SHARED_DASHBOARD = 'googlesitekit_view_shared_dashboard';\nvar PERMISSION_VIEW_MODULE_DETAILS = 'googlesitekit_view_module_details';\nvar PERMISSION_MANAGE_OPTIONS = 'googlesitekit_manage_options';\nvar PERMISSION_READ_SHARED_MODULE_DATA = 'googlesitekit_read_shared_module_data';\nvar PERMISSION_MANAGE_MODULE_SHARING_OPTIONS = 'googlesitekit_manage_module_sharing_options';\nvar PERMISSION_DELEGATE_MODULE_SHARING_MANAGEMENT = 'googlesitekit_delegate_module_sharing_management';\nvar PERMISSION_UPDATE_PLUGINS = 'googlesitekit_update_plugins';\n\n// Key Metrics Widgets\nvar KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT = 'kmAnalyticsAdSenseTopEarningContent';\nvar KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE = 'kmAnalyticsEngagedTrafficSource';\nvar KM_ANALYTICS_LEAST_ENGAGING_PAGES = 'kmAnalyticsLeastEngagingPages';\nvar KM_ANALYTICS_NEW_VISITORS = 'kmAnalyticsNewVisitors';\nvar KM_ANALYTICS_POPULAR_AUTHORS = 'kmAnalyticsPopularAuthors';\nvar KM_ANALYTICS_POPULAR_CONTENT = 'kmAnalyticsPopularContent';\nvar KM_ANALYTICS_POPULAR_PRODUCTS = 'kmAnalyticsPopularProducts';\nvar KM_ANALYTICS_RETURNING_VISITORS = 'kmAnalyticsReturningVisitors';\nvar KM_ANALYTICS_TOP_CITIES = 'kmAnalyticsTopCities';\nvar KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS = 'kmAnalyticsTopCitiesDrivingLeads';\nvar KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART = 'kmAnalyticsTopCitiesDrivingAddToCart';\nvar KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES = 'kmAnalyticsTopCitiesDrivingPurchases';\nvar KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES = 'kmAnalyticsTopDeviceDrivingPurchases';\nvar KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE = 'kmAnalyticsTopConvertingTrafficSource';\nvar KM_ANALYTICS_TOP_COUNTRIES = 'kmAnalyticsTopCountries';\nvar KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS = 'kmAnalyticsTopPagesDrivingLeads';\nvar KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES = 'kmAnalyticsTopRecentTrendingPages';\nvar KM_ANALYTICS_TOP_TRAFFIC_SOURCE = 'kmAnalyticsTopTrafficSource';\nvar KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART = 'kmAnalyticsTopTrafficSourceDrivingAddToCart';\nvar KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS = 'kmAnalyticsTopTrafficSourceDrivingLeads';\nvar KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES = 'kmAnalyticsTopTrafficSourceDrivingPurchases';\nvar KM_ANALYTICS_PAGES_PER_VISIT = 'kmAnalyticsPagesPerVisit';\nvar KM_ANALYTICS_VISIT_LENGTH = 'kmAnalyticsVisitLength';\nvar KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES = 'kmAnalyticsTopReturningVisitorPages';\nvar KM_SEARCH_CONSOLE_POPULAR_KEYWORDS = 'kmSearchConsolePopularKeywords';\nvar KM_ANALYTICS_VISITS_PER_VISITOR = 'kmAnalyticsVisitsPerVisitor';\nvar KM_ANALYTICS_MOST_ENGAGING_PAGES = 'kmAnalyticsMostEngagingPages';\nvar KM_ANALYTICS_TOP_CATEGORIES = 'kmAnalyticsTopCategories';\nvar keyMetricsGA4Widgets = [KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT, KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE, KM_ANALYTICS_LEAST_ENGAGING_PAGES, KM_ANALYTICS_NEW_VISITORS, KM_ANALYTICS_POPULAR_AUTHORS, KM_ANALYTICS_POPULAR_CONTENT, KM_ANALYTICS_POPULAR_PRODUCTS, KM_ANALYTICS_RETURNING_VISITORS, KM_ANALYTICS_TOP_CATEGORIES, KM_ANALYTICS_TOP_CITIES, KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS, KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART, KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES, KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES, KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE, KM_ANALYTICS_TOP_COUNTRIES, KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES, KM_ANALYTICS_TOP_TRAFFIC_SOURCE, KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART, KM_ANALYTICS_PAGES_PER_VISIT, KM_ANALYTICS_VISIT_LENGTH, KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES, KM_ANALYTICS_VISITS_PER_VISITOR, KM_ANALYTICS_MOST_ENGAGING_PAGES, KM_ANALYTICS_TOP_CATEGORIES];\nvar allKeyMetricsTileWidgets = [].concat(keyMetricsGA4Widgets, [KM_SEARCH_CONSOLE_POPULAR_KEYWORDS]);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/user/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/datastore/constants.js":
/*!*********************************************************!*\
  !*** ./js/googlesitekit/modules/datastore/constants.js ***!
  \*********************************************************/
/*! exports provided: CORE_MODULES, ERROR_CODE_INSUFFICIENT_MODULE_DEPENDENCIES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_MODULES\", function() { return CORE_MODULES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_CODE_INSUFFICIENT_MODULE_DEPENDENCIES\", function() { return ERROR_CODE_INSUFFICIENT_MODULE_DEPENDENCIES; });\n/**\n * `core/modules` data store: constants.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar CORE_MODULES = 'core/modules';\nvar ERROR_CODE_INSUFFICIENT_MODULE_DEPENDENCIES = 'insufficient_module_dependencies';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L21vZHVsZXMvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvbW9kdWxlcy9kYXRhc3RvcmUvY29uc3RhbnRzLmpzPzA3YjUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgY29yZS9tb2R1bGVzYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgQ09SRV9NT0RVTEVTID0gJ2NvcmUvbW9kdWxlcyc7XG5leHBvcnQgY29uc3QgRVJST1JfQ09ERV9JTlNVRkZJQ0lFTlRfTU9EVUxFX0RFUEVOREVOQ0lFUyA9XG5cdCdpbnN1ZmZpY2llbnRfbW9kdWxlX2RlcGVuZGVuY2llcyc7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/datastore/constants.js\n");

/***/ }),

/***/ "./js/modules/ads/constants.js":
/*!*************************************!*\
  !*** ./js/modules/ads/constants.js ***!
  \*************************************/
/*! exports provided: MODULE_SLUG_ADS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULE_SLUG_ADS\", function() { return MODULE_SLUG_ADS; });\n/**\n * Ads module constants.\n *\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar MODULE_SLUG_ADS = 'ads';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkcy9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkcy9jb25zdGFudHMuanM/MTE2OCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFkcyBtb2R1bGUgY29uc3RhbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IGNvbnN0IE1PRFVMRV9TTFVHX0FEUyA9ICdhZHMnO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/ads/constants.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/constants.js":
/*!*********************************************!*\
  !*** ./js/modules/analytics-4/constants.js ***!
  \*********************************************/
/*! exports provided: ACTIVATION_STEP_REMINDER, ACTIVATION_STEP_SETUP, ACTIVATION_STEP_SUCCESS, ACTIVATION_STEP_IN_PROGRESS, ACTIVATION_ACKNOWLEDGEMENT_TOOLTIP_STATE_KEY, GA4_ACTIVATION_BANNER_STATE_KEY, ENHANCED_MEASUREMENT_ACTIVATION_BANNER_TOOLTIP_STATE_KEY, LEGACY_ENHANCED_MEASUREMENT_ACTIVATION_BANNER_DISMISSED_ITEM_KEY, REPORT_ARGS_SELECTED_METRIC_KEY, REPORT_ARGS_SELECTED_DIMENSION_KEY, REPORT_ARGS_DATA_FILTERS_KEY, REPORT_ARGS_NAV_KEY, KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY, GA4_AUTO_SWITCH_DATE, MODULE_SLUG_ANALYTICS_4 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_STEP_REMINDER\", function() { return ACTIVATION_STEP_REMINDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_STEP_SETUP\", function() { return ACTIVATION_STEP_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_STEP_SUCCESS\", function() { return ACTIVATION_STEP_SUCCESS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_STEP_IN_PROGRESS\", function() { return ACTIVATION_STEP_IN_PROGRESS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_ACKNOWLEDGEMENT_TOOLTIP_STATE_KEY\", function() { return ACTIVATION_ACKNOWLEDGEMENT_TOOLTIP_STATE_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GA4_ACTIVATION_BANNER_STATE_KEY\", function() { return GA4_ACTIVATION_BANNER_STATE_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENHANCED_MEASUREMENT_ACTIVATION_BANNER_TOOLTIP_STATE_KEY\", function() { return ENHANCED_MEASUREMENT_ACTIVATION_BANNER_TOOLTIP_STATE_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LEGACY_ENHANCED_MEASUREMENT_ACTIVATION_BANNER_DISMISSED_ITEM_KEY\", function() { return LEGACY_ENHANCED_MEASUREMENT_ACTIVATION_BANNER_DISMISSED_ITEM_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"REPORT_ARGS_SELECTED_METRIC_KEY\", function() { return REPORT_ARGS_SELECTED_METRIC_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"REPORT_ARGS_SELECTED_DIMENSION_KEY\", function() { return REPORT_ARGS_SELECTED_DIMENSION_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"REPORT_ARGS_DATA_FILTERS_KEY\", function() { return REPORT_ARGS_DATA_FILTERS_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"REPORT_ARGS_NAV_KEY\", function() { return REPORT_ARGS_NAV_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY\", function() { return KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GA4_AUTO_SWITCH_DATE\", function() { return GA4_AUTO_SWITCH_DATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULE_SLUG_ANALYTICS_4\", function() { return MODULE_SLUG_ANALYTICS_4; });\n/**\n * GA4 module constants.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar ACTIVATION_STEP_REMINDER = 0;\nvar ACTIVATION_STEP_SETUP = 1;\nvar ACTIVATION_STEP_SUCCESS = 2;\nvar ACTIVATION_STEP_IN_PROGRESS = 3;\nvar ACTIVATION_ACKNOWLEDGEMENT_TOOLTIP_STATE_KEY = 'activation-acknowledgement-tooltip-state';\nvar GA4_ACTIVATION_BANNER_STATE_KEY = 'ga4-activation-banner-state';\nvar ENHANCED_MEASUREMENT_ACTIVATION_BANNER_TOOLTIP_STATE_KEY = 'enhanced-measurement-activation-banner-tooltip-state';\nvar LEGACY_ENHANCED_MEASUREMENT_ACTIVATION_BANNER_DISMISSED_ITEM_KEY = 'enhanced-measurement-activation-banner-dismissed-item';\nvar REPORT_ARGS_SELECTED_METRIC_KEY = '_r.explorerCard..selmet';\nvar REPORT_ARGS_SELECTED_DIMENSION_KEY = '_r.explorerCard..seldim';\nvar REPORT_ARGS_DATA_FILTERS_KEY = '_r..dataFilters';\nvar REPORT_ARGS_NAV_KEY = '_r..nav';\nvar KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY = 'key-metrics-connect-ga4-cta-widget';\n\n/**\n * Date that Site Kit will automatically switch to using GA4: September 25, 2023.\n *\n * With Site Kit's maximum date range being three months, once this period has passed since the UA cutoff date,\n * it will no longer be able to show any historical data for UA and will automatically switch to GA4.\n * For operational reasons, we automatically make the switch a few days before the three month cutoff point.\n *\n * @since 1.107.0\n * @see UA_CUTOFF_DATE.\n */\nvar GA4_AUTO_SWITCH_DATE = '2023-09-25';\nvar MODULE_SLUG_ANALYTICS_4 = 'analytics-4';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29uc3RhbnRzLmpzPzBlZWEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHQTQgbW9kdWxlIGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIyIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/constants.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/constants.js":
/*!********************************************!*\
  !*** ./js/modules/tagmanager/constants.js ***!
  \********************************************/
/*! exports provided: MODULE_SLUG_TAGMANAGER */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULE_SLUG_TAGMANAGER\", function() { return MODULE_SLUG_TAGMANAGER; });\n/**\n * Tag Manager module constants.\n *\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar MODULE_SLUG_TAGMANAGER = 'tagmanager';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvY29uc3RhbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy90YWdtYW5hZ2VyL2NvbnN0YW50cy5qcz9jZGRkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGFnIE1hbmFnZXIgbW9kdWxlIGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNl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}),

/***/ "./js/util/chart.js":
/*!**************************!*\
  !*** ./js/util/chart.js ***!
  \**************************/
/*! exports provided: getChartDifferenceArrow, isSingleSlice, calculateDifferenceBetweenChartValues */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getChartDifferenceArrow\", function() { return getChartDifferenceArrow; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isSingleSlice\", function() { return isSingleSlice; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"calculateDifferenceBetweenChartValues\", function() { return calculateDifferenceBetweenChartValues; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _js_components_ChangeArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/ChangeArrow */ \"./js/components/ChangeArrow.js\");\n\n/**\n * Utility functions for charts.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n/**\n * Gets the up/down SVG arrow for Google Chart tooltips.\n *\n * @since 1.30.0\n *\n * @param {number}  difference            The difference which can be positive or negative.\n * @param {string}  [options]             Options to be passed to the ChangeArrow component.\n * @param {boolean} [options.invertColor] Whether we need to reverse the +/- colors of the arrow.\n * @return {string} SVG for the +/- difference.\n */\nfunction getChartDifferenceArrow(difference) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  if (Number.isNaN(Number(difference))) {\n    return '';\n  }\n  var _options$invertColor = options.invertColor,\n    invertColor = _options$invertColor === void 0 ? false : _options$invertColor;\n  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"renderToString\"])(/*#__PURE__*/React.createElement(_js_components_ChangeArrow__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    direction: difference > 0 ? 'up' : 'down',\n    invertColor: invertColor\n  }));\n}\n\n/**\n * Checks if there is a single row of data or one row is contributing 100% of the total for a given dimension.\n *\n * @since 1.31.0\n *\n * @param {Array.<Object>} report An array of report data objects.\n * @return {(boolean|undefined)} Returns undefined if report is undefined, true/false for the above conditions.\n */\nfunction isSingleSlice(report) {\n  var _report$, _report$$data, _report$$data$rows, _report$2, _report$2$data, _report$2$data$rows, _report$2$data$rows$, _report$2$data$rows$$, _report$2$data$rows$$2, _report$2$data$rows$$3, _report$3, _report$3$data, _report$3$data$totals, _report$3$data$totals2, _report$3$data$totals3;\n  if (report === undefined) {\n    return undefined;\n  }\n  if ((report === null || report === void 0 ? void 0 : (_report$ = report[0]) === null || _report$ === void 0 ? void 0 : (_report$$data = _report$.data) === null || _report$$data === void 0 ? void 0 : (_report$$data$rows = _report$$data.rows) === null || _report$$data$rows === void 0 ? void 0 : _report$$data$rows.length) === 1 || (report === null || report === void 0 ? void 0 : (_report$2 = report[0]) === null || _report$2 === void 0 ? void 0 : (_report$2$data = _report$2.data) === null || _report$2$data === void 0 ? void 0 : (_report$2$data$rows = _report$2$data.rows) === null || _report$2$data$rows === void 0 ? void 0 : (_report$2$data$rows$ = _report$2$data$rows[0]) === null || _report$2$data$rows$ === void 0 ? void 0 : (_report$2$data$rows$$ = _report$2$data$rows$.metrics) === null || _report$2$data$rows$$ === void 0 ? void 0 : (_report$2$data$rows$$2 = _report$2$data$rows$$[0]) === null || _report$2$data$rows$$2 === void 0 ? void 0 : (_report$2$data$rows$$3 = _report$2$data$rows$$2.values) === null || _report$2$data$rows$$3 === void 0 ? void 0 : _report$2$data$rows$$3[0]) === (report === null || report === void 0 ? void 0 : (_report$3 = report[0]) === null || _report$3 === void 0 ? void 0 : (_report$3$data = _report$3.data) === null || _report$3$data === void 0 ? void 0 : (_report$3$data$totals = _report$3$data.totals) === null || _report$3$data$totals === void 0 ? void 0 : (_report$3$data$totals2 = _report$3$data$totals[0]) === null || _report$3$data$totals2 === void 0 ? void 0 : (_report$3$data$totals3 = _report$3$data$totals2.values) === null || _report$3$data$totals3 === void 0 ? void 0 : _report$3$data$totals3[0])) {\n    return true;\n  }\n  return false;\n}\n\n/**\n * Calculates difference between two chart values.\n *\n * @since 1.48.0\n *\n * @param {number} currentValue  Current chart value.\n * @param {number} previousValue Previous chart value.\n * @return {number} The difference.\n */\nfunction calculateDifferenceBetweenChartValues(currentValue, previousValue) {\n  if (currentValue > 0 && previousValue > 0) {\n    return currentValue / previousValue - 1;\n  }\n  if (currentValue > 0) {\n    return 1;\n  }\n  if (previousValue > 0) {\n    return -1;\n  }\n  return 0;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/chart.js\n");

/***/ }),

/***/ "./js/util/convert-time.js":
/*!*********************************!*\
  !*** ./js/util/convert-time.js ***!
  \*********************************/
/*! exports provided: convertSecondsToArray, convertDateStringToUNIXTimestamp */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"convertSecondsToArray\", function() { return convertSecondsToArray; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"convertDateStringToUNIXTimestamp\", function() { return convertDateStringToUNIXTimestamp; });\n/**\n * Time related utility functions.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Converts seconds into an array with the following values [HH, MM, SS, MS] as described below.\n * HH: hours.\n * MM: minutes.\n * SS: seconds.\n * MS: milliseconds.\n *\n * For example, passing 196.385 returns [ 0, 3, 16, 385 ].\n *\n * @since 1.27.0\n *\n * @param {number} seconds The number of seconds.\n * @return {Array} Array containing the hours, minutes, seconds and milliseconds.\n */\nfunction convertSecondsToArray(seconds) {\n  seconds = parseFloat(seconds);\n  if (isNaN(seconds) || 0 === seconds) {\n    return [0, 0, 0, 0];\n  }\n  return [Math.floor(seconds / 60 / 60), Math.floor(seconds / 60 % 60), Math.floor(seconds % 60), Math.floor(seconds * 1000) - Math.floor(seconds) * 1000];\n}\n\n/**\n * Converts Date time string into UNIX timestamp in milliseconds.\n *\n * For example, passing \"2014-10-02T15:01:23Z\" returns 1412262083000.\n *\n * @since 1.116.0\n *\n * @param {string} dateStringValue The date time string.\n * @return {number} UNIX timestamp in milliseconds.\n */\nfunction convertDateStringToUNIXTimestamp(dateStringValue) {\n  var unixTimestamp = dateStringValue && !Number.isInteger(dateStringValue) ?\n  // Valid use of `new Date()` with an argument, because this should only\n  // be passed full time strings, not `YYYY-MM-DD` style dates.\n  //\n  // See: https://github.com/google/site-kit-wp/pull/9459#discussion_r1790660073\n  // eslint-disable-next-line sitekit/no-direct-date\n  new Date(dateStringValue).getTime() : dateStringValue;\n  if (isNaN(unixTimestamp) || !unixTimestamp) {\n    return 0;\n  }\n  return unixTimestamp;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/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lU3RyaW5nVmFsdWU7XG5cblx0aWYgKCBpc05hTiggdW5peFRpbWVzdGFtcCApIHx8ICEgdW5peFRpbWVzdGFtcCApIHtcblx0XHRyZXR1cm4gMDtcblx0fVxuXG5cdHJldHVybiB1bml4VGltZXN0YW1wO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBTUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/convert-time.js\n");

/***/ }),

/***/ "./js/util/dates.js":
/*!**************************!*\
  !*** ./js/util/dates.js ***!
  \**************************/
/*! exports provided: INVALID_DATE_INSTANCE_ERROR, INVALID_DATE_STRING_ERROR, INVALID_DATE_RANGE_ERROR, MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, MONTH_IN_SECONDS, getAvailableDateRanges, getCurrentDateRangeDayCount, isValidDateString, getDateString, stringToDate, getPreviousDate, isValidDateRange, dateSub */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_INSTANCE_ERROR\", function() { return INVALID_DATE_INSTANCE_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_STRING_ERROR\", function() { return INVALID_DATE_STRING_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_RANGE_ERROR\", function() { return INVALID_DATE_RANGE_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MINUTE_IN_SECONDS\", function() { return MINUTE_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HOUR_IN_SECONDS\", function() { return HOUR_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DAY_IN_SECONDS\", function() { return DAY_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WEEK_IN_SECONDS\", function() { return WEEK_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MONTH_IN_SECONDS\", function() { return MONTH_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getAvailableDateRanges\", function() { return getAvailableDateRanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCurrentDateRangeDayCount\", function() { return getCurrentDateRangeDayCount; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDateString\", function() { return isValidDateString; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getDateString\", function() { return getDateString; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"stringToDate\", function() { return stringToDate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getPreviousDate\", function() { return getPreviousDate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDateRange\", function() { return isValidDateRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"dateSub\", function() { return dateSub; });\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);\n\n/**\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\nvar INVALID_DATE_INSTANCE_ERROR = 'Date param must construct to a valid date instance or be a valid date instance itself.';\nvar INVALID_DATE_STRING_ERROR = 'Invalid dateString parameter, it must be a string.';\nvar INVALID_DATE_RANGE_ERROR = 'Invalid date range, it must be a string with the format \"last-x-days\".';\nvar MINUTE_IN_SECONDS = 60;\nvar HOUR_IN_SECONDS = 60 * MINUTE_IN_SECONDS;\nvar DAY_IN_SECONDS = 24 * HOUR_IN_SECONDS;\nvar WEEK_IN_SECONDS = 7 * DAY_IN_SECONDS;\nvar MONTH_IN_SECONDS = 30 * DAY_IN_SECONDS;\n\n/**\n * Gets the hash of available date ranges.\n *\n * @since 1.12.0\n *\n * @return {Object} The object hash where every key is a date range slug, and the value is an object with the date range slug and its translation.\n */\nfunction getAvailableDateRanges() {\n  function label(days) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: number of days */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"_n\"])('Last %s day', 'Last %s days', days, 'google-site-kit'), days);\n  }\n  return {\n    'last-7-days': {\n      slug: 'last-7-days',\n      label: label(7),\n      days: 7\n    },\n    'last-14-days': {\n      slug: 'last-14-days',\n      label: label(14),\n      days: 14\n    },\n    'last-28-days': {\n      slug: 'last-28-days',\n      label: label(28),\n      days: 28\n    },\n    'last-90-days': {\n      slug: 'last-90-days',\n      label: label(90),\n      days: 90\n    }\n  };\n}\n\n/**\n * Gets the current dateRange day count.\n *\n * @since 1.19.0\n * @since 1.26.0 `dateRange` is now a required argument.\n *\n * @param {string} dateRange The date range slug.\n * @return {number} The number of days in the range.\n */\nfunction getCurrentDateRangeDayCount(dateRange) {\n  var daysMatch = dateRange.match(/last-(\\d+)-days/);\n  if (daysMatch && daysMatch[1]) {\n    return parseInt(daysMatch[1], 10);\n  }\n  throw new Error('Unrecognized date range slug.');\n}\n\n/**\n * Asserts whether a given date string is valid or invalid.\n *\n * @since 1.18.0\n *\n * @param {string} dateString Date string to be asserted against. Defaults to an empty string.\n * @return {boolean}          True if the given date string is valid.\n */\nfunction isValidDateString() {\n  var dateString = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  if (!Object(lodash__WEBPACK_IMPORTED_MODULE_2__[\"isString\"])(dateString)) {\n    return false;\n  }\n  var dateArray = dateString.split('-');\n  if (dateArray.length !== 3) {\n    return false;\n  }\n\n  // Valid use of `new Date()`, constructing a new date from the string.\n  // eslint-disable-next-line sitekit/no-direct-date\n  var date = new Date(dateString);\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_2__[\"isDate\"])(date) && !isNaN(date);\n}\n\n/**\n * Parses the given Date instance and returns a date string (YYYY-MM-DD).\n *\n * @since 1.18.0\n * @since 1.85.0 Updated the function signature to only accept a Date argument.\n *\n * @param {Date} date Date to parse into a string.\n * @return {string}                 The parsed date string (YYYY-MM-DD).\n */\nfunction getDateString(date) {\n  invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_2__[\"isDate\"])(date) && !isNaN(date), INVALID_DATE_INSTANCE_ERROR);\n  var month = \"\".concat(date.getMonth() + 1);\n  var day = \"\".concat(date.getDate());\n  var year = date.getFullYear();\n  return [year, month.length < 2 ? \"0\".concat(month) : month, day.length < 2 ? \"0\".concat(day) : day].join('-');\n}\n\n/**\n * Converts a valid date string to a Date instance.\n *\n * @since 1.38.0\n *\n * @param {string} dateString The date string to parse.\n * @return {Date} Date instance.\n */\nfunction stringToDate(dateString) {\n  invariant__WEBPACK_IMPORTED_MODULE_1___default()(isValidDateString(dateString), INVALID_DATE_STRING_ERROR);\n\n  /**\n   * Split date into explicit parts rather than pass directly into date constructor\n   * to avoid timezone issues caused by parsing as UTC. Ensures date is accurate for\n   * the user's local time, otherwise has a chance to return a different day than was\n   * passed in depending on timezone.\n   */\n  var _dateString$split = dateString.split('-'),\n    _dateString$split2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_dateString$split, 3),\n    year = _dateString$split2[0],\n    month = _dateString$split2[1],\n    day = _dateString$split2[2];\n  return new Date(year, month - 1, day);\n}\n\n/**\n * Parses the given date and returns the previous date (daysBefore).\n *\n * @since 1.18.0\n *\n * @param {string} relativeDate Date string (YYYY-MM-DD) to subtract days from.\n * @param {number} daysBefore   Number of days to subtract from relativeDate.\n * @return {string}             The date string (YYYY-MM-DD) for the previous date.\n */\nfunction getPreviousDate(relativeDate, daysBefore) {\n  return getDateString(dateSub(relativeDate, daysBefore * DAY_IN_SECONDS));\n}\n\n/**\n * Asserts whether a given dateRange string is valid or invalid.\n *\n * @since 1.18.0\n *\n * @param {string} dateRange Date string to be asserted against. Defaults to an empty string.\n * @return {boolean}          True if the given dateRange string is valid.\n */\nfunction isValidDateRange(dateRange) {\n  var parts = dateRange.split('-');\n  return parts.length === 3 && parts[0] === 'last' && !Number.isNaN(parts[1]) && !Number.isNaN(parseFloat(parts[1])) && parts[2] === 'days';\n}\n\n/**\n * Subtracts duration from the prodived date and returns it.\n *\n * @since 1.132.0\n *\n * @param {Date|string} relativeDate Date string (YYYY-MM-DD) or date object to subtract duration from.\n * @param {number}      duration     The duration in seconds to subtract from relativeDate.\n * @return {Date} Resulting date.\n */\nfunction dateSub(relativeDate, duration) {\n  invariant__WEBPACK_IMPORTED_MODULE_1___default()(isValidDateString(relativeDate) || Object(lodash__WEBPACK_IMPORTED_MODULE_2__[\"isDate\"])(relativeDate) && !isNaN(relativeDate), INVALID_DATE_STRING_ERROR);\n  var timestamp = isValidDateString(relativeDate) ? Date.parse(relativeDate) : relativeDate.getTime();\n\n  // Valid use of `new Date()` using calculations.\n  // eslint-disable-next-line sitekit/no-direct-date\n  return new Date(timestamp - duration * 1000);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/dates.js\n");

/***/ }),

/***/ "./js/util/i18n.js":
/*!*************************!*\
  !*** ./js/util/i18n.js ***!
  \*************************/
/*! exports provided: createDurationFormat, prepareForReadableLargeNumber, readableLargeNumber, expandNumFmtOptions, numFmt, numberFormat, listFormat, getLocale */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createDurationFormat\", function() { return createDurationFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"prepareForReadableLargeNumber\", function() { return prepareForReadableLargeNumber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"readableLargeNumber\", function() { return readableLargeNumber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"expandNumFmtOptions\", function() { return expandNumFmtOptions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"numFmt\", function() { return numFmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"numberFormat\", function() { return numberFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"listFormat\", function() { return listFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocale\", function() { return getLocale; });\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! memize */ \"../node_modules/memize/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__);\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Internationalization Utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Converts seconds to a display ready string indicating\n * the number of hours, minutes and seconds that have elapsed.\n *\n * For example, passing 65 returns '1m 5s'.\n *\n * @since 1.0.0\n * @since 1.28.0 Refactored and renamed to improve localization.\n * @private\n *\n * @param {number}                     durationInSeconds The number of seconds.\n * @param {(Intl.NumberFormatOptions)} [options]         Optional formatting options.\n * @return {string} Human readable string indicating time elapsed.\n */\nfunction durationFormat(durationInSeconds) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _createDurationFormat = createDurationFormat(durationInSeconds, options),\n    formatUnit = _createDurationFormat.formatUnit,\n    formatDecimal = _createDurationFormat.formatDecimal;\n  try {\n    // Some browsers, e.g. Safari, throw a RangeError when options.style is\n    // not one of decimal, percent, or currency.\n    return formatUnit();\n  } catch (_unused) {\n    // Fallback to XXh YYm ZZs using localized decimals with hardcoded units.\n    return formatDecimal();\n  }\n}\n\n/**\n * Converts seconds to a display ready string indicating\n * the number of hours, minutes and seconds that have elapsed\n * in ISO format - HH:mm:ss.\n *\n * If the duration is less than an hour, the HH part of the string\n * is truncated.\n * For example, passing 65 returns '01:05'.\n * Passing 5400 returns '01:30:00'.\n *\n * @since 1.111.0\n * @private\n *\n * @param {number} durationInSeconds The number of seconds.\n * @return {string} Human readable string indicating time elapsed.\n */\nfunction durationISOFormat(durationInSeconds) {\n  var _parseDuration = parseDuration(durationInSeconds),\n    hours = _parseDuration.hours,\n    minutes = _parseDuration.minutes,\n    seconds = _parseDuration.seconds;\n  seconds = ('0' + seconds).slice(-2);\n  minutes = ('0' + minutes).slice(-2);\n  hours = ('0' + hours).slice(-2);\n  return hours === '00' ? \"\".concat(minutes, \":\").concat(seconds) : \"\".concat(hours, \":\").concat(minutes, \":\").concat(seconds);\n}\n\n/**\n * Parses the duration in seconds into hours, minutes and seconds.\n *\n * @since 1.111.0\n * @private\n *\n * @param {number} durationInSeconds The number of seconds.\n * @return {Object} Number of hours, minutes and seconds equivalent\n * to the given duration in seconds.\n */\nfunction parseDuration(durationInSeconds) {\n  durationInSeconds = parseInt(durationInSeconds, 10);\n  if (Number.isNaN(durationInSeconds)) {\n    durationInSeconds = 0;\n  }\n  var hours = Math.floor(durationInSeconds / 60 / 60);\n  var minutes = Math.floor(durationInSeconds / 60 % 60);\n  var seconds = Math.floor(durationInSeconds % 60);\n  return {\n    hours: hours,\n    minutes: minutes,\n    seconds: seconds\n  };\n}\n\n/**\n * Creates duration formatting utilities.\n *\n * Not intended to be used directly.\n * Use `numFmt( number, { style: 'duration' } )` instead.\n *\n * @since 1.29.0\n * @private\n *\n * @param {number} durationInSeconds Duration to format.\n * @param {Object} [options]         Formatting options.\n * @return {Object} Formatting functions.\n */\nfunction createDurationFormat(durationInSeconds) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _parseDuration2 = parseDuration(durationInSeconds),\n    hours = _parseDuration2.hours,\n    minutes = _parseDuration2.minutes,\n    seconds = _parseDuration2.seconds;\n  return {\n    hours: hours,\n    minutes: minutes,\n    seconds: seconds,\n    formatUnit: function formatUnit() {\n      var _options$unitDisplay = options.unitDisplay,\n        unitDisplay = _options$unitDisplay === void 0 ? 'short' : _options$unitDisplay,\n        restOptions = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default()(options, [\"unitDisplay\"]);\n      var commonOptions = _objectSpread(_objectSpread({\n        unitDisplay: unitDisplay\n      }, restOptions), {}, {\n        style: 'unit'\n      });\n      if (durationInSeconds === 0) {\n        return numberFormat(seconds, _objectSpread(_objectSpread({}, commonOptions), {}, {\n          unit: 'second'\n        }));\n      }\n      return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('%3$s %2$s %1$s', 'duration of time: hh mm ss', 'google-site-kit'), seconds ? numberFormat(seconds, _objectSpread(_objectSpread({}, commonOptions), {}, {\n        unit: 'second'\n      })) : '', minutes ? numberFormat(minutes, _objectSpread(_objectSpread({}, commonOptions), {}, {\n        unit: 'minute'\n      })) : '', hours ? numberFormat(hours, _objectSpread(_objectSpread({}, commonOptions), {}, {\n        unit: 'hour'\n      })) : '').trim();\n    },\n    /**\n     * Formats the duration using integers and translatable strings.\n     * This is only used as a fallback when the above `formatUnit` fails.\n     *\n     * @since 1.29.0\n     *\n     * @return {string} Formatted duration.\n     */\n    formatDecimal: function formatDecimal() {\n      var formattedSeconds = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n      // translators: %s: number of seconds with \"s\" as the abbreviated unit.\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%ds', 'google-site-kit'), seconds);\n      if (durationInSeconds === 0) {\n        return formattedSeconds;\n      }\n      var formattedMinutes = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n      // translators: %s: number of minutes with \"m\" as the abbreviated unit.\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%dm', 'google-site-kit'), minutes);\n      var formattedHours = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n      // translators: %s: number of hours with \"h\" as the abbreviated unit.\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%dh', 'google-site-kit'), hours);\n      return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('%3$s %2$s %1$s', 'duration of time: hh mm ss', 'google-site-kit'), seconds ? formattedSeconds : '', minutes ? formattedMinutes : '', hours ? formattedHours : '').trim();\n    }\n  };\n}\n\n/**\n * Prepares a number to be used in readableLargeNumber.\n *\n * @since 1.7.0\n *\n * @param {number} number The large number to prepare.\n * @return {number} The prepared number.\n */\nfunction prepareForReadableLargeNumber(number) {\n  if (1000000 <= number) {\n    return Math.round(number / 100000) / 10;\n  }\n  if (10000 <= number) {\n    return Math.round(number / 1000);\n  }\n  if (1000 <= number) {\n    return Math.round(number / 100) / 10;\n  }\n  return number;\n}\n\n/**\n * Formats a large number for shortened display.\n *\n * @since 1.0.0\n *\n * @param {number} number The large number to format.\n * @return {string} The formatted number.\n */\nfunction readableLargeNumber(number) {\n  var withSingleDecimal = {\n    minimumFractionDigits: 1,\n    maximumFractionDigits: 1\n  };\n\n  // Numbers over 1,000,000 round normally and display a single decimal unless the decimal is 0.\n  if (1000000 <= number) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n    // translators: %s: an abbreviated number in millions.\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%sM', 'google-site-kit'), numberFormat(prepareForReadableLargeNumber(number), number % 10 === 0 ? {} : withSingleDecimal));\n  }\n\n  // Numbers between 10,000 and 1,000,000 round normally and have no decimals\n  if (10000 <= number) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n    // translators: %s: an abbreviated number in thousands.\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%sK', 'google-site-kit'), numberFormat(prepareForReadableLargeNumber(number)));\n  }\n\n  // Numbers between 1,000 and 10,000 round normally and display a single decimal unless the decimal is 0.\n  if (1000 <= number) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n    // translators: %s: an abbreviated number in thousands.\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%sK', 'google-site-kit'), numberFormat(prepareForReadableLargeNumber(number), number % 10 === 0 ? {} : withSingleDecimal));\n  }\n  return numberFormat(number, {\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  });\n}\n\n/**\n * Parses formatting options and returns an object with options for selected formatting.\n *\n * @since 1.103.0\n *\n * @param {(Intl.NumberFormatOptions|string)} options Formatting options or unit shorthand. Possible shorthand values are '%', 's', or a currency code.\n * @return {Object} Formatting options.\n */\nfunction expandNumFmtOptions(options) {\n  var formatOptions = {};\n\n  // Expand shorthand values for units.\n  if ('%' === options) {\n    formatOptions = {\n      style: 'percent',\n      maximumFractionDigits: 2\n    };\n  } else if ('s' === options) {\n    formatOptions = {\n      style: 'duration',\n      unitDisplay: 'narrow'\n    };\n  } else if (!!options && typeof options === 'string') {\n    formatOptions = {\n      style: 'currency',\n      currency: options\n    };\n  } else if (Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isPlainObject\"])(options)) {\n    formatOptions = _objectSpread({}, options);\n  }\n  return formatOptions;\n}\n\n/**\n * Formats a number with unit using the JS Internationalization Number Format API.\n *\n * In addition to the supported 'style' values of the lower-level `numberFormat` function, this function\n * supports two additional 'style' values 'metric' and 'duration' (expects a number in seconds).\n *\n * Another differentiation in behavior is that by default the function will use 'metric' formatting instead\n * of 'decimal' formatting.\n *\n * @since 1.24.0\n *\n * @param {number|string}                     number    The number to format.\n * @param {(Intl.NumberFormatOptions|string)} [options] Formatting options or unit shorthand.\n *                                                      Possible shorthand values are '%', 's',\n *                                                      or a currency code.\n * @return {string} The formatted number.\n */\nfunction numFmt(number) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  // Cast parsable values to numeric types.\n  number = Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isFinite\"])(number) ? number : Number(number);\n  if (!Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isFinite\"])(number)) {\n    // eslint-disable-next-line no-console\n    console.warn('Invalid number', number, _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default()(number));\n    number = 0;\n  }\n  var formatOptions = expandNumFmtOptions(options);\n  var _formatOptions$style = formatOptions.style,\n    style = _formatOptions$style === void 0 ? 'metric' : _formatOptions$style; // Note: `metric` is our custom, default style.\n  if ('metric' === style) {\n    return readableLargeNumber(number);\n  }\n  if ('duration' === style) {\n    return durationFormat(number, formatOptions);\n  }\n  if ('durationISO' === style) {\n    return durationISOFormat(number);\n  }\n  return numberFormat(number, formatOptions);\n}\n\n// Warn once for a given message.\nvar warnOnce = memize__WEBPACK_IMPORTED_MODULE_5___default()(console.warn); // eslint-disable-line no-console\n\n/**\n * Formats a number using the JS Internationalization Number Format API.\n *\n * @since 1.8.0\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/NumberFormat|`options` parameter} For all available formatting options.\n *\n * @param {number}                   number           The number to format.\n * @param {Intl.NumberFormatOptions} [options]        Formatting options.\n * @param {string}                   [options.locale] Locale to use for formatting. Defaults to current locale used by Site Kit.\n * @return {string} The formatted number.\n */\nfunction numberFormat(number) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _options$locale = options.locale,\n    locale = _options$locale === void 0 ? getLocale() : _options$locale,\n    formatOptions = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default()(options, [\"locale\"]);\n  try {\n    /**\n     * Per https://github.com/google/site-kit-wp/issues/3255 there have been issues with some versions of Safari\n     * on some operating systems throwing issues with some parameters in the formatOptions.\n     *\n     * If an error is thrown, we remove some troublesome params from the formatOptions object and fallback to no formatting.\n     *\n     * This allows us to degrade somewhat gracefully without breaking the dashboard for users of unaffected browsers.\n     */\n    return new Intl.NumberFormat(locale, formatOptions).format(number);\n  } catch (error) {\n    warnOnce(\"Site Kit numberFormat error: Intl.NumberFormat( \".concat(JSON.stringify(locale), \", \").concat(JSON.stringify(formatOptions), \" ).format( \").concat(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default()(number), \" )\"), error.message);\n  }\n\n  // Remove these key/values from formatOptions.\n  var unstableFormatOptionValues = {\n    currencyDisplay: 'narrow',\n    currencySign: 'accounting',\n    style: 'unit'\n  };\n\n  // Remove these keys from formatOptions irrespective of value.\n  var unstableFormatOptions = ['signDisplay', 'compactDisplay'];\n  var reducedFormatOptions = {};\n  for (var _i = 0, _Object$entries = Object.entries(formatOptions); _i < _Object$entries.length; _i++) {\n    var _Object$entries$_i = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_Object$entries[_i], 2),\n      key = _Object$entries$_i[0],\n      value = _Object$entries$_i[1];\n    if (unstableFormatOptionValues[key] && value === unstableFormatOptionValues[key]) {\n      continue;\n    }\n    if (unstableFormatOptions.includes(key)) {\n      continue;\n    }\n    reducedFormatOptions[key] = value;\n  }\n  try {\n    return new Intl.NumberFormat(locale, reducedFormatOptions).format(number);\n  } catch (_unused2) {\n    return new Intl.NumberFormat(locale).format(number);\n  }\n}\n\n/**\n * Flattens an array of strings into a string using the JS Internationalization List Format API.\n *\n * @since 1.23.0\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat|`options` parameter} For all available options.\n *\n * @param {Array}  list             The list to flatten.\n * @param {Object} [options]        Formatting options.\n * @param {string} [options.locale] Locale to use for formatting. Defaults to current locale used by Site Kit.\n * @param {string} [options.style]  Length of the formatted message. Defaults to long.\n * @param {string} [options.type]   Type of list. Defaults to 'conjunction' (A, B, and C).\n *                                  Also available 'disjunction' (A, B, or C)\n *                                  Also available 'unit' (5 pounds, 12 ounces)\n * @return {string} The flattened list.\n */\nfunction listFormat(list) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _options$locale2 = options.locale,\n    locale = _options$locale2 === void 0 ? getLocale() : _options$locale2,\n    _options$style = options.style,\n    style = _options$style === void 0 ? 'long' : _options$style,\n    _options$type = options.type,\n    type = _options$type === void 0 ? 'conjunction' : _options$type; // Not all browsers support Intl.Listformat per\n  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#Browser_compatibility\n  // We've seen that the built versions don't polyfill for the unsupported browsers (iOS/safari) so we provide a fallback.\n  if (Intl.ListFormat) {\n    var formatter = new Intl.ListFormat(locale, {\n      style: style,\n      type: type\n    });\n    return formatter.format(list);\n  }\n\n  /* translators: used between list items, there is a space after the comma. */\n  var listSeparator = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])(', ', 'google-site-kit');\n  return list.join(listSeparator);\n}\n\n/**\n * Gets the current locale for use with browser APIs.\n *\n * @since 1.8.0\n *\n * @param {Object} _global The global window object.\n * @return {string} Current Site Kit locale if set, otherwise the current language set by the browser.\n *                  E.g. `en-US` or `de-DE`\n */\nfunction getLocale() {\n  var _global = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global;\n  var siteKitLocale = Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"get\"])(_global, ['_googlesitekitLegacyData', 'locale']);\n  if (siteKitLocale) {\n    var matches = siteKitLocale.match(/^(\\w{2})?(_)?(\\w{2})/);\n    if (matches && matches[0]) {\n      return matches[0].replace(/_/g, '-');\n    }\n  }\n  return _global.navigator.language;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/i18n.js\n");

/***/ }),

/***/ "./js/util/index.js":
/*!**************************!*\
  !*** ./js/util/index.js ***!
  \**************************/
/*! exports provided: trackEvent, trackEventOnce, sanitizeHTML, untrailingslashit, stringifyObject, storageAvailable, getStorage, createDurationFormat, prepareForReadableLargeNumber, readableLargeNumber, expandNumFmtOptions, numFmt, numberFormat, listFormat, getLocale, markdownToHTML, convertSecondsToArray, convertDateStringToUNIXTimestamp, INVALID_DATE_INSTANCE_ERROR, INVALID_DATE_STRING_ERROR, INVALID_DATE_RANGE_ERROR, MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, MONTH_IN_SECONDS, getAvailableDateRanges, getCurrentDateRangeDayCount, isValidDateString, getDateString, stringToDate, getPreviousDate, isValidDateRange, dateSub, getChartDifferenceArrow, isSingleSlice, calculateDifferenceBetweenChartValues, getURLPath, getFullURL, normalizeURL, isHashOnly, shortenURL, isValidNumericID, isNumeric, safelySort, partitionReport, calculateChange, validateJSON, decodeHTMLEntity */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"calculateChange\", function() { return calculateChange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateJSON\", function() { return validateJSON; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"decodeHTMLEntity\", function() { return decodeHTMLEntity; });\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _tracking__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tracking */ \"./js/util/tracking/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"trackEvent\", function() { return _tracking__WEBPACK_IMPORTED_MODULE_1__[\"trackEvent\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"trackEventOnce\", function() { return _tracking__WEBPACK_IMPORTED_MODULE_1__[\"trackEventOnce\"]; });\n\n/* harmony import */ var _sanitize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sanitize */ \"./js/util/sanitize.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sanitizeHTML\", function() { return _sanitize__WEBPACK_IMPORTED_MODULE_2__[\"sanitizeHTML\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"untrailingslashit\", function() { return _sanitize__WEBPACK_IMPORTED_MODULE_2__[\"untrailingslashit\"]; });\n\n/* harmony import */ var _stringify__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./stringify */ \"./js/util/stringify.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"stringifyObject\", function() { return _stringify__WEBPACK_IMPORTED_MODULE_3__[\"stringifyObject\"]; });\n\n/* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./storage */ \"./js/util/storage.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"storageAvailable\", function() { return _storage__WEBPACK_IMPORTED_MODULE_4__[\"storageAvailable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getStorage\", function() { return _storage__WEBPACK_IMPORTED_MODULE_4__[\"getStorage\"]; });\n\n/* harmony import */ var _i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./i18n */ \"./js/util/i18n.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createDurationFormat\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"createDurationFormat\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"prepareForReadableLargeNumber\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"prepareForReadableLargeNumber\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"readableLargeNumber\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"readableLargeNumber\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"expandNumFmtOptions\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"expandNumFmtOptions\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"numFmt\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"numFmt\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"numberFormat\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"numberFormat\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"listFormat\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"listFormat\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getLocale\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"getLocale\"]; });\n\n/* harmony import */ var _markdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./markdown */ \"./js/util/markdown.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"markdownToHTML\", function() { return _markdown__WEBPACK_IMPORTED_MODULE_6__[\"markdownToHTML\"]; });\n\n/* harmony import */ var _convert_time__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./convert-time */ \"./js/util/convert-time.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"convertSecondsToArray\", function() { return _convert_time__WEBPACK_IMPORTED_MODULE_7__[\"convertSecondsToArray\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"convertDateStringToUNIXTimestamp\", function() { return _convert_time__WEBPACK_IMPORTED_MODULE_7__[\"convertDateStringToUNIXTimestamp\"]; });\n\n/* harmony import */ var _dates__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./dates */ \"./js/util/dates.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_INSTANCE_ERROR\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"INVALID_DATE_INSTANCE_ERROR\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_STRING_ERROR\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"INVALID_DATE_STRING_ERROR\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_RANGE_ERROR\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"INVALID_DATE_RANGE_ERROR\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MINUTE_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"MINUTE_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"HOUR_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"HOUR_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DAY_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"DAY_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WEEK_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"WEEK_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MONTH_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"MONTH_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getAvailableDateRanges\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"getAvailableDateRanges\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getCurrentDateRangeDayCount\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"getCurrentDateRangeDayCount\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidDateString\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"isValidDateString\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getDateString\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"getDateString\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"stringToDate\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"stringToDate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getPreviousDate\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"getPreviousDate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidDateRange\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"isValidDateRange\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"dateSub\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"dateSub\"]; });\n\n/* harmony import */ var _chart__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./chart */ \"./js/util/chart.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getChartDifferenceArrow\", function() { return _chart__WEBPACK_IMPORTED_MODULE_9__[\"getChartDifferenceArrow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isSingleSlice\", function() { return _chart__WEBPACK_IMPORTED_MODULE_9__[\"isSingleSlice\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"calculateDifferenceBetweenChartValues\", function() { return _chart__WEBPACK_IMPORTED_MODULE_9__[\"calculateDifferenceBetweenChartValues\"]; });\n\n/* harmony import */ var _urls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./urls */ \"./js/util/urls.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getURLPath\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"getURLPath\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getFullURL\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"getFullURL\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"normalizeURL\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"normalizeURL\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isHashOnly\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"isHashOnly\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"shortenURL\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"shortenURL\"]; });\n\n/* harmony import */ var _is_valid_numeric_id__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./is-valid-numeric-id */ \"./js/util/is-valid-numeric-id.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidNumericID\", function() { return _is_valid_numeric_id__WEBPACK_IMPORTED_MODULE_11__[\"isValidNumericID\"]; });\n\n/* harmony import */ var _isnumeric__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./isnumeric */ \"./js/util/isnumeric.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isNumeric\", function() { return _isnumeric__WEBPACK_IMPORTED_MODULE_12__[\"isNumeric\"]; });\n\n/* harmony import */ var _safely_sort__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./safely-sort */ \"./js/util/safely-sort.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"safelySort\", function() { return _safely_sort__WEBPACK_IMPORTED_MODULE_13__[\"safelySort\"]; });\n\n/* harmony import */ var _partition_report__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./partition-report */ \"./js/util/partition-report.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"partitionReport\", function() { return _partition_report__WEBPACK_IMPORTED_MODULE_14__[\"partitionReport\"]; });\n\n/**\n * Utility functions.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Calculates the change between two values.\n *\n * @since 1.24.0\n *\n * @param {number} previous The previous value.\n * @param {number} current  The current value.\n * @return {(number|null)} The percent change. Null if the input or output is invalid.\n */\nfunction calculateChange(previous, current) {\n  function isZero(value) {\n    return value === '0' || value === 0;\n  }\n\n  // Prevent null result when both values are legitimately zero.\n  if (isZero(previous) && isZero(current)) {\n    return 0;\n  }\n\n  // Prevent divide by zero errors.\n  if (isZero(previous) || Number.isNaN(previous)) {\n    return null;\n  }\n\n  // Avoid NaN at all costs.\n  var change = (current - previous) / previous;\n  if (Number.isNaN(change) || !Number.isFinite(change)) {\n    return null;\n  }\n  return change;\n}\n\n/**\n * Verifies whether JSON is valid.\n *\n * @since 1.0.0\n *\n * @param {string} stringToValidate The string to validate.\n * @return {boolean} Indicates JSON is valid.\n */\nfunction validateJSON(stringToValidate) {\n  try {\n    return JSON.parse(stringToValidate) && !!stringToValidate;\n  } catch (e) {\n    return false;\n  }\n}\n\n/**\n * Converts HTML text into an HTML entity.\n *\n * _.unescape doesn't seem to decode some entities for admin bar titles.\n * adding combination in this helper as a workaround.\n *\n * @since 1.0.0\n *\n * @param {string} str The string to decode.\n * @return {string} Decoded HTML entity.\n */\nfunction decodeHTMLEntity(str) {\n  if (!str) {\n    return '';\n  }\n  var decoded = str.replace(/&#(\\d+);/g, function (match, dec) {\n    return String.fromCharCode(dec);\n  }).replace(/(\\\\)/g, '');\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"unescape\"])(decoded);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/index.js\n");

/***/ }),

/***/ "./js/util/is-valid-numeric-id.js":
/*!****************************************!*\
  !*** ./js/util/is-valid-numeric-id.js ***!
  \****************************************/
/*! exports provided: isValidNumericID */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidNumericID\", function() { return isValidNumericID; });\n/**\n * Utility function related to checking if a given value is numeric.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Checks the given value to see if it is a positive integer.\n *\n * @since 1.11.0 Function introduced.\n * @since 1.90.0 Moved outside Tag Manager to a generic utility function.\n *\n * @param {*} input Value to check.\n * @return {boolean} Validity.\n */\nfunction isValidNumericID(input) {\n  var id = parseFloat(input) || 0;\n  if (!Number.isInteger(id)) {\n    return false;\n  }\n  return id > 0;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzLXZhbGlkLW51bWVyaWMtaWQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy91dGlsL2lzLXZhbGlkLW51bWVyaWMtaWQuanM/MjU1NiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFV0aWxpdHkgZnVuY3Rpb24gcmVsYXRlZCB0byBjaGVja2luZyBpZiBhIGdpdmVuIHZhbHVlIGlzIG51bWVyaWMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVk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NBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/is-valid-numeric-id.js\n");

/***/ }),

/***/ "./js/util/isnumeric.js":
/*!******************************!*\
  !*** ./js/util/isnumeric.js ***!
  \******************************/
/*! exports provided: isNumeric */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNumeric\", function() { return isNumeric; });\n/**\n * Utility function related to checking if a given value is numeric.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Checks if a given value is numeric.\n *\n * @since 1.80.0\n *\n * @param {*} value The value to check.\n * @return {boolean} TRUE if a value is numeric FALSE otherwise.\n */\nfunction isNumeric(value) {\n  if (typeof value === 'number') {\n    return true;\n  }\n  var string = (value || '').toString();\n  if (!string) {\n    return false;\n  }\n  return !isNaN(string);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzbnVtZXJpYy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovL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YWx1ZSBpcyBudW1lcmljLlxuICpcbiAqIEBzaW5jZSAxLjgwLjBcbiAqXG4gKiBAcGFyYW0geyp9IHZhbHVlIFRoZSB2YWx1ZSB0byBjaGVjay5cbiAqIEByZXR1cm4ge2Jvb2xlYW59IFRSVUUgaWYgYSB2YWx1ZSBpcyBudW1lcmljIEZBTFNFIG90aGVyd2lzZS5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGlzTnVtZXJpYyggdmFsdWUgKSB7XG5cdGlmICggdHlwZW9mIHZhbHVlID09PSAnbnVtYmVyJyApIHtcblx0XHRyZXR1cm4gdHJ1ZTtcblx0fVxuXG5cdGNvbnN0IHN0cmluZyA9ICggdmFsdWUgfHwgJycgKS50b1N0cmluZygpO1xuXG5cdGlmICggISBzdHJpbmcgKSB7XG5cdFx0cmV0dXJuIGZhbHNlO1xuXHR9XG5cblx0cmV0dXJuICEgaXNOYU4oIHN0cmluZyApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/util/isnumeric.js\n");

/***/ }),

/***/ "./js/util/markdown.js":
/*!*****************************!*\
  !*** ./js/util/markdown.js ***!
  \*****************************/
/*! exports provided: markdownToHTML */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"markdownToHTML\", function() { return markdownToHTML; });\n/**\n * Markdown utility.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Replaces markdown links with its HTML equivalents.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} Text with HTML links.\n */\nfunction markdownLinks(text) {\n  return text.replace(new RegExp('\\\\[([^\\\\]]+)\\\\]\\\\((https?://[^/]+\\\\.\\\\w+/?.*?)\\\\)', 'gi'), '<a href=\"$2\" target=\"_blank\" rel=\"noopener noreferrer\">$1</a>');\n}\n\n/**\n * Adds paragraphs to the text.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} Text with HTML links.\n */\nfunction markdownParagraphs(text) {\n  return \"<p>\".concat(text.replace(/\\n{2,}/g, '</p><p>'), \"</p>\");\n}\n\n/**\n * Replaces line breaks in the text.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} Text with HTML links.\n */\nfunction markdownBreaks(text) {\n  return text.replace(/\\n/gi, '<br>');\n}\n\n/**\n * Converts markdown to HTML.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} HTML version of the markdown text.\n */\nfunction markdownToHTML(text) {\n  var rules = [markdownLinks, markdownParagraphs, markdownBreaks];\n  var html = text;\n  for (var _i = 0, _rules = rules; _i < _rules.length; _i++) {\n    var rule = _rules[_i];\n    html = rule(html);\n  }\n  return html;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL21hcmtkb3duLmpzLmpzIiwic291cmNlcy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EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/markdown.js\n");

/***/ }),

/***/ "./js/util/negate.js":
/*!***************************!*\
  !*** ./js/util/negate.js ***!
  \***************************/
/*! exports provided: negateDefined */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"negateDefined\", function() { return negateDefined; });\n/**\n * Negation utils.\n *\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Negates a defined value.\n *\n * @since 1.99.0\n *\n * @param {*} value The value to negate.\n * @return {(boolean|undefined)} The negated value, if defined.\n */\nfunction negateDefined(value) {\n  if (value === undefined) {\n    return undefined;\n  }\n  return !value;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL25lZ2F0ZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvbmVnYXRlLmpzPzBjMzEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBOZWdhdGlvbiB1dGlscy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRo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O0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/util/negate.js\n");

/***/ }),

/***/ "./js/util/partition-report.js":
/*!*************************************!*\
  !*** ./js/util/partition-report.js ***!
  \*************************************/
/*! exports provided: partitionReport */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"partitionReport\", function() { return partitionReport; });\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Report partitioning utility.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Splits report data into segments for current and comparison ranges.\n *\n * @since 1.33.0\n * @since 1.34.0 Updated to support incomplete `report` arrays.\n *\n * @param {Array}  report               Report rows.\n * @param {Object} args                 Additional arguments.\n * @param {number} args.dateRangeLength Date range length of report segments.\n * @return {Object} Object with keys for `compareRange` and `currentRange`.\n */\nfunction partitionReport(report, _ref) {\n  var dateRangeLength = _ref.dateRangeLength;\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Array.isArray(report), 'report must be an array to partition.');\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Number.isInteger(dateRangeLength) && dateRangeLength > 0, 'dateRangeLength must be a positive integer.');\n\n  // Use a negative date range length for reverse slicing.\n  var _dateRangeLength = -1 * dateRangeLength;\n  return {\n    // The current range should always be sliced from the end.\n    currentRange: report.slice(_dateRangeLength),\n    // The compare range continues from where the current left off (slicing towards the start),\n    // and may be shorter (where older data is not available yet) which is fine.\n    compareRange: report.slice(_dateRangeLength * 2, _dateRangeLength)\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3BhcnRpdGlvbi1yZXBvcnQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy91dGlsL3BhcnRpdGlvbi1yZXBvcnQuanM/NTk4MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcG9ydCBwYXJ0aXRpb25pbmcgdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDR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JlcG9ydC5zbGljZSggX2RhdGVSYW5nZUxlbmd0aCAqIDIsIF9kYXRlUmFuZ2VMZW5ndGggKSxcblx0fTtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUlBO0FBQ0E7QUFJQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/partition-report.js\n");

/***/ }),

/***/ "./js/util/purify.js":
/*!***************************!*\
  !*** ./js/util/purify.js ***!
  \***************************/
/*! exports provided: purify */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"purify\", function() { return purify; });\n/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! dompurify */ \"../node_modules/dompurify/dist/purify.js\");\n/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(dompurify__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * External dependencies\n */\n\nvar purify = dompurify__WEBPACK_IMPORTED_MODULE_0___default()(global);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3B1cmlmeS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvcHVyaWZ5LmpzPzgxMWIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IGNyZWF0ZURPTVB1cmlmeSBmcm9tICdkb21wdXJpZnknO1xuXG5leHBvcnQgY29uc3QgcHVyaWZ5ID0gY3JlYXRlRE9NUHVyaWZ5KCBnbG9iYWwgKTtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/purify.js\n");

/***/ }),

/***/ "./js/util/safely-sort.js":
/*!********************************!*\
  !*** ./js/util/safely-sort.js ***!
  \********************************/
/*! exports provided: safelySort */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"safelySort\", function() { return safelySort; });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);\n\n/**\n * `safelySort` utility function.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Sorts an array without causing the mutation if the given parameter is an array.\n * If the parameter is not an array, it returns the parameter as is.\n *\n * @since 1.110.0\n * @since 1.128.0 Moved to the common utility directory from the key metrics directory.\n *\n * @param {Array|*} arr Param to be sorted.\n * @return {Array|*} \tSafely sorted array without mutation.\n */\nfunction safelySort(arr) {\n  return Array.isArray(arr) ? _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(arr).sort() : arr;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3NhZmVseS1zb3J0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9zYWZlbHktc29ydC5qcz8zMzQ3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHNhZmVseVNvcnRgIHV0aWxpdHkgZnVuY3Rpb24uXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogV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vcnQoKSA6IGFycjtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/safely-sort.js\n");

/***/ }),

/***/ "./js/util/sanitize.js":
/*!*****************************!*\
  !*** ./js/util/sanitize.js ***!
  \*****************************/
/*! exports provided: sanitizeHTML, untrailingslashit */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sanitizeHTML\", function() { return sanitizeHTML; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"untrailingslashit\", function() { return untrailingslashit; });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _purify__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./purify */ \"./js/util/purify.js\");\n\n/**\n * Internal dependencies\n */\n\nfunction sanitizeHTML(unsafeHTML) {\n  var domPurifyConfig = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  return {\n    __html: _purify__WEBPACK_IMPORTED_MODULE_1__[\"purify\"].sanitize(unsafeHTML, domPurifyConfig)\n  };\n}\n\n/**\n * Takes a string or an URL object, removes the trailing slash if any and returns it.\n *\n * @since 1.20.0\n * @private\n *\n * @param {Object|string} url A string with or without trailing slash or an URL object.\n * @return {string|undefined} The URL string after removing the trailing slash.\n */\nfunction untrailingslashit(url) {\n  var _originalURL$replace;\n  var originalURL = _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(url) === 'object' ? url.toString() : url;\n  return originalURL === null || originalURL === void 0 ? void 0 : (_originalURL$replace = originalURL.replace) === null || _originalURL$replace === void 0 ? void 0 : _originalURL$replace.call(originalURL, /\\/+$/, '');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3Nhbml0aXplLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9zYW5pdGl6ZS5qcz8yZmFkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IHB1cmlmeSB9IGZyb20gJy4vcHVyaWZ5JztcblxuZXhwb3J0IGZ1bmN0aW9uIHNhbml0aXplSFRNTCggdW5zYWZlSFRNTCwgZG9tUHVyaWZ5Q29uZmlnID0ge30gKSB7XG5cdHJldHVybiB7XG5cdFx0X19odG1sOiBwdXJpZnkuc2FuaXRpemUoIHVuc2FmZUhUTUwsIGRvbVB1cmlmeUNvbmZpZyApLFxuXHR9O1xufVxuXG4vKipcbiAqIFRha2VzIGEgc3RyaW5nIG9yIGFuIFVSTCBvYmplY3QsIHJlbW92ZXMgdGhlIHRyYWlsaW5nIHNsYXNoIGlmIGFueSBhbmQgcmV0dXJucyBpdC5cbiAqXG4gKiBAc2luY2UgMS4yMC4wXG4gKiBAcHJpdmF0ZVxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fHN0cmluZ30gdXJsIEEgc3RyaW5nIHdpdGggb3Igd2l0aG91dCB0cmFpbGluZyBzbGFzaCBvciBhbiBVUkwgb2JqZWN0LlxuICogQHJldHVybiB7c3RyaW5nfHVuZGVmaW5lZH0gVGhlIFVSTCBzdHJpbmcgYWZ0ZXIgcmVtb3ZpbmcgdGhlIHRyYWlsaW5nIHNsYXNoLlxuICovXG5leHBvcnQgZnVuY3Rpb24gdW50cmFpbGluZ3NsYXNoaXQoIHVybCApIHtcblx0Y29uc3Qgb3JpZ2luYWxVUkwgPSB0eXBlb2YgdXJsID09PSAnb2JqZWN0JyA/IHVybC50b1N0cmluZygpIDogdXJsO1xuXHRyZXR1cm4gb3JpZ2luYWxVUkw/LnJlcGxhY2U/LiggL1xcLyskLywgJycgKTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/util/sanitize.js\n");

/***/ }),

/***/ "./js/util/storage.js":
/*!****************************!*\
  !*** ./js/util/storage.js ***!
  \****************************/
/*! exports provided: storageAvailable, getStorage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"storageAvailable\", function() { return storageAvailable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStorage\", function() { return getStorage; });\n/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ \"../node_modules/@babel/runtime/helpers/classCallCheck.js\");\n/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ \"../node_modules/@babel/runtime/helpers/createClass.js\");\n/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__);\n\n\n/**\n * Storage abstraction.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Detects whether browser storage is both supported and available.\n *\n * @since 1.0.0\n *\n * @param {string} type Browser storage to test. ex localStorage or sessionStorage.\n * @return {boolean} True if the given storage is available, false otherwise.\n */\nfunction storageAvailable(type) {\n  var storage = global[type];\n  if (!storage) {\n    return false;\n  }\n  try {\n    var x = '__storage_test__';\n    storage.setItem(x, x);\n    storage.removeItem(x);\n    return true;\n  } catch (e) {\n    return e instanceof DOMException && (\n    // everything except Firefox\n    22 === e.code ||\n    // Firefox\n    1014 === e.code ||\n    // test name field too, because code might not be present\n    // everything except Firefox\n    'QuotaExceededError' === e.name ||\n    // Firefox\n    'NS_ERROR_DOM_QUOTA_REACHED' === e.name) &&\n    // acknowledge QuotaExceededError only if there's something already stored\n    0 !== storage.length;\n  }\n}\n\n// Custom no-op implementation of window.Storage.\nvar NullStorage = /*#__PURE__*/function () {\n  function NullStorage() {\n    _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, NullStorage);\n  }\n  _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(NullStorage, [{\n    key: \"key\",\n    value: function key() {\n      return null;\n    }\n  }, {\n    key: \"getItem\",\n    value: function getItem() {\n      return null;\n    }\n  }, {\n    key: \"setItem\",\n    value: function setItem() {\n      // Empty method body.\n    }\n  }, {\n    key: \"removeItem\",\n    value: function removeItem() {\n      // Empty method body.\n    }\n  }, {\n    key: \"clear\",\n    value: function clear() {\n      // Empty method body.\n    }\n  }, {\n    key: \"length\",\n    get: function get() {\n      return 0;\n    }\n  }]);\n  return NullStorage;\n}();\nvar storageObj;\n\n/**\n * Gets the storage object to use.\n *\n * @since 1.0.0\n *\n * @return {Storage} Either window.sessionStorage, window.localStorage', or a\n *                   no-op implementation if neither is available.\n */\nfunction getStorage() {\n  // Only run the logic to determine the storage object once.\n  if (!storageObj) {\n    if (storageAvailable('sessionStorage')) {\n      storageObj = global.sessionStorage;\n    } else if (storageAvailable('localStorage')) {\n      storageObj = global.localStorage;\n    } else {\n      storageObj = new NullStorage();\n    }\n  }\n  return storageObj;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/storage.js\n");

/***/ }),

/***/ "./js/util/stringify.js":
/*!******************************!*\
  !*** ./js/util/stringify.js ***!
  \******************************/
/*! exports provided: stringifyObject */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"stringifyObject\", function() { return stringifyObject; });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! md5 */ \"../node_modules/md5/md5.js\");\n/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_1__);\n\n/**\n * Stringify function.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Transforms an object into a hash string.\n *\n * This function can be used to e.g. generate cache keys, based on the given\n * object. Object properties are sorted, so even if they are provided in\n * different order, the hash will match. The function furthermore supports\n * nested objects.\n *\n * @since 1.7.0\n *\n * @param {Object} obj The object to stringify.\n * @return {string} Hash for the object.\n */\nfunction stringifyObject(obj) {\n  return md5__WEBPACK_IMPORTED_MODULE_1___default()(JSON.stringify(sortObjectProperties(obj)));\n}\nfunction sortObjectProperties(obj) {\n  var orderedData = {};\n  Object.keys(obj).sort().forEach(function (key) {\n    var val = obj[key];\n    if (val && 'object' === _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(val) && !Array.isArray(val)) {\n      val = sortObjectProperties(val);\n    }\n    orderedData[key] = val;\n  });\n  return orderedData;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJz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0XHRcdHZhbCA9IHNvcnRPYmplY3RQcm9wZXJ0aWVzKCB2YWwgKTtcblx0XHRcdH1cblx0XHRcdG9yZGVyZWREYXRhWyBrZXkgXSA9IHZhbDtcblx0XHR9ICk7XG5cdHJldHVybiBvcmRlcmVkRGF0YTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/stringify.js\n");

/***/ }),

/***/ "./js/util/tag.js":
/*!************************!*\
  !*** ./js/util/tag.js ***!
  \************************/
/*! exports provided: extractExistingTag, getExistingTagURLs */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"extractExistingTag\", function() { return extractExistingTag; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getExistingTagURLs\", function() { return getExistingTagURLs; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/api-fetch */ \"./js/api-fetch-shim.js\");\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n\n\n/**\n * Utility functions for Tags\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n/**\n * Extracts a tag from the given HTML string matched by given matchers.\n *\n * @since 1.13.0\n *\n * @param {string} html        The string of html from which to extract the tag.\n * @param {Array}  tagMatchers An array of the matchers to use.\n * @return {(string|boolean)} The tag id if found, otherwise false.\n */\nfunction extractExistingTag(html, tagMatchers) {\n  var matchingPattern = tagMatchers.find(function (pattern) {\n    return pattern.test(html);\n  });\n  if (matchingPattern) {\n    return matchingPattern.exec(html)[1];\n  }\n  return false;\n}\n\n/**\n * Gets the existing tag URLs.\n *\n * @since 1.13.0\n *\n * @param {Object} args           Arguments to use to get URLs.\n * @param {string} args.homeURL   The site's home URL.\n * @param {string} [args.ampMode] Optional. The site's AMP mode.\n * @return {Array} An array of the existing tag URLs.\n */\nvar getExistingTagURLs = Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"memoize\"])(/*#__PURE__*/function () {\n  var _ref2 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(_ref) {\n    var homeURL, ampMode, urls, ampPostURL;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            homeURL = _ref.homeURL, ampMode = _ref.ampMode;\n            invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__[\"isURL\"])(homeURL), 'homeURL must be valid URL');\n\n            // Initialize urls with home URL\n            urls = [homeURL]; // Add first post in AMP mode if AMP mode is secondary.\n            if (!(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"AMP_MODE_SECONDARY\"] === ampMode)) {\n              _context.next = 14;\n              break;\n            }\n            _context.prev = 4;\n            _context.next = 7;\n            return Object(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({\n              path: '/wp/v2/posts?per_page=1'\n            }).then(function (posts) {\n              return posts.slice(0, 1).map(function (post) {\n                return Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__[\"addQueryArgs\"])(post.link, {\n                  amp: 1\n                });\n              }).pop();\n            });\n          case 7:\n            ampPostURL = _context.sent;\n            if (ampPostURL) {\n              urls.push(ampPostURL);\n            }\n            _context.next = 14;\n            break;\n          case 11:\n            _context.prev = 11;\n            _context.t0 = _context[\"catch\"](4);\n            return _context.abrupt(\"return\", urls);\n          case 14:\n            return _context.abrupt(\"return\", urls);\n          case 15:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee, null, [[4, 11]]);\n  }));\n  return function (_x) {\n    return _ref2.apply(this, arguments);\n  };\n}());//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/tag.js\n");

/***/ }),

/***/ "./js/util/tracking/constants.js":
/*!***************************************!*\
  !*** ./js/util/tracking/constants.js ***!
  \***************************************/
/*! exports provided: DATA_LAYER, SCRIPT_IDENTIFIER */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DATA_LAYER\", function() { return DATA_LAYER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SCRIPT_IDENTIFIER\", function() { return SCRIPT_IDENTIFIER; });\n/**\n * Constants related to event tracking.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Data layer global used for internal/private Site Kit data.\n *\n * @since 1.8.0\n * @private\n */\nvar DATA_LAYER = '_googlesitekitDataLayer';\n\n/**\n * The `gtag` `<script>` identifier.\n *\n * @since 1.8.0\n * @private\n */\nvar SCRIPT_IDENTIFIER = 'data-googlesitekit-gtag';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvdHJhY2tpbmcvY29uc3RhbnRzLmpzPzJkNjgiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDb25zdGFudHMgcmVsYXRlZCB0byBldmVudCB0cmFja2luZy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3Y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\n//# sourceURL=webpack-internal:///./js/util/tracking/constants.js\n");

/***/ }),

/***/ "./js/util/tracking/createDataLayerPush.js":
/*!*************************************************!*\
  !*** ./js/util/tracking/createDataLayerPush.js ***!
  \*************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return createDataLayerPush; });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./js/util/tracking/constants.js\");\n/**\n * Internal dependencies\n */\n\n\n/**\n * Returns a function which, when invoked will initialize the dataLayer and push data onto it.\n *\n * @since 1.3.0\n *\n * @param {Object} target Object to enhance with dataLayer data.\n * @return {Function} Function that pushes data onto the dataLayer.\n */\nfunction createDataLayerPush(target) {\n  /**\n   * Pushes data onto the data layer.\n   *\n   * Must push an instance of Arguments to the target.\n   * Using an ES6 spread operator (i.e. `...args`) will cause tracking events to\n   * _silently_ fail.\n   *\n   * @since 1.0.0\n   * @see {@link https://github.com/google/site-kit-wp/issues/1181}\n   */\n  return function dataLayerPush() {\n    target[_constants__WEBPACK_IMPORTED_MODULE_0__[\"DATA_LAYER\"]] = target[_constants__WEBPACK_IMPORTED_MODULE_0__[\"DATA_LAYER\"]] || [];\n    target[_constants__WEBPACK_IMPORTED_MODULE_0__[\"DATA_LAYER\"]].push(arguments);\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2NyZWF0ZURhdGFMYXllclB1c2guanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy91dGlsL3RyYWNraW5nL2NyZWF0ZURhdGFMYXllclB1c2guanM/ZTAyZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2ll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MQVlFUiBdLnB1c2goIGFyZ3VtZW50cyApO1xuXHR9O1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/util/tracking/createDataLayerPush.js\n");

/***/ }),

/***/ "./js/util/tracking/createInitializeSnippet.js":
/*!*****************************************************!*\
  !*** ./js/util/tracking/createInitializeSnippet.js ***!
  \*****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return createInitializeSnippet; });\n/* harmony import */ var _createDataLayerPush__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createDataLayerPush */ \"./js/util/tracking/createDataLayerPush.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./js/util/tracking/constants.js\");\n/* harmony import */ var _js_features_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/features/index */ \"./js/features/index.js\");\n/**\n * Internal dependencies\n */\n\n\n\n\n/**\n * Returns a function which, when invoked injects the gtag script if necessary.\n *\n * @since 1.44.0\n *\n * @param {Object} config          Tracking configuration.\n * @param {Object} dataLayerTarget Data layer parent object.\n * @return {Function} Function that injects gtag script if it isn't yet present.\n */\nfunction createInitializeSnippet(config, dataLayerTarget) {\n  var dataLayerPush = Object(_createDataLayerPush__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(dataLayerTarget);\n  var hasInsertedTag;\n  var activeModules = config.activeModules,\n    referenceSiteURL = config.referenceSiteURL,\n    userIDHash = config.userIDHash,\n    _config$userRoles = config.userRoles,\n    userRoles = _config$userRoles === void 0 ? [] : _config$userRoles,\n    isAuthenticated = config.isAuthenticated,\n    pluginVersion = config.pluginVersion;\n  /**\n   * Injects the necessary script tag if not present.\n   *\n   * @since 1.118.0\n   *\n   * @return {boolean|Object} Tag src as scriptTagSrc property.\n   */\n  return function initializeSnippet() {\n    var _global = global,\n      document = _global.document;\n    if (undefined === hasInsertedTag) {\n      hasInsertedTag = !!document.querySelector(\"script[\".concat(_constants__WEBPACK_IMPORTED_MODULE_1__[\"SCRIPT_IDENTIFIER\"], \"]\"));\n    }\n    if (hasInsertedTag) {\n      return false;\n    }\n    hasInsertedTag = true;\n\n    // Sometimes the user roles returned by Site Kit/WordPress is not an\n    // array, as expected, so we guard against it here.\n    //\n    // See: https://github.com/google/site-kit-wp/issues/8266\n    var userRolesAsString = (userRoles === null || userRoles === void 0 ? void 0 : userRoles.length) ? userRoles.join(',') : '';\n\n    // We should use the real time, and not the reference date, when\n    // measuring when we initialized tracking.\n    dataLayerPush('js', new Date()); // eslint-disable-line sitekit/no-direct-date\n    dataLayerPush('config', config.trackingID, {\n      groups: 'site_kit',\n      send_page_view: config.isSiteKitScreen,\n      domain: referenceSiteURL,\n      plugin_version: pluginVersion || '',\n      enabled_features: Array.from(_js_features_index__WEBPACK_IMPORTED_MODULE_2__[\"enabledFeatures\"]).join(','),\n      active_modules: activeModules.join(','),\n      authenticated: isAuthenticated ? '1' : '0',\n      user_properties: {\n        user_roles: userRolesAsString,\n        user_identifier: userIDHash\n      }\n    });\n\n    // If not present, inject it and initialize dataLayer.\n    var scriptTag = document.createElement('script');\n    scriptTag.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_1__[\"SCRIPT_IDENTIFIER\"], '');\n    scriptTag.async = true;\n    scriptTag.src = \"https://www.googletagmanager.com/gtag/js?id=\".concat(config.trackingID, \"&l=\").concat(_constants__WEBPACK_IMPORTED_MODULE_1__[\"DATA_LAYER\"]);\n    document.head.appendChild(scriptTag);\n    return {\n      scriptTagSrc: \"https://www.googletagmanager.com/gtag/js?id=\".concat(config.trackingID, \"&l=\").concat(_constants__WEBPACK_IMPORTED_MODULE_1__[\"DATA_LAYER\"])\n    };\n  };\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/tracking/createInitializeSnippet.js\n");

/***/ }),

/***/ "./js/util/tracking/createTrackEvent.js":
/*!**********************************************!*\
  !*** ./js/util/tracking/createTrackEvent.js ***!
  \**********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return createTrackEvent; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _createDataLayerPush__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./createDataLayerPush */ \"./js/util/tracking/createDataLayerPush.js\");\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Internal dependencies\n */\n\n\n/**\n * Returns a function which, when invoked tracks a single event.\n *\n * @since 1.3.0\n *\n * @param {Object}   config            Tracking configuration.\n * @param {Object}   dataLayerTarget   Data layer parent object.\n * @param {Function} initializeSnippet Function to initialize tracking.\n * @param {Object}   _global           The global window object.\n * @return {Function} Function that tracks an event.\n */\nfunction createTrackEvent(config, dataLayerTarget, initializeSnippet, _global) {\n  var dataLayerPush = Object(_createDataLayerPush__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(dataLayerTarget);\n\n  /**\n   * Send an Analytics tracking event.\n   *\n   * @since 1.3.0\n   *\n   * @param {string} category The category of the event.\n   * @param {string} action   The action name of the event.\n   * @param {string} [label]  Optional. The label of the event.\n   * @param {number} [value]  Optional. A non-negative integer that will appear as the event value.\n   * @return {Promise} Promise that always resolves.\n   */\n  // eslint-disable-next-line require-await\n  return /*#__PURE__*/function () {\n    var _trackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(category, action, label, value) {\n      var trackingEnabled, eventData;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              trackingEnabled = config.trackingEnabled;\n              if (trackingEnabled) {\n                _context.next = 3;\n                break;\n              }\n              return _context.abrupt(\"return\", null);\n            case 3:\n              initializeSnippet();\n              eventData = {\n                send_to: 'site_kit',\n                event_category: category,\n                event_label: label,\n                value: value\n              };\n              return _context.abrupt(\"return\", new Promise(function (resolve) {\n                var _global$_gaUserPrefs, _global$_gaUserPrefs$;\n                // This timeout ensures a tracking event does not block the user\n                // event if it is not sent (in time).\n                // If the event beacon fails, it shouldn't reject the promise since event\n                // tracking should not result in user-facing errors. It will just\n                // trigger a console warning.\n                function failCallback() {\n                  _global.console.warn(\"Tracking event \\\"\".concat(action, \"\\\" (category \\\"\").concat(category, \"\\\") took too long to fire.\"));\n                  resolve();\n                }\n                var failTimeout = setTimeout(failCallback, 1000);\n                // eslint-disable-next-line camelcase\n                function event_callback() {\n                  clearTimeout(failTimeout);\n                  resolve();\n                }\n                dataLayerPush('event', action, _objectSpread(_objectSpread({}, eventData), {}, {\n                  event_callback: event_callback\n                }));\n\n                // If the client-side opt-out is present, the event_callback will never be called\n                // so we call it here to prevent the warning and added delay.\n                if ((_global$_gaUserPrefs = _global._gaUserPrefs) === null || _global$_gaUserPrefs === void 0 ? void 0 : (_global$_gaUserPrefs$ = _global$_gaUserPrefs.ioo) === null || _global$_gaUserPrefs$ === void 0 ? void 0 : _global$_gaUserPrefs$.call(_global$_gaUserPrefs)) {\n                  event_callback();\n                }\n              }));\n            case 6:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    function trackEvent(_x, _x2, _x3, _x4) {\n      return _trackEvent.apply(this, arguments);\n    }\n    return trackEvent;\n  }();\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/tracking/createTrackEvent.js\n");

/***/ }),

/***/ "./js/util/tracking/createTracking.js":
/*!********************************************!*\
  !*** ./js/util/tracking/createTracking.js ***!
  \********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return createTracking; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _createInitializeSnippet__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./createInitializeSnippet */ \"./js/util/tracking/createInitializeSnippet.js\");\n/* harmony import */ var _createTrackEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./createTrackEvent */ \"./js/util/tracking/createTrackEvent.js\");\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nvar DEFAULT_CONFIG = {\n  activeModules: [],\n  isAuthenticated: false,\n  referenceSiteURL: '',\n  trackingEnabled: false,\n  trackingID: '',\n  userIDHash: '',\n  userRoles: []\n};\n\n/**\n * Initializes tracking.\n *\n * @since 1.3.0\n *\n * @param {Object} newConfig       New configuration.\n * @param {Object} dataLayerTarget Data layer parent object.\n * @param {Object} _global         The global window object.\n * @return {Object} Tracking config.\n */\nfunction createTracking(newConfig) {\n  var dataLayerTarget = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : global;\n  var _global = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : global;\n  var config = _objectSpread(_objectSpread({}, DEFAULT_CONFIG), newConfig);\n  // Remove any trailing slash from the reference URL.\n  if (config.referenceSiteURL) {\n    config.referenceSiteURL = config.referenceSiteURL.toString().replace(/\\/+$/, '');\n  }\n  var initializeSnippet = Object(_createInitializeSnippet__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(config, dataLayerTarget);\n  var trackEvent = Object(_createTrackEvent__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(config, dataLayerTarget, initializeSnippet, _global);\n  var onceTrackedEventsMap = {};\n  function trackEventOnce() {\n    for (var _len = arguments.length, params = new Array(_len), _key = 0; _key < _len; _key++) {\n      params[_key] = arguments[_key];\n    }\n    var key = JSON.stringify(params);\n    if (!onceTrackedEventsMap[key]) {\n      onceTrackedEventsMap[key] = Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"once\"])(trackEvent);\n    }\n    onceTrackedEventsMap[key].apply(onceTrackedEventsMap, params);\n  }\n  return {\n    enableTracking: function enableTracking() {\n      config.trackingEnabled = true;\n    },\n    disableTracking: function disableTracking() {\n      config.trackingEnabled = false;\n    },\n    initializeSnippet: initializeSnippet,\n    isTrackingEnabled: function isTrackingEnabled() {\n      return !!config.trackingEnabled;\n    },\n    trackEvent: trackEvent,\n    trackEventOnce: trackEventOnce\n  };\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/tracking/createTracking.js\n");

/***/ }),

/***/ "./js/util/tracking/index.js":
/*!***********************************!*\
  !*** ./js/util/tracking/index.js ***!
  \***********************************/
/*! exports provided: enableTracking, disableTracking, isTrackingEnabled, toggleTracking, trackEvent, trackEventOnce */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"enableTracking\", function() { return enableTracking; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"disableTracking\", function() { return disableTracking; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isTrackingEnabled\", function() { return isTrackingEnabled; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toggleTracking\", function() { return toggleTracking; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"trackEvent\", function() { return trackEvent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"trackEventOnce\", function() { return trackEventOnce; });\n/* harmony import */ var _createTracking__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createTracking */ \"./js/util/tracking/createTracking.js\");\n/**\n * Event tracking utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable sitekit/jsdoc-no-unnamed-boolean-params */\n\n/**\n * Internal dependencies\n */\n\nvar _ref = global._googlesitekitTrackingData || {},\n  _ref$activeModules = _ref.activeModules,\n  activeModules = _ref$activeModules === void 0 ? [] : _ref$activeModules,\n  isSiteKitScreen = _ref.isSiteKitScreen,\n  trackingEnabled = _ref.trackingEnabled,\n  trackingID = _ref.trackingID,\n  referenceSiteURL = _ref.referenceSiteURL,\n  userIDHash = _ref.userIDHash,\n  isAuthenticated = _ref.isAuthenticated,\n  userRoles = _ref.userRoles;\nvar _global = global,\n  pluginVersion = \"1.161.0\";\nvar initialConfig = {\n  activeModules: activeModules,\n  trackingEnabled: trackingEnabled,\n  trackingID: trackingID,\n  referenceSiteURL: referenceSiteURL,\n  userIDHash: userIDHash,\n  isSiteKitScreen: isSiteKitScreen,\n  userRoles: userRoles,\n  isAuthenticated: isAuthenticated,\n  pluginVersion: pluginVersion\n};\nvar _createTracking = Object(_createTracking__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(initialConfig),\n  enableTracking = _createTracking.enableTracking,\n  disableTracking = _createTracking.disableTracking,\n  isTrackingEnabled = _createTracking.isTrackingEnabled,\n  initializeSnippet = _createTracking.initializeSnippet,\n  trackEvent = _createTracking.trackEvent,\n  trackEventOnce = _createTracking.trackEventOnce;\n/**\n * Changes the active state of tracking.\n *\n * @since 1.3.0\n *\n * @param {boolean} activeStatus The new state to set.\n */\nfunction toggleTracking(activeStatus) {\n  if (!!activeStatus) {\n    enableTracking();\n  } else {\n    disableTracking();\n  }\n}\n\n// Bootstrap on import if tracking is allowed.\nif (isSiteKitScreen && trackingEnabled) {\n  initializeSnippet();\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC90cmFja2luZy9pbmRleC5qcz82YTc3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXZlbnQgdHJhY2tpbmcgdXRpbGl0aWVzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgK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yYWNraW5nIGlzIGFsbG93ZWQuXG5pZiAoIGlzU2l0ZUtpdFNjcmVlbiAmJiB0cmFja2luZ0VuYWJsZWQgKSB7XG5cdGluaXRpYWxpemVTbmlwcGV0KCk7XG59XG5cbmV4cG9ydCB7XG5cdGVuYWJsZVRyYWNraW5nLFxuXHRkaXNhYmxlVHJhY2tpbmcsXG5cdGlzVHJhY2tpbmdFbmFibGVkLFxuXHR0b2dnbGVUcmFja2luZyxcblx0dHJhY2tFdmVudCxcblx0dHJhY2tFdmVudE9uY2UsXG59O1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFXQTtBQVJBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/tracking/index.js\n");

/***/ }),

/***/ "./js/util/urls.js":
/*!*************************!*\
  !*** ./js/util/urls.js ***!
  \*************************/
/*! exports provided: getURLPath, getFullURL, normalizeURL, isHashOnly, shortenURL */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getURLPath\", function() { return getURLPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getFullURL\", function() { return getFullURL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"normalizeURL\", function() { return normalizeURL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isHashOnly\", function() { return isHashOnly; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"shortenURL\", function() { return shortenURL; });\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/**\n * URL pathname getter utility function.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Returns the path from a URL, omitting its protocol, hostname, query params, and hash.\n *\n * @since 1.24.0\n *\n * @param {string} url The URL to get the path from.\n * @return {string} The URL path.\n */\nfunction getURLPath(url) {\n  try {\n    return new URL(url).pathname;\n  } catch (_unused) {}\n  return null;\n}\n\n/**\n * Returns the absolute URL from a path including the siteURL.\n *\n * @since 1.32.0\n *\n * @param {string} siteURL The siteURL fo the WordPress install.\n * @param {string} path    The path.\n * @return {string} The URL path.\n */\nfunction getFullURL(siteURL, path) {\n  try {\n    return new URL(path, siteURL).href;\n  } catch (_unused2) {}\n  return (typeof siteURL === 'string' ? siteURL : '') + (typeof path === 'string' ? path : '');\n}\n\n/**\n * Normalizes URL by removing protocol, www subdomain and trailing slash.\n *\n * @since 1.33.0\n *\n * @param {string} incomingURL The original URL.\n * @return {string} Normalized URL.\n */\nfunction normalizeURL(incomingURL) {\n  if (typeof incomingURL !== 'string') {\n    return incomingURL;\n  }\n  return incomingURL\n  // Remove protocol and optional \"www.\" prefix from the URL.\n  .replace(/^https?:\\/\\/(www\\.)?/i, '')\n  // Remove trailing slash.\n  .replace(/\\/$/, '');\n}\n\n/**\n * Checks if a string is not a full URL and simply a hash / anchor link.\n *\n * @since 1.49.0\n *\n * @param {string} url The URL or Hash string to test.\n * @return {boolean} Returns true if the string is only a hash and not a full URL.\n */\nfunction isHashOnly(url) {\n  return /^#\\w[A-Za-z0-9-_]*$/.test(url);\n}\n\n/**\n * Shortens a URL to fit a given length.\n *\n * @since 1.49.0\n *\n * @param {string} url      The original URL to shorten.\n * @param {number} maxChars The maximum length of the URL.\n * @return {string} The shortened URL.\n */\nfunction shortenURL(url, maxChars) {\n  if (!Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_0__[\"isURL\"])(url)) {\n    return url;\n  }\n  if (url.length <= maxChars) {\n    return url;\n  }\n  var urlObject = new URL(url);\n  var shortenedURL = url.replace(urlObject.origin, '');\n  if (shortenedURL.length < maxChars) {\n    return shortenedURL;\n  }\n  var extraChars = shortenedURL.length - Math.floor(maxChars) + 1; // 1 is the length of \"…\".\n  return '…' + shortenedURL.substr(extraChars);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/urls.js\n");

/***/ }),

/***/ "@wordpress/i18n":
/*!*****************************************!*\
  !*** external ["googlesitekit","i18n"] ***!
  \*****************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = googlesitekit[\"i18n\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQHdvcmRwcmVzcy9pMThuLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2V4dGVybmFsIFtcImdvb2dsZXNpdGVraXRcIixcImkxOG5cIl0/YTFhZCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGdvb2dsZXNpdGVraXRbXCJpMThuXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///@wordpress/i18n\n");

/***/ }),

/***/ "googlesitekit-api":
/*!****************************************!*\
  !*** external ["googlesitekit","api"] ***!
  \****************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = googlesitekit[\"api\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlc2l0ZWtpdC1hcGkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vZXh0ZXJuYWwgW1wiZ29vZ2xlc2l0ZWtpdFwiLFwiYXBpXCJdPzMyYmUiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBnb29nbGVzaXRla2l0W1wiYXBpXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///googlesitekit-api\n");

/***/ }),

/***/ "googlesitekit-data":
/*!*****************************************!*\
  !*** external ["googlesitekit","data"] ***!
  \*****************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = googlesitekit[\"data\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlc2l0ZWtpdC1kYXRhLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2V4dGVybmFsIFtcImdvb2dsZXNpdGVraXRcIixcImRhdGFcIl0/NzIwYyJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGdvb2dsZXNpdGVraXRbXCJkYXRhXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///googlesitekit-data\n");

/***/ })

},[["./js/googlesitekit-datastore-site.js","runtime","googlesitekit-vendor"]]]);