(window["__googlesitekit_webpackJsonp"] = window["__googlesitekit_webpackJsonp"] || []).push([["googlesitekit-modules-analytics-4"],{

/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9hcGktZmV0Y2gtc2hpbS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2FwaS1mZXRjaC1zaGltLmpzPzMzYTYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBUEkgRmV0Y2ggU2hpbS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9uc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vYWRpbmdNaWRkbGV3YXJlICk7XG5cbmV4cG9ydCAqIGZyb20gJ0B3b3JkcHJlc3MvYXBpLWZldGNoX19ub24tc2hpbSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFwaUZldGNoO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/api-fetch-shim.js\n");

/***/ }),

/***/ "./js/components/AccessibleWarningIcon.js":
/*!************************************************!*\
  !*** ./js/components/AccessibleWarningIcon.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AccessibleWarningIcon; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _VisuallyHidden__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./VisuallyHidden */ \"./js/components/VisuallyHidden.js\");\n/* harmony import */ var _svg_icons_warning_v2_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/icons/warning-v2.svg */ \"./svg/icons/warning-v2.svg\");\n\n/**\n * AccessibleWarningIcon component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction AccessibleWarningIcon(_ref) {\n  var _ref$height = _ref.height,\n    height = _ref$height === void 0 ? 12 : _ref$height,\n    _ref$screenReaderText = _ref.screenReaderText,\n    screenReaderText = _ref$screenReaderText === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Error', 'google-site-kit') : _ref$screenReaderText,\n    _ref$width = _ref.width,\n    width = _ref$width === void 0 ? 14 : _ref$width;\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_VisuallyHidden__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, screenReaderText), /*#__PURE__*/React.createElement(_svg_icons_warning_v2_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    width: width,\n    height: height\n  }));\n}\nAccessibleWarningIcon.propTypes = {\n  height: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  screenReaderText: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  width: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0FjY2Vzc2libGVXYXJuaW5nSWNvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvQWNjZXNzaWJsZVdhcm5pbmdJY29uLmpzP2YzNWYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBY2Nlc3NpYmxlV2FybmluZ0ljb24gY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3Jl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nbWVudD5cblx0XHRcdDxWaXN1YWxseUhpZGRlbj57IHNjcmVlblJlYWRlclRleHQgfTwvVmlzdWFsbHlIaWRkZW4+XG5cdFx0XHQ8V2FybmluZ0ljb24gd2lkdGg9eyB3aWR0aCB9IGhlaWdodD17IGhlaWdodCB9IC8+XG5cdFx0PC9GcmFnbWVudD5cblx0KTtcbn1cblxuQWNjZXNzaWJsZVdhcm5pbmdJY29uLnByb3BUeXBlcyA9IHtcblx0aGVpZ2h0OiBQcm9wVHlwZXMubnVtYmVyLFxuXHRzY3JlZW5SZWFkZXJUZXh0OiBQcm9wVHlwZXMuc3RyaW5nLFxuXHR3aWR0aDogUHJvcFR5cGVzLm51bWJlcixcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBSUE7QUFIQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFHQTtBQUFBO0FBQUE7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/AccessibleWarningIcon.js\n");

/***/ }),

/***/ "./js/components/AdminMenuTooltip/AdminMenuTooltip.js":
/*!************************************************************!*\
  !*** ./js/components/AdminMenuTooltip/AdminMenuTooltip.js ***!
  \************************************************************/
/*! exports provided: AdminMenuTooltip */
/***/ (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__, \"AdminMenuTooltip\", function() { return AdminMenuTooltip; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_components_JoyrideTooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/JoyrideTooltip */ \"./js/components/JoyrideTooltip.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n\n/**\n * AdminMenuTooltip component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction AdminMenuTooltip() {\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__[\"useBreakpoint\"])();\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n      return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_UI\"]).getValue('admin-menu-tooltip') || {\n        isTooltipVisible: false\n      };\n    }),\n    _useSelect$isTooltipV = _useSelect.isTooltipVisible,\n    isTooltipVisible = _useSelect$isTooltipV === void 0 ? false : _useSelect$isTooltipV,\n    tooltipSlug = _useSelect.tooltipSlug,\n    title = _useSelect.title,\n    content = _useSelect.content,\n    dismissLabel = _useSelect.dismissLabel;\n  function handleViewTooltip() {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_\").concat(tooltipSlug), 'tooltip_view');\n  }\n  var handleDismissTooltip = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    // Track dismiss event.\n    if (tooltipSlug) {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_\").concat(tooltipSlug), 'tooltip_dismiss');\n    }\n    setValue('admin-menu-tooltip', undefined);\n  }, [setValue, tooltipSlug, viewContext]);\n  if (!isTooltipVisible) {\n    return null;\n  }\n  var defaultTarget = '#adminmenu [href*=\"page=googlesitekit-settings\"]';\n  var isMobileTablet = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__[\"BREAKPOINT_SMALL\"] || breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__[\"BREAKPOINT_TABLET\"];\n  return /*#__PURE__*/React.createElement(_js_components_JoyrideTooltip__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    target: isMobileTablet ? 'body' : defaultTarget,\n    placement: isMobileTablet ? 'center' : 'right',\n    className: isMobileTablet ? 'googlesitekit-tour-tooltip__modal_step' : 'googlesitekit-tour-tooltip__fixed-settings-tooltip',\n    disableOverlay: !isMobileTablet,\n    slug: \"ga4-activation-banner-admin-menu-tooltip\",\n    title: title,\n    content: content,\n    dismissLabel: dismissLabel,\n    onView: handleViewTooltip,\n    onDismiss: handleDismissTooltip\n  });\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/components/AdminMenuTooltip/AdminMenuTooltip.js\n");

/***/ }),

/***/ "./js/components/AdminMenuTooltip/index.js":
/*!*************************************************!*\
  !*** ./js/components/AdminMenuTooltip/index.js ***!
  \*************************************************/
/*! exports provided: useShowTooltip, AdminMenuTooltip */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _useShowTooltip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useShowTooltip */ \"./js/components/AdminMenuTooltip/useShowTooltip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useShowTooltip\", function() { return _useShowTooltip__WEBPACK_IMPORTED_MODULE_0__[\"useShowTooltip\"]; });\n\n/* harmony import */ var _AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdminMenuTooltip */ \"./js/components/AdminMenuTooltip/AdminMenuTooltip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdminMenuTooltip\", function() { return _AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_1__[\"AdminMenuTooltip\"]; });\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0FkbWluTWVudVRvb2x0aXAvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0FkbWluTWVudVRvb2x0aXAvaW5kZXguanM/MzhhYyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3VzZVNob3dUb29sdGlwJztcbmV4cG9ydCAqIGZyb20gJy4vQWRtaW5NZW51VG9vbHRpcCc7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/AdminMenuTooltip/index.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useShowTooltip\", function() { return useShowTooltip; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.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\n\nfunction useShowTooltip(tooltipSettings) {\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    setValue('admin-menu-tooltip', _objectSpread({\n      isTooltipVisible: true\n    }, tooltipSettings));\n  }, [setValue, tooltipSettings]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0FkbWluTWVudVRvb2x0aXAvdXNlU2hvd1Rvb2x0aXAuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0FkbWluTWVudVRvb2x0aXAvdXNlU2hvd1Rvb2x0aXAuanM/YzNmZSJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyB1c2VDYWxsYmFjayB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlbWVudCc7XG5cbmltcG9ydCB7IHVzZURpc3BhdGNoIH0gZnJvbSAnZ29vZ2xlc2l0ZWtpdC1kYXRhJztcbmltcG9ydCB7IENPUkVfVUkgfSBmcm9tICdAL2pzL2dvb2dsZXNpdGVraXQvZGF0YXN0b3JlL3VpL2NvbnN0YW50cyc7XG5cbmV4cG9ydCBmdW5jdGlvbiB1c2VTaG93VG9vbHRpcCggdG9vbHRpcFNldHRpbmdzICkge1xuXHRjb25zdCB7IHNldFZhbHVlIH0gPSB1c2VEaXNwYXRjaCggQ09SRV9VSSApO1xuXG5cdHJldHVybiB1c2VDYWxsYmFjayggKCkgPT4ge1xuXHRcdHNldFZhbHVlKCAnYWRtaW4tbWVudS10b29sdGlwJywge1xuXHRcdFx0aXNUb29sdGlwVmlzaWJsZTogdHJ1ZSxcblx0XHRcdC4uLnRvb2x0aXBTZXR0aW5ncyxcblx0XHR9ICk7XG5cdH0sIFsgc2V0VmFsdWUsIHRvb2x0aXBTZXR0aW5ncyBdICk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUE7QUFFQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFHQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/AdminMenuTooltip/useShowTooltip.js\n");

/***/ }),

/***/ "./js/components/Badge.js":
/*!********************************!*\
  !*** ./js/components/Badge.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 _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n/**\n * Badge component.\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\nvar Badge = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (_ref, ref) {\n  var label = _ref.label,\n    className = _ref.className,\n    _ref$hasLeftSpacing = _ref.hasLeftSpacing,\n    hasLeftSpacing = _ref$hasLeftSpacing === void 0 ? false : _ref$hasLeftSpacing,\n    rest = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"label\", \"className\", \"hasLeftSpacing\"]);\n  return /*#__PURE__*/React.createElement(\"span\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    ref: ref\n  }, rest, {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-badge', className, {\n      'googlesitekit-badge--has-left-spacing': hasLeftSpacing\n    })\n  }), label);\n});\nBadge.displayName = 'Badge';\nBadge.propTypes = {\n  label: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired,\n  hasLeftSpacing: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Badge);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n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FDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUVBO0FBQUE7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBSUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Badge.js\n");

/***/ }),

/***/ "./js/components/BadgeWithTooltip.js":
/*!*******************************************!*\
  !*** ./js/components/BadgeWithTooltip.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return BadgeWithTooltip; });\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 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/* harmony import */ var _InfoTooltip__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./InfoTooltip */ \"./js/components/InfoTooltip.js\");\n\n/**\n * BadgeWithTooltip component.\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\nfunction BadgeWithTooltip(_ref) {\n  var _ref$className = _ref.className,\n    className = _ref$className === void 0 ? '' : _ref$className,\n    label = _ref.label,\n    onTooltipOpen = _ref.onTooltipOpen,\n    tooltipTitle = _ref.tooltipTitle;\n  return /*#__PURE__*/React.createElement(\"span\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-badge-with-tooltip', 'googlesitekit-badge', className)\n  }, label, tooltipTitle && /*#__PURE__*/React.createElement(_InfoTooltip__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    onOpen: onTooltipOpen,\n    title: tooltipTitle\n  }));\n}\nBadgeWithTooltip.propTypes = {\n  onTooltipOpen: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  tooltipTitle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0JhZGdlV2l0aFRvb2x0aXAuanMuanMiLCJ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ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBS0E7QUFKQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFJQTtBQUlBO0FBQUE7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/BadgeWithTooltip.js\n");

/***/ }),

/***/ "./js/components/Banner/CTAButton.js":
/*!*******************************************!*\
  !*** ./js/components/Banner/CTAButton.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CTAButton; });\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 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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__);\n\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\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nfunction CTAButton(_ref) {\n  var label = _ref.label,\n    ariaLabel = _ref.ariaLabel,\n    disabled = _ref.disabled,\n    inProgress = _ref.inProgress,\n    onClick = _ref.onClick,\n    href = _ref.href;\n  if (!label || !onClick && !href) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"SpinnerButton\"], {\n    className: \"googlesitekit-banner__cta\",\n    \"aria-label\": ariaLabel,\n    disabled: disabled || inProgress,\n    isSaving: inProgress,\n    onClick: onClick,\n    href: href\n  }, label);\n}\nCTAButton.propTypes = {\n  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  ariaLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  inProgress: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  href: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  dismissOnClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  dismissOptions: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({\n    expiresInSeconds: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n    skipHidingFromQueue: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n  })\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Jhbm5lci9DVEFCdXR0b24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0Jhbm5lci9DVEFCdXR0b24uanM/ZmI1OCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3Vh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dHJpbmcsXG5cdGRpc2FibGVkOiBQcm9wVHlwZXMuYm9vbCxcblx0aW5Qcm9ncmVzczogUHJvcFR5cGVzLmJvb2wsXG5cdG9uQ2xpY2s6IFByb3BUeXBlcy5mdW5jLFxuXHRocmVmOiBQcm9wVHlwZXMuc3RyaW5nLFxuXHRkaXNtaXNzT25DbGljazogUHJvcFR5cGVzLmJvb2wsXG5cdGRpc21pc3NPcHRpb25zOiBQcm9wVHlwZXMuc2hhcGUoIHtcblx0XHRleHBpcmVzSW5TZWNvbmRzOiBQcm9wVHlwZXMubnVtYmVyLFxuXHRcdHNraXBIaWRpbmdGcm9tUXVldWU6IFByb3BUeXBlcy5ib29sLFxuXHR9ICksXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFPQTtBQUxBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBS0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Banner/CTAButton.js\n");

/***/ }),

/***/ "./js/components/Banner/Description.js":
/*!*********************************************!*\
  !*** ./js/components/Banner/Description.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Description; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _LearnMoreLink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LearnMoreLink */ \"./js/components/Banner/LearnMoreLink.js\");\n\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\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction Description(_ref) {\n  var className = _ref.className,\n    description = _ref.description,\n    learnMoreLink = _ref.learnMoreLink,\n    additionalDescription = _ref.additionalDescription,\n    children = _ref.children;\n  function renderDescription() {\n    if (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"isValidElement\"])(description)) {\n      return description;\n    }\n    if ('string' === typeof description) {\n      return /*#__PURE__*/React.createElement(\"span\", {\n        dangerouslySetInnerHTML: Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"sanitizeHTML\"])(description, {\n          ALLOWED_TAGS: ['strong', 'em', 'br', 'a'],\n          ALLOWED_ATTR: ['href']\n        })\n      });\n    }\n    return description;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-banner__description', className)\n  }, renderDescription(), ' ', (learnMoreLink === null || learnMoreLink === void 0 ? void 0 : learnMoreLink.href) && /*#__PURE__*/React.createElement(_LearnMoreLink__WEBPACK_IMPORTED_MODULE_4__[\"default\"], learnMoreLink), additionalDescription && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-banner__additional-description\"\n  }, additionalDescription), children);\n}\nDescription.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node]),\n  learnMoreLink: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape(_LearnMoreLink__WEBPACK_IMPORTED_MODULE_4__[\"default\"].propTypes),\n  additionalDescription: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node]),\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\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,eyJ2ZXJzaW9uIjozLCJmaWxl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blx0XHRQcm9wVHlwZXMubm9kZSxcblx0XSApLFxuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBTUE7QUFKQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFHQTtBQUVBO0FBQ0E7QUFFQTtBQUVBO0FBR0E7QUFLQTtBQUFBO0FBT0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Banner/Description.js\n");

/***/ }),

/***/ "./js/components/Banner/DismissButton.js":
/*!***********************************************!*\
  !*** ./js/components/Banner/DismissButton.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DismissButton; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n\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\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nfunction DismissButton(_ref) {\n  var className = _ref.className,\n    _ref$label = _ref.label,\n    label = _ref$label === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Maybe later', 'google-site-kit') : _ref$label,\n    onClick = _ref.onClick,\n    disabled = _ref.disabled,\n    _ref$tertiary = _ref.tertiary,\n    tertiary = _ref$tertiary === void 0 ? true : _ref$tertiary;\n  if (!onClick) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    className: className,\n    onClick: onClick,\n    disabled: disabled,\n    tertiary: tertiary\n  }, label);\n}\nDismissButton.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  tertiary: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  dismissOptions: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({\n    expiresInSeconds: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n    skipHidingFromQueue: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n  })\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Jhbm5lci9EaXNtaXNzQnV0dG9uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9CYW5uZXIvRGlzbWlzc0J1dHRvbi5qcz82NTU2Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFja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O0FBS0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Banner/DismissButton.js\n");

/***/ }),

/***/ "./js/components/Banner/Footer.js":
/*!****************************************!*\
  !*** ./js/components/Banner/Footer.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Footer; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\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\n/**\n * External dependencies\n */\n\n\nfunction Footer(_ref) {\n  var className = _ref.className,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-banner__footer', className)\n  }, children);\n}\nFooter.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Jhbm5lci9Gb290ZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0Jhbm5lci9Gb290ZXIuanM/NzdhYiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWN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UFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFHQTtBQUtBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/Banner/Footer.js\n");

/***/ }),

/***/ "./js/components/Banner/HelpText.js":
/*!******************************************!*\
  !*** ./js/components/Banner/HelpText.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return HelpText; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\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\n/**\n * External dependencies\n */\n\n\nfunction HelpText(_ref) {\n  var className = _ref.className,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"p\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-banner__help-text', className)\n  }, children);\n}\nHelpText.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Jhbm5lci9IZWxwVGV4dC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvQmFubmVyL0hlbHBUZXh0LmpzPzUwYWEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0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QUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBR0E7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Banner/HelpText.js\n");

/***/ }),

/***/ "./js/components/Banner/LearnMoreLink.js":
/*!***********************************************!*\
  !*** ./js/components/Banner/LearnMoreLink.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return LearnMoreLink; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n\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\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nfunction LearnMoreLink(_ref) {\n  var href = _ref.href,\n    className = _ref.className,\n    _ref$label = _ref.label,\n    label = _ref$label === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Learn more', 'google-site-kit') : _ref$label,\n    _ref$external = _ref.external,\n    external = _ref$external === void 0 ? true : _ref$external,\n    _ref$onClick = _ref.onClick,\n    onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick;\n  if (!href) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    href: href,\n    className: className,\n    onClick: onClick,\n    external: external\n  }, label);\n}\nLearnMoreLink.propTypes = {\n  href: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  external: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Jhbm5lci9MZWFybk1vcmVMaW5rLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9CYW5uZXIvTGVhcm5Nb3JlTGluay5qcz9jYzRhIl0sInNv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UFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFNQTtBQUpBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBS0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Banner/LearnMoreLink.js\n");

/***/ }),

/***/ "./js/components/Banner/Title.js":
/*!***************************************!*\
  !*** ./js/components/Banner/Title.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Title; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\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\n/**\n * External dependencies\n */\n\n\nfunction Title(_ref) {\n  var className = _ref.className,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"p\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-banner__title', className)\n  }, children);\n}\nTitle.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Jhbm5lci9UaXRsZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvQmFubmVyL1RpdGxlLmpzPzM3MGIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbm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DQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Banner/Title.js\n");

/***/ }),

/***/ "./js/components/Banner/TitleIcon.js":
/*!*******************************************!*\
  !*** ./js/components/Banner/TitleIcon.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return TitleIcon; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\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\n/**\n * External dependencies\n */\n\n\nfunction TitleIcon(_ref) {\n  var className = _ref.className,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-banner__title-icon', className)\n  }, children);\n}\nTitleIcon.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Jhbm5lci9UaXRsZUljb24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0Jhbm5lci9UaXRsZUljb24uanM/OWY3NiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYm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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBR0E7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Banner/TitleIcon.js\n");

/***/ }),

/***/ "./js/components/Banner/index.js":
/*!***************************************!*\
  !*** ./js/components/Banner/index.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _TitleIcon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TitleIcon */ \"./js/components/Banner/TitleIcon.js\");\n/* harmony import */ var _Title__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Title */ \"./js/components/Banner/Title.js\");\n/* harmony import */ var _Description__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Description */ \"./js/components/Banner/Description.js\");\n/* harmony import */ var _HelpText__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./HelpText */ \"./js/components/Banner/HelpText.js\");\n/* harmony import */ var _LearnMoreLink__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./LearnMoreLink */ \"./js/components/Banner/LearnMoreLink.js\");\n/* harmony import */ var _CTAButton__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CTAButton */ \"./js/components/Banner/CTAButton.js\");\n/* harmony import */ var _DismissButton__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DismissButton */ \"./js/components/Banner/DismissButton.js\");\n/* harmony import */ var _Footer__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Footer */ \"./js/components/Banner/Footer.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n\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\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nvar Banner = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"forwardRef\"])(function (_ref, ref) {\n  var className = _ref.className,\n    titleIcon = _ref.titleIcon,\n    title = _ref.title,\n    description = _ref.description,\n    additionalDescription = _ref.additionalDescription,\n    errorText = _ref.errorText,\n    helpText = _ref.helpText,\n    learnMoreLink = _ref.learnMoreLink,\n    dismissButton = _ref.dismissButton,\n    ctaButton = _ref.ctaButton,\n    svg = _ref.svg,\n    footer = _ref.footer;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"useBreakpoint\"])();\n  var isMobileOrTablet = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"] || breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_TABLET\"];\n  var SVGData = null;\n  if (isMobileOrTablet && (svg === null || svg === void 0 ? void 0 : svg.mobile)) {\n    SVGData = svg.mobile;\n  } else if (!isMobileOrTablet && (svg === null || svg === void 0 ? void 0 : svg.desktop)) {\n    SVGData = svg.desktop;\n  }\n  var svgMode = (svg === null || svg === void 0 ? void 0 : svg.verticalPosition) ? svg.verticalPosition : 'center';\n  return /*#__PURE__*/React.createElement(\"div\", {\n    ref: ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-banner', className)\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-banner__content\"\n  }, titleIcon && /*#__PURE__*/React.createElement(_TitleIcon__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null, titleIcon), /*#__PURE__*/React.createElement(_Title__WEBPACK_IMPORTED_MODULE_6__[\"default\"], null, title), /*#__PURE__*/React.createElement(_Description__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    description: description,\n    learnMoreLink: learnMoreLink,\n    additionalDescription: additionalDescription\n  }), helpText && /*#__PURE__*/React.createElement(_HelpText__WEBPACK_IMPORTED_MODULE_8__[\"default\"], null, helpText), errorText && /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    type: \"error\",\n    description: errorText\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-notice__action\"\n  }, ctaButton && /*#__PURE__*/React.createElement(_CTAButton__WEBPACK_IMPORTED_MODULE_10__[\"default\"], ctaButton), (dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.onClick) && /*#__PURE__*/React.createElement(_DismissButton__WEBPACK_IMPORTED_MODULE_11__[\"default\"], dismissButton))), SVGData && /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-banner__svg-wrapper', _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, \"googlesitekit-banner__svg-wrapper--\".concat(svgMode), svgMode)),\n    style: {\n      backgroundImage: \"url(\".concat(SVGData, \")\")\n    }\n  }), footer && /*#__PURE__*/React.createElement(_Footer__WEBPACK_IMPORTED_MODULE_12__[\"default\"], null, footer));\n});\nBanner.propTypes = {\n  titleIcon: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node]),\n  additionalDescription: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node]),\n  errorText: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  helpText: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  learnMoreLink: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape(_LearnMoreLink__WEBPACK_IMPORTED_MODULE_9__[\"default\"].propTypes),\n  dismissButton: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape(_DismissButton__WEBPACK_IMPORTED_MODULE_11__[\"default\"].propTypes),\n  ctaButton: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape(_CTAButton__WEBPACK_IMPORTED_MODULE_10__[\"default\"].propTypes),\n  svg: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({\n    desktop: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType,\n    mobile: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType,\n    verticalPosition: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf(['top', 'center', 'bottom'])\n  }),\n  footer: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Banner);\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/components/Banner/index.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\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DUgLTEuNzY1NTVlLTA3TC0yLjcwNTVlLTA3IDVMMC44NzUgNS44NzVMNC4zNzUgMi4zNzVMNC4zNzUgMTBMNS42MjUgMTBaXCJcblx0XHRcdFx0ZmlsbD1cImN1cnJlbnRDb2xvclwiXG5cdFx0XHQvPlxuXHRcdDwvc3ZnPlxuXHQpO1xufVxuXG5DaGFuZ2VBcnJvdy5wcm9wVHlwZXMgPSB7XG5cdGRpcmVjdGlvbjogUHJvcFR5cGVzLnN0cmluZyxcblx0aW52ZXJ0Q29sb3I6IFByb3BUeXBlcy5ib29sLFxuXHR3aWR0aDogUHJvcFR5cGVzLm51bWJlcixcblx0aGVpZ2h0OiBQcm9wVHlwZXMubnVtYmVyLFxufTtcblxuQ2hhbmdlQXJyb3cuZGVmYXVsdFByb3BzID0ge1xuXHRkaXJlY3Rpb246ICd1cCcsXG5cdGludmVydENvbG9yOiBmYWxzZSxcblx0d2lkdGg6IDksXG5cdGhlaWdodDogOSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IENoYW5nZUFycm93O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBR0E7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/ChangeArrow.js\n");

/***/ }),

/***/ "./js/components/ChangeBadge.js":
/*!**************************************!*\
  !*** ./js/components/ChangeBadge.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ChangeBadge; });\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 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/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * ChangeBadge component.\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/**\n * Internal dependencies\n */\n\nfunction ChangeBadge(props) {\n  var previousValue = props.previousValue,\n    currentValue = props.currentValue,\n    isAbsolute = props.isAbsolute;\n  var change = isAbsolute ? currentValue - previousValue : Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"calculateChange\"])(previousValue, currentValue);\n  var isNegative = change < 0;\n  var isZero = change === 0;\n\n  // Do not display the change badge if the change value can't be calculated.\n  if (change === null) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-change-badge', {\n      'googlesitekit-change-badge--negative': isNegative,\n      'googlesitekit-change-badge--zero': isZero\n    })\n  }, Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"numFmt\"])(change, {\n    style: 'percent',\n    signDisplay: 'exceptZero',\n    maximumFractionDigits: 1\n  }));\n}\nChangeBadge.propTypes = {\n  isAbsolute: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  previousValue: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired,\n  currentValue: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0NoYW5nZUJhZGdlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9DaGFuZ2VCYWRnZS5qcz9lNzU4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ2hhbmdlQmFkZ2UgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNv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bn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFFQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/ChangeBadge.js\n");

/***/ }),

/***/ "./js/components/DataBlock/Change.js":
/*!*******************************************!*\
  !*** ./js/components/DataBlock/Change.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/* 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/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_ChangeArrow__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/ChangeArrow */ \"./js/components/ChangeArrow.js\");\n\n/**\n * Change component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction Change(_ref) {\n  var change = _ref.change,\n    changeDataUnit = _ref.changeDataUnit,\n    period = _ref.period,\n    invertChangeColor = _ref.invertChangeColor;\n  var changeFormatted = change;\n\n  // If changeDataUnit is given, try using it as currency first, otherwise add it as suffix.\n  if (changeDataUnit) {\n    if (changeDataUnit === '%') {\n      // Format percentage change with only 1 digit instead of the usual 2.\n      changeFormatted = Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"numFmt\"])(change, {\n        style: 'percent',\n        signDisplay: 'never',\n        maximumFractionDigits: 1\n      });\n    } else {\n      changeFormatted = Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"numFmt\"])(change, changeDataUnit);\n    }\n  }\n\n  // If period is given (requires %s placeholder), add it.\n  if (period) {\n    changeFormatted = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(period, changeFormatted);\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-data-block__change', {\n      'googlesitekit-data-block__change--no-change': !change\n    })\n  }, !!change && /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-data-block__arrow\"\n  }, /*#__PURE__*/React.createElement(_js_components_ChangeArrow__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    direction: 0 < parseFloat(change) ? 'up' : 'down',\n    invertColor: invertChangeColor\n  })), /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-data-block__value\"\n  }, changeFormatted));\n}\nChange.propTypes = {\n  change: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number]),\n  changeDataUnit: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool]),\n  period: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  invertChangeColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Change);\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/components/DataBlock/Change.js\n");

/***/ }),

/***/ "./js/components/DataBlock/Content.js":
/*!********************************************!*\
  !*** ./js/components/DataBlock/Content.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Content; });\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 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 _js_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _Sparkline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Sparkline */ \"./js/components/DataBlock/Sparkline.js\");\n/* harmony import */ var _js_components_Badge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Badge */ \"./js/components/Badge.js\");\n/* harmony import */ var _Change__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Change */ \"./js/components/DataBlock/Change.js\");\n/* harmony import */ var _js_components_SourceLink__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/SourceLink */ \"./js/components/SourceLink.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * Content component for DataBlock.\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\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction Content(_ref) {\n  var _ref$title = _ref.title,\n    title = _ref$title === void 0 ? '' : _ref$title,\n    _ref$datapoint = _ref.datapoint,\n    datapoint = _ref$datapoint === void 0 ? null : _ref$datapoint,\n    _ref$datapointUnit = _ref.datapointUnit,\n    datapointUnit = _ref$datapointUnit === void 0 ? '' : _ref$datapointUnit,\n    _ref$change = _ref.change,\n    change = _ref$change === void 0 ? null : _ref$change,\n    _ref$changeDataUnit = _ref.changeDataUnit,\n    changeDataUnit = _ref$changeDataUnit === void 0 ? '' : _ref$changeDataUnit,\n    _ref$period = _ref.period,\n    period = _ref$period === void 0 ? '' : _ref$period,\n    source = _ref.source,\n    sparkline = _ref.sparkline,\n    _ref$invertChangeColo = _ref.invertChangeColor,\n    invertChangeColor = _ref$invertChangeColo === void 0 ? false : _ref$invertChangeColo,\n    _ref$gatheringData = _ref.gatheringData,\n    gatheringData = _ref$gatheringData === void 0 ? false : _ref$gatheringData,\n    badge = _ref.badge;\n  var datapointFormatted = datapoint === undefined ? datapoint : Object(_js_util__WEBPACK_IMPORTED_MODULE_2__[\"numFmt\"])(datapoint, datapointUnit);\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-data-block__title-datapoint-wrapper\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    as: \"h3\",\n    size: \"small\",\n    type: \"title\",\n    className: \" googlesitekit-subheading-1 googlesitekit-data-block__title \"\n  }, badge === true ? /*#__PURE__*/React.createElement(_js_components_Badge__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    \"aria-hidden\": \"true\",\n    className: \"googlesitekit-badge--hidden\",\n    label: \"X\" // This is a minimal placeholder value to provide the correct height without too much width.\n  }) : badge, /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-data-block__title-inner\"\n  }, title)), !gatheringData && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-data-block__datapoint\"\n  }, /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-data-block__datapoint--resize\"\n  }, datapointFormatted))), !gatheringData && sparkline && /*#__PURE__*/React.createElement(_Sparkline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    sparkline: sparkline,\n    invertChangeColor: invertChangeColor\n  }), !gatheringData && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-data-block__change-source-wrapper\"\n  }, /*#__PURE__*/React.createElement(_Change__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    change: change,\n    changeDataUnit: changeDataUnit,\n    period: period,\n    invertChangeColor: invertChangeColor\n  }), source && /*#__PURE__*/React.createElement(_js_components_SourceLink__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    className: \"googlesitekit-data-block__source\",\n    name: source.name,\n    href: source.link,\n    external: source === null || source === void 0 ? void 0 : source.external\n  })));\n}\nContent.propTypes = {\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  datapoint: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number]),\n  datapointUnit: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  change: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number]),\n  changeDataUnit: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool]),\n  period: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  source: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,\n  sparkline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element,\n  invertChangeColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  gatheringData: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  badge: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node])\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/components/DataBlock/Content.js\n");

/***/ }),

/***/ "./js/components/DataBlock/Sparkline.js":
/*!**********************************************!*\
  !*** ./js/components/DataBlock/Sparkline.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\n/**\n * Sparkline component.\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 * WordPress dependencies\n */\n\nfunction Sparkline(_ref) {\n  var sparkline = _ref.sparkline,\n    invertChangeColor = _ref.invertChangeColor;\n  // The `sparkline` prop is passed as a component, but if `invertChangeColor`\n  // is set, we should pass that to `<Sparkline>`. In that case, we clone\n  // the element and add the prop.\n  var sparklineComponent = sparkline;\n  if (sparklineComponent && invertChangeColor) {\n    sparklineComponent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"cloneElement\"])(sparkline, {\n      invertChangeColor: invertChangeColor\n    });\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-data-block__sparkline\"\n  }, sparklineComponent);\n}\nSparkline.propTypes = {\n  sparkline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element,\n  invertChangeColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Sparkline);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0RhdGFCbG9jay9TcGFya2xpbmUuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0RhdGFCbG9jay9TcGFya2xpbmUuanM/NjdiOCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNwYXJrbGluZSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgY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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/DataBlock/Sparkline.js\n");

/***/ }),

/***/ "./js/components/DataBlock/index.js":
/*!******************************************!*\
  !*** ./js/components/DataBlock/index.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/* harmony import */ var _js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/GatheringDataNotice */ \"./js/components/GatheringDataNotice.js\");\n/* harmony import */ var _Content__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Content */ \"./js/components/DataBlock/Content.js\");\n\n/**\n * DataBlock component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction DataBlock(_ref) {\n  var _ref$stat = _ref.stat,\n    stat = _ref$stat === void 0 ? null : _ref$stat,\n    _ref$className = _ref.className,\n    className = _ref$className === void 0 ? '' : _ref$className,\n    _ref$title = _ref.title,\n    title = _ref$title === void 0 ? '' : _ref$title,\n    _ref$datapoint = _ref.datapoint,\n    datapoint = _ref$datapoint === void 0 ? null : _ref$datapoint,\n    _ref$datapointUnit = _ref.datapointUnit,\n    datapointUnit = _ref$datapointUnit === void 0 ? '' : _ref$datapointUnit,\n    _ref$change = _ref.change,\n    change = _ref$change === void 0 ? null : _ref$change,\n    _ref$changeDataUnit = _ref.changeDataUnit,\n    changeDataUnit = _ref$changeDataUnit === void 0 ? '' : _ref$changeDataUnit,\n    _ref$context = _ref.context,\n    context = _ref$context === void 0 ? 'default' : _ref$context,\n    _ref$period = _ref.period,\n    period = _ref$period === void 0 ? '' : _ref$period,\n    _ref$selected = _ref.selected,\n    selected = _ref$selected === void 0 ? false : _ref$selected,\n    source = _ref.source,\n    sparkline = _ref.sparkline,\n    _ref$handleStatSelect = _ref.handleStatSelection,\n    handleStatSelection = _ref$handleStatSelect === void 0 ? null : _ref$handleStatSelect,\n    _ref$invertChangeColo = _ref.invertChangeColor,\n    invertChangeColor = _ref$invertChangeColo === void 0 ? false : _ref$invertChangeColo,\n    _ref$gatheringData = _ref.gatheringData,\n    gatheringData = _ref$gatheringData === void 0 ? false : _ref$gatheringData,\n    _ref$gatheringDataNot = _ref.gatheringDataNoticeStyle,\n    gatheringDataNoticeStyle = _ref$gatheringDataNot === void 0 ? _js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_3__[\"NOTICE_STYLE\"].DEFAULT : _ref$gatheringDataNot,\n    badge = _ref.badge;\n  var handleClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    if (!gatheringData && handleStatSelection) {\n      handleStatSelection(stat);\n    }\n  }, [gatheringData, handleStatSelection, stat]);\n  var handleKeyDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (e) {\n    if ('Enter' === e.key || ' ' === e.key) {\n      e.preventDefault();\n      handleClick();\n    }\n  }, [handleClick]);\n  var isButtonContext = 'button' === context;\n  var role = isButtonContext ? 'button' : '';\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-data-block', className, \"googlesitekit-data-block--\".concat(context), {\n      'googlesitekit-data-block--selected': selected,\n      'googlesitekit-data-block--is-gathering-data': gatheringData\n    }),\n    tabIndex: isButtonContext && !gatheringData ? '0' : '-1',\n    role: handleStatSelection && role,\n    onClick: handleClick,\n    onKeyDown: handleKeyDown,\n    \"aria-disabled\": gatheringData || undefined,\n    \"aria-label\": handleStatSelection && title,\n    \"aria-pressed\": handleStatSelection && selected\n  }, /*#__PURE__*/React.createElement(_Content__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    title: title,\n    datapoint: datapoint,\n    datapointUnit: datapointUnit,\n    change: change,\n    changeDataUnit: changeDataUnit,\n    period: period,\n    source: source,\n    sparkline: sparkline,\n    invertChangeColor: invertChangeColor,\n    gatheringData: gatheringData,\n    badge: badge\n  }), gatheringData && /*#__PURE__*/React.createElement(_js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    style: gatheringDataNoticeStyle\n  }));\n}\nDataBlock.propTypes = {\n  stat: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  datapoint: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number]),\n  datapointUnit: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  change: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number]),\n  changeDataUnit: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool]),\n  context: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  period: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  source: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,\n  sparkline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element,\n  handleStatSelection: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  invertChangeColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  gatheringData: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  gatheringDataNoticeStyle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(Object.values(_js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_3__[\"NOTICE_STYLE\"])),\n  badge: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node])\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (DataBlock);\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/components/DataBlock/index.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DataBlockGroup; });\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 react_use__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _js_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/hooks/useDebounce */ \"./js/hooks/useDebounce.js\");\n\n/**\n * DataBlockGroup component.\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 * WordPress dependencies\n */\n\n\nfunction DataBlockGroup(_ref) {\n  var className = _ref.className,\n    children = _ref.children;\n  var ref = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useRef\"])();\n  function adjustFontSize() {\n    var _ref$current;\n    var blocks = ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.querySelectorAll('.googlesitekit-data-block');\n    if (!(blocks === null || blocks === void 0 ? void 0 : blocks.length)) {\n      return;\n    }\n\n    // Find the smallest font size needed across all blocks to fit without overflow.\n    var smallestScaleFactor = 1;\n\n    // Reset font sizes first to get accurate measurement, specifically on resize.\n    setFontSizes(blocks, '');\n    blocks.forEach(function (block) {\n      var _dataPoint$parentElem;\n      var dataPoint = block.querySelector('.googlesitekit-data-block__datapoint');\n      if (!dataPoint) {\n        return;\n      }\n      var parentWidth = dataPoint === null || dataPoint === void 0 ? void 0 : (_dataPoint$parentElem = dataPoint.parentElement) === null || _dataPoint$parentElem === void 0 ? void 0 : _dataPoint$parentElem.offsetWidth;\n      if (dataPoint.scrollWidth > parentWidth) {\n        // Calculate the exact scale factor needed to resize the content to the parent.\n        var scaleFactor = parentWidth / dataPoint.scrollWidth;\n\n        // Round the scale factor down to one decimal place. This creates a\n        // small visual buffer to prevent the text from appearing cramped.\n        // It also improves stability by preventing minor pixel fluctuations\n        // during resize from causing distracting font size changes.\n        var roundedScaleFactor = Math.floor(scaleFactor * 10) / 10;\n        if (roundedScaleFactor < smallestScaleFactor) {\n          smallestScaleFactor = roundedScaleFactor;\n        }\n      }\n    });\n\n    // Apply the smallest font size to all blocks if adjustment is needed.\n    if (smallestScaleFactor < 1 && smallestScaleFactor > 0) {\n      var _global, _global$getComputedSt;\n      var fontSize = parseInt((_global = global) === null || _global === void 0 ? void 0 : (_global$getComputedSt = _global.getComputedStyle(blocks[0].querySelector('.googlesitekit-data-block__datapoint'))) === null || _global$getComputedSt === void 0 ? void 0 : _global$getComputedSt.fontSize, 10);\n      var newSize = Math.floor(fontSize * smallestScaleFactor);\n      var clampedNewSize = Math.max(newSize, 14); // Don't allow the font size to go below 14px.\n      setFontSizes(blocks, \"\".concat(clampedNewSize, \"px\"));\n    }\n  }\n  function setFontSizes(blocks, adjustedSize) {\n    blocks.forEach(function (block) {\n      var dataPoint = block === null || block === void 0 ? void 0 : block.querySelector('.googlesitekit-data-block__datapoint');\n      if (!dataPoint) {\n        return;\n      }\n      dataPoint.style.fontSize = adjustedSize;\n    });\n  }\n\n  // Debounce the adjustFontSize function to prevent excessive calls on resize.\n  var debouncedAdjustFontSize = Object(_js_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_2__[\"useDebounce\"])(adjustFontSize, 50);\n  Object(react_use__WEBPACK_IMPORTED_MODULE_1__[\"useMount\"])(function () {\n    debouncedAdjustFontSize();\n    global.addEventListener('resize', debouncedAdjustFontSize);\n  });\n  Object(react_use__WEBPACK_IMPORTED_MODULE_1__[\"useUnmount\"])(function () {\n    return global.removeEventListener('resize', debouncedAdjustFontSize);\n  });\n  return /*#__PURE__*/React.createElement(\"div\", {\n    ref: ref,\n    className: className\n  }, children);\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/components/DataBlockGroup.js\n");

/***/ }),

/***/ "./js/components/DetailsPermaLinks.js":
/*!********************************************!*\
  !*** ./js/components/DetailsPermaLinks.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DetailsPermaLinks; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * Details Permalink Links component.\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\n\nfunction DetailsPermaLinks(_ref) {\n  var title = _ref.title,\n    path = _ref.path,\n    serviceURL = _ref.serviceURL;\n  var siteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getReferenceSiteURL();\n  });\n  var permaLink = Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"getFullURL\"])(siteURL, path);\n  var detailsURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getAdminURL('googlesitekit-dashboard', {\n      permaLink: permaLink\n    });\n  });\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    className: \"googlesitekit-font-weight-medium\",\n    href: serviceURL || detailsURL,\n    external: !!serviceURL,\n    hideExternalIndicator: true\n  }, title), /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-display-block', 'googlesitekit-overflow-wrap-break-word'),\n    href: permaLink,\n    target: \"_blank\" // No external styling.\n    ,\n    small: true\n  }, path));\n}\nDetailsPermaLinks.propTypes = {\n  title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  path: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  serviceURL: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=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O0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQU1BO0FBSUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQU1BO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/DetailsPermaLinks.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BLANK_SPACE\", function() { return BLANK_SPACE; });\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * DisplaySetting component.\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\nvar BLANK_SPACE = \"\\xA0\";\nfunction DisplaySetting(_ref) {\n  var value = _ref.value;\n  return value || BLANK_SPACE;\n}\nDisplaySetting.propTypes = {\n  value: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number])\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (DisplaySetting);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Rpc3BsYXlTZXR0aW5nLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9EaXNwbGF5U2V0dGluZy5qcz83MDQ0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRGlzcGxheVNldHRpbmcgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFLQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/DisplaySetting.js\n");

/***/ }),

/***/ "./js/components/ErrorNotice.js":
/*!**************************************!*\
  !*** ./js/components/ErrorNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ErrorNotice; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\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_util_errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _Notice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Notice */ \"./js/components/Notice/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * ErrorNotice component.\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\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction ErrorNotice(_ref) {\n  var _error$data;\n  var className = _ref.className,\n    error = _ref.error,\n    _ref$hasButton = _ref.hasButton,\n    hasButton = _ref$hasButton === void 0 ? false : _ref$hasButton,\n    storeName = _ref.storeName,\n    _ref$message = _ref.message,\n    message = _ref$message === void 0 ? error.message : _ref$message,\n    _ref$noPrefix = _ref.noPrefix,\n    noPrefix = _ref$noPrefix === void 0 ? false : _ref$noPrefix,\n    skipRetryMessage = _ref.skipRetryMessage,\n    _ref$hideIcon = _ref.hideIcon,\n    hideIcon = _ref$hideIcon === void 0 ? false : _ref$hideIcon;\n  var dispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])();\n  var selectorData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    if (!storeName) {\n      return null;\n    }\n    return select(storeName).getSelectorDataForError(error);\n  });\n  var handleRetry = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    dispatch(selectorData.storeName).invalidateResolution(selectorData.name, selectorData.args);\n  }, [dispatch, selectorData]);\n\n  // Do not display if there is no error and no direct message text is passed as a direct prop.\n  // Also do not display if the error is for missing scopes as these are handled by a popup modal.\n  if (!message || Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isPermissionScopeError\"])(error)) {\n    return null;\n  }\n  var shouldDisplayRetry = hasButton && Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isErrorRetryable\"])(error, selectorData);\n\n  /**\n   * Error message to display to the user. Sometimes we append a retry message\n   * or a reconnect URL, so we create a new variable for the message to display.\n   */\n  var errorMessageWithModifications = message;\n\n  // Append \"Try again\" messaging if no retry button is present.\n  if (!hasButton && !skipRetryMessage) {\n    errorMessageWithModifications = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Error message from Google API. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s (Please try again.)', 'google-site-kit'), errorMessageWithModifications);\n  }\n  if (!noPrefix) {\n    errorMessageWithModifications = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: $%s: Error message */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Error: %s', 'google-site-kit'), errorMessageWithModifications);\n  }\n  var reconnectURL = error === null || error === void 0 ? void 0 : (_error$data = error.data) === null || _error$data === void 0 ? void 0 : _error$data.reconnectURL;\n  if (reconnectURL && Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_3__[\"isURL\"])(reconnectURL)) {\n    /**\n     * This error message uses HTML tags without using\n     * `createInterpolateElement` because the error messages\n     * that come from the server/API can also contain HTML (eg. links)\n     * we want to render.\n     *\n     * Instead of creating a React node using `createInterpolateElement`,\n     * we use `dangerouslySetInnerHTML` to allow the HTML we create and from\n     * the server/API to be rendered as-intended.\n     */\n    errorMessageWithModifications = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: 1: Original error message 2: Reconnect URL */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%1$s To fix this, <a href=\"%2$s\">redo the plugin setup</a>.', 'google-site-kit'), errorMessageWithModifications, reconnectURL);\n  }\n  var sanitizeArgs = {\n    ALLOWED_TAGS: ['a'],\n    ALLOWED_ATTR: ['href']\n  };\n  return /*#__PURE__*/React.createElement(_Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    className: className,\n    type: _Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"].TYPES.ERROR,\n    description:\n    /*#__PURE__*/\n    // The error messages that come from the server/API can contain\n    // HTML (eg. links), so we use `dangerouslySetInnerHTML` and sanitize\n    // the HTML to render these links.\n    //\n    // We tried to use `createInterpolateElement` but it does not work\n    // with HTML tags that come from the server/API.\n    React.createElement(\"span\", {\n      dangerouslySetInnerHTML: Object(_js_util__WEBPACK_IMPORTED_MODULE_7__[\"sanitizeHTML\"])(errorMessageWithModifications, sanitizeArgs)\n    }),\n    ctaButton: shouldDisplayRetry ? {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Retry', 'google-site-kit'),\n      onClick: handleRetry\n    } : undefined,\n    hideIcon: hideIcon\n  });\n}\nErrorNotice.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  error: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({\n    message: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\n  }),\n  hasButton: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  storeName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  message: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  noPrefix: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  skipRetryMessage: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  hideIcon: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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/components/ErrorNotice.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\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_features__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/features */ \"./js/features/index.js\");\n/**\n * Feature Flags context for React components.\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 FeaturesContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createContext\"])(_js_features__WEBPACK_IMPORTED_MODULE_1__[\"enabledFeatures\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = (FeaturesContext);//# sourceURL=[module]\n//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IGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBXb3JkUHJlc3MgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGNyZWF0ZUNvbnRleHQgfSBmcm9tICdAd29yZHByZXNzL2VsZW1lbnQnO1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBlbmFibGVkRmVhdHVyZXMgfSBmcm9tICdAL2pzL2ZlYXR1cmVzJztcblxuY29uc3QgRmVhdHVyZXNDb250ZXh0ID0gY3JlYXRlQ29udGV4dCggZW5hYmxlZEZlYXR1cmVzICk7XG5cbmV4cG9ydCBkZWZhdWx0IEZlYXR1cmVzQ29udGV4dDtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/FeaturesProvider/FeaturesContext.js\n");

/***/ }),

/***/ "./js/components/GatheringDataNotice.js":
/*!**********************************************!*\
  !*** ./js/components/GatheringDataNotice.js ***!
  \**********************************************/
/*! exports provided: NOTICE_STYLE, default */
/***/ (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__, \"NOTICE_STYLE\", function() { return NOTICE_STYLE; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__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\n\n/**\n * GatheringDataNotice component.\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/**\n * WordPress dependencies\n */\n\nvar NOTICE_STYLE = {\n  DEFAULT: 'default',\n  OVERLAY: 'overlay',\n  SMALL: 'small',\n  SMALL_OVERLAY: 'small-overlay',\n  LARGE: 'large'\n};\nfunction GatheringDataNotice(_ref) {\n  var style = _ref.style;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-gathering-data-notice', _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, \"googlesitekit-gathering-data-notice--has-style-\".concat(style), !!style))\n  }, /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Gathering data…', 'google-site-kit')));\n}\nGatheringDataNotice.propTypes = {\n  style: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf(Object.values(NOTICE_STYLE))\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (GatheringDataNotice);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0dhdGhlcmluZ0RhdGFOb3RpY2UuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0dhdGhlcmluZ0RhdGFOb3RpY2UuanM/MzZlZiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdhdGhlcmluZ0RhdGFOb3RpY2UgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHR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UNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUVBO0FBR0E7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/GatheringDataNotice.js\n");

/***/ }),

/***/ "./js/components/GenericErrorHandlerActions.js":
/*!*****************************************************!*\
  !*** ./js/components/GenericErrorHandlerActions.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return GenericErrorHandlerActions; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n/* harmony import */ var _ReportErrorButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ReportErrorButton */ \"./js/components/ReportErrorButton/index.js\");\n\n/**\n * GenericErrorHandlerActions component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction GenericErrorHandlerActions(_ref) {\n  var message = _ref.message,\n    componentStack = _ref.componentStack;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-generic-error-handler-actions\"\n  }, /*#__PURE__*/React.createElement(_ReportErrorButton__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    message: message,\n    componentStack: componentStack\n  }), /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    href: \"https://wordpress.org/support/plugin/google-site-kit/\",\n    external: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Report this problem', 'google-site-kit')));\n}\nGenericErrorHandlerActions.propTypes = {\n  message: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  componentStack: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0dlbmVyaWNFcnJvckhhbmRsZXJBY3Rpb25zLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9HZW5lcmljRXJyb3JIYW5kbGVyQWN0aW9ucy5qcz81ZDY3Il0sInNvdXJjZXNDb250ZW50Ij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FBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUdBO0FBREE7QUFFQTtBQUNBO0FBQUE7QUFFQTtBQUNBO0FBQUE7QUFHQTtBQUNBO0FBQUE7QUFNQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/GenericErrorHandlerActions.js\n");

/***/ }),

/***/ "./js/components/GoogleChart/DateMarker.js":
/*!*************************************************!*\
  !*** ./js/components/GoogleChart/DateMarker.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DateMarker; });\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 _wordpress_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/icons */ \"../node_modules/@wordpress/icons/build-module/index.js\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/hooks/useDebounce */ \"./js/hooks/useDebounce.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * GoogleChart DateMarker component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction DateMarker(_ref) {\n  var id = _ref.id,\n    text = _ref.text;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n  var eventCategory = \"\".concat(viewContext, \"_ga4-data-collection-line\");\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEvent\"])(eventCategory, 'chart_line_view');\n  }, [eventCategory]);\n  var trackTooltipOpen = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEvent\"])(eventCategory, 'chart_tooltip_view');\n  }, [eventCategory]);\n  var handleTooltipOpen = Object(_js_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_4__[\"useDebounce\"])(trackTooltipOpen, 5000, {\n    leading: true,\n    trailing: false\n  });\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n    id: \"googlesitekit-chart__date-marker-line--\".concat(id),\n    className: \"googlesitekit-chart__date-marker-line\"\n  }), text && /*#__PURE__*/React.createElement(\"div\", {\n    id: \"googlesitekit-chart__date-marker-tooltip--\".concat(id),\n    className: \"googlesitekit-chart__date-marker-tooltip\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"Tooltip\"], {\n    title: text,\n    onOpen: handleTooltipOpen\n  }, /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(_wordpress_icons__WEBPACK_IMPORTED_MODULE_1__[\"Icon\"], {\n    fill: \"currentColor\",\n    icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_1__[\"info\"],\n    size: 18\n  })))));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0dvb2dsZUNoYXJ0L0RhdGVNYXJrZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0dvb2dsZUNoYXJ0L0RhdGVNYXJrZXIuanM/MDg5MSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdvb2dsZUNoYXJ0IERhdGVNYXJrZXIgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpc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QUFBQTtBQUlBO0FBQ0E7QUFBQTtBQUVBO0FBQUE7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUFBO0FBUUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/GoogleChart/DateMarker.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React, global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return GoogleChart; });\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_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_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _js_util_initialize_google_global__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util/initialize-google-global */ \"./js/util/initialize-google-global.js\");\n/* harmony import */ var _js_util_initialize_google_global__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_js_util_initialize_google_global__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var react_google_charts__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-google-charts */ \"../node_modules/react-google-charts/dist/index.esm.js\");\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var _js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/components/GatheringDataNotice */ \"./js/components/GatheringDataNotice.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _js_components_GoogleChartErrorHandler__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/components/GoogleChartErrorHandler */ \"./js/components/GoogleChartErrorHandler/index.js\");\n/* harmony import */ var _DateMarker__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./DateMarker */ \"./js/components/GoogleChart/DateMarker.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util_is_site_kit_screen__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/js/util/is-site-kit-screen */ \"./js/util/is-site-kit-screen.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./utils */ \"./js/components/GoogleChart/utils.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n\n\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_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 * GoogleChart component.\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/* eslint-disable react-hooks/exhaustive-deps */\n\n/* Ensures `google` global is undefined before loading `react-google-charts` library */\n\n\n/**\n * External dependencies\n */\n\n\n\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\nfunction GoogleChart(props) {\n  var chartEvents = props.chartEvents,\n    chartType = props.chartType,\n    children = props.children,\n    className = props.className,\n    data = props.data,\n    dateMarkers = props.dateMarkers,\n    _getChartWrapper = props.getChartWrapper,\n    height = props.height,\n    loaded = props.loaded,\n    loadingHeight = props.loadingHeight,\n    loadingWidth = props.loadingWidth,\n    onMouseOver = props.onMouseOver,\n    onMouseOut = props.onMouseOut,\n    onReady = props.onReady,\n    onSelect = props.onSelect,\n    selectedStats = props.selectedStats,\n    width = props.width,\n    options = props.options,\n    gatheringData = props.gatheringData,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default()(props, [\"chartEvents\", \"chartType\", \"children\", \"className\", \"data\", \"dateMarkers\", \"getChartWrapper\", \"height\", \"loaded\", \"loadingHeight\", \"loadingWidth\", \"onMouseOver\", \"onMouseOut\", \"onReady\", \"onSelect\", \"selectedStats\", \"width\", \"options\", \"gatheringData\"]);\n  /**\n   * Size of the icons (in pixels) used in the tooltip.\n   */\n  var iconSize = 18;\n  var instanceID = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_12__[\"useInstanceId\"])(GoogleChart);\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_24__[\"useBreakpoint\"])();\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_16__[\"useSelect\"])(function (select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_USER\"]).getDateRangeDates({\n        offsetDays: 0\n      });\n    }),\n    startDate = _useSelect.startDate,\n    endDate = _useSelect.endDate;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_20__[\"default\"])();\n  var googleChartsCollisionError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_16__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_19__[\"CORE_UI\"]).getValue('googleChartsCollisionError');\n  });\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),\n    isChartLoaded = _useState2[0],\n    setIsChartLoaded = _useState2[1];\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_16__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_19__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var filteredData = Object(_utils__WEBPACK_IMPORTED_MODULE_22__[\"getFilteredChartData\"])(data, selectedStats);\n  var loadingShape = chartType === 'PieChart' ? 'circular' : 'square';\n  var loadingDimensions = Object(_utils__WEBPACK_IMPORTED_MODULE_22__[\"getLoadingDimensions\"])(loadingHeight, height, loadingWidth, width);\n  var loader = /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-chart-loading\"\n  }, /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_13__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({\n    className: \"googlesitekit-chart-loading__wrapper\",\n    shape: loadingShape\n  }, loadingDimensions)));\n  var chartWrapperRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useRef\"])();\n  var googleRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useRef\"])();\n\n  // Don't load Google Charts if another script on the page has already loaded\n  // Google Charts.\n  //\n  // If another plugin loads Google Charts somewhere on the page, our charts\n  // will likely encounter an error due to a version mismatch.\n  //\n  // This is because Google Charts is a singleton, and if another plugin loads\n  // it first, our charts will use the same instance of Google Charts.\n  //\n  // See:\n  // * https://github.com/google/site-kit-wp/issues/6350\n  // * https://github.com/google/site-kit-wp/issues/6355\n  Object(react_use__WEBPACK_IMPORTED_MODULE_11__[\"useMount\"])(function () {\n    var _global, _global$google, _global2, _global2$google;\n    if (googleChartsCollisionError !== undefined) {\n      return;\n    }\n\n    // If we're on a Site Kit screen, we want \"priority\" over the\n    // `google.charts` global so we don't render a bunch of charts errors,\n    // see: https://github.com/google/site-kit-wp/issues/6439#issuecomment-1404491940\n    //\n    // The only way to do this is to remove the `google.charts` global\n    // and allow the `react-google-charts` library to re-initialize it.\n    if (Object(_js_util_is_site_kit_screen__WEBPACK_IMPORTED_MODULE_21__[\"isSiteKitScreen\"])(viewContext) && ((_global = global) === null || _global === void 0 ? void 0 : (_global$google = _global.google) === null || _global$google === void 0 ? void 0 : _global$google.charts)) {\n      global.google.charts = undefined;\n    }\n    if (!Object(_js_util_is_site_kit_screen__WEBPACK_IMPORTED_MODULE_21__[\"isSiteKitScreen\"])(viewContext) && ((_global2 = global) === null || _global2 === void 0 ? void 0 : (_global2$google = _global2.google) === null || _global2$google === void 0 ? void 0 : _global2$google.charts)) {\n      setValue('googleChartsCollisionError', true);\n    } else {\n      setValue('googleChartsCollisionError', false);\n    }\n  });\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useEffect\"])(function () {\n    // Remove all event listeners after the component has unmounted.\n    return function () {\n      // eslint-disable-next-line no-unused-expressions\n      if (googleRef.current && chartWrapperRef.current) {\n        var events = googleRef.current.visualization.events;\n        events.removeAllListeners(chartWrapperRef.current.getChart());\n        events.removeAllListeners(chartWrapperRef.current);\n      }\n    };\n  }, []);\n\n  // These event listeners are added manually to the current chart because\n  // `react-google-charts` doesn't support `mouseOver` or `mouseOut` events\n  // in its `chartEvents` prop.\n  // See: https://github.com/google/site-kit-wp/pull/2805#discussion_r579172660\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useLayoutEffect\"])(function () {\n    if (onMouseOver) {\n      var _googleRef$current;\n      // eslint-disable-next-line no-unused-expressions\n      (_googleRef$current = googleRef.current) === null || _googleRef$current === void 0 ? void 0 : _googleRef$current.visualization.events.addListener(chartWrapperRef.current.getChart(), 'onmouseover', function (event) {\n        onMouseOver(event, {\n          chartWrapper: chartWrapperRef.current,\n          google: googleRef.current\n        });\n      });\n    }\n    if (onMouseOut) {\n      var _googleRef$current2;\n      // eslint-disable-next-line no-unused-expressions\n      (_googleRef$current2 = googleRef.current) === null || _googleRef$current2 === void 0 ? void 0 : _googleRef$current2.visualization.events.addListener(chartWrapperRef.current.getChart(), 'onmouseout', function (event) {\n        onMouseOut(event, {\n          chartWrapper: chartWrapperRef.current,\n          google: googleRef.current\n        });\n      });\n    }\n  }, [onMouseOver, onMouseOut]);\n\n  // Checks to see if the date is within the date range.\n  function isDateWithinRange(date) {\n    // If any of the dates are not set, return false.\n    if (!date || !startDate || !endDate) {\n      return false;\n    }\n    if (\n    // Don't render this marker if the date is before the first date\n    // in the current date range.\n    date.getTime() < Object(_js_util__WEBPACK_IMPORTED_MODULE_23__[\"stringToDate\"])(startDate).getTime() ||\n    // Don't render this marker if the date is after the last date\n    // in the current date range.\n    date.getTime() > Object(_js_util__WEBPACK_IMPORTED_MODULE_23__[\"stringToDate\"])(endDate).getTime()) {\n      return false;\n    }\n    return true;\n  }\n\n  // Only use markers if the date is within the current date range.\n  var dateMarkersInRange = dateMarkers.filter(function (dateMarker) {\n    // Valid use of `new Date()` with an argument.\n    // eslint-disable-next-line sitekit/no-direct-date\n    return isDateWithinRange(new Date(dateMarker.date));\n  });\n\n  /**\n   * Adds any \"key date\" vertical lines/tooltips to the charts.\n   */\n  function addKeyDateLinesToChart() {\n    var _document$querySelect;\n    if (!chartWrapperRef.current) {\n      return;\n    }\n    if (!dateMarkersInRange.length) {\n      return;\n    }\n    var chart = chartWrapperRef.current.getChart();\n    var chartLayoutInterface = chart === null || chart === void 0 ? void 0 : chart.getChartLayoutInterface();\n    var chartArea = chartLayoutInterface === null || chartLayoutInterface === void 0 ? void 0 : chartLayoutInterface.getChartAreaBoundingBox();\n    var dataTable = chartWrapperRef.current.getDataTable();\n    if (!chartLayoutInterface || !chartArea || !dataTable) {\n      return;\n    }\n\n    // Add the dotted line and tooltip for each date marker.\n    dateMarkersInRange.forEach(function (dateMarker, index) {\n      // Valid use of `new Date()` with an argument.\n      // eslint-disable-next-line sitekit/no-direct-date\n      var dateFromMarker = new Date(dateMarker.date);\n      var chartLine = document.getElementById(\"googlesitekit-chart__date-marker-line--\".concat(instanceID, \"-\").concat(index));\n      invariant__WEBPACK_IMPORTED_MODULE_8___default()(chartLine, \"#googlesitekit-chart__date-marker-line--\".concat(instanceID, \"-\").concat(index, \" is missing from the DOM, but required to render date markers.\"));\n\n      // We need to make sure the dates we use on the chart and on\n      // this line are exactly the same, so we get the position on the\n      // chart that matches the date we create from the date string.\n      //\n      // This prevents the line and the chart data from being\n      // slightly out-of-alignment, see:\n      // https://github.com/google/site-kit-wp/pull/6822#pullrequestreview-1376066844.\n      var dateCoordinateX = Math.floor(chartLayoutInterface.getXLocation(Object(_js_util__WEBPACK_IMPORTED_MODULE_23__[\"stringToDate\"])(Object(_js_util__WEBPACK_IMPORTED_MODULE_23__[\"getDateString\"])(dateFromMarker))));\n\n      // Align the dotted line with the date for this marker.\n      Object.assign(chartLine.style, {\n        left: \"\".concat(dateCoordinateX - 1, \"px\"),\n        top: \"\".concat(Math.floor(chartArea.top), \"px\"),\n        height: \"\".concat(Math.floor(chartArea.height), \"px\"),\n        opacity: 1\n      });\n\n      // Text is optional, so only modify the DOM elements for the tooltip\n      // text if the property was provided.\n      if (dateMarker.text) {\n        var tooltip = document.getElementById(\"googlesitekit-chart__date-marker-tooltip--\".concat(instanceID, \"-\").concat(index));\n        invariant__WEBPACK_IMPORTED_MODULE_8___default()(tooltip, \"#googlesitekit-chart__date-marker-tooltip--\".concat(instanceID, \"-\").concat(index, \" is missing from the DOM, but required to render date marker tooltips.\"));\n\n        // Align the tooltip component with the date line.\n        Object.assign(tooltip.style, {\n          left: \"\".concat(dateCoordinateX - iconSize / 2, \"px\"),\n          top: \"\".concat(Math.floor(chartArea.top) - iconSize, \"px\"),\n          opacity: 1\n        });\n      }\n    });\n    var legendElement = (_document$querySelect = document.querySelector(\"#googlesitekit-chart-\".concat(instanceID, \" svg:first-of-type > g:first-of-type > g > g > text\"))) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.parentElement.parentElement.parentElement;\n\n    // A legend is present if there are more than three `g` elements; charts\n    // without legends won't have that many `g` elements so we don't need to\n    // modify anything.\n    var hasLegend = !!legendElement && document.querySelectorAll(\"#googlesitekit-chart-\".concat(instanceID, \" svg:first-of-type > g\")).length >= 3;\n\n    // If there is a legend, move it up to make room for the date marker icon.\n    if (hasLegend) {\n      // `10px` is the best size to use to accommodate the bounding box of the\n      // chart without needing to modify the chart's height.\n      //\n      // It allows the legend and the icon to fit without moving anything else\n      // and without things feeling cramped or being cut off.\n      legendElement.style.transform = 'translateY(-10px)';\n    }\n  }\n  if (googleChartsCollisionError) {\n    return null;\n  }\n  if (!loaded) {\n    return /*#__PURE__*/React.createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_7___default()('googlesitekit-chart', 'googlesitekit-chart-loading__forced', className)\n    }, loader);\n  }\n  var combinedChartEvents = Object(_utils__WEBPACK_IMPORTED_MODULE_22__[\"getCombinedChartEvents\"])([].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(chartEvents || []), [\n  // Call the `addKeyDateLinesToChart` function after the chart\n  // has been rendered.\n  //\n  // This is to ensure that the chart has finished rendering before\n  // we try to add the lines. If we don't do this, the `chart`\n  // variable (from `chartWrapper.getChart()`) will be `null`.\n  {\n    eventName: 'ready',\n    callback: addKeyDateLinesToChart\n  }]), onReady, onSelect);\n  var chartOptions = Object(_utils__WEBPACK_IMPORTED_MODULE_22__[\"getChartOptions\"])(options, {\n    gatheringData: gatheringData,\n    chartType: chartType,\n    startDate: startDate,\n    endDate: endDate,\n    breakpoint: breakpoint\n  });\n  return /*#__PURE__*/React.createElement(_js_components_GoogleChartErrorHandler__WEBPACK_IMPORTED_MODULE_17__[\"default\"], null, /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()('googlesitekit-chart', \"googlesitekit-chart--\".concat(chartType), className),\n    id: \"googlesitekit-chart-\".concat(instanceID),\n    tabIndex: -1\n  }, /*#__PURE__*/React.createElement(react_google_charts__WEBPACK_IMPORTED_MODULE_10__[\"Chart\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({\n    className: \"googlesitekit-chart__inner\",\n    chartEvents: combinedChartEvents,\n    chartLanguage: Object(_js_util__WEBPACK_IMPORTED_MODULE_23__[\"getLocale\"])(),\n    chartType: chartType,\n    chartVersion: \"49\",\n    data: filteredData,\n    loader: loader,\n    height: height,\n    getChartWrapper: function getChartWrapper(chartWrapper, google) {\n      // An issue with `react-google-charts` v4 causes the chart to\n      // render the overlay before the chart in some cases when using\n      // their own `onLoad` callback. This is a workaround to prevent\n      // that issue but still provide notice that the chart is loaded.\n      // See: https://github.com/google/site-kit-wp/issues/4945\n      if (!isChartLoaded) {\n        setIsChartLoaded(true);\n      }\n\n      // Remove all the event listeners on the old chart before we draw\n      // a new one. Only run this if the old chart and the new chart\n      // aren't the same reference though, otherwise we'll remove\n      // existing `onReady` events and other event listeners, which will\n      // cause bugs.\n      if (chartWrapper !== chartWrapperRef.current) {\n        var _googleRef$current3, _chartWrapperRef$curr, _googleRef$current4;\n        // eslint-disable-next-line no-unused-expressions\n        (_googleRef$current3 = googleRef.current) === null || _googleRef$current3 === void 0 ? void 0 : _googleRef$current3.visualization.events.removeAllListeners((_chartWrapperRef$curr = chartWrapperRef.current) === null || _chartWrapperRef$curr === void 0 ? void 0 : _chartWrapperRef$curr.getChart());\n        // eslint-disable-next-line no-unused-expressions\n        (_googleRef$current4 = googleRef.current) === null || _googleRef$current4 === void 0 ? void 0 : _googleRef$current4.visualization.events.removeAllListeners(chartWrapperRef.current);\n      }\n      chartWrapperRef.current = chartWrapper;\n      googleRef.current = google;\n      if (_getChartWrapper) {\n        _getChartWrapper(chartWrapper, google);\n      }\n    },\n    width: width,\n    options: chartOptions\n  }, otherProps)), gatheringData && isChartLoaded && /*#__PURE__*/React.createElement(_js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    style: _js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_15__[\"NOTICE_STYLE\"].OVERLAY\n  }), !!dateMarkersInRange.length && dateMarkersInRange.map(function (dateMarker, index) {\n    return /*#__PURE__*/React.createElement(_DateMarker__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n      key: \"googlesitekit-chart__date-marker--\".concat(instanceID, \"-\").concat(index),\n      id: \"\".concat(instanceID, \"-\").concat(index),\n      text: dateMarker.text\n    });\n  }), children));\n}\nGoogleChart.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.node,\n  chartEvents: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.shape({\n    eventName: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.string,\n    callback: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.func\n  })),\n  // Note: technically we support all types of charts that `react-google-charts`\n  // supports, which is _all_ chart types from Google Charts. But we only list\n  // the charts currently used in our codebase here, and only ones that we have\n  // explicit support/styles/handling for.\n  // See: https://github.com/google/site-kit-wp/pull/2916#discussion_r626620601\n  chartType: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.oneOf(['LineChart', 'PieChart']).isRequired,\n  data: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.array,\n  dateMarkers: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.shape({\n    /**\n     * The date to mark on the chart, in the format `'YYYY-MM-DD'`.\n     */\n    date: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.string.isRequired,\n    /**\n     * Text to display in a tooltip when the date marker is hovered.\n     */\n    text: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.string\n  })),\n  getChartWrapper: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.func,\n  height: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.string,\n  loaded: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.bool,\n  loadingHeight: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.string,\n  loadingWidth: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.string,\n  onMouseOut: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.func,\n  onMouseOver: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.func,\n  onReady: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.func,\n  onSelect: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.func,\n  selectedStats: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.number),\n  width: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.string,\n  options: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.object,\n  gatheringData: prop_types__WEBPACK_IMPORTED_MODULE_9___default.a.bool\n};\nGoogleChart.defaultProps = _objectSpread(_objectSpread({}, react_google_charts__WEBPACK_IMPORTED_MODULE_10__[\"Chart\"].defaultProps), {}, {\n  dateMarkers: [],\n  gatheringData: false,\n  loaded: true\n});\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\"), __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/components/GoogleChart/index.js\n");

/***/ }),

/***/ "./js/components/GoogleChart/utils.js":
/*!********************************************!*\
  !*** ./js/components/GoogleChart/utils.js ***!
  \********************************************/
/*! exports provided: getFilteredChartData, getLoadingDimensions, getCombinedChartEvents, getChartOptions, getCurrencyPattern */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getFilteredChartData\", function() { return getFilteredChartData; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLoadingDimensions\", function() { return getLoadingDimensions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCombinedChartEvents\", function() { return getCombinedChartEvents; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getChartOptions\", function() { return getChartOptions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCurrencyPattern\", function() { return getCurrencyPattern; });\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/* 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 _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * Google Chart utilities.\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/**\n * Returns the Google chart data, filtered by selected stats if present.\n *\n * @since 1.93.0\n *\n * @param {Array|undefined} data          Chart data.\n * @param {Array|undefined} selectedStats The columns that should be displayed for the data set.\n * @return {Object} The chart data, filtered by selected stats if present.\n */\nfunction getFilteredChartData(data, selectedStats) {\n  if (!(selectedStats === null || selectedStats === void 0 ? void 0 : selectedStats.length)) {\n    return data;\n  }\n\n  // Ensure we don't filter out columns that aren't data, but are things like\n  // tooltips or other content.\n  var nonDataColumns = [];\n  if (data === null || data === void 0 ? void 0 : data.length) {\n    nonDataColumns = data[0].reduce(function (acc, row, rowIndex) {\n      return (row === null || row === void 0 ? void 0 : row.role) ? [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(acc), [rowIndex]) : acc;\n    }, []);\n  }\n  return data.map(function (row) {\n    return row.filter(function (_columnValue, columnIndex) {\n      return columnIndex === 0 || selectedStats.includes(columnIndex - 1) || nonDataColumns.includes(columnIndex - 1);\n    });\n  });\n}\n\n/**\n * Returns the optimal height and width for a preview element.\n *\n * @since 1.93.0\n *\n * @param {string|undefined} loadingHeight Preview height.\n * @param {string|undefined} height        Chart height.\n * @param {string|undefined} loadingWidth  Preview width.\n * @param {string|undefined} width         Chart width.\n * @return {Object} The optimal height and width to use in a preview element.\n */\nfunction getLoadingDimensions(loadingHeight, height, loadingWidth, width) {\n  var dimensions = {\n    height: loadingHeight || height,\n    width: loadingWidth || width\n  };\n  // If a loading height is set but a width is not (or a loading width is set\n  // but not a height), change the \"unset\" value to 100% to avoid visual bugs.\n  // See: https://github.com/google/site-kit-wp/pull/2916#discussion_r623866269\n  if (dimensions.width && !dimensions.height) {\n    dimensions.height = '100%';\n  }\n  if (dimensions.height && !dimensions.width) {\n    dimensions.width = '100%';\n  }\n  return dimensions;\n}\n\n/**\n * Returns a combined chart events object.\n *\n * @since 1.93.0\n *\n * @param {Array.<Object>|undefined} chartEvents Event names and its callbacks.\n * @param {Function|undefined}       onReady     Chart event.\n * @param {Function|undefined}       onSelect    Chart event.\n * @return {Object} The object containig all events.\n */\nfunction getCombinedChartEvents(chartEvents, onReady, onSelect) {\n  var combinedChartEvents = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(chartEvents || []);\n  if (onReady) {\n    combinedChartEvents.push({\n      eventName: 'ready',\n      callback: onReady\n    });\n  }\n  if (onSelect) {\n    combinedChartEvents.push({\n      eventName: 'select',\n      callback: onSelect\n    });\n  }\n  return combinedChartEvents;\n}\n\n/**\n * Returns a chart configuration object.\n *\n * @since 1.93.0\n * @since 1.119.0 Added `breakpoint` parameter.\n * @since 1.160.0 Refactored `gatheringData`, `chartType`, `startDate`, `endDate`, and `breakpoint` to be named parameters.\n *\n * @param {Object}  options                     Chart options to extend.\n * @param {Object}  configuration               Configuration for the extended chart options.\n * @param {boolean} configuration.gatheringData If chart is in gathering info state.\n * @param {string}  configuration.chartType     Chart types: PieChart, LineChart.\n * @param {string}  configuration.startDate     Start date for a user data range.\n * @param {string}  configuration.endDate       End date for a user data range.\n * @param {string}  configuration.breakpoint    Current breakpoint.\n * @return {Object} Chart options object.\n */\nfunction getChartOptions(options, _ref) {\n  var gatheringData = _ref.gatheringData,\n    chartType = _ref.chartType,\n    startDate = _ref.startDate,\n    endDate = _ref.endDate,\n    breakpoint = _ref.breakpoint;\n  var chartOptions = Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"cloneDeep\"])(options);\n  if (gatheringData && chartType === 'LineChart') {\n    var _options$vAxis, _options$vAxis$viewWi, _options$vAxis2, _options$vAxis2$viewW, _options$hAxis, _options$hAxis$viewWi, _options$hAxis2, _options$hAxis2$viewW;\n    if (!(options === null || options === void 0 ? void 0 : (_options$vAxis = options.vAxis) === null || _options$vAxis === void 0 ? void 0 : (_options$vAxis$viewWi = _options$vAxis.viewWindow) === null || _options$vAxis$viewWi === void 0 ? void 0 : _options$vAxis$viewWi.min)) {\n      Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"set\"])(chartOptions, 'vAxis.viewWindow.min', 0);\n    }\n    if (!(options === null || options === void 0 ? void 0 : (_options$vAxis2 = options.vAxis) === null || _options$vAxis2 === void 0 ? void 0 : (_options$vAxis2$viewW = _options$vAxis2.viewWindow) === null || _options$vAxis2$viewW === void 0 ? void 0 : _options$vAxis2$viewW.max)) {\n      Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"set\"])(chartOptions, 'vAxis.viewWindow.max', 100);\n    }\n    if (!(options === null || options === void 0 ? void 0 : (_options$hAxis = options.hAxis) === null || _options$hAxis === void 0 ? void 0 : (_options$hAxis$viewWi = _options$hAxis.viewWindow) === null || _options$hAxis$viewWi === void 0 ? void 0 : _options$hAxis$viewWi.min)) {\n      Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"set\"])(chartOptions, 'hAxis.viewWindow.min', Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"stringToDate\"])(startDate));\n      delete chartOptions.hAxis.ticks;\n    }\n    if (!(options === null || options === void 0 ? void 0 : (_options$hAxis2 = options.hAxis) === null || _options$hAxis2 === void 0 ? void 0 : (_options$hAxis2$viewW = _options$hAxis2.viewWindow) === null || _options$hAxis2$viewW === void 0 ? void 0 : _options$hAxis2$viewW.max)) {\n      Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"set\"])(chartOptions, 'hAxis.viewWindow.max', Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"stringToDate\"])(endDate));\n      delete chartOptions.hAxis.ticks;\n    }\n  }\n  if (chartType === 'LineChart') {\n    var _options$hAxis3, _options$hAxis4, _options$tooltip;\n    if (!(options === null || options === void 0 ? void 0 : (_options$hAxis3 = options.hAxis) === null || _options$hAxis3 === void 0 ? void 0 : _options$hAxis3.maxTextLines)) {\n      Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"set\"])(chartOptions, 'hAxis.maxTextLines', 1);\n    }\n    if (!(options === null || options === void 0 ? void 0 : (_options$hAxis4 = options.hAxis) === null || _options$hAxis4 === void 0 ? void 0 : _options$hAxis4.minTextSpacing)) {\n      var minTextSpacing = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINT_SMALL\"] ? 50 : 100;\n      Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"set\"])(chartOptions, 'hAxis.minTextSpacing', minTextSpacing);\n    }\n    // eslint-disable-next-line sitekit/acronym-case\n    if ((options === null || options === void 0 ? void 0 : (_options$tooltip = options.tooltip) === null || _options$tooltip === void 0 ? void 0 : _options$tooltip.isHtml) === undefined) {\n      Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"set\"])(chartOptions, 'tooltip.isHtml', true);\n      Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"set\"])(chartOptions, 'tooltip.trigger', 'both');\n    }\n  }\n  Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"merge\"])(chartOptions, {\n    hAxis: {\n      textStyle: {\n        fontSize: 10,\n        color: '#5f6561'\n      }\n    },\n    vAxis: {\n      textStyle: {\n        color: '#5f6561',\n        fontSize: 10\n      }\n    },\n    legend: {\n      textStyle: {\n        color: '#131418',\n        fontSize: 12\n      }\n    }\n  });\n  return chartOptions;\n}\n\n/**\n * Returns the Google Charts currency pattern for a given currency code and locale.\n *\n * @since 1.118.0\n *\n * @param {string} currencyCode ISO 4217 currency code.\n * @param {string} locale       Locale to use for formatting.\n * @return {string} The currency pattern.\n */\nfunction getCurrencyPattern(currencyCode) {\n  var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"getLocale\"])();\n  var formatter = Intl.NumberFormat(locale, {\n    style: 'currency',\n    currency: currencyCode\n  });\n  var parts = formatter.formatToParts(1000000);\n  return parts.reduce(function (pattern, part) {\n    var value = part.value;\n    switch (part.type) {\n      case 'group':\n        // The group and decimal separators will be replaced with the\n        // locale-specific versions by the chart.\n        // See: https://groups.google.com/g/google-visualization-api/c/hBF9daxe8qY/m/_aPk3EfQLgAJ\n        return pattern + ',';\n      case 'decimal':\n        return pattern + '.';\n      case 'currency':\n        return pattern + value;\n      case 'literal':\n        var sanitizedValue = /^\\s*$/.test(value) ? value : '';\n        return pattern + sanitizedValue;\n      case 'integer':\n        var integerPattern = value.replace(/\\d/g, '#');\n        var isLastIntegerGroup = Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"findLast\"])(parts, function (_ref2) {\n          var type = _ref2.type;\n          return 'integer' === type;\n        }) === part;\n        return pattern + (isLastIntegerGroup ? integerPattern.replace(/#$/, '0') : integerPattern);\n      case 'fraction':\n        return pattern + value.replace(/\\d/g, '0');\n      default:\n        return pattern;\n    }\n  }, '');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/components/GoogleChart/utils.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* 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/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ \"../node_modules/@babel/runtime/helpers/assertThisInitialized.js\");\n/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ \"../node_modules/@babel/runtime/helpers/inherits.js\");\n/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ \"../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js\");\n/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ \"../node_modules/@babel/runtime/helpers/getPrototypeOf.js\");\n/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var clipboard_copy__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! clipboard-copy */ \"../node_modules/clipboard-copy/index.js\");\n/* harmony import */ var clipboard_copy__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(clipboard_copy__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _js_components_notifications_CTA__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/notifications/CTA */ \"./js/components/notifications/CTA.js\");\n/* harmony import */ var _js_components_GenericErrorHandlerActions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/GenericErrorHandlerActions */ \"./js/components/GenericErrorHandlerActions.js\");\n/* harmony import */ var _js_components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/Root/ViewContextContext */ \"./js/components/Root/ViewContextContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n\n\n\n\n\n\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default()(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n/**\n * GoogleChartErrorHandler component.\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/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nvar GoogleChartErrorHandler = /*#__PURE__*/function (_Component) {\n  _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default()(GoogleChartErrorHandler, _Component);\n  var _super = _createSuper(GoogleChartErrorHandler);\n  function GoogleChartErrorHandler(props) {\n    var _this;\n    _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, GoogleChartErrorHandler);\n    _this = _super.call(this, props);\n    _this.state = {\n      error: null,\n      info: null\n    };\n    _this.onErrorClick = _this.onErrorClick.bind(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this));\n    return _this;\n  }\n  _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(GoogleChartErrorHandler, [{\n    key: \"componentDidCatch\",\n    value: function componentDidCatch(error, info) {\n      global.console.error('Google Charts error:', error, info);\n      this.setState({\n        error: error,\n        info: info\n      });\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"trackEvent\"])('google_chart_error', \"handle_\".concat(this.context || 'unknown', \"_error\"),\n      // label has a max-length of 500 bytes.\n      \"\".concat(error === null || error === void 0 ? void 0 : error.message, \"\\n\").concat(info === null || info === void 0 ? void 0 : info.componentStack).slice(0, 500));\n    }\n  }, {\n    key: \"onErrorClick\",\n    value: function onErrorClick() {\n      var _this$state = this.state,\n        error = _this$state.error,\n        info = _this$state.info; // Copy message with wrapping backticks for code block formatting on wp.org.\n      clipboard_copy__WEBPACK_IMPORTED_MODULE_7___default()(\"`\".concat(error === null || error === void 0 ? void 0 : error.message, \"\\n\").concat(info === null || info === void 0 ? void 0 : info.componentStack, \"`\"));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var children = this.props.children;\n      var _this$state2 = this.state,\n        error = _this$state2.error,\n        info = _this$state2.info; // If there is no caught error, render the children components normally.\n      if (!error) {\n        return children;\n      }\n      return /*#__PURE__*/React.createElement(\"div\", {\n        className: \"googlesitekit-googlechart-error-handler\"\n      }, /*#__PURE__*/React.createElement(_js_components_notifications_CTA__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        description: /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_14__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_9__[\"__\"])('An error prevented this Google chart from being displayed properly. Report the exact contents of the error on the support forum to find out what caused it.', 'google-site-kit')), /*#__PURE__*/React.createElement(_js_components_GenericErrorHandlerActions__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n          message: error.message,\n          componentStack: info.componentStack\n        })),\n        onErrorClick: this.onErrorClick,\n        onClick: this.onErrorClick,\n        title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_9__[\"__\"])('Error in Google Chart', 'google-site-kit'),\n        error: true\n      }));\n    }\n  }]);\n  return GoogleChartErrorHandler;\n}(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__[\"Component\"]);\nGoogleChartErrorHandler.contextType = _js_components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_12__[\"default\"];\nGoogleChartErrorHandler.propTypes = {\n  /** @ignore */\n  children: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.node.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (GoogleChartErrorHandler);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/components/GoogleChartErrorHandler/index.js\n");

/***/ }),

/***/ "./js/components/IconWrapper.js":
/*!**************************************!*\
  !*** ./js/components/IconWrapper.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return IconWrapper; });\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 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\n/**\n * IconWrapper component.\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\nfunction IconWrapper(_ref) {\n  var children = _ref.children,\n    marginLeft = _ref.marginLeft,\n    marginRight = _ref.marginRight;\n  return /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-icon-wrapper\",\n    style: {\n      marginLeft: marginLeft,\n      marginRight: marginRight\n    }\n  }, children);\n}\nIconWrapper.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,\n  marginLeft: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  marginRight: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0ljb25XcmFwcGVyLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9JY29uV3JhcHBlci5qcz82NzBlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSWNvbldyYXBwZXIgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpc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6IFByb3BUeXBlcy5udW1iZXIsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/IconWrapper.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/**\n * InView context for React components.\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\nvar InViewContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createContext\"])(false);\n/* harmony default export */ __webpack_exports__[\"default\"] = (InViewContext);//# sourceURL=[module]\n//# sourceMappingURL=data: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ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBXb3JkUHJlc3MgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGNyZWF0ZUNvbnRleHQgfSBmcm9tICdAd29yZHByZXNzL2VsZW1lbnQnO1xuXG5jb25zdCBJblZpZXdDb250ZXh0ID0gY3JlYXRlQ29udGV4dCggZmFsc2UgKTtcblxuZXhwb3J0IGRlZmF1bHQgSW5WaWV3Q29udGV4dDtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/InViewProvider/InViewContext.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Consumer\", function() { return Consumer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Provider\", function() { return Provider; });\n/* harmony import */ var _InViewContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InViewContext */ \"./js/components/InViewProvider/InViewContext.js\");\n/**\n * In-view Provider component.\n *\n * Site Kit by Google, Copyright 2020 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\nvar Consumer = _InViewContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Consumer,\n  Provider = _InViewContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider;\n\nvar InViewProvider = Provider;\n/* harmony default export */ __webpack_exports__[\"default\"] = (InViewProvider);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0luVmlld1Byb3ZpZGVyL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9JblZpZXdQcm92aWRlci9pbmRleC5qcz84MmEzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW4tdmlldyBQcm92aWRlciBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgSW5WaWV3Q29udGV4dCBmcm9tICcuL0luVmlld0NvbnRleHQnO1xuXG5leHBvcnQgY29uc3QgeyBDb25zdW1lciwgUHJvdmlkZXIgfSA9IEluVmlld0NvbnRleHQ7XG5cbmNvbnN0IEluVmlld1Byb3ZpZGVyID0gUHJvdmlkZXI7XG5cbmV4cG9ydCBkZWZhdWx0IEluVmlld1Byb3ZpZGVyO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUFBO0FBRUE7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/InViewProvider/index.js\n");

/***/ }),

/***/ "./js/components/InfoTooltip.js":
/*!**************************************!*\
  !*** ./js/components/InfoTooltip.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return InfoTooltip; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _svg_icons_info_green_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/icons/info-green.svg */ \"./svg/icons/info-green.svg\");\n\n/**\n * InfoTooltip component.\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/**\n * Internal dependencies\n */\n\n\nfunction InfoTooltip(_ref) {\n  var onOpen = _ref.onOpen,\n    title = _ref.title,\n    tooltipClassName = _ref.tooltipClassName;\n  if (!title) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Tooltip\"], {\n    className: \"googlesitekit-info-tooltip\",\n    tooltipClassName: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-info-tooltip__content', tooltipClassName),\n    title: title,\n    placement: \"top\",\n    enterTouchDelay: 0,\n    leaveTouchDelay: 5000,\n    onOpen: onOpen,\n    interactive: true\n  }, /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(_svg_icons_info_green_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    width: \"16\",\n    height: \"16\"\n  })));\n}\nInfoTooltip.propTypes = {\n  onOpen: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element]),\n  tooltipClassName: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0luZm9Ub29sdGlwLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9JbmZvVG9vbHRpcC5qcz9kMjFhIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW5mb1Rvb2x0aXAgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IG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W1lbnQgXSApLFxuXHR0b29sdGlwQ2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFJQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQUE7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/InfoTooltip.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return JoyrideTooltip; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react_joyride__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-joyride */ \"../node_modules/react-joyride/dist/index.mjs\");\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _TourTooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TourTooltip */ \"./js/components/TourTooltip.js\");\n/* harmony import */ var _Portal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Portal */ \"./js/components/Portal.js\");\n/* harmony import */ var _TourTooltips__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./TourTooltips */ \"./js/components/TourTooltips.js\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.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_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 * JoyRideTooltip component.\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\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction JoyrideTooltip(props) {\n  var title = props.title,\n    content = props.content,\n    dismissLabel = props.dismissLabel,\n    _props$disableOverlay = props.disableOverlay,\n    disableOverlay = _props$disableOverlay === void 0 ? true : _props$disableOverlay,\n    target = props.target,\n    _props$cta = props.cta,\n    cta = _props$cta === void 0 ? false : _props$cta,\n    className = props.className,\n    _props$styles = props.styles,\n    styles = _props$styles === void 0 ? {} : _props$styles,\n    _props$slug = props.slug,\n    slug = _props$slug === void 0 ? '' : _props$slug,\n    _props$placement = props.placement,\n    placement = _props$placement === void 0 ? 'auto' : _props$placement,\n    _props$onDismiss = props.onDismiss,\n    onDismiss = _props$onDismiss === void 0 ? function () {} : _props$onDismiss,\n    _props$onView = props.onView,\n    onView = _props$onView === void 0 ? function () {} : _props$onView,\n    _props$onTourStart = props.onTourStart,\n    onTourStart = _props$onTourStart === void 0 ? function () {} : _props$onTourStart,\n    _props$onTourEnd = props.onTourEnd,\n    onTourEnd = _props$onTourEnd === void 0 ? function () {} : _props$onTourEnd;\n  function checkIfTargetExists() {\n    return !!global.document.querySelector(target);\n  }\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useState\"])(checkIfTargetExists),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2),\n    targetExists = _useState2[0],\n    setTargetExists = _useState2[1];\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_9__[\"useBreakpoint\"])();\n  var isMobileTablet = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_9__[\"BREAKPOINT_SMALL\"] || breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_9__[\"BREAKPOINT_TABLET\"];\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useState\"])(true),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState3, 2),\n    shouldRun = _useState4[0],\n    setShouldRun = _useState4[1];\n  var previousIsMobileTabletRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useRef\"])(isMobileTablet);\n  Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useInterval\"])(function () {\n    if (checkIfTargetExists()) {\n      setTargetExists(true);\n    }\n  },\n  // An delay of null will stop the interval.\n  targetExists ? null : 250);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    // eslint-disable-next-line sitekit/function-declaration-consistency\n    var disconnect = function disconnect() {};\n    if (typeof global.ResizeObserver === 'function') {\n      var targetElement = global.document.querySelector(target);\n      if (targetElement) {\n        var resizeObserver = new ResizeObserver(function () {\n          // Dispatch a window resize event to trigger the tooltip to reposition.\n          global.dispatchEvent(new Event('resize'));\n        });\n        resizeObserver.observe(targetElement);\n        disconnect = function disconnect() {\n          return resizeObserver.disconnect();\n        };\n      }\n    }\n    return disconnect;\n  }, [target, targetExists]);\n\n  // Reset the component between mobile and desktop layouts they use different\n  // targets which requires the tooltip to be re-rendered to display correctly.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    var timeoutID;\n    if (previousIsMobileTabletRef.current !== isMobileTablet) {\n      setShouldRun(false);\n      timeoutID = setTimeout(function () {\n        setShouldRun(true);\n      }, 50);\n      previousIsMobileTabletRef.current = isMobileTablet;\n    }\n    return function () {\n      if (timeoutID) {\n        clearTimeout(timeoutID);\n      }\n    };\n  }, [isMobileTablet]);\n\n  // Joyride expects the step's target to be in the DOM immediately\n  // so we need to wait for it in some cases, e.g. loading data.\n  if (!targetExists) {\n    return null;\n  }\n  var steps = [{\n    title: title,\n    target: target,\n    content: content,\n    disableBeacon: true,\n    isFixed: true,\n    placement: placement,\n    cta: cta,\n    className: className\n  }];\n\n  // Provides button content as well as aria-label & title attribute values.\n  var joyrideLocale = {\n    close: dismissLabel,\n    last: dismissLabel\n  };\n  function callback(_ref) {\n    var type = _ref.type;\n    switch (type) {\n      case react_joyride__WEBPACK_IMPORTED_MODULE_4__[\"EVENTS\"].TOUR_START:\n        onTourStart();\n        global.document.body.classList.add('googlesitekit-showing-tooltip');\n        break;\n      case react_joyride__WEBPACK_IMPORTED_MODULE_4__[\"EVENTS\"].TOUR_END:\n        onTourEnd();\n        global.document.body.classList.remove('googlesitekit-showing-tooltip');\n        break;\n      case react_joyride__WEBPACK_IMPORTED_MODULE_4__[\"EVENTS\"].STEP_AFTER:\n        // This is not strictly necessary as the tooltip will hide without it,\n        // but this allows the consumer of the component to clean up\n        // post-dismiss.\n        onDismiss();\n        break;\n      case react_joyride__WEBPACK_IMPORTED_MODULE_4__[\"EVENTS\"].TOOLTIP:\n        onView();\n        break;\n    }\n  }\n  return /*#__PURE__*/React.createElement(_Portal__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    slug: slug\n  }, /*#__PURE__*/React.createElement(react_joyride__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    callback: callback,\n    disableOverlay: disableOverlay,\n    spotlightPadding: 0,\n    floaterProps: _TourTooltips__WEBPACK_IMPORTED_MODULE_8__[\"floaterProps\"],\n    locale: joyrideLocale,\n    steps: steps,\n    styles: _objectSpread(_objectSpread(_objectSpread({}, _TourTooltips__WEBPACK_IMPORTED_MODULE_8__[\"joyrideStyles\"]), styles), {}, {\n      options: _objectSpread(_objectSpread({}, _TourTooltips__WEBPACK_IMPORTED_MODULE_8__[\"joyrideStyles\"].options), styles === null || styles === void 0 ? void 0 : styles.options),\n      spotlight: _objectSpread(_objectSpread({}, _TourTooltips__WEBPACK_IMPORTED_MODULE_8__[\"joyrideStyles\"].spotlight), styles === null || styles === void 0 ? void 0 : styles.spotlight)\n    }),\n    tooltipComponent: _TourTooltip__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n    run: shouldRun,\n    disableScrolling: true\n  }));\n}\nJoyrideTooltip.propTypes = {\n  title: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].node,\n  content: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].string,\n  disableOverlay: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].bool,\n  dismissLabel: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].string,\n  target: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].string.isRequired,\n  onDismiss: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].func,\n  onShow: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].func,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].string,\n  styles: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].object,\n  slug: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].string,\n  placement: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].string,\n  onView: prop_types__WEBPACK_IMPORTED_MODULE_3__[\"PropTypes\"].func\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/components/JoyrideTooltip.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/ChangeMetricsLink.js":
/*!*******************************************************!*\
  !*** ./js/components/KeyMetrics/ChangeMetricsLink.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ChangeMetricsLink; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _svg_icons_pencil_alt_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/svg/icons/pencil-alt.svg */ \"./svg/icons/pencil-alt.svg\");\n/* harmony import */ var _SetupCompletedSurveyTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SetupCompletedSurveyTrigger */ \"./js/components/KeyMetrics/SetupCompletedSurveyTrigger.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useChangeMetricsFeatureTourEffect__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./hooks/useChangeMetricsFeatureTourEffect */ \"./js/components/KeyMetrics/hooks/useChangeMetricsFeatureTourEffect.js\");\n\n/**\n * Key Metrics ChangeMetricsLink component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nfunction ChangeMetricsLink() {\n  var keyMetrics = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).getKeyMetrics();\n  });\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var openMetricsSelectionPanel = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    setValue(_constants__WEBPACK_IMPORTED_MODULE_5__[\"KEY_METRICS_SELECTION_PANEL_OPENED_KEY\"], true);\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw\"), 'change_metrics');\n  }, [setValue, viewContext]);\n  var renderChangeMetricLink = Array.isArray(keyMetrics) && (keyMetrics === null || keyMetrics === void 0 ? void 0 : keyMetrics.length) > 0;\n  Object(_hooks_useChangeMetricsFeatureTourEffect__WEBPACK_IMPORTED_MODULE_11__[\"useChangeMetricsFeatureTourEffect\"])({\n    renderChangeMetricLink: renderChangeMetricLink\n  });\n  if (!renderChangeMetricLink) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    className: \"googlesitekit-widget-area__cta-link googlesitekit-km-change-metrics-cta\",\n    onClick: openMetricsSelectionPanel,\n    leadingIcon: /*#__PURE__*/React.createElement(_svg_icons_pencil_alt_svg__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n      width: 22,\n      height: 22\n    }),\n    secondary: true,\n    linkButton: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Change metrics', 'google-site-kit')), /*#__PURE__*/React.createElement(_SetupCompletedSurveyTrigger__WEBPACK_IMPORTED_MODULE_8__[\"default\"], null));\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/components/KeyMetrics/ChangeMetricsLink.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/ChipTabGroup/Chip.js":
/*!*******************************************************!*\
  !*** ./js/components/KeyMetrics/ChipTabGroup/Chip.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Chip; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/KeyMetrics/constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _svg_icons_check_2_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/svg/icons/check-2.svg */ \"./svg/icons/check-2.svg\");\n/* harmony import */ var _svg_icons_star_fill_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/svg/icons/star-fill.svg */ \"./svg/icons/star-fill.svg\");\n/* harmony import */ var _js_components_Null__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Null */ \"./js/components/Null.js\");\n\nvar _icons;\n\n/**\n * Chip component.\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\nvar icons = (_icons = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_icons, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_5__[\"KEY_METRICS_GROUP_CURRENT\"].SLUG, _svg_icons_check_2_svg__WEBPACK_IMPORTED_MODULE_6__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_icons, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_5__[\"KEY_METRICS_GROUP_SUGGESTED\"].SLUG, _svg_icons_star_fill_svg__WEBPACK_IMPORTED_MODULE_7__[\"default\"]), _icons);\nfunction Chip(_ref) {\n  var slug = _ref.slug,\n    label = _ref.label,\n    isActive = _ref.isActive,\n    _onClick = _ref.onClick,\n    _ref$hasNewBadge = _ref.hasNewBadge,\n    hasNewBadge = _ref$hasNewBadge === void 0 ? false : _ref$hasNewBadge,\n    _ref$selectedCount = _ref.selectedCount,\n    selectedCount = _ref$selectedCount === void 0 ? 0 : _ref$selectedCount;\n  var Icon = icons[slug] || _js_components_Null__WEBPACK_IMPORTED_MODULE_8__[\"default\"];\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Button\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-chip-tab-group__chip-item', {\n      'googlesitekit-chip-tab-group__chip-item--active': isActive\n    }),\n    icon: /*#__PURE__*/React.createElement(Icon, {\n      width: 12,\n      height: 12,\n      className: \"googlesitekit-chip-tab-group__chip-item-svg googlesitekit-chip-tab-group__chip-item-svg__\".concat(slug)\n    }),\n    trailingIcon: selectedCount > 0 ? /*#__PURE__*/React.createElement(\"span\", {\n      className: \"googlesitekit-chip-tab-group__chip-item-count\"\n    }, \"(\", selectedCount, \")\") : null,\n    onClick: function onClick() {\n      return _onClick(slug);\n    }\n  }, label, hasNewBadge && /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-chip-tab-group__chip-item-new-dot\"\n  }));\n}\nChip.propTypes = {\n  slug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  label: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  isActive: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  hasNewBadge: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  selectedCount: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvQ2hpcFRhYkdyb3VwL0NoaXAuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvQ2hpcFRhYkdyb3VwL0NoaXAuanM/NGM2YyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENoaXAgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBma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DQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUlBO0FBQ0E7QUFDQTtBQUVBO0FBS0E7QUFPQTtBQUxBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFHQTtBQUVBO0FBQUE7QUFLQTtBQUFBO0FBQUE7QUFBQTtBQUlBO0FBQUE7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/ChipTabGroup/Chip.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ChipTabGroup; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/KeyMetrics/constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_15__ = __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_16__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _Chip__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Chip */ \"./js/components/KeyMetrics/ChipTabGroup/Chip.js\");\n/* harmony import */ var _js_components_KeyMetrics_MetricsSelectionPanel_MetricItem__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/components/KeyMetrics/MetricsSelectionPanel/MetricItem */ \"./js/components/KeyMetrics/MetricsSelectionPanel/MetricItem.js\");\n/* harmony import */ var _svg_graphics_key_metrics_no_selected_items_svg__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/svg/graphics/key-metrics-no-selected-items.svg */ \"./svg/graphics/key-metrics-no-selected-items.svg\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/js/hooks/useDebounce */ \"./js/hooks/useDebounce.js\");\n/* harmony import */ var _svg_icons_check_2_svg__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @/svg/icons/check-2.svg */ \"./svg/icons/check-2.svg\");\n/* harmony import */ var _svg_icons_star_fill_svg__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @/svg/icons/star-fill.svg */ \"./svg/icons/star-fill.svg\");\n/* harmony import */ var _js_components_Null__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @/js/components/Null */ \"./js/components/Null.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n\n\n\n\nvar _icons;\n\n/**\n * ChipTabGroup component.\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 * WordPress dependencies\n */\n\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\n\nvar icons = (_icons = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(_icons, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_CURRENT\"].SLUG, _svg_icons_check_2_svg__WEBPACK_IMPORTED_MODULE_22__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(_icons, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_SUGGESTED\"].SLUG, _svg_icons_star_fill_svg__WEBPACK_IMPORTED_MODULE_23__[\"default\"]), _icons);\nvar emptyArray = Object.freeze([]);\n\n/* eslint complexity: [ \"error\", 17 ] */\nfunction ChipTabGroup(_ref) {\n  var allMetricItems = _ref.allMetricItems,\n    savedItemSlugs = _ref.savedItemSlugs;\n  var containerRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useRef\"])();\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useState\"])(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_CURRENT\"].SLUG),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    isActive = _useState2[0],\n    setIsActive = _useState2[1]; // Used for mobile chip tabs, which leverages the TabBar component for seemless horizontal scroll\n  // but it accepts a numerical index for the active tab.\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useState\"])(0),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState3, 2),\n    activeGroupIndex = _useState4[0],\n    setActiveGroupIndex = _useState4[1];\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_20__[\"useBreakpoint\"])();\n  var isMobileBreakpoint = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_20__[\"BREAKPOINT_SMALL\"];\n  var selectedMetrics = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_25__[\"default\"])(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_SELECTION_FORM\"], _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_SELECTED\"]);\n  var effectiveSelection = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_25__[\"default\"])(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_SELECTION_FORM\"], _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"EFFECTIVE_SELECTION\"]) || emptyArray;\n  var unstagedSelection = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_25__[\"default\"])(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_SELECTION_FORM\"], _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"UNSTAGED_SELECTION\"]) || emptyArray;\n  var isUserInputCompleted = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_USER\"]).isUserInputCompleted();\n  });\n  var currentlyActiveEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    var _userInputSettings$in;\n    var userPickedMetrics = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_USER\"]).getUserPickedMetrics();\n    if (userPickedMetrics === null || userPickedMetrics === void 0 ? void 0 : userPickedMetrics.length) {\n      // It is safe to access the selector without checking if GA4 is connected,\n      // since this selector does not make request to the module endpoint.\n      var keyMetricsConversionEventWidgets = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULES_ANALYTICS_4\"]).getKeyMetricsConversionEventWidgets();\n      return Object.keys(keyMetricsConversionEventWidgets).filter(function (event) {\n        return userPickedMetrics.some(function (metric) {\n          return keyMetricsConversionEventWidgets[event].includes(metric);\n        });\n      });\n    }\n    var userInputSettings = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_USER\"]).getUserInputSettings();\n    return userInputSettings === null || userInputSettings === void 0 ? void 0 : (_userInputSettings$in = userInputSettings.includeConversionEvents) === null || _userInputSettings$in === void 0 ? void 0 : _userInputSettings$in.values;\n  });\n  var isGA4Connected = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_16__[\"CORE_MODULES\"]).isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var detectedEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    if (!isGA4Connected) {\n      return [];\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n  });\n  var answerBasedMetrics = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_USER\"]).getAnswerBasedMetrics(null, [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(currentlyActiveEvents || []), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(detectedEvents || [])));\n  });\n  var hasGeneratingLeadsGroup = [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD].filter(function (item) {\n    return (detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes(item)) || (currentlyActiveEvents === null || currentlyActiveEvents === void 0 ? void 0 : currentlyActiveEvents.includes(item));\n  });\n  var hasSellingProductsGroup = [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"ENUM_CONVERSION_EVENTS\"].ADD_TO_CART, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"ENUM_CONVERSION_EVENTS\"].PURCHASE].filter(function (item) {\n    return (detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes(item)) || (currentlyActiveEvents === null || currentlyActiveEvents === void 0 ? void 0 : currentlyActiveEvents.includes(item));\n  });\n  var keyMetricsGroups = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useMemo\"])(function () {\n    return [_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_VISITORS\"], _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_DRIVING_TRAFFIC\"]].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()((hasGeneratingLeadsGroup === null || hasGeneratingLeadsGroup === void 0 ? void 0 : hasGeneratingLeadsGroup.length) ? [_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_GENERATING_LEADS\"]] : []), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()((hasSellingProductsGroup === null || hasSellingProductsGroup === void 0 ? void 0 : hasSellingProductsGroup.length) ? [_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_SELLING_PRODUCTS\"]] : []), [_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_CONTENT_PERFORMANCE\"]]);\n  }, [hasGeneratingLeadsGroup, hasSellingProductsGroup]);\n  var dynamicGroups = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useMemo\"])(function () {\n    if (isUserInputCompleted && (answerBasedMetrics === null || answerBasedMetrics === void 0 ? void 0 : answerBasedMetrics.length)) {\n      return [_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_CURRENT\"], _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_SUGGESTED\"]];\n    }\n    return [_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_CURRENT\"]];\n  }, [isUserInputCompleted, answerBasedMetrics]);\n  var allGroups = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useMemo\"])(function () {\n    return [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(dynamicGroups), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(keyMetricsGroups));\n  }, [dynamicGroups, keyMetricsGroups]);\n  var newBadgeEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    if (!isGA4Connected) {\n      return [];\n    }\n    var badgeEvents = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULES_ANALYTICS_4\"]).getNewBadgeEvents();\n    if ((detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.length) && (badgeEvents === null || badgeEvents === void 0 ? void 0 : badgeEvents.length)) {\n      var detectedLeadEvents = detectedEvents.filter(function (event) {\n        return _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"CONVERSION_REPORTING_LEAD_EVENTS\"].includes(event);\n      });\n      var newLeadEvents = badgeEvents.filter(function (event) {\n        return _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"CONVERSION_REPORTING_LEAD_EVENTS\"].includes(event);\n      });\n      var newNonLeadEvents = badgeEvents.filter(function (event) {\n        return !_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"CONVERSION_REPORTING_LEAD_EVENTS\"].includes(event);\n      });\n      if ((detectedLeadEvents === null || detectedLeadEvents === void 0 ? void 0 : detectedLeadEvents.length) > 1 && newLeadEvents.length > 0) {\n        return newNonLeadEvents;\n      }\n    }\n    return badgeEvents;\n  });\n  var conversionReportingEventWidgets = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    if (!isGA4Connected) {\n      return [];\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULES_ANALYTICS_4\"]).getKeyMetricsConversionEventWidgets();\n  });\n\n  // It is not always clear that tabs are scrollable on mobile, so we need to ensure that the last tab item\n  // is cutoff to indicate that there are more tabs to scroll to.\n  var maybeCutOffLastTabItem = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useCallback\"])(function () {\n    var _containerRef$current, _containerRef$current2, _containerRef$current3;\n    var scrollContainer = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelector('.mdc-tab-scroller__scroll-content');\n    if (!isMobileBreakpoint) {\n      return;\n    }\n    var tabItems = (_containerRef$current2 = containerRef.current) === null || _containerRef$current2 === void 0 ? void 0 : _containerRef$current2.querySelectorAll('.googlesitekit-chip-tab-group__tab-items .mdc-tab');\n    if (!(tabItems === null || tabItems === void 0 ? void 0 : tabItems.length) || !scrollContainer) {\n      return;\n    }\n    var containerRect = (_containerRef$current3 = containerRef.current) === null || _containerRef$current3 === void 0 ? void 0 : _containerRef$current3.getBoundingClientRect();\n    var visibleItems = [];\n    tabItems.forEach(function (tabItem, index) {\n      var tabItemRect = tabItem.getBoundingClientRect();\n      if (tabItemRect.left >= containerRect.left && tabItemRect.right <= containerRect.right) {\n        visibleItems.push(index);\n      }\n    });\n    var nextTabItem = tabItems[visibleItems.length];\n    if (!nextTabItem) {\n      return;\n    }\n    var nextTabItemRect = nextTabItem.getBoundingClientRect();\n\n    // If the next tab item is either completely off-screen or only barely\n    // visible (i.e. cut off by 15px or less, meaning most likely it is still\n    // outside the visible area), reduce the column gap so that the last tab\n    // item appears properly truncated.\n    if (nextTabItemRect.left >= containerRect.right || nextTabItemRect.left - containerRect.right < 0 && -(nextTabItemRect.left - containerRect.right) <= 20) {\n      // If there is an inline gap of 2px we already adjusted it once, and\n      // the last item is still not cut off, we need to adjust the column\n      // gap to 20px to ensure the last item is cut off.\n      if (scrollContainer.style.columnGap === '2px') {\n        scrollContainer.style.columnGap = '20px';\n      } else {\n        scrollContainer.style.columnGap = '2px';\n      }\n      maybeCutOffLastTabItem();\n    }\n  }, [isMobileBreakpoint]);\n\n  // Currently selected group does not include total selected number, so it will\n  // always be 0.\n  var selectedCounts = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()({}, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_CURRENT\"].SLUG, 0);\n  var activeMetricItems = {};\n  var newlyDetectedMetrics = {};\n  var _loop = function _loop(metricItemSlug) {\n    var metricGroup = allMetricItems[metricItemSlug].group;\n    if (metricGroup === isActive || isActive === _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_CURRENT\"].SLUG && effectiveSelection.includes(metricItemSlug)) {\n      activeMetricItems[metricItemSlug] = allMetricItems[metricItemSlug];\n    }\n    if (isActive === _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_SUGGESTED\"].SLUG && answerBasedMetrics.includes(metricItemSlug)) {\n      if (answerBasedMetrics.includes(metricItemSlug)) {\n        activeMetricItems[metricItemSlug] = allMetricItems[metricItemSlug];\n      }\n    }\n    if (!selectedCounts[metricGroup]) {\n      var selectedCount = Object.keys(allMetricItems).filter(function (slug) {\n        // Check if metric slug is in selectedMetrics, so the group\n        // count is reflected in real time as metrics are checked/unchecked.\n        if (allMetricItems[slug].group === metricGroup && (selectedMetrics === null || selectedMetrics === void 0 ? void 0 : selectedMetrics.includes(slug))) {\n          return true;\n        }\n        return false;\n      }).length;\n      selectedCounts[metricGroup] = selectedCount;\n    }\n\n    // Check if metric is conversion event related and if new badge should be included.\n    if (newBadgeEvents === null || newBadgeEvents === void 0 ? void 0 : newBadgeEvents.length) {\n      var isNewlyDetectedKeyMetrics = newBadgeEvents.some(function (conversionEvent) {\n        return conversionReportingEventWidgets[conversionEvent].includes(metricItemSlug);\n      });\n      if (isNewlyDetectedKeyMetrics) {\n        var _newlyDetectedMetrics2;\n        newlyDetectedMetrics[metricGroup] = [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()((_newlyDetectedMetrics2 = newlyDetectedMetrics[metricGroup]) !== null && _newlyDetectedMetrics2 !== void 0 ? _newlyDetectedMetrics2 : []), [metricItemSlug]);\n      }\n    }\n  };\n  for (var metricItemSlug in allMetricItems) {\n    _loop(metricItemSlug);\n  }\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var resetUnstagedSelection = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useCallback\"])(function () {\n    var _setValues;\n    setValues(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_SELECTION_FORM\"], (_setValues = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(_setValues, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_SELECTED\"], selectedMetrics), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(_setValues, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"EFFECTIVE_SELECTION\"], [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(effectiveSelection), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(unstagedSelection))), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(_setValues, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"UNSTAGED_SELECTION\"], []), _setValues));\n  }, [selectedMetrics, effectiveSelection, unstagedSelection, setValues]);\n  var onChipChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useCallback\"])(function (slug, index) {\n    if (!slug) {\n      // Set active group for mobile tabs.\n      var activeGroup = allGroups[index];\n      setActiveGroupIndex(index);\n      setIsActive(activeGroup.SLUG);\n    } else {\n      setIsActive(slug);\n    }\n    if (unstagedSelection.length) {\n      resetUnstagedSelection();\n    }\n  }, [allGroups, unstagedSelection, setIsActive, resetUnstagedSelection]);\n  var isSelectionPanelOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_UI\"]).getValue(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n  var isSelectionPanelOpenPrevious = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_6__[\"usePrevious\"])(isSelectionPanelOpen);\n  var newlyDetectedMetricsKeys = Object.keys(newlyDetectedMetrics);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useEffect\"])(function () {\n    // Ensure that current selection group is always active when selection panel re-opens.\n    if (!isSelectionPanelOpenPrevious && isSelectionPanelOpen) {\n      setIsActive(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_CURRENT\"].SLUG);\n      setActiveGroupIndex(0);\n      if (newlyDetectedMetricsKeys.length && isMobileBreakpoint) {\n        var firstNewlyDetectedGroup = allGroups.find(function (group) {\n          return group.SLUG === newlyDetectedMetricsKeys[0];\n        });\n        setActiveGroupIndex(allGroups.indexOf(firstNewlyDetectedGroup));\n        setIsActive(firstNewlyDetectedGroup.SLUG);\n      } else {\n        setActiveGroupIndex(0);\n        setIsActive(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_10__[\"KEY_METRICS_GROUP_CURRENT\"].SLUG);\n      }\n    }\n    if (isSelectionPanelOpenPrevious && !isSelectionPanelOpen) {\n      // Reset the unstaged selection when selection panel is closed.\n      resetUnstagedSelection();\n    }\n    if (!isSelectionPanelOpenPrevious && isSelectionPanelOpen) {\n      maybeCutOffLastTabItem();\n    }\n  }, [isSelectionPanelOpen, isSelectionPanelOpenPrevious, unstagedSelection, allGroups, isMobileBreakpoint, newlyDetectedMetricsKeys, resetUnstagedSelection, maybeCutOffLastTabItem]);\n\n  // Debounce the maybeCutOffLastTabItem function\n  var debouncedMaybeCutOffLastTabItem = Object(_js_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_21__[\"useDebounce\"])(maybeCutOffLastTabItem, 50);\n  Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useMount\"])(function () {\n    global.addEventListener('resize', debouncedMaybeCutOffLastTabItem);\n  });\n  Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useUnmount\"])(function () {\n    return global.removeEventListener('resize', debouncedMaybeCutOffLastTabItem);\n  });\n  var chipItemRows = [[].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(dynamicGroups), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(keyMetricsGroups.slice(0, 2))), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(keyMetricsGroups.slice(2))];\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-chip-tab-group\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-chip-tab-group__tab-items\",\n    ref: containerRef\n  }, !isMobileBreakpoint && chipItemRows.map(function (row) {\n    return /*#__PURE__*/React.createElement(\"div\", {\n      // To avoid using indexes, key is extracted from the first grouo\n      // of each row and joined to the string \"row-\".\n      key: \"row-\".concat(row[0].SLUG),\n      className: \"googlesitekit-chip-tab-group__tab-items-row\"\n    }, row.map(function (group) {\n      return /*#__PURE__*/React.createElement(_Chip__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n        key: group.SLUG,\n        slug: group.SLUG,\n        label: group.LABEL,\n        hasNewBadge: !!(newlyDetectedMetrics === null || newlyDetectedMetrics === void 0 ? void 0 : newlyDetectedMetrics[group.SLUG]),\n        isActive: group.SLUG === isActive,\n        onClick: onChipChange,\n        selectedCount: selectedCounts[group.SLUG]\n      });\n    }));\n  }), isMobileBreakpoint && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_9__[\"TabBar\"], {\n    activeIndex: activeGroupIndex,\n    handleActiveIndexUpdate: function handleActiveIndexUpdate(index) {\n      return onChipChange(null, index);\n    }\n  }, allGroups.map(function (group, index) {\n    var Icon = icons[group.SLUG] || _js_components_Null__WEBPACK_IMPORTED_MODULE_24__[\"default\"];\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_9__[\"Tab\"], {\n      key: index,\n      \"aria-label\": group.LABEL\n    }, /*#__PURE__*/React.createElement(Icon, {\n      width: 12,\n      height: 12,\n      className: \"googlesitekit-chip-tab-group__chip-item-svg googlesitekit-chip-tab-group__tab-item-mobile-svg googlesitekit-chip-tab-group__chip-item-svg__\".concat(group.SLUG)\n    }), group.LABEL, selectedCounts[group.SLUG] > 0 && /*#__PURE__*/React.createElement(\"span\", {\n      className: \"googlesitekit-chip-tab-group__chip-item-count\"\n    }, \"(\", selectedCounts[group.SLUG], \")\"), !!(newlyDetectedMetrics === null || newlyDetectedMetrics === void 0 ? void 0 : newlyDetectedMetrics[group.SLUG]) && /*#__PURE__*/React.createElement(\"span\", {\n      className: \"googlesitekit-chip-tab-group__chip-item-new-dot\"\n    }));\n  }))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-chip-tab-group__tab-item\"\n  }, Object.keys(activeMetricItems).map(function (slug) {\n    var _newlyDetectedMetrics;\n    var metricGroup = activeMetricItems[slug].group;\n    var isNewlyDetected = newlyDetectedMetrics === null || newlyDetectedMetrics === void 0 ? void 0 : (_newlyDetectedMetrics = newlyDetectedMetrics[metricGroup]) === null || _newlyDetectedMetrics === void 0 ? void 0 : _newlyDetectedMetrics.includes(slug);\n    return /*#__PURE__*/React.createElement(_js_components_KeyMetrics_MetricsSelectionPanel_MetricItem__WEBPACK_IMPORTED_MODULE_18__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n      key: slug,\n      slug: slug,\n      savedItemSlugs: savedItemSlugs,\n      isNewlyDetected: isNewlyDetected\n    }, activeMetricItems[slug]));\n  }), !Object.keys(activeMetricItems).length && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-chip-tab-group__graphic\"\n  }, /*#__PURE__*/React.createElement(_svg_graphics_key_metrics_no_selected_items_svg__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {\n    height: 250\n  }), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_26__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"__\"])('No metrics were selected yet', 'google-site-kit')))));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/components/KeyMetrics/ChipTabGroup/index.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/ConnectModuleCTATile.js":
/*!**********************************************************!*\
  !*** ./js/components/KeyMetrics/ConnectModuleCTATile.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ConnectModuleCTATile; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/widgets/datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/widgets/default-areas */ \"./js/googlesitekit/widgets/default-areas.js\");\n/* harmony import */ var _js_hooks_useActivateModuleCallback__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useActivateModuleCallback */ \"./js/hooks/useActivateModuleCallback.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _GhostCardGreenSVG__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./GhostCardGreenSVG */ \"./js/components/KeyMetrics/GhostCardGreenSVG.js\");\n/* harmony import */ var _GhostCardRedSVG__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./GhostCardRedSVG */ \"./js/components/KeyMetrics/GhostCardRedSVG.js\");\n/* harmony import */ var _MetricTileHeader__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./MetricTileHeader */ \"./js/components/KeyMetrics/MetricTileHeader.js\");\n/* harmony import */ var _key_metrics_widgets__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./key-metrics-widgets */ \"./js/components/KeyMetrics/key-metrics-widgets.js\");\n\n/**\n * ConnectModuleCTATile component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nfunction ConnectModuleCTATile(_ref) {\n  var _moduleWidgets$;\n  var moduleSlug = _ref.moduleSlug;\n  var handleConnectModule = Object(_js_hooks_useActivateModuleCallback__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(moduleSlug);\n  var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModule(moduleSlug);\n  });\n  var Icon = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleIcon(moduleSlug);\n  });\n  var widgets = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_WIDGETS\"]).getWidgets(_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_6__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]) || [];\n  });\n  var moduleWidgets = widgets.filter(function (widget) {\n    return widget.modules.includes(moduleSlug);\n  });\n  var firstWidget = _key_metrics_widgets__WEBPACK_IMPORTED_MODULE_12__[\"KEY_METRICS_WIDGETS\"][(_moduleWidgets$ = moduleWidgets[0]) === null || _moduleWidgets$ === void 0 ? void 0 : _moduleWidgets$.slug];\n\n  // If there are more than one metric tiles combined into this metric notice, update\n  // the widget to remove the title and change the description copy.\n  var combinedMetrics = moduleWidgets.length > 1;\n  if (!module) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--connectModuleCTATile googlesitekit-km-widget-tile \".concat(combinedMetrics && ' googlesitekit-km-widget-tile--combined')\n  }, !combinedMetrics && /*#__PURE__*/React.createElement(_MetricTileHeader__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    title: firstWidget === null || firstWidget === void 0 ? void 0 : firstWidget.title,\n    infoTooltip: firstWidget === null || firstWidget === void 0 ? void 0 : firstWidget.description,\n    loading: false\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__body\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-connect-module-cta-tile\"\n  }, Icon && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-connect-module-cta-tile__icon\"\n  }, /*#__PURE__*/React.createElement(Icon, {\n    width: \"32\",\n    height: \"32\"\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-connect-module-cta-tile__content\"\n  }, /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-km-connect-module-cta-tile__text\"\n  }, combinedMetrics ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: module name */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s is disconnected, some of your metrics can’t be displayed', 'google-site-kit'), module.name) : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: module name */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s is disconnected, metric can’t be displayed', 'google-site-kit'), module.name)), /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    onClick: handleConnectModule,\n    secondary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: module name */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Connect %s', 'google-site-kit'), module.name))))), combinedMetrics && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-connect-module-cta-tile__ghost-card\"\n  }, /*#__PURE__*/React.createElement(_GhostCardGreenSVG__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-connect-module-cta-tile__ghost-card\"\n  }, /*#__PURE__*/React.createElement(_GhostCardGreenSVG__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-connect-module-cta-tile__ghost-card\"\n  }, /*#__PURE__*/React.createElement(_GhostCardRedSVG__WEBPACK_IMPORTED_MODULE_10__[\"default\"], null))));\n}\nConnectModuleCTATile.propTypes = {\n  moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\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/components/KeyMetrics/ConnectModuleCTATile.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/ConversionReportingDashboardSubtleNotification.js":
/*!************************************************************************************!*\
  !*** ./js/components/KeyMetrics/ConversionReportingDashboardSubtleNotification.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ConversionReportingDashboardSubtleNotification; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n/**\n * ConversionReportingDashboardSubtleNotification component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nfunction ConversionReportingDashboardSubtleNotification(_ref) {\n  var description = _ref.description,\n    ctaLabel = _ref.ctaLabel,\n    handleCTAClick = _ref.handleCTAClick,\n    _ref$isSaving = _ref.isSaving,\n    isSaving = _ref$isSaving === void 0 ? false : _ref$isSaving,\n    onDismiss = _ref.onDismiss,\n    _ref$dismissCTALabel = _ref.dismissCTALabel,\n    dismissCTALabel = _ref$dismissCTALabel === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Maybe later', 'google-site-kit') : _ref$dismissCTALabel;\n  return /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    type: \"new\",\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('New key metrics were added!', 'google-site-kit'),\n    description: description,\n    dismissButton: {\n      label: dismissCTALabel,\n      onClick: onDismiss\n    },\n    ctaButton: {\n      label: ctaLabel,\n      onClick: handleCTAClick,\n      inProgress: isSaving,\n      disabled: isSaving\n    }\n  });\n}\nConversionReportingDashboardSubtleNotification.propTypes = {\n  description: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,\n  ctaLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  handleCTAClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  isSaving: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onDismiss: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  dismissCTALabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvQ29udmVyc2lvblJlcG9ydGluZ0Rhc2hib2FyZFN1YnRsZU5vdGlmaWNhdGlvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvS2V5TWV0cmljcy9Db252ZXJzaW9uUmVwb3J0aW5nRGFzaGJvYXJkU3VidGxlTm90aWZpY2F0aW9uLmpzPzVjY2QiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDb252ZXJzaW9uUmVwb3J0aW5nRGFzaGJvYXJkU3VidGxlTm90aWZpY2F0aW9uIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR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FDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQU9BO0FBTEE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/ConversionReportingDashboardSubtleNotification.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/GetHelpLink.js":
/*!*************************************************!*\
  !*** ./js/components/KeyMetrics/GetHelpLink.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return GetHelpLink; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n\n/**\n * GetHelpLink component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\nfunction GetHelpLink(_ref) {\n  var linkURL = _ref.linkURL;\n  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(/* translators: %s: get help text. */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Trouble getting access? <HelpLink />', 'google-site-kit'), {\n    HelpLink: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      href: linkURL,\n      external: true,\n      hideExternalIndicator: true\n    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Get help', 'google-site-kit'))\n  });\n}\nGetHelpLink.propTypes = {\n  linkURL: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvR2V0SGVscExpbmsuanMuanMiLCJzb3VyY2VzI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0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFJQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/GetHelpLink.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/GhostCardGreenSVG.js":
/*!*******************************************************!*\
  !*** ./js/components/KeyMetrics/GhostCardGreenSVG.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return GhostCardGreenSVG; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _js_components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/MediaErrorHandler */ \"./js/components/MediaErrorHandler/index.js\");\n\n/**\n * GhostCardGreenSVG component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\nvar LazyGhostCardGreenSVG = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"lazy\"])(function () {\n  return __webpack_require__.e(/*! import() */ 3).then(__webpack_require__.bind(null, /*! ../../../svg/graphics/ghost-card-green.svg */ \"./svg/graphics/ghost-card-green.svg\"));\n});\nfunction GhostCardGreenSVG() {\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Suspense\"], {\n    fallback: /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n      width: \"100%\",\n      height: \"90px\"\n    })\n  }, /*#__PURE__*/React.createElement(_js_components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    errorMessage: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Failed to load graphic', 'google-site-kit')\n  }, /*#__PURE__*/React.createElement(LazyGhostCardGreenSVG, null)));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvR2hvc3RDYXJkR3JlZW5TVkcuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0tleU1ldH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DQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBR0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFFQTtBQUdBO0FBTUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/GhostCardGreenSVG.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/GhostCardRedSVG.js":
/*!*****************************************************!*\
  !*** ./js/components/KeyMetrics/GhostCardRedSVG.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return GhostCardRedSVG; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _js_components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/MediaErrorHandler */ \"./js/components/MediaErrorHandler/index.js\");\n\n/**\n * GhostCardRedSVG component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\nvar LazyGhostCardRedSVG = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"lazy\"])(function () {\n  return __webpack_require__.e(/*! import() */ 4).then(__webpack_require__.bind(null, /*! ../../../svg/graphics/ghost-card-red.svg */ \"./svg/graphics/ghost-card-red.svg\"));\n});\nfunction GhostCardRedSVG() {\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Suspense\"], {\n    fallback: /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n      width: \"100%\",\n      height: \"90px\"\n    })\n  }, /*#__PURE__*/React.createElement(_js_components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    errorMessage: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Failed to load graphic', 'google-site-kit')\n  }, /*#__PURE__*/React.createElement(LazyGhostCardRedSVG, null)));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvR2hvc3RDYXJkUmVkU1ZHLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL0dob3N0Q2FyZFJlZFNWRy5q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0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBRUE7QUFHQTtBQU1BO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/GhostCardRedSVG.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/InsufficientPermissionsError.js":
/*!******************************************************************!*\
  !*** ./js/components/KeyMetrics/InsufficientPermissionsError.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return InsufficientPermissionsError; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _MetricTileError__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MetricTileError */ \"./js/components/KeyMetrics/MetricTileError.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction InsufficientPermissionsError(props) {\n  var moduleSlug = props.moduleSlug,\n    onRetry = props.onRetry,\n    infoTooltip = props.infoTooltip,\n    headerText = props.headerText;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"])();\n  var helpLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getErrorTroubleshootingLinkURL({\n      code: \"\".concat(moduleSlug, \"_insufficient_permissions\")\n    });\n  });\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_7__[\"trackEventOnce\"])(\"\".concat(viewContext, \"_kmw\"), 'insufficient_permissions_error');\n  }, [viewContext]);\n  var retry = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_7__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw\"), 'insufficient_permissions_error_retry');\n    onRetry === null || onRetry === void 0 ? void 0 : onRetry();\n  }, [onRetry, viewContext]);\n  return /*#__PURE__*/React.createElement(_MetricTileError__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Insufficient permissions', 'google-site-kit'),\n    headerText: headerText,\n    infoTooltip: infoTooltip\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-report-error-actions\"\n  }, /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-error-retry-text\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Permissions updated? <a>Retry</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n      onClick: retry\n    })\n  })), /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-error-retry-text\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('You’ll need to contact your administrator. <a>Learn more</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n      href: helpLink,\n      external: true,\n      hideExternalIndicator: true\n    })\n  }))));\n}\nInsufficientPermissionsError.propTypes = {\n  moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  onRetry: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  headerText: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  infoTooltip: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\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/components/KeyMetrics/InsufficientPermissionsError.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/KeyMetricsSetupCTAWidget.js":
/*!**************************************************************!*\
  !*** ./js/components/KeyMetrics/KeyMetricsSetupCTAWidget.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 _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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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/* 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 _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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _js_components_AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/AdminMenuTooltip */ \"./js/components/AdminMenuTooltip/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useDisplayCTAWidget__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./hooks/useDisplayCTAWidget */ \"./js/components/KeyMetrics/hooks/useDisplayCTAWidget.js\");\n/* harmony import */ var _js_components_Banner__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/components/Banner */ \"./js/components/Banner/index.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _svg_graphics_banner_conversions_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/svg/graphics/banner-conversions-setup-cta.svg?url */ \"./svg/graphics/banner-conversions-setup-cta.svg?url\");\n/* harmony import */ var _svg_graphics_banner_conversions_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/svg/graphics/banner-conversions-setup-cta-mobile.svg?url */ \"./svg/graphics/banner-conversions-setup-cta-mobile.svg?url\");\n\n\n\n\n/**\n * KeyMetricsSetupCTAWidget component.\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/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction KeyMetricsSetupCTAWidget(_ref) {\n  var Widget = _ref.Widget,\n    WidgetNull = _ref.WidgetNull;\n  var trackingRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useRef\"])();\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_16__[\"default\"])();\n  var trackEventCategory = \"\".concat(viewContext, \"_kmw-cta-notification\");\n  var displayCTAWidget = Object(_hooks_useDisplayCTAWidget__WEBPACK_IMPORTED_MODULE_17__[\"default\"])();\n  var ctaLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).getAdminURL('googlesitekit-user-input');\n  });\n  var fullScreenSelectionLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).getAdminURL('googlesitekit-metric-selection');\n  });\n  var isNavigatingToCTALink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return ctaLink && select(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_LOCATION\"]).isNavigatingTo(ctaLink);\n  });\n  var intersectionEntry = Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useIntersection\"])(trackingRef, {\n    threshold: 0.25\n  });\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    hasBeenInView = _useState2[0],\n    setHasBeenInView = _useState2[1];\n  var inView = !!(intersectionEntry === null || intersectionEntry === void 0 ? void 0 : intersectionEntry.intersectionRatio);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]),\n    triggerSurvey = _useDispatch.triggerSurvey;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (!inView || hasBeenInView) {\n      return;\n    }\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw-cta-notification\"), 'view_notification');\n    triggerSurvey('view_kmw_setup_cta', {\n      ttl: _js_util__WEBPACK_IMPORTED_MODULE_15__[\"WEEK_IN_SECONDS\"]\n    });\n    setHasBeenInView(true);\n  }, [inView, hasBeenInView, viewContext, triggerSurvey]);\n  var tooltipSettings = {\n    tooltipSlug: _constants__WEBPACK_IMPORTED_MODULE_11__[\"KEY_METRICS_SETUP_CTA_WIDGET_SLUG\"],\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('You can always set up goals in Settings later', 'google-site-kit'),\n    content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('The Key Metrics section will be added back to your dashboard once you set your goals in Settings', 'google-site-kit'),\n    dismissLabel: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Got it', 'google-site-kit')\n  };\n  var showTooltip = Object(_js_components_AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_14__[\"useShowTooltip\"])(tooltipSettings);\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]),\n    dismissItem = _useDispatch2.dismissItem;\n  var handleDismiss = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\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 Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"trackEvent\"])(trackEventCategory, 'dismiss_notification');\n          case 2:\n            showTooltip();\n            _context.next = 5;\n            return dismissItem(_constants__WEBPACK_IMPORTED_MODULE_11__[\"KEY_METRICS_SETUP_CTA_WIDGET_SLUG\"]);\n          case 5:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })), [trackEventCategory, showTooltip, dismissItem]);\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_LOCATION\"]),\n    navigateTo = _useDispatch3.navigateTo;\n  var openMetricsSelectionPanel = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\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 Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"trackEvent\"])(trackEventCategory, 'confirm_pick_own_metrics');\n          case 2:\n            navigateTo(fullScreenSelectionLink);\n          case 3:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  })), [trackEventCategory, navigateTo, fullScreenSelectionLink]);\n  var onGetTailoredMetricsClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3() {\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 Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"trackEvent\"])(trackEventCategory, 'confirm_get_tailored_metrics');\n          case 2:\n            navigateTo(ctaLink);\n          case 3:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, _callee3);\n  })), [trackEventCategory, navigateTo, ctaLink]);\n  if (!displayCTAWidget) {\n    return /*#__PURE__*/React.createElement(WidgetNull, null);\n  }\n  return /*#__PURE__*/React.createElement(Widget, {\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(_js_components_Banner__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n    ref: trackingRef,\n    className: \"googlesitekit-banner--setup-cta\",\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Get personalized suggestions for user interaction metrics based on your goals', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Answer 3 questions and we’ll suggest relevant metrics for your dashboard. These metrics will help you track how users interact with your site.', 'google-site-kit'),\n    dismissButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Maybe later', 'google-site-kit'),\n      onClick: handleDismiss\n    },\n    ctaButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Get tailored metrics', 'google-site-kit'),\n      onClick: onGetTailoredMetricsClick,\n      disabled: isNavigatingToCTALink,\n      inProgress: isNavigatingToCTALink\n    },\n    svg: {\n      desktop: _svg_graphics_banner_conversions_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_20__[\"default\"],\n      mobile: _svg_graphics_banner_conversions_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_21__[\"default\"],\n      verticalPosition: 'top'\n    },\n    footer: /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-widget-key-metrics-footer\"\n    }, /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Interested in specific metrics?', 'google-site-kit')), /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {\n      onClick: openMetricsSelectionPanel\n    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Select your own metrics', 'google-site-kit')))\n  }));\n}\nKeyMetricsSetupCTAWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType.isRequired,\n  WidgetNull: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_13__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"]\n})(KeyMetricsSetupCTAWidget));\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/components/KeyMetrics/KeyMetricsSetupCTAWidget.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/LostEventsSubtleNotification.js":
/*!******************************************************************!*\
  !*** ./js/components/KeyMetrics/LostEventsSubtleNotification.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return LostEventsSubtleNotification; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.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_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 * LostEventsSubtleNotification component.\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 * WordPress dependencies\n */\n\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction LostEventsSubtleNotification(_ref) {\n  var onSelectMetricsCallback = _ref.onSelectMetricsCallback,\n    onDismissCallback = _ref.onDismissCallback;\n  var lostEventsDocumentationURL = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getDocumentationLinkURL('unavailable-metrics-data');\n  });\n  return /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"].TYPES.WARNING,\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Unavailable metrics data', 'google-site-kit'),\n    description: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('We couldn’t detect any events for some of your metrics in over 90 days. You can select other metrics for your dashboard. <a>Learn more</a>', 'google-site-kit'), {\n      a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n        href: lostEventsDocumentationURL,\n        \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Learn more about unavailable metric data', 'google-site-kit'),\n        external: true\n      })\n    }),\n    dismissButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Got it', 'google-site-kit'),\n      onClick: onDismissCallback\n    },\n    ctaButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Select metrics', 'google-site-kit'),\n      onClick: onSelectMetricsCallback\n    }\n  });\n}\nLostEventsSubtleNotification.propTypes = _objectSpread({}, _js_components_Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"].propTypes);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTG9zdEV2ZW50c1N1YnRsZU5vdGlmaWNhdGlvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvS2V5TWV0cmljcy9Mb3N0RXZlbnRzU3VidGxlTm90aWZpY2F0aW9uLmpzP2MzNzgiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBMb3N0RXZlbnRzU3VidGxlTm90aWZpY2F0aW9uIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYW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:///./js/components/KeyMetrics/LostEventsSubtleNotification.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/MetricTileError.js":
/*!*****************************************************!*\
  !*** ./js/components/KeyMetrics/MetricTileError.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MetricTileError; });\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_notifications_CTA__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/notifications/CTA */ \"./js/components/notifications/CTA.js\");\n/* harmony import */ var _js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/InfoTooltip */ \"./js/components/InfoTooltip.js\");\n\n/**\n * MetricTileError component.\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 * Internal dependencies\n */\n\n\nfunction MetricTileError(props) {\n  var children = props.children,\n    headerText = props.headerText,\n    infoTooltip = props.infoTooltip,\n    title = props.title;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile--error\"\n  }, /*#__PURE__*/React.createElement(_js_components_notifications_CTA__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    title: title,\n    headerText: headerText,\n    headerContent: infoTooltip && /*#__PURE__*/React.createElement(_js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n      title: infoTooltip\n    }),\n    description: \"\",\n    error: true\n  }, children));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZUVycm9yLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL01ldHJpY1RpbGVFcnJvci5qcz8zNTliIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTWV0cmljVGlsZUVycm9yIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMs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uXHQpO1xufVxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUVBO0FBQ0E7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUNBO0FBQUE7QUFNQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/MetricTileError.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/MetricTileHeader.js":
/*!******************************************************!*\
  !*** ./js/components/KeyMetrics/MetricTileHeader.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MetricTileHeader; });\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 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 _js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/InfoTooltip */ \"./js/components/InfoTooltip.js\");\n/* harmony import */ var _js_components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/VisuallyHidden */ \"./js/components/VisuallyHidden.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * MetricTileHeader component.\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\nfunction MetricTileHeader(_ref) {\n  var title = _ref.title,\n    infoTooltip = _ref.infoTooltip,\n    loading = _ref.loading;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__title-container\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    as: \"h3\",\n    size: \"small\",\n    type: \"label\",\n    className: \"googlesitekit-km-widget-tile__title\"\n  }, title), loading ? /*#__PURE__*/React.createElement(_js_components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, /*#__PURE__*/React.createElement(_js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    title: infoTooltip\n  })) : /*#__PURE__*/React.createElement(_js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    title: infoTooltip\n  }));\n}\nMetricTileHeader.propTypes = {\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  infoTooltip: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element]),\n  loading: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZUhlYWRlci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvS2V5TWV0cmljcy9NZXRyaWNUaWxlSGVhZGVyLmpzP2ZmODciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBNZXRyaWNUaWxlSGVhZGVyIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9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Fx0eyBsb2FkaW5nID8gKFxuXHRcdFx0XHQ8VmlzdWFsbHlIaWRkZW4+XG5cdFx0XHRcdFx0PEluZm9Ub29sdGlwIHRpdGxlPXsgaW5mb1Rvb2x0aXAgfSAvPlxuXHRcdFx0XHQ8L1Zpc3VhbGx5SGlkZGVuPlxuXHRcdFx0KSA6IChcblx0XHRcdFx0PEluZm9Ub29sdGlwIHRpdGxlPXsgaW5mb1Rvb2x0aXAgfSAvPlxuXHRcdFx0KSB9XG5cdFx0PC9kaXY+XG5cdCk7XG59XG5cbk1ldHJpY1RpbGVIZWFkZXIucHJvcFR5cGVzID0ge1xuXHR0aXRsZTogUHJvcFR5cGVzLnN0cmluZyxcblx0aW5mb1Rvb2x0aXA6IFByb3BUeXBlcy5vbmVPZlR5cGUoIFsgUHJvcFR5cGVzLnN0cmluZywgUHJvcFR5cGVzLmVsZW1lbnQgXSApLFxuXHRsb2FkaW5nOiBQcm9wVHlwZXMuYm9vbCxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFNQTtBQUFBO0FBR0E7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/MetricTileHeader.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/MetricTileLoader.js":
/*!******************************************************!*\
  !*** ./js/components/KeyMetrics/MetricTileLoader.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MetricTileLoader; });\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_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n\n/**\n * Loader for `MetricTile` components.\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 * Internal dependencies\n */\n\nfunction MetricTileLoader() {\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__loading\"\n  }, /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    className: \"googlesitekit-km-widget-tile__loading-header\",\n    width: \"100%\",\n    height: \"14px\"\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    className: \"googlesitekit-km-widget-tile__loading-body\",\n    width: \"100%\",\n    height: \"53px\"\n  }));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingUR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QUNBO0FBQ0E7QUFBQTtBQUlBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/MetricTileLoader.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/MetricTileNumeric.js":
/*!*******************************************************!*\
  !*** ./js/components/KeyMetrics/MetricTileNumeric.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MetricTileNumeric; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _js_components_ChangeBadge__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/ChangeBadge */ \"./js/components/ChangeBadge.js\");\n/* harmony import */ var _MetricTileWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MetricTileWrapper */ \"./js/components/KeyMetrics/MetricTileWrapper.js\");\n\n\n\n/**\n * MetricTileNumeric component.\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\nfunction MetricTileNumeric(_ref) {\n  var metricValue = _ref.metricValue,\n    metricValueFormat = _ref.metricValueFormat,\n    subText = _ref.subText,\n    previousValue = _ref.previousValue,\n    currentValue = _ref.currentValue,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"metricValue\", \"metricValueFormat\", \"subText\", \"previousValue\", \"currentValue\"]);\n  var formatOptions = Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"expandNumFmtOptions\"])(metricValueFormat);\n  return /*#__PURE__*/React.createElement(_MetricTileWrapper__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: \"googlesitekit-km-widget-tile--numeric\"\n  }, props), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__metric-container\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__metric\"\n  }, Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"numFmt\"])(metricValue, formatOptions)), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-km-widget-tile__subtext\"\n  }, subText)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__metric-change-container\"\n  }, /*#__PURE__*/React.createElement(_js_components_ChangeBadge__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    previousValue: previousValue,\n    currentValue: currentValue,\n    isAbsolute: (formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.style) === 'percent'\n  })));\n}\nMetricTileNumeric.propTypes = {\n  metricValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number]),\n  metricValueFormat: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object]),\n  subtext: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  previousValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number,\n  currentValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZU51bWVyaWMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZU51bWVyaWMuanM/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O0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQU9BO0FBTEE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFFQTtBQUFBO0FBR0E7QUFBQTtBQUNBO0FBQUE7QUFHQTtBQUFBO0FBSUE7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUFBO0FBS0E7QUFFQTtBQUNBO0FBQ0E7QUFJQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/MetricTileNumeric.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/MetricTileTable.js":
/*!*****************************************************!*\
  !*** ./js/components/KeyMetrics/MetricTileTable.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MetricTileTable; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _MetricTileWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MetricTileWrapper */ \"./js/components/KeyMetrics/MetricTileWrapper.js\");\n\n\n\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\n/**\n * Internal dependencies\n */\n\nfunction MetricTileTable(_ref) {\n  var _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows,\n    _ref$columns = _ref.columns,\n    columns = _ref$columns === void 0 ? [] : _ref$columns,\n    limit = _ref.limit,\n    ZeroState = _ref.ZeroState,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"rows\", \"columns\", \"limit\", \"ZeroState\"]);\n  var tileBody = null;\n  if ((rows === null || rows === void 0 ? void 0 : rows.length) > 0) {\n    tileBody = rows.slice(0, limit || rows.length).map(function (row, rowIndex) {\n      return /*#__PURE__*/React.createElement(\"div\", {\n        key: rowIndex,\n        className: \"googlesitekit-table__body-row\"\n      }, columns.map(function (_ref2, colIndex) {\n        var Component = _ref2.Component,\n          field = _ref2.field,\n          className = _ref2.className;\n        var fieldValue = field !== undefined ? Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"get\"])(row, field) : undefined;\n        return /*#__PURE__*/React.createElement(\"div\", {\n          key: colIndex,\n          className: classnames__WEBPACK_IMPORTED_MODULE_5___default()('googlesitekit-table__body-item', className)\n        }, Component && /*#__PURE__*/React.createElement(Component, {\n          row: row,\n          fieldValue: fieldValue\n        }), !Component && fieldValue);\n      }));\n    });\n  } else if (!!ZeroState) {\n    tileBody = /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-table__body-row googlesitekit-table__body-row--no-data\"\n    }, /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-table__body-zero-data\"\n    }, /*#__PURE__*/React.createElement(ZeroState, null)));\n  }\n  return /*#__PURE__*/React.createElement(_MetricTileWrapper__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: \"googlesitekit-km-widget-tile--table\"\n  }, props), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__table\"\n  }, tileBody));\n}\nMetricTileTable.propTypes = {\n  rows: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array,\n  columns: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array,\n  limit: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number,\n  ZeroState: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType\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/components/KeyMetrics/MetricTileTable.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/MetricTileTablePlainText.js":
/*!**************************************************************!*\
  !*** ./js/components/KeyMetrics/MetricTileTablePlainText.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MetricTileTablePlainText; });\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 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\n/**\n * MetricTileTablePlainText component.\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\nfunction MetricTileTablePlainText(_ref) {\n  var content = _ref.content;\n  return /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-km-widget-tile__table-plain-text\"\n  }, content);\n}\nMetricTileTablePlainText.propTypes = {\n  content: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZVRhYmxlUGxhaW5UZXh0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL01ldHJpY1RpbGVUYWJsZVBsYWluVGV4dC5qcz83ODIxIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTWV0cmljVGlsZVRhYmxlUGxhaW5UZXh0IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmc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O0FBRUE7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/MetricTileTablePlainText.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/MetricTileText.js":
/*!****************************************************!*\
  !*** ./js/components/KeyMetrics/MetricTileText.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MetricTileText; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_components_ChangeBadge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/ChangeBadge */ \"./js/components/ChangeBadge.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _MetricTileWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MetricTileWrapper */ \"./js/components/KeyMetrics/MetricTileWrapper.js\");\n\n\n\n/**\n * MetricTileText component.\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\nfunction MetricTileText(_ref) {\n  var metricValue = _ref.metricValue,\n    metricValueFormat = _ref.metricValueFormat,\n    subText = _ref.subText,\n    previousValue = _ref.previousValue,\n    currentValue = _ref.currentValue,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"metricValue\", \"metricValueFormat\", \"subText\", \"previousValue\", \"currentValue\"]);\n  var formatOptions = Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"expandNumFmtOptions\"])(metricValueFormat);\n  return /*#__PURE__*/React.createElement(_MetricTileWrapper__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: \"googlesitekit-km-widget-tile--text\"\n  }, props), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__metric-container\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__metric\"\n  }, metricValue), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-km-widget-tile__subtext\"\n  }, subText)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__metric-change-container\"\n  }, /*#__PURE__*/React.createElement(_js_components_ChangeBadge__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    previousValue: previousValue,\n    currentValue: currentValue,\n    isAbsolute: (formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.style) === 'percent'\n  })));\n}\nMetricTileText.propTypes = {\n  metricValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number]),\n  subtext: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  previousValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number,\n  currentValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZVRleHQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZVRleHQuanM/MGY2MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIE1ldHJpY1RpbGVUZXh0IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2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js/components/KeyMetrics/MetricTileWrapper.js":
/*!*******************************************************!*\
  !*** ./js/components/KeyMetrics/MetricTileWrapper.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MetricTileWrapper; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__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 prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _key_metrics_widgets__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./key-metrics-widgets */ \"./js/components/KeyMetrics/key-metrics-widgets.js\");\n/* harmony import */ var _GetHelpLink__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./GetHelpLink */ \"./js/components/KeyMetrics/GetHelpLink.js\");\n/* harmony import */ var _MetricTileLoader__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./MetricTileLoader */ \"./js/components/KeyMetrics/MetricTileLoader.js\");\n/* harmony import */ var _MetricTileError__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./MetricTileError */ \"./js/components/KeyMetrics/MetricTileError.js\");\n/* harmony import */ var _MetricTileHeader__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./MetricTileHeader */ \"./js/components/KeyMetrics/MetricTileHeader.js\");\n/* harmony import */ var _js_components_ReportErrorActions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/ReportErrorActions */ \"./js/components/ReportErrorActions.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * MetricTileWrapper component.\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\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction MetricTileWrapper(props) {\n  var _KEY_METRICS_WIDGETS$, _KEY_METRICS_WIDGETS$2, _KEY_METRICS_WIDGETS$3;\n  var className = props.className,\n    children = props.children,\n    error = props.error,\n    loading = props.loading,\n    moduleSlug = props.moduleSlug,\n    Widget = props.Widget,\n    widgetSlug = props.widgetSlug,\n    _props$title = props.title,\n    title = _props$title === void 0 ? (_KEY_METRICS_WIDGETS$ = _key_metrics_widgets__WEBPACK_IMPORTED_MODULE_5__[\"KEY_METRICS_WIDGETS\"][widgetSlug]) === null || _KEY_METRICS_WIDGETS$ === void 0 ? void 0 : _KEY_METRICS_WIDGETS$.title : _props$title,\n    _props$infoTooltip = props.infoTooltip,\n    infoTooltip = _props$infoTooltip === void 0 ? ((_KEY_METRICS_WIDGETS$2 = _key_metrics_widgets__WEBPACK_IMPORTED_MODULE_5__[\"KEY_METRICS_WIDGETS\"][widgetSlug]) === null || _KEY_METRICS_WIDGETS$2 === void 0 ? void 0 : _KEY_METRICS_WIDGETS$2.infoTooltip) || ((_KEY_METRICS_WIDGETS$3 = _key_metrics_widgets__WEBPACK_IMPORTED_MODULE_5__[\"KEY_METRICS_WIDGETS\"][widgetSlug]) === null || _KEY_METRICS_WIDGETS$3 === void 0 ? void 0 : _KEY_METRICS_WIDGETS$3.description) : _props$infoTooltip;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__[\"default\"])();\n  var hasInsufficientPermissionsReportError = error ? Object(lodash__WEBPACK_IMPORTED_MODULE_2__[\"castArray\"])(error).some(_js_util_errors__WEBPACK_IMPORTED_MODULE_11__[\"isInsufficientPermissionsError\"]) : false;\n  var trackRetryEvent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_12__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw\"), 'data_loading_error_retry');\n  }, [viewContext]);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    if (!!error) {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_12__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw\"), 'data_loading_error');\n    }\n  }, [viewContext, error]);\n  if (error) {\n    return /*#__PURE__*/React.createElement(_MetricTileError__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      title: hasInsufficientPermissionsReportError ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Insufficient permissions', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Data loading failed', 'google-site-kit'),\n      headerText: title,\n      infoTooltip: infoTooltip\n    }, /*#__PURE__*/React.createElement(_js_components_ReportErrorActions__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      moduleSlug: moduleSlug,\n      error: error,\n      onRetry: trackRetryEvent,\n      GetHelpLink: hasInsufficientPermissionsReportError ? _GetHelpLink__WEBPACK_IMPORTED_MODULE_6__[\"default\"] : undefined,\n      getHelpClassName: \"googlesitekit-error-retry-text\"\n    }));\n  }\n  return /*#__PURE__*/React.createElement(Widget, {\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-km-widget-tile', className)\n  }, /*#__PURE__*/React.createElement(_MetricTileHeader__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    title: title,\n    infoTooltip: infoTooltip,\n    loading: loading\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-km-widget-tile__body\"\n  }, loading && /*#__PURE__*/React.createElement(_MetricTileLoader__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null), !loading && children)));\n}\nMetricTileWrapper.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired,\n  loading: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  infoTooltip: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element]),\n  moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired\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/components/KeyMetrics/MetricTileWrapper.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/MetricsSelectionPanel/MetricItem.js":
/*!**********************************************************************!*\
  !*** ./js/components/KeyMetrics/MetricsSelectionPanel/MetricItem.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MetricItem; });\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_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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/widgets/datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/KeyMetrics/constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/SelectionPanel */ \"./js/components/SelectionPanel/index.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n\n/**\n * Key Metrics Selection Panel MetricItem\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction MetricItem(_ref) {\n  var slug = _ref.slug,\n    title = _ref.title,\n    description = _ref.description,\n    isNewlyDetected = _ref.isNewlyDetected,\n    _ref$savedItemSlugs = _ref.savedItemSlugs,\n    savedItemSlugs = _ref$savedItemSlugs === void 0 ? [] : _ref$savedItemSlugs;\n  var disconnectedModules = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    var _select = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_MODULES\"]),\n      getModule = _select.getModule;\n    var widget = select(_js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_WIDGETS\"]).getWidget(slug);\n    return widget === null || widget === void 0 ? void 0 : widget.modules.reduce(function (modulesAcc, widgetSlug) {\n      var module = getModule(widgetSlug);\n      if ((module === null || module === void 0 ? void 0 : module.connected) || !(module === null || module === void 0 ? void 0 : module.name)) {\n        return modulesAcc;\n      }\n      return [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(modulesAcc), [module.name]);\n    }, []);\n  });\n  var selectedMetrics = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_9__[\"KEY_METRICS_SELECTION_FORM\"], _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_9__[\"KEY_METRICS_SELECTED\"]);\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n      return select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]);\n    }),\n    getValue = _useSelect.getValue;\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var onCheckboxChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(function (event) {\n    var _setValues;\n    var metrics = getValue(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_9__[\"KEY_METRICS_SELECTION_FORM\"], _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_9__[\"KEY_METRICS_SELECTED\"]);\n    var currentlySelectedMetrics = event.target.checked ? metrics.concat([slug]) : metrics.filter(function (selectedMetric) {\n      return selectedMetric !== slug;\n    });\n    setValues(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_9__[\"KEY_METRICS_SELECTION_FORM\"], (_setValues = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_9__[\"KEY_METRICS_SELECTED\"], currentlySelectedMetrics), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_9__[\"UNSTAGED_SELECTION\"], currentlySelectedMetrics), _setValues));\n  }, [getValue, setValues, slug]);\n  var isMetricSelected = selectedMetrics === null || selectedMetrics === void 0 ? void 0 : selectedMetrics.includes(slug);\n  var isMetricDisabled = !savedItemSlugs.includes(slug) && disconnectedModules.length > 0;\n  var id = \"key-metric-selection-checkbox-\".concat(slug);\n  return /*#__PURE__*/React.createElement(_js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_10__[\"SelectionPanelItem\"], {\n    id: id,\n    slug: slug,\n    title: title,\n    description: description,\n    isNewlyDetected: isNewlyDetected,\n    isItemSelected: isMetricSelected,\n    isItemDisabled: isMetricDisabled,\n    onCheckboxChange: onCheckboxChange\n  }, disconnectedModules.length > 0 && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel-item-error\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %s: module names. */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"_n\"])('%s is disconnected, no data to show', '%s are disconnected, no data to show', disconnectedModules.length, 'google-site-kit'), disconnectedModules.join(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])(' and ', 'google-site-kit')))));\n}\nMetricItem.propTypes = {\n  slug: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired,\n  isNewlyDetected: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  savedItemSlugs: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array\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/components/KeyMetrics/MetricsSelectionPanel/MetricItem.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/SetupCompletedSurveyTrigger.js":
/*!*****************************************************************!*\
  !*** ./js/components/KeyMetrics/SetupCompletedSurveyTrigger.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SetupCompletedSurveyTrigger; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_surveys_SurveyViewTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/surveys/SurveyViewTrigger */ \"./js/components/surveys/SurveyViewTrigger.js\");\n\n/**\n * Key Metrics SetupCompletedSurveyTrigger component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction SetupCompletedSurveyTrigger() {\n  var isKeyMetricsSetupCompleted = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_SITE\"]).isKeyMetricsSetupCompleted();\n  });\n  var isKeyMetricsSetupCompletedBy = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_SITE\"]).getKeyMetricsSetupCompletedBy();\n  });\n  var currentUserID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getID();\n  });\n  if (!isKeyMetricsSetupCompleted) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_surveys_SurveyViewTrigger__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    triggerID: \"view_kmw\",\n    ttl: _js_util__WEBPACK_IMPORTED_MODULE_4__[\"WEEK_IN_SECONDS\"]\n  }), isKeyMetricsSetupCompletedBy === currentUserID && /*#__PURE__*/React.createElement(_js_components_surveys_SurveyViewTrigger__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    triggerID: \"view_kmw_setup_completed\",\n    ttl: _js_util__WEBPACK_IMPORTED_MODULE_4__[\"WEEK_IN_SECONDS\"]\n  }));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvU2V0dXBDb21wbGV0ZWRTdXJ2ZXlUcmlnZ2VyLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL1NldHVwQ29tcGxldGVkU3VydmV5VHJpZ2dlci5qcz9hMWY0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogS2V5IE1ldHJpY3MgU2V0dXBDb21wbGV0ZWRTdXJ2ZXlUcmlnZ2VyIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gK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UFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUNBO0FBR0E7QUFBQTtBQUNBO0FBR0E7QUFBQTtBQUNBO0FBR0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUFBO0FBQUE7QUFHQTtBQUNBO0FBQUE7QUFLQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/SetupCompletedSurveyTrigger.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/constants.js":
/*!***********************************************!*\
  !*** ./js/components/KeyMetrics/constants.js ***!
  \***********************************************/
/*! exports provided: KEY_METRICS_SETUP_CTA_WIDGET_SLUG, KEY_METRICS_SELECTION_PANEL_OPENED_KEY, KEY_METRICS_SELECTION_FORM, KEY_METRICS_SELECTED, EFFECTIVE_SELECTION, UNSTAGED_SELECTION, MIN_SELECTED_METRICS_COUNT, MAX_SELECTED_METRICS_COUNT, KEY_METRICS_GROUP_CURRENT, KEY_METRICS_GROUP_SUGGESTED, KEY_METRICS_GROUP_VISITORS, KEY_METRICS_GROUP_DRIVING_TRAFFIC, KEY_METRICS_GROUP_GENERATING_LEADS, KEY_METRICS_GROUP_SELLING_PRODUCTS, KEY_METRICS_GROUP_CONTENT_PERFORMANCE */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_SETUP_CTA_WIDGET_SLUG\", function() { return KEY_METRICS_SETUP_CTA_WIDGET_SLUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_SELECTION_PANEL_OPENED_KEY\", function() { return KEY_METRICS_SELECTION_PANEL_OPENED_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_SELECTION_FORM\", function() { return KEY_METRICS_SELECTION_FORM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_SELECTED\", function() { return KEY_METRICS_SELECTED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EFFECTIVE_SELECTION\", function() { return EFFECTIVE_SELECTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UNSTAGED_SELECTION\", function() { return UNSTAGED_SELECTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MIN_SELECTED_METRICS_COUNT\", function() { return MIN_SELECTED_METRICS_COUNT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAX_SELECTED_METRICS_COUNT\", function() { return MAX_SELECTED_METRICS_COUNT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_GROUP_CURRENT\", function() { return KEY_METRICS_GROUP_CURRENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_GROUP_SUGGESTED\", function() { return KEY_METRICS_GROUP_SUGGESTED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_GROUP_VISITORS\", function() { return KEY_METRICS_GROUP_VISITORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_GROUP_DRIVING_TRAFFIC\", function() { return KEY_METRICS_GROUP_DRIVING_TRAFFIC; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_GROUP_GENERATING_LEADS\", function() { return KEY_METRICS_GROUP_GENERATING_LEADS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_GROUP_SELLING_PRODUCTS\", function() { return KEY_METRICS_GROUP_SELLING_PRODUCTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_GROUP_CONTENT_PERFORMANCE\", function() { return KEY_METRICS_GROUP_CONTENT_PERFORMANCE; });\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Key Metrics components - constants.\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 * WordPress dependencies\n */\n\nvar KEY_METRICS_SETUP_CTA_WIDGET_SLUG = 'key-metrics-setup-cta-widget';\nvar KEY_METRICS_SELECTION_PANEL_OPENED_KEY = 'googlesitekit-key-metrics-selection-panel-opened';\nvar KEY_METRICS_SELECTION_FORM = 'key-metrics-selection-form';\nvar KEY_METRICS_SELECTED = 'key-metrics-selected';\nvar EFFECTIVE_SELECTION = 'key-metrics-effective-selection';\nvar UNSTAGED_SELECTION = 'key-metrics-unstaged-selection';\nvar MIN_SELECTED_METRICS_COUNT = 2;\nvar MAX_SELECTED_METRICS_COUNT = 8;\nvar KEY_METRICS_GROUP_CURRENT = {\n  SLUG: 'current-selection',\n  LABEL: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Current selection', 'google-site-kit')\n};\nvar KEY_METRICS_GROUP_SUGGESTED = {\n  SLUG: 'suggested',\n  LABEL: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Suggested', 'google-site-kit')\n};\nvar KEY_METRICS_GROUP_VISITORS = {\n  SLUG: 'visitors',\n  LABEL: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Visitors', 'google-site-kit')\n};\nvar KEY_METRICS_GROUP_DRIVING_TRAFFIC = {\n  SLUG: 'driving-traffic',\n  LABEL: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Driving traffic', 'google-site-kit')\n};\nvar KEY_METRICS_GROUP_GENERATING_LEADS = {\n  SLUG: 'generating-leads',\n  LABEL: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Generating leads', 'google-site-kit')\n};\nvar KEY_METRICS_GROUP_SELLING_PRODUCTS = {\n  SLUG: 'selling-products',\n  LABEL: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Selling products', 'google-site-kit')\n};\nvar KEY_METRICS_GROUP_CONTENT_PERFORMANCE = {\n  SLUG: 'content-performance',\n  LABEL: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Content performance', 'google-site-kit')\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvY29uc3RhbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL2NvbnN0YW50cy5qcz8zYjdiIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogS2V5IE1ldHJpY3MgY29tcG9uZW50cyAtIGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlb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7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/constants.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/hooks/useChangeMetricsFeatureTourEffect.js":
/*!*****************************************************************************!*\
  !*** ./js/components/KeyMetrics/hooks/useChangeMetricsFeatureTourEffect.js ***!
  \*****************************************************************************/
/*! exports provided: useChangeMetricsFeatureTourEffect */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useChangeMetricsFeatureTourEffect\", function() { return useChangeMetricsFeatureTourEffect; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_feature_tours_shared_key_metrics__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/feature-tours/shared-key-metrics */ \"./js/feature-tours/shared-key-metrics.js\");\n/**\n * Change metrics feature tour hook.\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\n\n/**\n * Triggers on demand tour for shared key metrics if all conditions are met.\n *\n * @since 1.113.0\n *\n * @param {Object}  options                        Options object.\n * @param {boolean} options.renderChangeMetricLink If metric link meets the conditions to render.\n */\nfunction useChangeMetricsFeatureTourEffect(_ref) {\n  var renderChangeMetricLink = _ref.renderChangeMetricLink;\n  var keyMetricsSetupCompletedBy = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_SITE\"]).getKeyMetricsSetupCompletedBy();\n  });\n  var currentUserID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getID();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]),\n    triggerOnDemandTour = _useDispatch.triggerOnDemandTour;\n  var isUserEligibleForTour = Number.isInteger(keyMetricsSetupCompletedBy) && Number.isInteger(currentUserID) && keyMetricsSetupCompletedBy > 0 && currentUserID !== keyMetricsSetupCompletedBy;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    if (renderChangeMetricLink && isUserEligibleForTour) {\n      triggerOnDemandTour(_js_feature_tours_shared_key_metrics__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n    }\n  }, [renderChangeMetricLink, isUserEligibleForTour, triggerOnDemandTour]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvaG9va3MvdXNlQ2hhbmdlTWV0cmljc0ZlYXR1cmVUb3VyRWZmZWN0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL2hvb2tzL3VzZUNoYW5nZU1ldHJpY3NGZWF0dXJlVG91ckVmZmVjdC5qcz9hMWY5Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ2hhbmdlIG1ldHJpY3MgZmVhdHVyZSB0b3VyIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcm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IHtcblx0XHRpZiAoIHJlbmRlckNoYW5nZU1ldHJpY0xpbmsgJiYgaXNVc2VyRWxpZ2libGVGb3JUb3VyICkge1xuXHRcdFx0dHJpZ2dlck9uRGVtYW5kVG91ciggc2hhcmVkS2V5TWV0cmljcyApO1xuXHRcdH1cblx0fSwgWyByZW5kZXJDaGFuZ2VNZXRyaWNMaW5rLCBpc1VzZXJFbGlnaWJsZUZvclRvdXIsIHRyaWdnZXJPbkRlbWFuZFRvdXIgXSApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQU1BO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/hooks/useChangeMetricsFeatureTourEffect.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/hooks/useDisplayCTAWidget.js":
/*!***************************************************************!*\
  !*** ./js/components/KeyMetrics/hooks/useDisplayCTAWidget.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 useDisplayCTAWidget; });\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 _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/KeyMetrics/constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_modules_search_console_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/search-console/datastore/constants */ \"./js/modules/search-console/datastore/constants.js\");\n/* harmony import */ var _js_modules_search_console_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/search-console/constants */ \"./js/modules/search-console/constants.js\");\n/**\n * Determines whether the CTA widget should be displayed.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n/**\n * Determines whether the CTA widget should be displayed.\n *\n * @since 1.140.0\n *\n * @return {boolean} Whether the CTA widget should be displayed.\n */\nfunction useDisplayCTAWidget() {\n  return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"])(function (select) {\n    var isDismissed = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).isItemDismissed(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_3__[\"KEY_METRICS_SETUP_CTA_WIDGET_SLUG\"]);\n    var isDismissingItem = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).isDismissingItem(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_3__[\"KEY_METRICS_SETUP_CTA_WIDGET_SLUG\"]);\n\n    // We call isGatheringData() within this hook for completeness as we do not want to rely\n    // on it being called in other components. This selector makes report requests which, if they return\n    // data, then the `data-available` transients are set. These transients are prefetched as a global on\n    // the next page load.\n\n    var searchConsoleDataAvailableOnLoad = isModuleDataAvailableOnLoad(select, _js_modules_search_console_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_SEARCH_CONSOLE\"], _js_modules_search_console_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_SEARCH_CONSOLE\"]);\n    var analyticsDataAvailableOnLoad = isModuleDataAvailableOnLoad(select, _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"], _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]);\n    return isDismissed === false && isDismissingItem === false && searchConsoleDataAvailableOnLoad && analyticsDataAvailableOnLoad;\n  }, []);\n}\nfunction isModuleDataAvailableOnLoad(select, slug, storeName) {\n  if (select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_MODULES\"]).isModuleConnected(slug)) {\n    var _select = select(storeName),\n      isGatheringData = _select.isGatheringData,\n      isDataAvailableOnLoad = _select.isDataAvailableOnLoad;\n    isGatheringData();\n    return isDataAvailableOnLoad();\n  }\n  return false;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/hooks/useDisplayCTAWidget.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutAfterInitialDetection.js":
/*!*******************************************************************************************!*\
  !*** ./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutAfterInitialDetection.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 useDisplayNewEventsCalloutAfterInitialDetection; });\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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/**\n * Determines whether the new events callout should be displayed to the user.\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 * Internal dependencies\n */\n\n\n\n\n/**\n * Determines whether the new events callout should be displayed.\n *\n * @since 1.144.0\n *\n * @param {boolean} haveNewConversionEventsAfterDismiss If there are new events detected after callout was dismissed.\n * @return {boolean} Whether the new events callout should be displayed.\n */\nfunction useDisplayNewEventsCalloutAfterInitialDetection(haveNewConversionEventsAfterDismiss) {\n  return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"])(function (select) {\n    var isKeyMetricsSetupCompleted = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_SITE\"]).isKeyMetricsSetupCompleted();\n    var haveConversionEventsWithDifferentMetrics = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_ANALYTICS_4\"]).haveConversionEventsWithDifferentMetrics();\n    return isKeyMetricsSetupCompleted && haveConversionEventsWithDifferentMetrics && haveNewConversionEventsAfterDismiss;\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvaG9va3MvdXNlRGlzcGxheU5ld0V2ZW50c0NhbGxvdXRBZnRlckluaXRpYWxEZXRlY3Rpb24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6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x0Y29uc3QgaXNLZXlNZXRyaWNzU2V0dXBDb21wbGV0ZWQgPVxuXHRcdFx0c2VsZWN0KCBDT1JFX1NJVEUgKS5pc0tleU1ldHJpY3NTZXR1cENvbXBsZXRlZCgpO1xuXG5cdFx0Y29uc3QgaGF2ZUNvbnZlcnNpb25FdmVudHNXaXRoRGlmZmVyZW50TWV0cmljcyA9XG5cdFx0XHRzZWxlY3QoXG5cdFx0XHRcdE1PRFVMRVNfQU5BTFlUSUNTXzRcblx0XHRcdCkuaGF2ZUNvbnZlcnNpb25FdmVudHNXaXRoRGlmZmVyZW50TWV0cmljcygpO1xuXG5cdFx0cmV0dXJuIChcblx0XHRcdGlzS2V5TWV0cmljc1NldHVwQ29tcGxldGVkICYmXG5cdFx0XHRoYXZlQ29udmVyc2lvbkV2ZW50c1dpdGhEaWZmZXJlbnRNZXRyaWNzICYmXG5cdFx0XHRoYXZlTmV3Q29udmVyc2lvbkV2ZW50c0FmdGVyRGlzbWlzc1xuXHRcdCk7XG5cdH0gKTtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFDQTtBQUdBO0FBS0E7QUFLQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutAfterInitialDetection.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForTailoredMetrics.js":
/*!****************************************************************************************!*\
  !*** ./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForTailoredMetrics.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 useDisplayNewEventsCalloutForTailoredMetrics; });\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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/**\n * Determines whether the initial new events callout should be displayed to the tailored metrics user.\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 * Internal dependencies\n */\n\n\n\n\n/**\n * Determines whether the initial new events callout should be displayed.\n *\n * @since 1.144.0\n *\n * @param {boolean} haveNewConversionEventsAfterDismiss If there are new events detected after callout was dismissed.\n * @return {boolean} Whether the initial new events callout should be displayed.\n */\nfunction useDisplayNewEventsCalloutForTailoredMetrics(haveNewConversionEventsAfterDismiss) {\n  return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"])(function (select) {\n    var _userInputSettings$pu;\n    var _select = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_USER\"]),\n      getIsUserInputCompleted = _select.isUserInputCompleted,\n      getUserPickedMetrics = _select.getUserPickedMetrics,\n      getUserInputSettings = _select.getUserInputSettings,\n      getID = _select.getID;\n    var hasUserPickedMetrics = getUserPickedMetrics();\n    var isUserInputCompleted = getIsUserInputCompleted();\n    var userInputSettings = getUserInputSettings();\n    var sitePurposeAnsweredBy = userInputSettings === null || userInputSettings === void 0 ? void 0 : (_userInputSettings$pu = userInputSettings.purpose) === null || _userInputSettings$pu === void 0 ? void 0 : _userInputSettings$pu.answeredBy;\n    var currentUserID = getID();\n    var haveConversionReportingEventsForTailoredMetrics = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_ANALYTICS_4\"]).haveConversionEventsForTailoredMetrics(true);\n    return !(hasUserPickedMetrics === null || hasUserPickedMetrics === void 0 ? void 0 : hasUserPickedMetrics.length) && isUserInputCompleted && haveConversionReportingEventsForTailoredMetrics && haveNewConversionEventsAfterDismiss &&\n    // Ensure that the user who last added or edited the site purpose answer\n    // sees the callout to automatically add the new conversion reporting metrics via the CTA.\n    sitePurposeAnsweredBy === currentUserID;\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForTailoredMetrics.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForUserPickedMetrics.js":
/*!******************************************************************************************!*\
  !*** ./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForUserPickedMetrics.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 useDisplayNewEventsCalloutForUserPickedMetrics; });\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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/**\n * Determines whether the initial new events callout should be displayed to the user with manually-selected metrics.\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 * Internal dependencies\n */\n\n\n\n\n\n/**\n * Determines whether the initial new events callout should be displayed.\n *\n * @since 1.144.0\n *\n * @param {boolean} haveNewConversionEventsAfterDismiss If there are new events detected after callout was dismissed.\n * @return {boolean} Whether the initial new events callout should be displayed.\n */\nfunction useDisplayNewEventsCalloutForUserPickedMetrics(haveNewConversionEventsAfterDismiss) {\n  return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"])(function (select) {\n    var hasUserPickedMetrics = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_USER\"]).getUserPickedMetrics();\n    var hasConversionEventsForUserPickedMetrics = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).haveConversionEventsForUserPickedMetrics(true);\n    var isKeyMetricsSetupCompleted = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_SITE\"]).isKeyMetricsSetupCompleted();\n    return (hasUserPickedMetrics === null || hasUserPickedMetrics === void 0 ? void 0 : hasUserPickedMetrics.length) && isKeyMetricsSetupCompleted && hasConversionEventsForUserPickedMetrics && haveNewConversionEventsAfterDismiss;\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvaG9va3MvdXNlRGlzcGxheU5ld0V2ZW50c0NhbGxvdXRGb3JVc2VyUGlja2VkTWV0cmljcy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvS2V5TWV0cmljcy9ob29rcy91c2VEaXNwbGF5TmV3RXZlbnRzQ2FsbG91dEZvclVzZXJQaWNrZWRNZXRyaWNzLmpzPzI5ZWIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBEZXRlcm1pbmVzIHdoZXRoZXIgdGhlIGluaXRpYWwgbmV3IGV2ZW50cyBjYWxsb3V0IHNob3VsZCBiZSBkaXNwbGF5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J9\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForUserPickedMetrics.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/index.js":
/*!*******************************************!*\
  !*** ./js/components/KeyMetrics/index.js ***!
  \*******************************************/
/*! exports provided: ChangeMetricsLink, InsufficientPermissionsError, KeyMetricsSetupCTAWidget, MetricTileNumeric, MetricTileTable, MetricTileTablePlainText, MetricTileText, MetricTileWrapper, ChipTabGroup */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ChangeMetricsLink__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChangeMetricsLink */ \"./js/components/KeyMetrics/ChangeMetricsLink.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ChangeMetricsLink\", function() { return _ChangeMetricsLink__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _InsufficientPermissionsError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InsufficientPermissionsError */ \"./js/components/KeyMetrics/InsufficientPermissionsError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InsufficientPermissionsError\", function() { return _InsufficientPermissionsError__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _KeyMetricsSetupCTAWidget__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KeyMetricsSetupCTAWidget */ \"./js/components/KeyMetrics/KeyMetricsSetupCTAWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"KeyMetricsSetupCTAWidget\", function() { return _KeyMetricsSetupCTAWidget__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _MetricTileNumeric__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./MetricTileNumeric */ \"./js/components/KeyMetrics/MetricTileNumeric.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MetricTileNumeric\", function() { return _MetricTileNumeric__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _MetricTileTable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./MetricTileTable */ \"./js/components/KeyMetrics/MetricTileTable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MetricTileTable\", function() { return _MetricTileTable__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _MetricTileTablePlainText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./MetricTileTablePlainText */ \"./js/components/KeyMetrics/MetricTileTablePlainText.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MetricTileTablePlainText\", function() { return _MetricTileTablePlainText__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _MetricTileText__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MetricTileText */ \"./js/components/KeyMetrics/MetricTileText.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MetricTileText\", function() { return _MetricTileText__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _MetricTileWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./MetricTileWrapper */ \"./js/components/KeyMetrics/MetricTileWrapper.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MetricTileWrapper\", function() { return _MetricTileWrapper__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _ChipTabGroup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ChipTabGroup */ \"./js/components/KeyMetrics/ChipTabGroup/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ChipTabGroup\", function() { return _ChipTabGroup__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\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\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvaW5kZXguanM/ZWViOSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZ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lsZVdyYXBwZXIgfSBmcm9tICcuL01ldHJpY1RpbGVXcmFwcGVyJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgQ2hpcFRhYkdyb3VwIH0gZnJvbSAnLi9DaGlwVGFiR3JvdXAnO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/index.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/key-metrics-widgets.js":
/*!*********************************************************!*\
  !*** ./js/components/KeyMetrics/key-metrics-widgets.js ***!
  \*********************************************************/
/*! exports provided: KEY_METRICS_WIDGETS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_METRICS_WIDGETS\", function() { return KEY_METRICS_WIDGETS; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./shouldDisplayWidgetWithConversionEvent */ \"./js/components/KeyMetrics/shouldDisplayWidgetWithConversionEvent.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/components/KeyMetrics/constants.js\");\n\nvar _KEY_METRICS_WIDGETS;\n/**\n * Key Metrics widgets metadata.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n/**\n * Determines whether to show a widget the requires Analytics 4 and AdSense to be linked.\n *\n * For admin dashboards, the widget will be shown if both modules are activate so that\n * the connection CTA can be shown if they have not been linked.\n *\n * For view-only dashboards, the widget will only be displayed if both modules are linked.\n *\n * @since 1.121.0\n *\n * @param {Object}   options                     Options object.\n * @param {Function} options.select              Data store select function.\n * @param {boolean}  options.isViewOnlyDashboard Whether the current dashboard is view only.\n * @return {boolean} Whether to display the widget.\n */\nfunction shouldDisplayWidgetWithAnalytics4AndAdSenseLinked(_ref) {\n  var select = _ref.select,\n    isViewOnlyDashboard = _ref.isViewOnlyDashboard;\n  if (!isViewOnlyDashboard) {\n    return true;\n  }\n  if (isViewOnlyDashboard && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getAdSenseLinked()) {\n    return true;\n  }\n  return false;\n}\n\n/**\n * Determines whether to display a widget that requires custom dimensions in the key\n * metrics selection panel.\n *\n * All widgets are displayed in authenticated dashboard. However, in view only dashboard,\n * widgets that require custom dimensions will only be displayed if the required custom\n * dimensions are available in the shared property.\n *\n * This function is attached to the widget object that requires the custom dimensions and\n * has the `requiredCustomDimensions` property.\n *\n * @since 1.113.0\n *\n * @param {Object}   options                     Options object.\n * @param {Function} options.select              Data store select function.\n * @param {boolean}  options.isViewOnlyDashboard Whether the current dashboard is view only.\n * @return {boolean} Whether to display the widget.\n */\nfunction shouldDisplayWidgetWithCustomDimensions(_ref2) {\n  var select = _ref2.select,\n    isViewOnlyDashboard = _ref2.isViewOnlyDashboard;\n  if (!isViewOnlyDashboard) {\n    return true;\n  }\n  return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).hasCustomDimensions(\n  // This property is available to the widget object that requires the\n  // custom dimensions, where the function is attached.\n  this.requiredCustomDimensions);\n}\nvar KEY_METRICS_WIDGETS = (_KEY_METRICS_WIDGETS = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top earning pages', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages that generated the most AdSense revenue', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages that generated the most AdSense revenue', 'google-site-kit'),\n  displayInSelectionPanel: shouldDisplayWidgetWithAnalytics4AndAdSenseLinked,\n  displayInList: shouldDisplayWidgetWithAnalytics4AndAdSenseLinked,\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_CONTENT_PERFORMANCE\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top recent trending pages', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages with the most pageviews published in the last 3 days', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages with the most pageviews published in the last 3 days', 'google-site-kit'),\n  requiredCustomDimensions: ['googlesitekit_post_date'],\n  displayInSelectionPanel: shouldDisplayWidgetWithCustomDimensions,\n  displayInWidgetArea: shouldDisplayWidgetWithCustomDimensions,\n  displayInList: shouldDisplayWidgetWithCustomDimensions,\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_CONTENT_PERFORMANCE\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_POPULAR_AUTHORS\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Most popular authors by pageviews', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Authors whose posts got the most visits', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Authors whose posts got the most visits', 'google-site-kit'),\n  requiredCustomDimensions: ['googlesitekit_post_author'],\n  displayInSelectionPanel: shouldDisplayWidgetWithCustomDimensions,\n  displayInWidgetArea: shouldDisplayWidgetWithCustomDimensions,\n  displayInList: shouldDisplayWidgetWithCustomDimensions,\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_CONTENT_PERFORMANCE\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_CATEGORIES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top categories by pageviews', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Categories that your site visitors viewed the most', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Categories that your site visitors viewed the most', 'google-site-kit'),\n  requiredCustomDimensions: ['googlesitekit_post_categories'],\n  displayInSelectionPanel: shouldDisplayWidgetWithCustomDimensions,\n  displayInWidgetArea: shouldDisplayWidgetWithCustomDimensions,\n  displayInList: shouldDisplayWidgetWithCustomDimensions,\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_CONTENT_PERFORMANCE\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_POPULAR_CONTENT\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Most popular content by pageviews', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages that brought in the most visitors', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages your visitors read the most', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_CONTENT_PERFORMANCE\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_POPULAR_PRODUCTS\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Most popular products by pageviews', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Products that brought in the most visitors', 'google-site-kit'),\n  requiredCustomDimensions: ['googlesitekit_post_type'],\n  displayInSelectionPanel: function displayInSelectionPanel(_ref3) {\n    var select = _ref3.select;\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_POPULAR_PRODUCTS\"]) || select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getProductPostType();\n  },\n  displayInWidgetArea: shouldDisplayWidgetWithCustomDimensions,\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_SELLING_PRODUCTS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_PAGES_PER_VISIT\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages per visit', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Number of pages visitors viewed per session on average', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Number of pages visitors viewed per session on average', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_VISITORS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_VISIT_LENGTH\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Visit length', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Average duration of engaged visits', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Average duration of engaged visits', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_VISITORS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_VISITS_PER_VISITOR\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Visits per visitor', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Average number of sessions per site visitor', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Average number of sessions per site visitor', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_VISITORS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_MOST_ENGAGING_PAGES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Most engaging pages', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages with the highest engagement rate', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages with the highest engagement rate', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_CONTENT_PERFORMANCE\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_LEAST_ENGAGING_PAGES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Least engaging pages', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages with the highest percentage of visitors that left without engagement with your site', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Percentage of visitors that left without engagement with your site', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_CONTENT_PERFORMANCE\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top pages by returning visitors', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages that attracted the most returning visitors', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages that attracted the most returning visitors', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_VISITORS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_NEW_VISITORS\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('New visitors', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('How many new visitors you got and how the overall audience changed', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Portion of visitors who visited your site for the first time in this timeframe', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_VISITORS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_RETURNING_VISITORS\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Returning visitors', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Portion of people who visited your site more than once', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Portion of your site’s visitors that returned at least once in this timeframe', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_VISITORS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top traffic source', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel which brought in the most visitors to your site', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel (e.g. social, paid, search) that brought in the most visitors to your site', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_DRIVING_TRAFFIC\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top traffic source driving add to cart', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel which brought in the most add to cart events to your site', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel (e.g. social, paid, search) that brought in the most add to cart events to your site', 'google-site-kit'),\n  requiredConversionEventName: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].ADD_TO_CART],\n  displayInSelectionPanel: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  displayInList: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_SELLING_PRODUCTS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top traffic source driving leads', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel which brought in the most leads to your site', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel (e.g. social, paid, search) that brought in the most leads to your site', 'google-site-kit'),\n  requiredConversionEventName: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD],\n  displayInSelectionPanel: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  displayInList: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_GENERATING_LEADS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top traffic source driving purchases', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel which brought in the most purchases to your site', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel (e.g. social, paid, search) that brought in the most purchases to your site', 'google-site-kit'),\n  requiredConversionEventName: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].PURCHASE],\n  displayInSelectionPanel: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  displayInList: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_SELLING_PRODUCTS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Most engaged traffic source', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Visitors coming via this channel spent the most time on your site', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel (e.g. social, paid, search) that brought in the most visitors who had a meaningful engagement with your site', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_DRIVING_TRAFFIC\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top converting traffic source', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel which brought in the most visits that resulted in key events', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Channel (e.g. social, paid, search) that brought in visitors who generated the most key events', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_DRIVING_TRAFFIC\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_CITIES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top cities driving traffic', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Which cities you get the most visitors from', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('The cities where most of your visitors came from', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_DRIVING_TRAFFIC\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top cities driving leads', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Cities driving the most contact form submissions', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Cities driving the most contact form submissions', 'google-site-kit'),\n  requiredConversionEventName: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD],\n  displayInSelectionPanel: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  displayInList: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_GENERATING_LEADS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top cities driving add to cart', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Cities where visitors most frequently add products to their carts', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Cities where visitors most frequently add products to their carts', 'google-site-kit'),\n  requiredConversionEventName: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].ADD_TO_CART],\n  displayInSelectionPanel: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  displayInList: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_SELLING_PRODUCTS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top cities driving purchases', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Cities driving the most purchases', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Cities driving the most purchases', 'google-site-kit'),\n  requiredConversionEventName: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].PURCHASE],\n  displayInSelectionPanel: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  displayInList: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_SELLING_PRODUCTS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top device driving purchases', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top device driving the most purchases', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top device driving the most purchases', 'google-site-kit'),\n  requiredConversionEventName: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].PURCHASE],\n  displayInSelectionPanel: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  displayInList: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_SELLING_PRODUCTS\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_COUNTRIES\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top countries driving traffic', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Which countries you get the most visitors from', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('The countries where most of your visitors came from', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_DRIVING_TRAFFIC\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_SEARCH_CONSOLE_POPULAR_KEYWORDS\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top performing keywords', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('What people searched for before they came to your site', 'google-site-kit'),\n  infoTooltip: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('The top search queries for your site by highest clickthrough rate', 'google-site-kit'),\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_DRIVING_TRAFFIC\"].SLUG\n  }\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_KEY_METRICS_WIDGETS, _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS\"], {\n  title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Top pages driving leads', 'google-site-kit'),\n  description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pages on which forms are most frequently submitted', 'google-site-kit'),\n  requiredConversionEventName: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD],\n  displayInSelectionPanel: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  displayInList: _shouldDisplayWidgetWithConversionEvent__WEBPACK_IMPORTED_MODULE_5__[\"shouldDisplayWidgetWithConversionEvent\"],\n  metadata: {\n    group: _constants__WEBPACK_IMPORTED_MODULE_6__[\"KEY_METRICS_GROUP_GENERATING_LEADS\"].SLUG\n  }\n}), _KEY_METRICS_WIDGETS);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/key-metrics-widgets.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"shouldDisplayWidgetWithConversionEvent\", function() { return shouldDisplayWidgetWithConversionEvent; });\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/**\n * Key Metrics shouldDisplayWidgetWithConversionEvent 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 * Internal dependencies\n */\n\n\n\n/**\n * Determines whether to display a widget that requires conversion reporting events\n * in the key metrics selection panel.\n *\n * This function is attached to the widget object that requires the conversion reporting events and\n * has the `requiredConversionEventName` property.\n *\n * @since 1.136.0\n * @since 1.137.0 Moved function to its own file.\n *\n * @param {Object}   options        Options object.\n * @param {Function} options.select Data store select function.\n * @param {string}   options.slug   Key metric widget slug.\n * @return {boolean} Whether to display the widget.\n */\nfunction shouldDisplayWidgetWithConversionEvent(_ref) {\n  var select = _ref.select,\n    slug = _ref.slug;\n  return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"MODULES_ANALYTICS_4\"]).hasConversionReportingEvents(\n  // This property is available to the widget object that requires the\n  // conversion reporting events, where the function is attached.\n  this.requiredConversionEventName) || select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_0__[\"CORE_USER\"]).isKeyMetricActive(slug);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3Mvc2hvdWxkRGlzcGxheVdpZGdldFdpdGhDb252ZXJzaW9uRXZlbnQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3Mvc2hvdWxkRGlzcGxheVdpZGdldFdpdGhDb252ZXJzaW9uRXZlbnQuanM/ZDg0MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEtleSBNZXRyaWNzIHNob3VsZERpc3BsYXlXaWRnZXRXaXRoQ29udmVyc2lvbkV2ZW50IGZ1bmN0aW9uLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8ga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UFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBR0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/shouldDisplayWidgetWithConversionEvent.js\n");

/***/ }),

/***/ "./js/components/KeyMetrics/utils.js":
/*!*******************************************!*\
  !*** ./js/components/KeyMetrics/utils.js ***!
  \*******************************************/
/*! exports provided: conversionReportingDetectedEventsTracking */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"conversionReportingDetectedEventsTracking\", function() { return conversionReportingDetectedEventsTracking; });\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/**\n * Key Metrics utility functions.\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 * Internal dependencies\n */\n\nfunction conversionReportingDetectedEventsTracking(_ref, viewContext, eventName) {\n  var shouldShowInitialCalloutForTailoredMetrics = _ref.shouldShowInitialCalloutForTailoredMetrics,\n    shouldShowCalloutForUserPickedMetrics = _ref.shouldShowCalloutForUserPickedMetrics,\n    shouldShowCalloutForNewEvents = _ref.shouldShowCalloutForNewEvents,\n    userPickedMetrics = _ref.userPickedMetrics;\n  var category = '';\n\n  // Handle internal tracking or the initial detection of events with tailored KMW selection.\n  if (shouldShowInitialCalloutForTailoredMetrics) {\n    category = \"\".concat(viewContext, \"_kmw-tailored-conversion-events-detected-notification\");\n  }\n\n  // Handle internal tracking or the initial detection of events with manual KMW selection.\n  if (shouldShowCalloutForUserPickedMetrics) {\n    category = \"\".concat(viewContext, \"_kmw-manual-conversion-events-detected-notification\");\n  }\n\n  // Handle internal tracking for new events with manual KMW selection.\n  if (shouldShowCalloutForNewEvents && (userPickedMetrics === null || userPickedMetrics === void 0 ? void 0 : userPickedMetrics.length)) {\n    category = \"\".concat(viewContext, \"_kmw-manual-new-conversion-events-detected-notification\");\n  }\n\n  // Handle internal tracking for new events with tailored KMW selection.\n  if (shouldShowCalloutForNewEvents && !(userPickedMetrics === null || userPickedMetrics === void 0 ? void 0 : userPickedMetrics.length)) {\n    category = \"\".concat(viewContext, \"_kmw-tailored-new-conversion-events-detected-notification\");\n  }\n  if (category) {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_1__[\"trackEvent\"])(category, eventName, 'conversion_reporting');\n  }\n}\nconversionReportingDetectedEventsTracking.propTypes = {\n  shouldShowInitialCalloutForTailoredMetrics: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool.isRequired,\n  shouldShowCalloutForUserPickedMetrics: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool.isRequired,\n  shouldShowCalloutForNewEvents: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool.isRequired,\n  userPickedMetrics: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object.isRequired,\n  viewContext: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string.isRequired,\n  eventName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string.isRequired\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/components/KeyMetrics/utils.js\n");

/***/ }),

/***/ "./js/components/LeanCTABanner.js":
/*!****************************************!*\
  !*** ./js/components/LeanCTABanner.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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\n/**\n * LeanCTABanner component.\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 LeanCTABanner = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n  var className = _ref.className,\n    children = _ref.children,\n    Icon = _ref.Icon,\n    SVGGraphic = _ref.SVGGraphic;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    ref: ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-lean-cta-banner', className)\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-lean-cta-banner__body\"\n  }, Icon && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-lean-cta-banner__body-icon\"\n  }, /*#__PURE__*/React.createElement(Icon, {\n    width: \"32\",\n    height: \"32\"\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-lean-cta-banner__body-content\"\n  }, children)), SVGGraphic && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-lean-cta-banner__graphic\"\n  }, /*#__PURE__*/React.createElement(SVGGraphic, null)));\n});\nLeanCTABanner.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node.isRequired,\n  Icon: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType,\n  SVGGraphic: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (LeanCTABanner);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0xlYW5DVEFCYW5uZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s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js/components/LeanCTABanner.js\n");

/***/ }),

/***/ "./js/components/Link.js":
/*!*******************************!*\
  !*** ./js/components/Link.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 _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ \"../node_modules/react-router-dom/esm/react-router-dom.js\");\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/* harmony import */ var _svg_icons_arrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/svg/icons/arrow.svg */ \"./svg/icons/arrow.svg\");\n/* harmony import */ var _svg_icons_arrow_inverse_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/svg/icons/arrow-inverse.svg */ \"./svg/icons/arrow-inverse.svg\");\n/* harmony import */ var _svg_icons_back_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/svg/icons/back.svg */ \"./svg/icons/back.svg\");\n/* harmony import */ var _svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/svg/icons/external.svg */ \"./svg/icons/external.svg\");\n/* harmony import */ var _IconWrapper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./IconWrapper */ \"./js/components/IconWrapper.js\");\n\n\n\n/**\n * Link component.\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\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nvar BUTTON = 'BUTTON';\nvar BUTTON_DISABLED = 'BUTTON_DISABLED';\nvar EXTERNAL_LINK = 'EXTERNAL_LINK';\nvar LINK = 'LINK';\nvar ROUTER_LINK = 'ROUTER_LINK';\nvar Link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (props, ref) {\n  var ariaLabelProp = props['aria-label'],\n    _props$secondary = props.secondary,\n    secondary = _props$secondary === void 0 ? false : _props$secondary,\n    _props$arrow = props.arrow,\n    arrow = _props$arrow === void 0 ? false : _props$arrow,\n    _props$back = props.back,\n    back = _props$back === void 0 ? false : _props$back,\n    _props$caps = props.caps,\n    caps = _props$caps === void 0 ? false : _props$caps,\n    children = props.children,\n    _props$className = props.className,\n    className = _props$className === void 0 ? '' : _props$className,\n    _props$danger = props.danger,\n    danger = _props$danger === void 0 ? false : _props$danger,\n    _props$disabled = props.disabled,\n    disabled = _props$disabled === void 0 ? false : _props$disabled,\n    _props$external = props.external,\n    external = _props$external === void 0 ? false : _props$external,\n    _props$hideExternalIn = props.hideExternalIndicator,\n    hideExternalIndicator = _props$hideExternalIn === void 0 ? false : _props$hideExternalIn,\n    _props$href = props.href,\n    href = _props$href === void 0 ? '' : _props$href,\n    _props$inverse = props.inverse,\n    inverse = _props$inverse === void 0 ? false : _props$inverse,\n    _props$noFlex = props.noFlex,\n    noFlex = _props$noFlex === void 0 ? false : _props$noFlex,\n    onClick = props.onClick,\n    _props$small = props.small,\n    small = _props$small === void 0 ? false : _props$small,\n    _props$standalone = props.standalone,\n    standalone = _props$standalone === void 0 ? false : _props$standalone,\n    _props$linkButton = props.linkButton,\n    linkButton = _props$linkButton === void 0 ? false : _props$linkButton,\n    to = props.to,\n    leadingIcon = props.leadingIcon,\n    trailingIcon = props.trailingIcon,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(props, [\"aria-label\", \"secondary\", \"arrow\", \"back\", \"caps\", \"children\", \"className\", \"danger\", \"disabled\", \"external\", \"hideExternalIndicator\", \"href\", \"inverse\", \"noFlex\", \"onClick\", \"small\", \"standalone\", \"linkButton\", \"to\", \"leadingIcon\", \"trailingIcon\"]);\n  function getType() {\n    // Force button element if `onClick` prop is passed and there's no `href`\n    // or `to` prop.\n    if (!href && !to && onClick) {\n      if (disabled) {\n        return BUTTON_DISABLED;\n      }\n      return BUTTON;\n    }\n\n    // Only `RouterLink` uses the `to` prop.\n    if (to) {\n      return ROUTER_LINK;\n    }\n\n    // The external prop means this is an external link, which will also output\n    // an `<a>` tag.\n    if (external) {\n      return EXTERNAL_LINK;\n    }\n\n    // A regular `<a>` tag without external indicators.\n    return LINK;\n  }\n  var type = getType();\n  function getLinkComponent() {\n    if (type === BUTTON || type === BUTTON_DISABLED) {\n      return 'button';\n    }\n    if (type === ROUTER_LINK) {\n      return react_router_dom__WEBPACK_IMPORTED_MODULE_5__[\"Link\"];\n    }\n    return 'a';\n  }\n  function getAriaLabel() {\n    // Otherwise, create an ARIA label if the link opens in a new window\n    // or is disabled, to add extra context to the link.\n    var labelSuffix;\n    if (type === EXTERNAL_LINK) {\n      labelSuffix = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('(opens in a new tab)', 'screen reader text', 'google-site-kit');\n    }\n    if (type === BUTTON_DISABLED) {\n      labelSuffix = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('(disabled)', 'screen reader text', 'google-site-kit');\n    }\n    if (!labelSuffix) {\n      return ariaLabelProp;\n    }\n\n    // If an ARIA label was supplied, use that.\n    if (ariaLabelProp) {\n      return \"\".concat(ariaLabelProp, \" \").concat(labelSuffix);\n    }\n\n    // Otherwise, use the children prop if it's a string.\n    if (typeof children === 'string') {\n      return \"\".concat(children, \" \").concat(labelSuffix);\n    }\n\n    // If there isn't a string we can use to create the label, we shouldn't\n    // make one; otherwise we'll only create an ARIA label that says\n    // \"(opens in a new tab)\", which is not good.\n    return undefined;\n  }\n  var LinkComponent = getLinkComponent();\n  var ariaLabel = getAriaLabel();\n\n  // Set the prefix/suffix icons, based on the type of link this is and\n  // the props supplied.\n  var leadingIconToUse = leadingIcon;\n  var trailingIconToUse = trailingIcon;\n  if (back) {\n    leadingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_back_svg__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  if (external && !hideExternalIndicator) {\n    trailingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  if (arrow && !inverse) {\n    trailingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_arrow_svg__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  if (arrow && inverse) {\n    trailingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_arrow_inverse_svg__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  return /*#__PURE__*/React.createElement(LinkComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    \"aria-label\": ariaLabel,\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-cta-link', className, {\n      'googlesitekit-cta-link--secondary': secondary,\n      'googlesitekit-cta-link--inverse': inverse,\n      'googlesitekit-cta-link--small': small,\n      'googlesitekit-cta-link--caps': caps,\n      'googlesitekit-cta-link--danger': danger,\n      'googlesitekit-cta-link--disabled': disabled,\n      'googlesitekit-cta-link--standalone': standalone,\n      'googlesitekit-cta-link--link-button': linkButton,\n      'googlesitekit-cta-link--no-flex': !!noFlex\n    }),\n    disabled: disabled,\n    href: (type === LINK || type === EXTERNAL_LINK) && !disabled ? href : undefined,\n    onClick: onClick,\n    rel: type === EXTERNAL_LINK ? 'noopener noreferrer' : undefined,\n    ref: ref,\n    target: type === EXTERNAL_LINK ? '_blank' : undefined,\n    to: to\n  }, otherProps), !!leadingIconToUse && /*#__PURE__*/React.createElement(_IconWrapper__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    marginRight: 5\n  }, leadingIconToUse), /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-cta-link__contents\"\n  }, children), !!trailingIconToUse && /*#__PURE__*/React.createElement(_IconWrapper__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    marginLeft: 5\n  }, trailingIconToUse));\n});\nLink.propTypes = {\n  arrow: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  back: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  caps: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  danger: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  external: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  hideExternalIndicator: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  href: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  inverse: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  leadingIcon: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node,\n  linkButton: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  noFlex: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func,\n  small: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  standalone: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  to: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  trailingIcon: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Link);\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/components/Link.js\n");

/***/ }),

/***/ "./js/components/LoadingWrapper.js":
/*!*****************************************!*\
  !*** ./js/components/LoadingWrapper.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return LoadingWrapper; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _PreviewBlock__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./PreviewBlock */ \"./js/components/PreviewBlock.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_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 * LoadingWrapper component.\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\nfunction LoadingWrapper(_ref) {\n  var loading = _ref.loading,\n    children = _ref.children,\n    previewBlockProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"loading\", \"children\"]);\n  if (loading) {\n    return /*#__PURE__*/React.createElement(_PreviewBlock__WEBPACK_IMPORTED_MODULE_4__[\"default\"], previewBlockProps);\n  }\n  return children;\n}\nLoadingWrapper.propTypes = _objectSpread({\n  loading: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node\n}, _PreviewBlock__WEBPACK_IMPORTED_MODULE_4__[\"default\"].propTypes);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0xvYWRpbmdXcmFwcGVyLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9Mb2FkaW5nV3JhcHBlci5qcz8wYWJlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTG9hZGluZ1dyYXBwZXIgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3J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O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFJQTtBQUZBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/LoadingWrapper.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* 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/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ \"../node_modules/@babel/runtime/helpers/inherits.js\");\n/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ \"../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js\");\n/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ \"../node_modules/@babel/runtime/helpers/getPrototypeOf.js\");\n/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/ErrorNotice */ \"./js/components/ErrorNotice.js\");\n\n\n\n\n\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4___default()(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4___default()(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3___default()(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n/**\n * MediaErrorHandler component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\nvar MediaErrorHandler = /*#__PURE__*/function (_Component) {\n  _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_2___default()(MediaErrorHandler, _Component);\n  var _super = _createSuper(MediaErrorHandler);\n  function MediaErrorHandler(props) {\n    var _this;\n    _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, MediaErrorHandler);\n    _this = _super.call(this, props);\n    _this.state = {\n      error: null\n    };\n    return _this;\n  }\n  _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(MediaErrorHandler, [{\n    key: \"componentDidCatch\",\n    value: function componentDidCatch(error, info) {\n      global.console.error('Caught an error:', error, info);\n      this.setState({\n        error: error\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        children = _this$props.children,\n        errorMessage = _this$props.errorMessage;\n      var error = this.state.error; // If there is no caught error, render the children components normally.\n      if (!error) {\n        return children;\n      }\n      return /*#__PURE__*/React.createElement(_js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n        message: errorMessage\n      });\n    }\n  }]);\n  return MediaErrorHandler;\n}(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"Component\"]);\nMediaErrorHandler.defaultProps = {\n  errorMessage: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"__\"])('Failed to load media', 'google-site-kit')\n};\nMediaErrorHandler.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.node.isRequired,\n  errorMessage: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (MediaErrorHandler);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL01lZGlhRXJyb3JIYW5kbGVyL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9NZWRpY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Dialog.js":
/*!**************************************!*\
  !*** ./js/components/ModalDialog.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/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\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_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _svg_icons_warning_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/svg/icons/warning.svg */ \"./svg/icons/warning.svg\");\n\n/**\n * ModalDialog component.\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/**\n * WordPress dependencies\n */\n\n\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction ModalDialog(_ref) {\n  var _ref$className = _ref.className,\n    className = _ref$className === void 0 ? '' : _ref$className,\n    _ref$dialogActive = _ref.dialogActive,\n    dialogActive = _ref$dialogActive === void 0 ? false : _ref$dialogActive,\n    _ref$handleCancel = _ref.handleCancel,\n    handleCancel = _ref$handleCancel === void 0 ? null : _ref$handleCancel,\n    _ref$onOpen = _ref.onOpen,\n    onOpen = _ref$onOpen === void 0 ? null : _ref$onOpen,\n    _ref$onClose = _ref.onClose,\n    onClose = _ref$onClose === void 0 ? null : _ref$onClose,\n    _ref$title = _ref.title,\n    title = _ref$title === void 0 ? null : _ref$title,\n    provides = _ref.provides,\n    handleConfirm = _ref.handleConfirm,\n    subtitle = _ref.subtitle,\n    _ref$confirmButton = _ref.confirmButton,\n    confirmButton = _ref$confirmButton === void 0 ? null : _ref$confirmButton,\n    dependentModules = _ref.dependentModules,\n    _ref$danger = _ref.danger,\n    danger = _ref$danger === void 0 ? false : _ref$danger,\n    _ref$inProgress = _ref.inProgress,\n    inProgress = _ref$inProgress === void 0 ? false : _ref$inProgress,\n    _ref$small = _ref.small,\n    small = _ref$small === void 0 ? false : _ref$small,\n    _ref$medium = _ref.medium,\n    medium = _ref$medium === void 0 ? false : _ref$medium,\n    _ref$buttonLink = _ref.buttonLink,\n    buttonLink = _ref$buttonLink === void 0 ? null : _ref$buttonLink;\n  var instanceID = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__[\"useInstanceId\"])(ModalDialog);\n  var describedByID = \"googlesitekit-dialog-description-\".concat(instanceID);\n  var hasProvides = !!(provides && provides.length);\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"Dialog\"], {\n    open: dialogActive,\n    onOpen: onOpen,\n    onClose: onClose,\n    \"aria-describedby\": hasProvides ? describedByID : undefined,\n    tabIndex: \"-1\",\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(className, {\n      'googlesitekit-dialog-sm': small,\n      'googlesitekit-dialog-md': medium\n    })\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"DialogTitle\"], null, danger && /*#__PURE__*/React.createElement(_svg_icons_warning_svg__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    width: 28,\n    height: 28\n  }), title),\n  // Ensure we don't render anything at all if subtitle is falsy, as Dialog expects all its children to be elements and a falsy value will result in an error.\n  subtitle ? /*#__PURE__*/React.createElement(\"p\", {\n    className: \"mdc-dialog__lead\"\n  }, subtitle) : [], /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"DialogContent\"], null, hasProvides && /*#__PURE__*/React.createElement(\"section\", {\n    id: describedByID,\n    className: \"mdc-dialog__provides\"\n  }, /*#__PURE__*/React.createElement(\"ul\", {\n    className: \"mdc-list mdc-list--underlined mdc-list--non-interactive\"\n  }, provides.map(function (attribute) {\n    return /*#__PURE__*/React.createElement(\"li\", {\n      className: \"mdc-list-item\",\n      key: attribute\n    }, /*#__PURE__*/React.createElement(\"span\", {\n      className: \"mdc-list-item__text\"\n    }, attribute));\n  }))), dependentModules && /*#__PURE__*/React.createElement(\"p\", {\n    className: \"mdc-dialog__dependencies\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %s is replaced with the dependent modules. */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('<strong>Note:</strong> %s', 'google-site-kit'), dependentModules), {\n    strong: /*#__PURE__*/React.createElement(\"strong\", null)\n  }))), /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"DialogFooter\"], null, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"Button\"], {\n    className: \"mdc-dialog__cancel-button\",\n    onClick: handleCancel,\n    disabled: inProgress,\n    tertiary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Cancel', 'google-site-kit')), buttonLink ? /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"Button\"], {\n    href: buttonLink,\n    onClick: handleConfirm,\n    target: \"_blank\",\n    danger: danger\n  }, confirmButton) : /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"SpinnerButton\"], {\n    onClick: handleConfirm,\n    danger: danger,\n    disabled: inProgress,\n    isSaving: inProgress\n  }, confirmButton || Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Disconnect', 'google-site-kit'))));\n}\nModalDialog.displayName = 'Dialog';\nModalDialog.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  dialogActive: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  handleDialog: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  handleConfirm: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  onOpen: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  confirmButton: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  danger: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  small: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  medium: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  buttonLink: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ModalDialog);\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/components/ModalDialog.js\n");

/***/ }),

/***/ "./js/components/NewBadge.js":
/*!***********************************!*\
  !*** ./js/components/NewBadge.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/* 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/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _Badge__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Badge */ \"./js/components/Badge.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n\n/**\n * NewBadge component.\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/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction NewBadge(_ref) {\n  var tooltipTitle = _ref.tooltipTitle,\n    learnMoreLink = _ref.learnMoreLink,\n    forceOpen = _ref.forceOpen,\n    hasLeftSpacing = _ref.hasLeftSpacing,\n    hasNoSpacing = _ref.hasNoSpacing,\n    _ref$onLearnMoreClick = _ref.onLearnMoreClick,\n    onLearnMoreClick = _ref$onLearnMoreClick === void 0 ? function () {} : _ref$onLearnMoreClick;\n  var badgeComponent = /*#__PURE__*/React.createElement(_Badge__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-new-badge', {\n      'googlesitekit-new-badge--has-no-spacing': hasNoSpacing\n    }),\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('New', 'google-site-kit'),\n    hasLeftSpacing: hasLeftSpacing\n  });\n  if (!tooltipTitle) {\n    return badgeComponent;\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Tooltip\"], {\n    tooltipClassName: \"googlesitekit-new-badge__tooltip\",\n    title: /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, tooltipTitle, /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      href: learnMoreLink,\n      onClick: onLearnMoreClick,\n      external: true,\n      hideExternalIndicator: true\n    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Learn more', 'google-site-kit'))),\n    placement: \"top\",\n    enterTouchDelay: 0,\n    leaveTouchDelay: 5000,\n    open: forceOpen,\n    interactive: true\n  }, badgeComponent);\n}\nNewBadge.propTypes = {\n  tooltipTitle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  learnMoreLink: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  forceOpen: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onLearnMoreClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  hasLeftSpacing: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  hasNoSpacing: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (NewBadge);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# s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m5Nb3JlTGluazogUHJvcFR5cGVzLnN0cmluZyxcblx0Zm9yY2VPcGVuOiBQcm9wVHlwZXMuYm9vbCxcblx0b25MZWFybk1vcmVDbGljazogUHJvcFR5cGVzLmZ1bmMsXG5cdGhhc0xlZnRTcGFjaW5nOiBQcm9wVHlwZXMuYm9vbCxcblx0aGFzTm9TcGFjaW5nOiBQcm9wVHlwZXMuYm9vbCxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IE5ld0JhZGdlO1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFPQTtBQUxBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBSUE7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBS0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQU1BO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUtBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/NewBadge.js\n");

/***/ }),

/***/ "./js/components/Notice/CTAButton.js":
/*!*******************************************!*\
  !*** ./js/components/Notice/CTAButton.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CTAButton; });\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 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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/svg/icons/external.svg */ \"./svg/icons/external.svg\");\n\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\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction CTAButton(_ref) {\n  var label = _ref.label,\n    disabled = _ref.disabled,\n    inProgress = _ref.inProgress,\n    onClick = _ref.onClick,\n    href = _ref.href,\n    external = _ref.external,\n    hideExternalIndicator = _ref.hideExternalIndicator;\n  var trailingIconToUse;\n  if (external && !hideExternalIndicator) {\n    trailingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"SpinnerButton\"], {\n    className: \"googlesitekit-notice__cta\",\n    disabled: disabled,\n    isSaving: inProgress,\n    onClick: onClick,\n    href: href,\n    target: external ? '_blank' : '_self',\n    trailingIcon: trailingIconToUse\n  }, label);\n}\nCTAButton.propTypes = {\n  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  inProgress: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  href: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  external: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  hideExternalIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9DVEFCdXR0b24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL05vdGljZS9DVEFCdXR0b24uanM/NDQ1NCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc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cblx0aGlkZUV4dGVybmFsSW5kaWNhdG9yOiBQcm9wVHlwZXMuYm9vbCxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQVFBO0FBTkE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Notice/CTAButton.js\n");

/***/ }),

/***/ "./js/components/Notice/Description.js":
/*!*********************************************!*\
  !*** ./js/components/Notice/Description.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Description; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\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\n/**\n * External dependencies\n */\n\n\nfunction Description(_ref) {\n  var className = _ref.className,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"p\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-notice__description', className)\n  }, children);\n}\nDescription.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9EZXNjcmlwdGlvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvTm90aWNlL0Rlc2NyaXB0aW9uLmpzPzA0YmMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRl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29vZ2xlc2l0ZWtpdC1ub3RpY2VfX2Rlc2NyaXB0aW9uJyxcblx0XHRcdFx0Y2xhc3NOYW1lXG5cdFx0XHQpIH1cblx0XHQ+XG5cdFx0XHR7IGNoaWxkcmVuIH1cblx0XHQ8L3A+XG5cdCk7XG59XG5cbkRlc2NyaXB0aW9uLnByb3BUeXBlcyA9IHtcblx0Y2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFHQTtBQUtBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/Notice/Description.js\n");

/***/ }),

/***/ "./js/components/Notice/DismissButton.js":
/*!***********************************************!*\
  !*** ./js/components/Notice/DismissButton.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DismissButton; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n\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\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nfunction DismissButton(_ref) {\n  var _ref$label = _ref.label,\n    label = _ref$label === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Got it', 'google-site-kit') : _ref$label,\n    onClick = _ref.onClick,\n    disabled = _ref.disabled;\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    onClick: onClick,\n    disabled: disabled,\n    tertiary: true\n  }, label);\n}\nDismissButton.propTypes = {\n  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9EaXNtaXNzQnV0dG9uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9Ob3RpY2UvRGlzbWlzc0J1dHRvbi5qcz8wMmY5Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2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BQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUlBO0FBSEE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Notice/DismissButton.js\n");

/***/ }),

/***/ "./js/components/Notice/Icon.js":
/*!**************************************!*\
  !*** ./js/components/Notice/Icon.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Icon; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _svg_icons_check_fill_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/svg/icons/check-fill.svg */ \"./svg/icons/check-fill.svg\");\n/* harmony import */ var _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/icons/warning-notice.svg */ \"./svg/icons/warning-notice.svg\");\n/* harmony import */ var _svg_icons_star_fill_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/svg/icons/star-fill.svg */ \"./svg/icons/star-fill.svg\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/components/Notice/constants.js\");\n\nvar _typeIconMap;\n\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\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nvar typeIconMap = (_typeIconMap = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].NEW, _svg_icons_star_fill_svg__WEBPACK_IMPORTED_MODULE_5__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].SUCCESS, _svg_icons_check_fill_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].INFO, _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].WARNING, _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].ERROR, _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"]), _typeIconMap);\nfunction Icon(_ref) {\n  var type = _ref.type;\n  var IconComponent = typeIconMap[type] || _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n  return /*#__PURE__*/React.createElement(IconComponent, {\n    width: 24,\n    height: 24\n  });\n}\nIcon.propTypes = {\n  type: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf(Object.values(_constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"]))\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9JY29uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9Ob3RpY2UvSWNvbi5qcz81OWQ1Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXh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ljb25NYXAgPSB7XG5cdFsgVFlQRVMuTkVXIF06IFN0YXJGaWxsLFxuXHRbIFRZUEVTLlNVQ0NFU1MgXTogQ2hlY2tGaWxsLFxuXHRbIFRZUEVTLklORk8gXTogV2FybmluZ1NWRyxcblx0WyBUWVBFUy5XQVJOSU5HIF06IFdhcm5pbmdTVkcsXG5cdFsgVFlQRVMuRVJST1IgXTogV2FybmluZ1NWRyxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIEljb24oIHsgdHlwZSB9ICkge1xuXHRjb25zdCBJY29uQ29tcG9uZW50ID0gdHlwZUljb25NYXBbIHR5cGUgXSB8fCBXYXJuaW5nU1ZHO1xuXG5cdHJldHVybiA8SWNvbkNvbXBvbmVudCB3aWR0aD17IDI0IH0gaGVpZ2h0PXsgMjQgfSAvPjtcbn1cblxuSWNvbi5wcm9wVHlwZXMgPSB7XG5cdHR5cGU6IFByb3BUeXBlcy5vbmVPZiggT2JqZWN0LnZhbHVlcyggVFlQRVMgKSApLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBUUE7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Notice/Icon.js\n");

/***/ }),

/***/ "./js/components/Notice/Title.js":
/*!***************************************!*\
  !*** ./js/components/Notice/Title.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Title; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\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\n/**\n * External dependencies\n */\n\n\nfunction Title(_ref) {\n  var className = _ref.className,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"p\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-notice__title', className)\n  }, children);\n}\nTitle.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9UaXRsZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvTm90aWNlL1RpdGxlLmpzP2U1NmYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBjbGFzc25hbWVzIGZyb20gJ2NsYXNzbmFtZXMnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gVGl0bGUoIHsgY2xhc3NOYW1lLCBjaGlsZHJlbiB9ICkge1xuXHRyZXR1cm4gKFxuXHRcdDxwIGNsYXNzTmFtZT17IGNsYXNzbmFtZXMoICdnb29nbGVzaXRla2l0LW5vdGljZV9fdGl0bGUnLCBjbGFzc05hbWUgKSB9PlxuXHRcdFx0eyBjaGlsZHJlbiB9XG5cdFx0PC9wPlxuXHQpO1xufVxuXG5UaXRsZS5wcm9wVHlwZXMgPSB7XG5cdGNsYXNzTmFtZTogUHJvcFR5cGVzLnN0cmluZyxcblx0Y2hpbGRyZW46IFByb3BUeXBlcy5ub2RlLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Notice/Title.js\n");

/***/ }),

/***/ "./js/components/Notice/constants.js":
/*!*******************************************!*\
  !*** ./js/components/Notice/constants.js ***!
  \*******************************************/
/*! exports provided: TYPES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPES\", function() { return TYPES; });\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 TYPES = {\n  NEW: 'new',\n  SUCCESS: 'success',\n  WARNING: 'warning',\n  INFO: 'info',\n  ERROR: 'error'\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL05vdGljZS9jb25zdGFudHMuanM/YTA4MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IGNvbnN0IFRZUEVTID0ge1xuXHRORVc6ICduZXcnLFxuXHRTVUNDRVNTOiAnc3VjY2VzcycsXG5cdFdBUk5JTkc6ICd3YXJuaW5nJyxcblx0SU5GTzogJ2luZm8nLFxuXHRFUlJPUjogJ2Vycm9yJyxcbn07XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Notice/constants.js\n");

/***/ }),

/***/ "./js/components/Notice/index.js":
/*!***************************************!*\
  !*** ./js/components/Notice/index.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _Icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Icon */ \"./js/components/Notice/Icon.js\");\n/* harmony import */ var _Title__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Title */ \"./js/components/Notice/Title.js\");\n/* harmony import */ var _Description__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Description */ \"./js/components/Notice/Description.js\");\n/* harmony import */ var _CTAButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./CTAButton */ \"./js/components/Notice/CTAButton.js\");\n/* harmony import */ var _DismissButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./DismissButton */ \"./js/components/Notice/DismissButton.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./constants */ \"./js/components/Notice/constants.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_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 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\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nvar Notice = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"forwardRef\"])(function (_ref, ref) {\n  var className = _ref.className,\n    title = _ref.title,\n    description = _ref.description,\n    dismissButton = _ref.dismissButton,\n    ctaButton = _ref.ctaButton,\n    _ref$type = _ref.type,\n    type = _ref$type === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_9__[\"TYPES\"].INFO : _ref$type,\n    children = _ref.children,\n    hideIcon = _ref.hideIcon;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    ref: ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-notice', \"googlesitekit-notice--\".concat(type), className)\n  }, !hideIcon && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-notice__icon\"\n  }, /*#__PURE__*/React.createElement(_Icon__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    type: type\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-notice__content\"\n  }, title && /*#__PURE__*/React.createElement(_Title__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null, title), description && /*#__PURE__*/React.createElement(_Description__WEBPACK_IMPORTED_MODULE_6__[\"default\"], null, description)), ((dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.label) || (dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.onClick) || (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.label) && ((ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.onClick) || (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.href)) || children) && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-notice__action\"\n  }, children, ((dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.label) || (dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.onClick)) && /*#__PURE__*/React.createElement(_DismissButton__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    label: dismissButton.label,\n    onClick: dismissButton.onClick,\n    disabled: dismissButton.disabled\n  }), (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.label) && ((ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.onClick) || (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.href)) && /*#__PURE__*/React.createElement(_CTAButton__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    label: ctaButton.label,\n    onClick: ctaButton.onClick,\n    inProgress: ctaButton.inProgress,\n    disabled: ctaButton.disabled,\n    href: ctaButton.href,\n    external: ctaButton.external,\n    hideExternalIndicator: ctaButton.hideExternalIndicator\n  })));\n});\nNotice.TYPES = _constants__WEBPACK_IMPORTED_MODULE_9__[\"TYPES\"];\nNotice.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object]),\n  description: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node,\n  type: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf(Object.values(_constants__WEBPACK_IMPORTED_MODULE_9__[\"TYPES\"])),\n  dismissButton: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape(_DismissButton__WEBPACK_IMPORTED_MODULE_8__[\"default\"].propTypes),\n  ctaButton: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape(_objectSpread(_objectSpread({}, _CTAButton__WEBPACK_IMPORTED_MODULE_7__[\"default\"].propTypes), {}, {\n    label: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string // CTAButton label should not be required for this parent component.\n  })),\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node,\n  hideIcon: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Notice);\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/components/Notice/index.js\n");

/***/ }),

/***/ "./js/components/Null.js":
/*!*******************************!*\
  !*** ./js/components/Null.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 Null; });\n/**\n * Null component.\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\nfunction Null() {\n  return null;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL051bGwuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL051bGwuanM/YmIyMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIE51bGwgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gTnVsbCgpIHtcblx0cmV0dXJuIG51bGw7XG59XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Null.js\n");

/***/ }),

/***/ "./js/components/OverlayCard/Body.js":
/*!*******************************************!*\
  !*** ./js/components/OverlayCard/Body.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Body; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _Title__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Title */ \"./js/components/OverlayCard/Title.js\");\n/* harmony import */ var _Description__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Description */ \"./js/components/OverlayCard/Description.js\");\n/* harmony import */ var _DismissButton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./DismissButton */ \"./js/components/OverlayCard/DismissButton.js\");\n/* harmony import */ var _CTAButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./CTAButton */ \"./js/components/OverlayCard/CTAButton.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_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 * OverlayCard Body component.\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\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction Body(_ref) {\n  var title = _ref.title,\n    description = _ref.description,\n    ctaButton = _ref.ctaButton,\n    dismissButton = _ref.dismissButton,\n    GraphicDesktop = _ref.GraphicDesktop,\n    GraphicMobile = _ref.GraphicMobile;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_3__[\"useBreakpoint\"])();\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, breakpoint !== _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_3__[\"BREAKPOINT_SMALL\"] && GraphicDesktop && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-overlay-card__graphic\"\n  }, /*#__PURE__*/React.createElement(GraphicDesktop, null)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-overlay-card__body\"\n  }, title && /*#__PURE__*/React.createElement(_Title__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null, title), description && /*#__PURE__*/React.createElement(_Description__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null, description)), (ctaButton || dismissButton) && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-overlay-card__actions\"\n  }, dismissButton && /*#__PURE__*/React.createElement(_DismissButton__WEBPACK_IMPORTED_MODULE_6__[\"default\"], dismissButton), ctaButton && /*#__PURE__*/React.createElement(_CTAButton__WEBPACK_IMPORTED_MODULE_7__[\"default\"], ctaButton)), breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_3__[\"BREAKPOINT_SMALL\"] && GraphicMobile && /*#__PURE__*/React.createElement(GraphicMobile, null));\n}\nBody.propTypes = {\n  title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node,\n  ctaButton: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape(_objectSpread(_objectSpread({}, _DismissButton__WEBPACK_IMPORTED_MODULE_6__[\"buttonProps\"]), {}, {\n    href: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n    target: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n    trailingIcon: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element\n  })),\n  dismissButton: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape(_objectSpread({}, _DismissButton__WEBPACK_IMPORTED_MODULE_6__[\"buttonProps\"])),\n  GraphicDesktop: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType,\n  GraphicMobile: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL092ZXJsYXlDYXJkL0JvZHkuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL092ZXJsYXlDYXJkL0JvZHkuanM/OWQxMiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIE92ZXJsYXlDYXJkIEJvZHkgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29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YmlsZTogUHJvcFR5cGVzLmVsZW1lbnRUeXBlLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBT0E7QUFMQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUdBO0FBQUE7QUFLQTtBQUFBO0FBTUE7QUFBQTtBQVdBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUVBO0FBR0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/OverlayCard/Body.js\n");

/***/ }),

/***/ "./js/components/OverlayCard/CTAButton.js":
/*!************************************************!*\
  !*** ./js/components/OverlayCard/CTAButton.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CTAButton; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _DismissButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./DismissButton */ \"./js/components/OverlayCard/DismissButton.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_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 * OverlayCard CTAButton component.\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\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction CTAButton(props) {\n  var label = props.label,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(props, [\"label\"]);\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Button\"], otherProps, label);\n}\nCTAButton.propTypes = _objectSpread(_objectSpread({}, _DismissButton__WEBPACK_IMPORTED_MODULE_5__[\"buttonProps\"]), {}, {\n  href: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  target: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  trailingIcon: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL092ZXJsYXlDYXJkL0NUQUJ1dHRvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGF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3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgQnV0dG9uIH0gZnJvbSAnZ29vZ2xlc2l0ZWtpdC1jb21wb25lbnRzJztcbmltcG9ydCB7IGJ1dHRvblByb3BzIH0gZnJvbSAnLi9EaXNtaXNzQnV0dG9uJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gQ1RBQnV0dG9uKCBwcm9wcyApIHtcblx0Y29uc3QgeyBsYWJlbCwgLi4ub3RoZXJQcm9wcyB9ID0gcHJvcHM7XG5cblx0cmV0dXJuIDxCdXR0b24geyAuLi5vdGhlclByb3BzIH0+eyBsYWJlbCB9PC9CdXR0b24+O1xufVxuXG5DVEFCdXR0b24ucHJvcFR5cGVzID0ge1xuXHQuLi5idXR0b25Qcm9wcyxcblx0aHJlZjogUHJvcFR5cGVzLnN0cmluZyxcblx0dGFyZ2V0OiBQcm9wVHlwZXMuc3RyaW5nLFxuXHR0cmFpbGluZ0ljb246IFByb3BUeXBlcy5vYmplY3QsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/OverlayCard/CTAButton.js\n");

/***/ }),

/***/ "./js/components/OverlayCard/Description.js":
/*!**************************************************!*\
  !*** ./js/components/OverlayCard/Description.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Description; });\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 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\n/**\n * OverlayCard Description component.\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\n/**\n * External dependencies\n */\n\nfunction Description(_ref) {\n  var children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-overlay-card__description\"\n  }, children);\n}\nDescription.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL092ZXJsYXlDYXJkL0Rlc2NyaXB0aW9uLmpzLmpzIi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lbmRlbmNpZXNcbiAqL1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRGVzY3JpcHRpb24oIHsgY2hpbGRyZW4gfSApIHtcblx0cmV0dXJuIChcblx0XHQ8cCBjbGFzc05hbWU9XCJnb29nbGVzaXRla2l0LW92ZXJsYXktY2FyZF9fZGVzY3JpcHRpb25cIj57IGNoaWxkcmVuIH08L3A+XG5cdCk7XG59XG5cbkRlc2NyaXB0aW9uLnByb3BUeXBlcyA9IHtcblx0Y2hpbGRyZW46IFByb3BUeXBlcy5ub2RlLmlzUmVxdWlyZWQsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/OverlayCard/Description.js\n");

/***/ }),

/***/ "./js/components/OverlayCard/DismissButton.js":
/*!****************************************************!*\
  !*** ./js/components/OverlayCard/DismissButton.js ***!
  \****************************************************/
/*! exports provided: default, buttonProps */
/***/ (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__, \"default\", function() { return DismissButton; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"buttonProps\", function() { return buttonProps; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n\n/**\n * OverlayCard DismissButton component.\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\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nfunction DismissButton(_ref) {\n  var _ref$label = _ref.label,\n    label = _ref$label === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Maybe later', 'google-site-kit') : _ref$label,\n    onClick = _ref.onClick,\n    disabled = _ref.disabled;\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    onClick: onClick,\n    disabled: disabled,\n    tertiary: true\n  }, label);\n}\nvar buttonProps = {\n  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\nDismissButton.propTypes = buttonProps;\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL092ZXJsYXlDYXJkL0Rpc21pc3NCdXR0b24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL092ZXJsYXlDYXJkL0Rpc21pc3NCdXR0b24uanM/MTkzNyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIE92ZXJsYXlDYXJkIERpc21pc3NCdXR0b24gY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBh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29uc3QgYnV0dG9uUHJvcHMgPSB7XG5cdGxhYmVsOiBQcm9wVHlwZXMuc3RyaW5nLFxuXHRvbkNsaWNrOiBQcm9wVHlwZXMuZnVuYyxcblx0ZGlzYWJsZWQ6IFByb3BUeXBlcy5ib29sLFxufTtcblxuRGlzbWlzc0J1dHRvbi5wcm9wVHlwZXMgPSBidXR0b25Qcm9wcztcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFJQTtBQUhBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/OverlayCard/DismissButton.js\n");

/***/ }),

/***/ "./js/components/OverlayCard/Title.js":
/*!********************************************!*\
  !*** ./js/components/OverlayCard/Title.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Title; });\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 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 _js_components_Typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * OverlayCard Title component.\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\n/**\n * External dependencies\n */\n\n\nfunction Title(_ref) {\n  var children = _ref.children;\n  return /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    as: \"h3\",\n    size: \"medium\",\n    type: \"title\",\n    className: \"googlesitekit-overlay-card__title\"\n  }, children);\n}\nTitle.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL092ZXJsYXlDYXJkL1RpdGxlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9PdmVybGF5Q2FyZC9UaXRsZS5qcz9hZmNiIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogT3ZlcmxheUNhcmQgVGl0bGUgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZ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0cmV0dXJuIChcblx0XHQ8VHlwb2dyYXBoeVxuXHRcdFx0YXM9XCJoM1wiXG5cdFx0XHRzaXplPVwibWVkaXVtXCJcblx0XHRcdHR5cGU9XCJ0aXRsZVwiXG5cdFx0XHRjbGFzc05hbWU9XCJnb29nbGVzaXRla2l0LW92ZXJsYXktY2FyZF9fdGl0bGVcIlxuXHRcdD5cblx0XHRcdHsgY2hpbGRyZW4gfVxuXHRcdDwvVHlwb2dyYXBoeT5cblx0KTtcbn1cblxuVGl0bGUucHJvcFR5cGVzID0ge1xuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUuaXNSZXF1aXJlZCxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUtBO0FBRUE7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/OverlayCard/Title.js\n");

/***/ }),

/***/ "./js/components/OverlayCard/index.js":
/*!********************************************!*\
  !*** ./js/components/OverlayCard/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return OverlayCard; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material-ui/core */ \"../node_modules/@material-ui/core/esm/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _Body__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Body */ \"./js/components/OverlayCard/Body.js\");\n/* harmony import */ var _DismissButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./DismissButton */ \"./js/components/OverlayCard/DismissButton.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_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 * OverlayCard component.\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\n/**\n * External dependencies\n */\n\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction OverlayCard(props) {\n  var visible = props.visible,\n    className = props.className,\n    cardProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(props, [\"visible\", \"className\"]);\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__[\"useBreakpoint\"])();\n  if (!visible) {\n    return null;\n  }\n  var body = /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()('googlesitekit-overlay-card', className)\n  }, /*#__PURE__*/React.createElement(_Body__WEBPACK_IMPORTED_MODULE_7__[\"default\"], cardProps));\n  if (breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__[\"BREAKPOINT_SMALL\"]) {\n    return body;\n  }\n  return /*#__PURE__*/React.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_3__[\"Slide\"], {\n    direction: \"up\",\n    in: visible\n  }, body);\n}\nOverlayCard.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object]),\n  ctaButton: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.shape(_objectSpread(_objectSpread({}, _DismissButton__WEBPACK_IMPORTED_MODULE_8__[\"buttonProps\"]), {}, {\n    href: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n    target: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n    trailingIcon: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object\n  })),\n  dismissButton: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.shape(_DismissButton__WEBPACK_IMPORTED_MODULE_8__[\"buttonProps\"]),\n  GraphicDesktop: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType,\n  GraphicMobile: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType,\n  visible: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool\n};\nOverlayCard.defaultProps = {\n  visible: false\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,eyJ2ZXJzaW9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O0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFBQTtBQU1BO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUFBO0FBSUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/OverlayCard/index.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\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 react_use__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n\n/**\n * Portal component.\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\nfunction Portal(_ref) {\n  var children = _ref.children,\n    slug = _ref.slug;\n  // Using state as we need `el` to not change when the component re-renders\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(document.createElement('div')),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 1),\n    el = _useState2[0];\n  Object(react_use__WEBPACK_IMPORTED_MODULE_1__[\"useEffectOnce\"])(function () {\n    if (slug) {\n      el.classList.add(\"googlesitekit-portal-\".concat(slug));\n    }\n    var root = document.querySelector('.googlesitekit-plugin') || document.body;\n    root.appendChild(el);\n    return function () {\n      return root.removeChild(el);\n    };\n  });\n  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"createPortal\"])(children, el);\n}\nPortal.propTypes = {\n  slug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\n};\nPortal.defaultProps = {\n  slug: '',\n  children: null\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Portal);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1BvcnRhbC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvUG9ydGFs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G5leHBvcnQgZGVmYXVsdCBQb3J0YWw7XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/Portal.js\n");

/***/ }),

/***/ "./js/components/PreviewBlock.js":
/*!***************************************!*\
  !*** ./js/components/PreviewBlock.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n\n\n/**\n * PreviewBlock component.\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\nfunction PreviewBlock(_ref) {\n  var _width, _height;\n  var className = _ref.className,\n    width = _ref.width,\n    height = _ref.height,\n    shape = _ref.shape,\n    padding = _ref.padding,\n    smallWidth = _ref.smallWidth,\n    smallHeight = _ref.smallHeight,\n    tabletWidth = _ref.tabletWidth,\n    tabletHeight = _ref.tabletHeight,\n    desktopWidth = _ref.desktopWidth,\n    desktopHeight = _ref.desktopHeight;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"useBreakpoint\"])();\n  var blockDimensions = {\n    width: (_width = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_width, _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"], smallWidth), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_width, _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_TABLET\"], tabletWidth), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_width, _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_DESKTOP\"], desktopWidth), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_width, _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_XLARGE\"], desktopWidth), _width),\n    height: (_height = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_height, _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"], smallHeight), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_height, _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_TABLET\"], tabletHeight), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_height, _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_DESKTOP\"], desktopHeight), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_height, _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_XLARGE\"], desktopWidth), _height)\n  };\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-preview-block', className, {\n      'googlesitekit-preview-block--padding': padding\n    }),\n    style: {\n      width: blockDimensions.width[breakpoint] || width,\n      height: blockDimensions.height[breakpoint] || height\n    }\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-preview-block__wrapper', {\n      'googlesitekit-preview-block__wrapper--circle': shape === 'circular'\n    })\n  }));\n}\nPreviewBlock.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  width: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  height: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  shape: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  padding: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  smallWidth: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  smallHeight: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  tabletWidth: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  tabletHeight: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  desktopWidth: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  desktopHeight: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string\n};\nPreviewBlock.defaultProps = {\n  className: undefined,\n  width: '100px',\n  height: '100px',\n  shape: 'square',\n  padding: false,\n  smallWidth: undefined,\n  smallHeight: undefined,\n  tabletWidth: undefined,\n  tabletHeight: undefined,\n  desktopWidth: undefined,\n  desktopHeight: undefined\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (PreviewBlock);\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/components/PreviewBlock.js\n");

/***/ }),

/***/ "./js/components/PreviewTable.js":
/*!***************************************!*\
  !*** ./js/components/PreviewTable.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/* harmony import */ var _PreviewBlock__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./PreviewBlock */ \"./js/components/PreviewBlock.js\");\n\n/**\n * PreviewTable component.\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\nfunction PreviewTable(_ref) {\n  var rows = _ref.rows,\n    rowHeight = _ref.rowHeight,\n    padding = _ref.padding;\n  var rowData = [];\n  for (var x = 0; rows > x; x++) {\n    rowData.push(/*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-preview-table__row\",\n      key: 'table-row-' + x\n    }, /*#__PURE__*/React.createElement(_PreviewBlock__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      width: \"100%\",\n      height: rowHeight + 'px'\n    })));\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-preview-table', {\n      'googlesitekit-preview-table--padding': padding\n    })\n  }, rowData);\n}\nPreviewTable.propTypes = {\n  rows: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  rowHeight: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  padding: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\nPreviewTable.defaultProps = {\n  rows: 11,\n  rowHeight: 35,\n  padding: false\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (PreviewTable);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1ByZXZpZXdUYWJsZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvUHJldmlld1RhYmxlLmpzPzg4OTciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBQcmV2aWV3VGFibGUgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9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E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUFBO0FBS0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/PreviewTable.js\n");

/***/ }),

/***/ "./js/components/RecoverableModules.js":
/*!*********************************************!*\
  !*** ./js/components/RecoverableModules.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return RecoverableModules; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _notifications_CTA__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./notifications/CTA */ \"./js/components/notifications/CTA.js\");\n\n/**\n * RecoverableModules component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction RecoverableModules(_ref) {\n  var moduleSlugs = _ref.moduleSlugs;\n  var moduleNames = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    var modules = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModules();\n    if (modules === undefined) {\n      return undefined;\n    }\n    return moduleSlugs.map(function (moduleSlug) {\n      return modules[moduleSlug].name;\n    });\n  });\n  if (moduleNames === undefined) {\n    return null;\n  }\n  var description = moduleNames.length === 1 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Module name */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.', 'google-site-kit'), moduleNames[0]) : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: List of module names */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.', 'google-site-kit'), moduleNames.join(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"_x\"])(', ', 'Recoverable modules', 'google-site-kit')));\n  return /*#__PURE__*/React.createElement(_notifications_CTA__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Data Unavailable', 'google-site-kit'),\n    description: description\n  });\n}\nRecoverableModules.propTypes = {\n  moduleSlugs: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string).isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1JlY292ZXJhYmxlTW9kdWxlcy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvUmVjb3ZlcmFibGVNb2R1bGVzLmpzPzljNjYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBSZWNvdmVyYWJsZU1vZHVsZXMgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2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E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUlBO0FBUUE7QUFTQTtBQUVBO0FBQ0E7QUFBQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/RecoverableModules.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* 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_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _ModalDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ModalDialog */ \"./js/components/ModalDialog.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_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 * ModalDialog component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n// Use a singleton variable to store the clicked element before any dialog opens.\n// We need to do this at the module level since the component may not be mounted\n// when the user initiates an action that will open the dialog.\nvar previouslyClickedElement = null;\n\n// Set up a global event listener to capture the clicked element before any dialog opens.\n// This needs to happen at the module level to ensure it's set up before any user interaction.\nfunction setupFocusTracker() {\n  if (typeof global === 'undefined' || !global.document || global._googlesitekitModalFocusTrackerInitialized) {\n    return;\n  }\n  function captureActiveElementOnClick(event) {\n    // Store the clicked (or keyboard-activated) element when user clicks.\n    // This will be the element that was clicked right before the dialog opens.\n    var nearestParentButtonOrAnchor = event.target.closest('button, a, input');\n    if (nearestParentButtonOrAnchor && !nearestParentButtonOrAnchor.classList.contains('mdc-dialog__cancel-button')) {\n      previouslyClickedElement = nearestParentButtonOrAnchor;\n    }\n  }\n  global.document.addEventListener('mousedown', captureActiveElementOnClick);\n  global.document.addEventListener('keydown', function (event) {\n    if (event.key === 'Enter' || event.key === ' ') {\n      captureActiveElementOnClick(event);\n    }\n  });\n  global._googlesitekitModalFocusTrackerInitialized = true;\n}\nsetupFocusTracker();\nfunction RefocusableModalDialog(_ref) {\n  var _ref$dialogActive = _ref.dialogActive,\n    dialogActive = _ref$dialogActive === void 0 ? false : _ref$dialogActive,\n    _ref$refocusQuerySele = _ref.refocusQuerySelector,\n    refocusQuerySelector = _ref$refocusQuerySele === void 0 ? null : _ref$refocusQuerySele,\n    modalDialogProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(_ref, [\"dialogActive\", \"refocusQuerySelector\"]);\n  var handleElementRefocus = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(function () {\n    setTimeout(function () {\n      var elementToFocus = refocusQuerySelector ? document.querySelector(refocusQuerySelector) : previouslyClickedElement;\n      if (elementToFocus && document.body.contains(elementToFocus)) {\n        elementToFocus.focus();\n      }\n      if (!refocusQuerySelector) {\n        previouslyClickedElement = null;\n      }\n    });\n  }, [refocusQuerySelector]);\n  var previousDialogActive = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__[\"usePrevious\"])(dialogActive);\n  // Handle re-focus of the button which triggered the modal.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (previousDialogActive === true && dialogActive === false) {\n      handleElementRefocus();\n    }\n    return function () {\n      // In majority of cases the modal is conditionally rendered, so dialogActive\n      // will not be passed, as component will be unmounted/removed from the DOM.\n      handleElementRefocus();\n    };\n  }, [previousDialogActive, dialogActive, handleElementRefocus]);\n  return /*#__PURE__*/React.createElement(_ModalDialog__WEBPACK_IMPORTED_MODULE_7__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({\n    dialogActive: dialogActive\n  }, modalDialogProps));\n}\nRefocusableModalDialog.propTypes = _objectSpread({\n  dialogActive: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  refocusQuerySelector: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string\n}, googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"Dialog\"].propTypes);\n/* harmony default export */ __webpack_exports__[\"default\"] = (RefocusableModalDialog);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/components/RefocusableModalDialog.js\n");

/***/ }),

/***/ "./js/components/ReportError.js":
/*!**************************************!*\
  !*** ./js/components/ReportError.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ReportError; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_util_insufficient_permissions_error_description__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util/insufficient-permissions-error-description */ \"./js/util/insufficient-permissions-error-description.js\");\n/* harmony import */ var _js_util_purify__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util/purify */ \"./js/util/purify.js\");\n/* harmony import */ var _notifications_CTA__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./notifications/CTA */ \"./js/components/notifications/CTA.js\");\n/* harmony import */ var _ReportErrorActions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ReportErrorActions */ \"./js/components/ReportErrorActions.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _ErrorNotice__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ErrorNotice */ \"./js/components/ErrorNotice.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_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 * ReportError component.\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\n\n\n\n\n\nfunction ReportError(_ref) {\n  var moduleSlug = _ref.moduleSlug,\n    error = _ref.error;\n  var isViewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_12__[\"default\"])();\n  var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_MODULES\"]).getModule(moduleSlug);\n  });\n  var errors = Array.isArray(error) ? error : [error];\n  var title;\n  function getMessage(err) {\n    if (Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_7__[\"isInsufficientPermissionsError\"])(err)) {\n      if (isViewOnly) {\n        title = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %s: module name */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Access lost to %s', 'google-site-kit'), module === null || module === void 0 ? void 0 : module.name);\n        return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %s: module name */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.', 'google-site-kit'), module === null || module === void 0 ? void 0 : module.name);\n      }\n      title = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %s: module name */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Insufficient permissions in %s', 'google-site-kit'), module === null || module === void 0 ? void 0 : module.name);\n      return Object(_js_util_insufficient_permissions_error_description__WEBPACK_IMPORTED_MODULE_8__[\"getInsufficientPermissionsErrorDescription\"])(err.message, module);\n    }\n    return Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_7__[\"getReportErrorMessage\"])(err);\n  }\n  var uniqueErrors = Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"uniqWith\"])(errors.map(function (err) {\n    var _err$data;\n    return _objectSpread(_objectSpread({}, err), {}, {\n      message: getMessage(err),\n      reconnectURL: (_err$data = err.data) === null || _err$data === void 0 ? void 0 : _err$data.reconnectURL\n    });\n  }), function (errorA, errorB) {\n    return errorA.message === errorB.message && errorA.reconnectURL === errorB.reconnectURL;\n  });\n  var hasInsufficientPermissionsError = errors.some(function (err) {\n    return Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_7__[\"isInsufficientPermissionsError\"])(err);\n  });\n  if (!hasInsufficientPermissionsError && uniqueErrors.length === 1) {\n    title = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %s: module name */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Data error in %s', 'google-site-kit'), module === null || module === void 0 ? void 0 : module.name);\n  } else if (!hasInsufficientPermissionsError && uniqueErrors.length > 1) {\n    title = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %s: module name */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Data errors in %s', 'google-site-kit'), module === null || module === void 0 ? void 0 : module.name);\n  }\n  var description = /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, uniqueErrors.map(function (errorForNotice) {\n    var _errorForNotice$data;\n    var reconnectURL = errorForNotice === null || errorForNotice === void 0 ? void 0 : (_errorForNotice$data = errorForNotice.data) === null || _errorForNotice$data === void 0 ? void 0 : _errorForNotice$data.reconnectURL;\n    return reconnectURL ? /*#__PURE__*/React.createElement(_ErrorNotice__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      key: errorForNotice.message,\n      error: errorForNotice,\n      message: errorForNotice.message\n    }) : /*#__PURE__*/React.createElement(\"p\", {\n      key: errorForNotice.message\n    }, _js_util_purify__WEBPACK_IMPORTED_MODULE_9__[\"purify\"].sanitize(errorForNotice.message, {\n      // Ensures no HTML tags are passed as they would be\n      // escaped by React and appear as strings.\n      ALLOWED_TAGS: []\n    }));\n  }));\n  return /*#__PURE__*/React.createElement(_notifications_CTA__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    title: title,\n    description: description,\n    error: true\n  }, /*#__PURE__*/React.createElement(_ReportErrorActions__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    moduleSlug: moduleSlug,\n    error: error\n  }));\n}\nReportError.propTypes = {\n  moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  error: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object]).isRequired\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/components/ReportError.js\n");

/***/ }),

/***/ "./js/components/ReportErrorActions.js":
/*!*********************************************!*\
  !*** ./js/components/ReportErrorActions.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ReportErrorActions; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__);\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/* 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_util_errors__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.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_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 * ReportErrorActions component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction ReportErrorActions(props) {\n  var moduleSlug = props.moduleSlug,\n    error = props.error,\n    GetHelpLink = props.GetHelpLink,\n    hideGetHelpLink = props.hideGetHelpLink,\n    buttonVariant = props.buttonVariant,\n    onRetry = props.onRetry,\n    onRequestAccess = props.onRequestAccess,\n    getHelpClassName = props.getHelpClassName,\n    RequestAccessButton = props.RequestAccessButton,\n    RetryButton = props.RetryButton;\n  var isViewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var storeName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_MODULES\"]).getModuleStoreName(moduleSlug);\n  });\n  var requestAccessURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var _select;\n    return typeof ((_select = select(storeName)) === null || _select === void 0 ? void 0 : _select.getServiceEntityAccessURL) === 'function' ? select(storeName).getServiceEntityAccessURL() : null;\n  });\n  var errors = Array.isArray(error) ? error : [error];\n  var errorsWithSelectorData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return errors.map(function (err) {\n      var _select2;\n      var selectorData = (_select2 = select(storeName)) === null || _select2 === void 0 ? void 0 : _select2.getSelectorDataForError(err);\n      return _objectSpread(_objectSpread({}, err), {}, {\n        selectorData: selectorData\n      });\n    });\n  });\n  var retryableErrors = errorsWithSelectorData === null || errorsWithSelectorData === void 0 ? void 0 : errorsWithSelectorData.filter(function (err) {\n    return Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_8__[\"isErrorRetryable\"])(err, err.selectorData) && err.selectorData.name === 'getReport';\n  });\n  var showRetry = !!retryableErrors.length;\n  var errorTroubleshootingLinkURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var err = _objectSpread({}, showRetry ? retryableErrors[0] : errors[0]);\n    if (Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_8__[\"isInsufficientPermissionsError\"])(err)) {\n      err.code = \"\".concat(moduleSlug, \"_insufficient_permissions\");\n    }\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getErrorTroubleshootingLinkURL(err);\n  });\n  var dispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])();\n  var hasInsufficientPermissionsError = errors.some(function (err) {\n    return Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_8__[\"isInsufficientPermissionsError\"])(err);\n  });\n  var handleRetry = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    retryableErrors.forEach(function (err) {\n      var selectorData = err.selectorData;\n      dispatch(selectorData.storeName).invalidateResolution(selectorData.name, selectorData.args);\n    });\n    onRetry === null || onRetry === void 0 ? void 0 : onRetry();\n  }, [dispatch, retryableErrors, onRetry]);\n  var showRequestAccessURL = requestAccessURL && hasInsufficientPermissionsError && !isViewOnly;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-report-error-actions\"\n  }, showRequestAccessURL && (typeof RequestAccessButton === 'function' ? /*#__PURE__*/React.createElement(RequestAccessButton, {\n    requestAccessURL: requestAccessURL\n  }) : /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"Button\"], {\n    onClick: onRequestAccess,\n    href: requestAccessURL,\n    target: \"_blank\",\n    danger: buttonVariant === 'danger',\n    tertiary: buttonVariant === 'tertiary'\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Request access', 'google-site-kit'))), showRetry && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, typeof RetryButton === 'function' ? /*#__PURE__*/React.createElement(RetryButton, {\n    handleRetry: handleRetry\n  }) : /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"Button\"], {\n    onClick: handleRetry,\n    danger: buttonVariant === 'danger',\n    tertiary: buttonVariant === 'tertiary'\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Retry', 'google-site-kit')), !hideGetHelpLink && /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-error-retry-text\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Retry didn’t work? <HelpLink />', 'google-site-kit'), {\n    HelpLink: /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      href: errorTroubleshootingLinkURL,\n      external: true,\n      hideExternalIndicator: true\n    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Get help', 'google-site-kit'))\n  }))), !showRetry && !hideGetHelpLink && /*#__PURE__*/React.createElement(\"div\", {\n    className: getHelpClassName\n  }, typeof GetHelpLink === 'function' ? /*#__PURE__*/React.createElement(GetHelpLink, {\n    linkURL: errorTroubleshootingLinkURL\n  }) : /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    href: errorTroubleshootingLinkURL,\n    external: true,\n    hideExternalIndicator: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Get help', 'google-site-kit'))));\n}\nReportErrorActions.propTypes = {\n  moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  error: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object]).isRequired,\n  GetHelpLink: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType,\n  hideGetHelpLink: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  buttonVariant: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  onRetry: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func,\n  onRequestAccess: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func,\n  getHelpClassName: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  RequestAccessButton: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType,\n  RetryButton: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType\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/components/ReportErrorActions.js\n");

/***/ }),

/***/ "./js/components/ReportErrorButton/index.js":
/*!**************************************************!*\
  !*** ./js/components/ReportErrorButton/index.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var clipboard_copy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clipboard-copy */ \"../node_modules/clipboard-copy/index.js\");\n/* harmony import */ var clipboard_copy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(clipboard_copy__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ \"../node_modules/@wordpress/icons/build-module/index.js\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__);\n\n\n/**\n * ReportErrorButton component.\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/**\n * WordPress dependencies\n */\n\n\n\n\n/**\n * Internal dependencies\n */\n\nfunction ReportErrorButton(_ref) {\n  var message = _ref.message,\n    componentStack = _ref.componentStack;\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n    copied = _useState2[0],\n    setCopied = _useState2[1];\n  function onErrorClick() {\n    // Copy message with wrapping backticks for code block formatting on wp.org.\n    clipboard_copy__WEBPACK_IMPORTED_MODULE_2___default()(\"```\\n\".concat(message, \"\\n\").concat(componentStack, \"\\n```\"));\n    setCopied(true);\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"Button\"], {\n    \"aria-label\": copied ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Error message copied to clipboard. Click to copy the error message again.', 'google-site-kit') : undefined,\n    onClick: onErrorClick,\n    trailingIcon: /*#__PURE__*/React.createElement(_wordpress_icons__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"], {\n      className: \"mdc-button__icon\",\n      icon: copied ? _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__[\"check\"] : _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__[\"stack\"]\n    })\n  }, copied ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Copied to clipboard', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Copy error contents', 'google-site-kit'));\n}\nReportErrorButton.propTypes = {\n  message: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  componentStack: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ReportErrorButton);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1JlcG9ydEVycm9yQnV0dG9uL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9SZXBvcnRFcnJvckJ1dHRvbi9pbmRleC5qcz81OWM2Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogUmVwb3J0RXJyb3JCdXR0b24gY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vu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0FBQ0E7QUFFQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/ReportErrorButton/index.js\n");

/***/ }),

/***/ "./js/components/ReportTable.js":
/*!**************************************!*\
  !*** ./js/components/ReportTable.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ReportTable; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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/* 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 prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _GatheringDataNotice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./GatheringDataNotice */ \"./js/components/GatheringDataNotice.js\");\n\n\n/**\n * Report Table component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies.\n */\n\n\nfunction ReportTable(props) {\n  var rows = props.rows,\n    columns = props.columns,\n    className = props.className,\n    limit = props.limit,\n    ZeroState = props.zeroState,\n    _props$gatheringData = props.gatheringData,\n    gatheringData = _props$gatheringData === void 0 ? false : _props$gatheringData,\n    _props$tabbedLayout = props.tabbedLayout,\n    tabbedLayout = _props$tabbedLayout === void 0 ? false : _props$tabbedLayout;\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(Array.isArray(rows), 'rows must be an array.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(Array.isArray(columns), 'columns must be an array.');\n  columns.forEach(function (_ref) {\n    var Component = _ref.Component,\n      _ref$field = _ref.field,\n      field = _ref$field === void 0 ? null : _ref$field;\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(Component || field !== null, 'each column must define a Component and/or a field.');\n  });\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(Number.isInteger(limit) || limit === undefined, 'limit must be an integer, if provided.');\n  var hasBadges = columns.some(function (_ref2) {\n    var badge = _ref2.badge;\n    return !!badge;\n  });\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(0),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n    activeColumnIndex = _useState2[0],\n    setActiveColumnIndex = _useState2[1]; // The first column is expected to be the row title or label, which will always be\n  // shown so we exclude it from the tab list.\n  var tabColumns = tabbedLayout && columns.slice(1);\n  var contentColumns = tabbedLayout ? [columns[0], tabColumns[activeColumnIndex]] : columns;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: className\n  }, tabbedLayout && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"TabBar\"], {\n    className: \"googlesitekit-tab-bar--start-aligned-high-contrast\",\n    activeIndex: activeColumnIndex,\n    handleActiveIndexUpdate: setActiveColumnIndex\n  }, tabColumns.map(function (_ref3) {\n    var title = _ref3.title,\n      badge = _ref3.badge;\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"Tab\"], {\n      key: title,\n      \"aria-label\": title\n    }, title, badge);\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-table', 'googlesitekit-table--with-list', {\n      'googlesitekit-table--gathering-data': gatheringData\n    })\n  }, /*#__PURE__*/React.createElement(\"table\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-table__wrapper', \"googlesitekit-table__wrapper--\".concat(contentColumns.length, \"-col\"), {\n      'googlesitekit-table__wrapper--tabbed-layout': tabbedLayout\n    })\n  }, !tabbedLayout && /*#__PURE__*/React.createElement(\"thead\", {\n    className: \"googlesitekit-table__head\"\n  }, hasBadges && /*#__PURE__*/React.createElement(\"tr\", {\n    className: \"googlesitekit-table__head-badges\"\n  }, columns.map(function (_ref4, colIndex) {\n    var badge = _ref4.badge,\n      primary = _ref4.primary,\n      columnClassName = _ref4.className,\n      columnHeaderClassName = _ref4.columnHeaderClassName;\n    return /*#__PURE__*/React.createElement(\"th\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-table__head-item', 'googlesitekit-table__head-item--badge', {\n        'googlesitekit-table__head-item--primary': primary\n      }, columnClassName, columnHeaderClassName),\n      key: \"googlesitekit-table__head-row-badge-\".concat(colIndex)\n    }, badge);\n  })), /*#__PURE__*/React.createElement(\"tr\", {\n    className: \"googlesitekit-table__head-row\"\n  }, columns.map(function (_ref5, colIndex) {\n    var title = _ref5.title,\n      description = _ref5.description,\n      primary = _ref5.primary,\n      columnClassName = _ref5.className,\n      columnHeaderClassName = _ref5.columnHeaderClassName;\n    return /*#__PURE__*/React.createElement(\"th\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-table__head-item', {\n        'googlesitekit-table__head-item--primary': primary\n      }, columnClassName, columnHeaderClassName),\n      \"data-tooltip\": description,\n      key: \"googlesitekit-table__head-row-\".concat(colIndex)\n    }, title);\n  }))), /*#__PURE__*/React.createElement(\"tbody\", {\n    className: \"googlesitekit-table__body\"\n  }, gatheringData && /*#__PURE__*/React.createElement(\"tr\", {\n    className: \"googlesitekit-table__body-row googlesitekit-table__body-row--no-data\"\n  }, /*#__PURE__*/React.createElement(\"td\", {\n    className: \"googlesitekit-table__body-item\",\n    colSpan: contentColumns.length\n  }, /*#__PURE__*/React.createElement(_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null))), !gatheringData && !(rows === null || rows === void 0 ? void 0 : rows.length) && ZeroState && /*#__PURE__*/React.createElement(\"tr\", {\n    className: \"googlesitekit-table__body-row googlesitekit-table__body-row--no-data\"\n  }, /*#__PURE__*/React.createElement(\"td\", {\n    className: \"googlesitekit-table__body-item\",\n    colSpan: contentColumns.length\n  }, /*#__PURE__*/React.createElement(ZeroState, null))), !gatheringData && rows.slice(0, limit).map(function (row, rowIndex) {\n    return /*#__PURE__*/React.createElement(\"tr\", {\n      className: \"googlesitekit-table__body-row\",\n      key: \"googlesitekit-table__body-row-\".concat(rowIndex)\n    }, contentColumns.map(function (_ref6, colIndex) {\n      var Component = _ref6.Component,\n        field = _ref6.field,\n        columnClassName = _ref6.className;\n      var fieldValue = field !== undefined ? Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"get\"])(row, field) : undefined;\n      return /*#__PURE__*/React.createElement(\"td\", {\n        key: \"googlesitekit-table__body-item-\".concat(colIndex),\n        className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-table__body-item', columnClassName)\n      }, /*#__PURE__*/React.createElement(\"div\", {\n        className: \"googlesitekit-table__body-item-content\"\n      }, Component && /*#__PURE__*/React.createElement(Component, {\n        row: row,\n        fieldValue: fieldValue\n      }), !Component && fieldValue));\n    }));\n  })))));\n}\nReportTable.propTypes = {\n  rows: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object])).isRequired,\n  columns: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.shape({\n    title: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n    description: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n    primary: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n    className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n    field: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n    Component: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType,\n    badge: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node\n  })).isRequired,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  limit: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  zeroState: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func,\n  gatheringData: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  tabbedLayout: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool\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/components/ReportTable.js\n");

/***/ }),

/***/ "./js/components/ReportZero.js":
/*!*************************************!*\
  !*** ./js/components/ReportZero.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ReportZero; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _notifications_CTA__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./notifications/CTA */ \"./js/components/notifications/CTA.js\");\n\n/**\n * ReportZero component.\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\nfunction ReportZero(_ref) {\n  var moduleSlug = _ref.moduleSlug;\n  var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModule(moduleSlug);\n  });\n  return /*#__PURE__*/React.createElement(_notifications_CTA__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Module name */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s Gathering Data', 'google-site-kit'), module === null || module === void 0 ? void 0 : module.name),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Module name */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s data is not yet available, please check back later', 'google-site-kit'), module === null || module === void 0 ? void 0 : module.name)\n  });\n}\nReportZero.propTypes = {\n  moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1JlcG9ydFplcm8uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1JlcG9ydFplcm8uanM/Y2ZmYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcG9ydFplcm8gY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiB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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUdBO0FBRUE7QUFFQTtBQUdBO0FBRUE7QUFLQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/ReportZero.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Consumer\", function() { return Consumer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Provider\", function() { return Provider; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/**\n * View Context context for React components.\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\nvar ViewContextContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createContext\"])('');\nvar Consumer = ViewContextContext.Consumer,\n  Provider = ViewContextContext.Provider;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (ViewContextContext);//# sourceURL=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3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIFdvcmRQcmVzcyBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgY3JlYXRlQ29udGV4dCB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlbWVudCc7XG5cbmNvbnN0IFZpZXdDb250ZXh0Q29udGV4dCA9IGNyZWF0ZUNvbnRleHQoICcnICk7XG5cbmV4cG9ydCBjb25zdCB7IENvbnN1bWVyLCBQcm92aWRlciB9ID0gVmlld0NvbnRleHRDb250ZXh0O1xuXG5leHBvcnQgZGVmYXVsdCBWaWV3Q29udGV4dENvbnRleHQ7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBRUE7QUFBQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Root/ViewContextContext.js\n");

/***/ }),

/***/ "./js/components/SelectionBox.js":
/*!***************************************!*\
  !*** ./js/components/SelectionBox.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SelectionBox; });\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 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/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n\n/**\n * SelectionBox component.\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/**\n * Internal dependencies\n */\n\nfunction SelectionBox(_ref) {\n  var badge = _ref.badge,\n    checked = _ref.checked,\n    children = _ref.children,\n    disabled = _ref.disabled,\n    id = _ref.id,\n    onChange = _ref.onChange,\n    title = _ref.title,\n    value = _ref.value;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-selection-box', {\n      'googlesitekit-selection-box--disabled': disabled\n    })\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Checkbox\"], {\n    checked: checked,\n    description: children,\n    disabled: disabled,\n    id: id,\n    name: id,\n    onChange: onChange,\n    value: value,\n    badge: badge\n  }, title));\n}\nSelectionBox.propTypes = {\n  badge: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n  checked: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  value: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NlbGVjdGlvbkJveC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvU2VsZWN0aW9uQm94LmpzPzcwZWUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTZWxlY3Rpb25Cb3ggY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlI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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFTQTtBQVBBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQU1BO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/SelectionBox.js\n");

/***/ }),

/***/ "./js/components/SelectionPanel/SelectionPanel.js":
/*!********************************************************!*\
  !*** ./js/components/SelectionPanel/SelectionPanel.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SelectionPanel; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_components_SideSheet__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/SideSheet */ \"./js/components/SideSheet.js\");\n\n/**\n * Selection Panel component.\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\nfunction SelectionPanel(_ref) {\n  var children = _ref.children,\n    isOpen = _ref.isOpen,\n    isLoading = _ref.isLoading,\n    onOpen = _ref.onOpen,\n    closePanel = _ref.closePanel,\n    className = _ref.className;\n  var classNameSelector = className === null || className === void 0 ? void 0 : className.split(/\\s+/).map(function (name) {\n    return \".\".concat(name);\n  }).join('');\n  var initialFocus = classNameSelector ? \"\".concat(classNameSelector, \" .googlesitekit-selection-panel-item .googlesitekit-selection-box input\") : '.googlesitekit-selection-panel-item .googlesitekit-selection-box input';\n  return /*#__PURE__*/React.createElement(_js_components_SideSheet__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-selection-panel', className),\n    isOpen: isOpen,\n    isLoading: isLoading,\n    onOpen: onOpen,\n    closeSheet: closePanel,\n    focusTrapOptions: {\n      initialFocus: initialFocus\n    }\n  }, children);\n}\nSelectionPanel.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node,\n  isOpen: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  isLoading: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  onOpen: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func,\n  closePanel: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NlbGVjdGlvblBhbmVsL1NlbGVjdGlvblBhbmVsLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TZWxlY3Rpb25QYW5lbC9TZWxlY3Rpb25QYW5lbC5qcz82NjQzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2VsZWN0aW9uIFBhbmVsIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1V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QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFPQTtBQUxBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBQUE7QUFHQTtBQUlBO0FBRUE7QUFJQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBS0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/SelectionPanel/SelectionPanel.js\n");

/***/ }),

/***/ "./js/components/SelectionPanel/SelectionPanelFooter.js":
/*!**************************************************************!*\
  !*** ./js/components/SelectionPanel/SelectionPanelFooter.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SelectionPanelFooter; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/ErrorNotice */ \"./js/components/ErrorNotice.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n\n\n\n/**\n * Selection Panel Footer component.\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\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction SelectionPanelFooter(_ref) {\n  var _ref$savedItemSlugs = _ref.savedItemSlugs,\n    savedItemSlugs = _ref$savedItemSlugs === void 0 ? [] : _ref$savedItemSlugs,\n    _ref$selectedItemSlug = _ref.selectedItemSlugs,\n    selectedItemSlugs = _ref$selectedItemSlug === void 0 ? [] : _ref$selectedItemSlug,\n    _ref$saveSettings = _ref.saveSettings,\n    saveSettings = _ref$saveSettings === void 0 ? function () {} : _ref$saveSettings,\n    saveError = _ref.saveError,\n    itemLimitError = _ref.itemLimitError,\n    _ref$minSelectedItemC = _ref.minSelectedItemCount,\n    minSelectedItemCount = _ref$minSelectedItemC === void 0 ? 0 : _ref$minSelectedItemC,\n    _ref$maxSelectedItemC = _ref.maxSelectedItemCount,\n    maxSelectedItemCount = _ref$maxSelectedItemC === void 0 ? 0 : _ref$maxSelectedItemC,\n    isBusy = _ref.isBusy,\n    _ref$onSaveSuccess = _ref.onSaveSuccess,\n    onSaveSuccess = _ref$onSaveSuccess === void 0 ? function () {} : _ref$onSaveSuccess,\n    _ref$onCancel = _ref.onCancel,\n    onCancel = _ref$onCancel === void 0 ? function () {} : _ref$onCancel,\n    isOpen = _ref.isOpen,\n    _ref$closePanel = _ref.closePanel,\n    closePanel = _ref$closePanel === void 0 ? function () {} : _ref$closePanel;\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(null),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    finalButtonText = _useState2[0],\n    setFinalButtonText = _useState2[1];\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState3, 2),\n    wasSaved = _useState4[0],\n    setWasSaved = _useState4[1];\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).isFetchingSyncAvailableAudiences();\n  });\n  var haveSettingsChanged = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useMemo\"])(function () {\n    // Arrays need to be sorted to match in `isEqual`.\n    return !Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isEqual\"])(Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"safelySort\"])(selectedItemSlugs), Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"safelySort\"])(savedItemSlugs));\n  }, [savedItemSlugs, selectedItemSlugs]);\n  var currentButtonText = (savedItemSlugs === null || savedItemSlugs === void 0 ? void 0 : savedItemSlugs.length) > 0 && haveSettingsChanged ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Apply changes', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Save selection', 'google-site-kit');\n  var onSaveClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\n    var _yield$saveSettings, 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 saveSettings(selectedItemSlugs);\n          case 2:\n            _yield$saveSettings = _context.sent;\n            error = _yield$saveSettings.error;\n            if (!error) {\n              onSaveSuccess();\n\n              // Close the panel after saving.\n              closePanel();\n\n              // Lock the button label while panel is closing.\n              setFinalButtonText(currentButtonText);\n              setWasSaved(true);\n            }\n          case 5:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })), [saveSettings, selectedItemSlugs, onSaveSuccess, closePanel, currentButtonText]);\n  var onCancelClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(function () {\n    closePanel();\n    onCancel();\n  }, [closePanel, onCancel]);\n  var _useState5 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(null),\n    _useState6 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState5, 2),\n    prevIsOpen = _useState6[0],\n    setPrevIsOpen = _useState6[1];\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (prevIsOpen !== null) {\n      // If current isOpen is true, and different from prevIsOpen\n      // meaning it transitioned from false to true and it is not\n      // in closing transition, we should reset the button label\n      // locked when save button was clicked.\n      if (prevIsOpen !== isOpen) {\n        if (isOpen) {\n          setFinalButtonText(null);\n          setWasSaved(false);\n        }\n      }\n    }\n    setPrevIsOpen(isOpen);\n  }, [isOpen, prevIsOpen]);\n  var selectedItemCount = (selectedItemSlugs === null || selectedItemSlugs === void 0 ? void 0 : selectedItemSlugs.length) || 0;\n  var itemCountElement = isLoading ? /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    width: \"89px\",\n    height: \"20px\"\n  }) : /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-selection-panel-footer__item-count\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: 1: Number of selected items. 2: Maximum number of items that can be selected. */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%1$d selected <MaxCount>(up to %2$d)</MaxCount>', 'google-site-kit'), selectedItemCount, maxSelectedItemCount), {\n    MaxCount: /*#__PURE__*/React.createElement(\"span\", {\n      className: \"googlesitekit-selection-panel-footer__item-count--max-count\"\n    })\n  }));\n  return /*#__PURE__*/React.createElement(\"footer\", {\n    className: \"googlesitekit-selection-panel-footer\"\n  }, saveError && /*#__PURE__*/React.createElement(_js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    error: saveError\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel-footer__content\"\n  }, haveSettingsChanged && itemLimitError ? /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_13__[\"default\"].TYPES.ERROR,\n    description: itemLimitError\n  }) : itemCountElement, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel-footer__actions\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_8__[\"Button\"], {\n    onClick: onCancelClick,\n    disabled: isBusy,\n    tertiary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Cancel', 'google-site-kit')), /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_8__[\"SpinnerButton\"], {\n    onClick: onSaveClick,\n    isSaving: isBusy,\n    disabled: selectedItemCount < minSelectedItemCount || selectedItemCount > maxSelectedItemCount || isBusy || !isOpen && wasSaved\n  }, finalButtonText || currentButtonText))));\n}\nSelectionPanelFooter.propTypes = {\n  savedItemSlugs: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.array,\n  selectedItemSlugs: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.array,\n  saveSettings: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.func,\n  saveError: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object,\n  itemLimitError: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string,\n  minSelectedItemCount: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number,\n  maxSelectedItemCount: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number,\n  isBusy: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool,\n  onSaveSuccess: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.func,\n  onCancel: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.func,\n  isOpen: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool,\n  closePanel: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.func\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/components/SelectionPanel/SelectionPanelFooter.js\n");

/***/ }),

/***/ "./js/components/SelectionPanel/SelectionPanelHeader.js":
/*!**************************************************************!*\
  !*** ./js/components/SelectionPanel/SelectionPanelHeader.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SelectionPanelHeader; });\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 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 _js_components_Link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _svg_icons_close_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/svg/icons/close.svg */ \"./svg/icons/close.svg\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * Selection Panel Header component.\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 * Internal dependencies\n */\n\n\n\nfunction SelectionPanelHeader(_ref) {\n  var children = _ref.children,\n    title = _ref.title,\n    onCloseClick = _ref.onCloseClick;\n  return /*#__PURE__*/React.createElement(\"header\", {\n    className: \"googlesitekit-selection-panel-header\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel-header__row\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    as: \"h3\",\n    size: \"small\",\n    type: \"headline\"\n  }, title), /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    className: \"googlesitekit-selection-panel-header__close\",\n    onClick: onCloseClick,\n    linkButton: true\n  }, /*#__PURE__*/React.createElement(_svg_icons_close_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    width: \"15\",\n    height: \"15\"\n  }))), children);\n}\nSelectionPanelHeader.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  onCloseClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NlbGVjdGlvblBhbmVsL1NlbGVj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oZWlnaHQ9XCIxNVwiIC8+XG5cdFx0XHRcdDwvTGluaz5cblx0XHRcdDwvZGl2PlxuXHRcdFx0eyBjaGlsZHJlbiB9XG5cdFx0PC9oZWFkZXI+XG5cdCk7XG59XG5cblNlbGVjdGlvblBhbmVsSGVhZGVyLnByb3BUeXBlcyA9IHtcblx0Y2hpbGRyZW46IFByb3BUeXBlcy5ub2RlLFxuXHR0aXRsZTogUHJvcFR5cGVzLnN0cmluZyxcblx0b25DbG9zZUNsaWNrOiBQcm9wVHlwZXMuZnVuYyxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUlBO0FBRkE7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUlBO0FBQ0E7QUFDQTtBQUFBO0FBRUE7QUFBQTtBQUFBO0FBTUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/SelectionPanel/SelectionPanelHeader.js\n");

/***/ }),

/***/ "./js/components/SelectionPanel/SelectionPanelItem.js":
/*!************************************************************!*\
  !*** ./js/components/SelectionPanel/SelectionPanelItem.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SelectionPanelItem; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_components_SelectionBox__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/SelectionBox */ \"./js/components/SelectionBox.js\");\n/* harmony import */ var _js_components_Badge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Badge */ \"./js/components/Badge.js\");\n\n/**\n * Selection Panel Item component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction SelectionPanelItem(_ref) {\n  var children = _ref.children,\n    id = _ref.id,\n    slug = _ref.slug,\n    title = _ref.title,\n    description = _ref.description,\n    isItemSelected = _ref.isItemSelected,\n    isItemDisabled = _ref.isItemDisabled,\n    onCheckboxChange = _ref.onCheckboxChange,\n    subtitle = _ref.subtitle,\n    suffix = _ref.suffix,\n    badge = _ref.badge,\n    isNewlyDetected = _ref.isNewlyDetected;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_SelectionBox__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    badge: badge,\n    checked: isItemSelected,\n    disabled: isItemDisabled,\n    id: id,\n    onChange: onCheckboxChange,\n    title: title,\n    value: slug\n  }, subtitle && /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-selection-panel-item__subtitle\"\n  }, subtitle), description, children), isNewlyDetected && /*#__PURE__*/React.createElement(_js_components_Badge__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('New', 'google-site-kit')\n  }), suffix && /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-selection-panel-item__suffix\"\n  }, suffix));\n}\nSelectionPanelItem.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n  id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  slug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  isItemSelected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  isItemDisabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onCheckboxChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  subtitle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  suffix: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n  badge: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n  isNewlyDetected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NlbGVjdGlvblBhbmVsL1NlbGVjdGlvblBhbmVsSXRlbS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvU2VsZWN0aW9uUGFuZWwvU2VsZWN0aW9uUGFuZWxJdGVtLmpzPzg3OTYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTZWxlY3Rpb24gUGFuZWwgSXRlbSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0Y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.js\n");

/***/ }),

/***/ "./js/components/SelectionPanel/SelectionPanelItems.js":
/*!*************************************************************!*\
  !*** ./js/components/SelectionPanel/SelectionPanelItems.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SelectionPanelItems; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/**\n * Selection Panel Items component.\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 * WordPress dependencies\n */\n\n\nfunction SelectionPanelItems(_ref) {\n  var _ref$currentSelection = _ref.currentSelectionTitle,\n    currentSelectionTitle = _ref$currentSelection === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Current selection', 'google-site-kit') : _ref$currentSelection,\n    _ref$availableItemsTi = _ref.availableItemsTitle,\n    availableItemsTitle = _ref$availableItemsTi === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Additional items', 'google-site-kit') : _ref$availableItemsTi,\n    _ref$savedItemSlugs = _ref.savedItemSlugs,\n    savedItemSlugs = _ref$savedItemSlugs === void 0 ? [] : _ref$savedItemSlugs,\n    _ref$availableSavedIt = _ref.availableSavedItems,\n    availableSavedItems = _ref$availableSavedIt === void 0 ? {} : _ref$availableSavedIt,\n    _ref$availableUnsaved = _ref.availableUnsavedItems,\n    availableUnsavedItems = _ref$availableUnsaved === void 0 ? {} : _ref$availableUnsaved,\n    ItemComponent = _ref.ItemComponent,\n    notice = _ref.notice;\n  function renderItems(items) {\n    return Object.keys(items).map(function (slug) {\n      return /*#__PURE__*/React.createElement(ItemComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n        key: slug,\n        slug: slug,\n        savedItemSlugs: savedItemSlugs\n      }, items[slug]));\n    });\n  }\n  var availableUnsavedItemsCount = Object.keys(availableUnsavedItems).length;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel-items\"\n  },\n  // Split list into two sections with sub-headings for current selection and\n  // additional items if there are already saved items.\n  savedItemSlugs.length !== 0 && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-selection-panel-items__subheading\"\n  }, currentSelectionTitle), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel-items__subsection\"\n  }, renderItems(availableSavedItems)), availableUnsavedItemsCount > 0 && /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-selection-panel-items__subheading\"\n  }, availableItemsTitle)), availableUnsavedItemsCount > 0 && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel-items__subsection\"\n  }, renderItems(availableUnsavedItems)), notice);\n}\nSelectionPanelItems.propTypes = {\n  currentSelectionTitle: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  availableItemsTitle: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  savedItemSlugs: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array,\n  availableSavedItems: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object,\n  availableUnsavedItems: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object,\n  ItemComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType,\n  notice: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\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/components/SelectionPanel/SelectionPanelItems.js\n");

/***/ }),

/***/ "./js/components/SelectionPanel/index.js":
/*!***********************************************!*\
  !*** ./js/components/SelectionPanel/index.js ***!
  \***********************************************/
/*! exports provided: SelectionPanelHeader, SelectionPanelItem, SelectionPanelItems, SelectionPanelFooter, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _SelectionPanel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectionPanel */ \"./js/components/SelectionPanel/SelectionPanel.js\");\n/* harmony import */ var _SelectionPanelHeader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SelectionPanelHeader */ \"./js/components/SelectionPanel/SelectionPanelHeader.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SelectionPanelHeader\", function() { return _SelectionPanelHeader__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _SelectionPanelItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SelectionPanelItem */ \"./js/components/SelectionPanel/SelectionPanelItem.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SelectionPanelItem\", function() { return _SelectionPanelItem__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _SelectionPanelItems__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SelectionPanelItems */ \"./js/components/SelectionPanel/SelectionPanelItems.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SelectionPanelItems\", function() { return _SelectionPanelItems__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _SelectionPanelFooter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SelectionPanelFooter */ \"./js/components/SelectionPanel/SelectionPanelFooter.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SelectionPanelFooter\", function() { return _SelectionPanelFooter__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/**\n * Selection Panel components.\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 * Internal dependencies\n */\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_SelectionPanel__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NlbGVjdGlvblBhbmVsL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TZWxlY3Rpb25QYW5lbC9pbmRleC5qcz9hZDkyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2VsZWN0aW9uIFBhbmVsIGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VV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0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/SelectionPanel/index.js\n");

/***/ }),

/***/ "./js/components/SideSheet.js":
/*!************************************!*\
  !*** ./js/components/SideSheet.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SideSheet; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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/* harmony import */ var focus_trap_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! focus-trap-react */ \"../node_modules/focus-trap-react/dist/focus-trap-react.js\");\n/* harmony import */ var focus_trap_react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(focus_trap_react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/keycodes */ \"../node_modules/@wordpress/keycodes/build-module/index.js\");\n/* harmony import */ var _Portal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Portal */ \"./js/components/Portal.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_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 * SideSheet component\n *\n * This component is named after Material Side Sheets\n * (https://m3.material.io/components/side-sheets/overview), which is\n * planned but not yet implemented for Web. Once available, we could look\n * into moving this to `googlesitekit-components` and replacing it with\n * the Material implementation.\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\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\nfunction SideSheet(_ref) {\n  var className = _ref.className,\n    children = _ref.children,\n    isOpen = _ref.isOpen,\n    isLoading = _ref.isLoading,\n    _ref$onOpen = _ref.onOpen,\n    onOpen = _ref$onOpen === void 0 ? function () {} : _ref$onOpen,\n    _ref$closeSheet = _ref.closeSheet,\n    closeSheet = _ref$closeSheet === void 0 ? function () {} : _ref$closeSheet,\n    _ref$focusTrapOptions = _ref.focusTrapOptions,\n    focusTrapOptions = _ref$focusTrapOptions === void 0 ? {} : _ref$focusTrapOptions;\n  var sideSheetRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useRef\"])();\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    if (isOpen) {\n      onOpen();\n      document.body.classList.add('googlesitekit-side-sheet-scroll-lock');\n    } else {\n      document.body.classList.remove('googlesitekit-side-sheet-scroll-lock');\n    }\n  }, [isOpen, onOpen]);\n  Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useClickAway\"])(sideSheetRef, closeSheet);\n  Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useKey\"])(function (event) {\n    return isOpen && _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_6__[\"ESCAPE\"] === event.keyCode;\n  }, closeSheet);\n  return /*#__PURE__*/React.createElement(_Portal__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null, /*#__PURE__*/React.createElement(focus_trap_react__WEBPACK_IMPORTED_MODULE_3___default.a, {\n    active: !!isOpen && !isLoading,\n    focusTrapOptions: _objectSpread({\n      fallbackFocus: 'body'\n    }, focusTrapOptions)\n  }, /*#__PURE__*/React.createElement(\"section\", {\n    ref: sideSheetRef,\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-side-sheet', className, {\n      'googlesitekit-side-sheet--open': isOpen\n    }),\n    role: \"dialog\",\n    \"aria-modal\": \"true\",\n    \"aria-hidden\": !isOpen,\n    tabIndex: \"0\"\n  }, children)), isOpen && /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-side-sheet-overlay\"\n  }));\n}\nSideSheet.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node,\n  isOpen: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  isLoading: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  onOpen: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func,\n  closeSheet: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func,\n  focusTrapOptions: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object\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/components/SideSheet.js\n");

/***/ }),

/***/ "./js/components/SourceLink.js":
/*!*************************************!*\
  !*** ./js/components/SourceLink.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/* 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/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n\n/**\n * SourceLink component.\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\nfunction SourceLink(_ref) {\n  var name = _ref.name,\n    href = _ref.href,\n    className = _ref.className,\n    external = _ref.external;\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n  if (viewOnlyDashboard) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-source-link', className)\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: source link */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Source: %s', 'google-site-kit'), \"<a>\".concat(name, \"</a>\")), {\n    a: /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      key: \"link\",\n      href: href,\n      external: external\n    })\n  }));\n}\nSourceLink.propTypes = {\n  name: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  href: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  external: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\nSourceLink.defaultProps = {\n  name: '',\n  href: '',\n  className: '',\n  external: false\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (SourceLink);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NvdXJjZUxpbmsuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1NvdXJjZUxpbmsuanM/YjIxNiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNvdXJjZUxpbmsgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSw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xcblx0ZXh0ZXJuYWw6IFByb3BUeXBlcy5ib29sLFxufTtcblxuU291cmNlTGluay5kZWZhdWx0UHJvcHMgPSB7XG5cdG5hbWU6ICcnLFxuXHRocmVmOiAnJyxcblx0Y2xhc3NOYW1lOiAnJyxcblx0ZXh0ZXJuYWw6IGZhbHNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgU291cmNlTGluaztcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBSUE7QUFJQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/SourceLink.js\n");

/***/ }),

/***/ "./js/components/Sparkline.js":
/*!************************************!*\
  !*** ./js/components/Sparkline.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 _GoogleChart__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GoogleChart */ \"./js/components/GoogleChart/index.js\");\n\n/**\n * Sparkline component.\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\nfunction Sparkline(_ref) {\n  var change = _ref.change,\n    data = _ref.data,\n    invertChangeColor = _ref.invertChangeColor,\n    loadingHeight = _ref.loadingHeight;\n  if (!data) {\n    return null;\n  }\n  var colors = [];\n  var green = 'green';\n  var red = 'red';\n  if (change === null) {\n    // Use green color by default if the change can't be determined.\n    colors.push(green);\n  } else {\n    var positiveColor = !invertChangeColor ? green : red;\n    var negativeColor = !invertChangeColor ? red : green;\n    colors.push(0 <= (parseFloat(change) || 0) ? positiveColor : negativeColor);\n  }\n  var chartOptions = {\n    title: '',\n    backgroundColor: 'transparent',\n    curveType: 'line',\n    width: '100%',\n    height: '50',\n    enableInteractivity: false,\n    chartArea: {\n      height: '100%',\n      width: '100%'\n    },\n    legend: {\n      position: 'none'\n    },\n    axisFontSize: 0,\n    hAxis: {\n      baselineColor: 'none',\n      ticks: []\n    },\n    vAxis: {\n      baselineColor: 'none',\n      ticks: []\n    },\n    axes: [],\n    colors: colors\n  };\n\n  // If the line is flat (zero change), we need to adjust it so\n  // it sits in line visually with the other graphs.\n  if (!data.slice(1).some(function (row) {\n    return row[1] > 0;\n  })) {\n    chartOptions.vAxis.minValue = 0;\n    chartOptions.vAxis.maxValue = 1;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-analytics-sparkline-chart-wrap\"\n  }, /*#__PURE__*/React.createElement(_GoogleChart__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    chartType: \"LineChart\",\n    data: data,\n    loadingHeight: loadingHeight,\n    options: chartOptions\n  }));\n}\nSparkline.propTypes = {\n  invertChangeColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  loadingHeight: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\n};\nSparkline.defaultProps = {\n  invertChangeColor: false,\n  loadingHeight: '46px'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Sparkline);\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/components/Sparkline.js\n");

/***/ }),

/***/ "./js/components/StoreErrorNotices.js":
/*!********************************************!*\
  !*** ./js/components/StoreErrorNotices.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return StoreErrorNotices; });\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 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 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 _ErrorNotice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ErrorNotice */ \"./js/components/ErrorNotice.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_util_insufficient_permissions_error_description__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util/insufficient-permissions-error-description */ \"./js/util/insufficient-permissions-error-description.js\");\n\n/**\n * StoreErrorNotices component.\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\nfunction StoreErrorNotices(_ref) {\n  var _ref$hasButton = _ref.hasButton,\n    hasButton = _ref$hasButton === void 0 ? false : _ref$hasButton,\n    moduleSlug = _ref.moduleSlug,\n    storeName = _ref.storeName;\n  var errors = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(storeName).getErrors();\n  });\n  var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModule(moduleSlug);\n  });\n  var existingErrorMessages = [];\n  return errors.filter(function (error) {\n    if (!(error === null || error === void 0 ? void 0 : error.message) || existingErrorMessages.includes(error.message)) {\n      return false;\n    }\n    existingErrorMessages.push(error.message);\n    return true;\n  }).map(function (error, key) {\n    var message = error.message;\n    if (Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isInsufficientPermissionsError\"])(error)) {\n      message = Object(_js_util_insufficient_permissions_error_description__WEBPACK_IMPORTED_MODULE_6__[\"getInsufficientPermissionsErrorDescription\"])(message, module);\n    }\n    return /*#__PURE__*/React.createElement(_ErrorNotice__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      key: key,\n      error: error,\n      hasButton: hasButton,\n      storeName: storeName,\n      message: message\n    });\n  });\n}\nStoreErrorNotices.propTypes = {\n  hasButton: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  storeName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1N0b3JlRXJyb3JOb3RpY2VzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TdG9yZUVycm9yTm90aWNlcy5qcz81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zs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBSUE7QUFIQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFHQTtBQUVBO0FBRUE7QUFJQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBRUE7QUFHQTtBQUNBO0FBSUE7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/StoreErrorNotices.js\n");

/***/ }),

/***/ "./js/components/SupportLink.js":
/*!**************************************!*\
  !*** ./js/components/SupportLink.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SupportLink; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n\n\n\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\nfunction SupportLink(props) {\n  var path = props.path,\n    query = props.query,\n    hash = props.hash,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(props, [\"path\", \"query\", \"hash\"]);\n  var supportURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getGoogleSupportURL({\n      path: path,\n      query: query,\n      hash: hash\n    });\n  });\n  return /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, otherProps, {\n    href: supportURL\n  }));\n}\nSupportLink.propTypes = {\n  path: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired,\n  query: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,\n  hash: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1N1cHBvcnRMaW5rLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TdXBwb3J0TGluay5qcz8xMGFmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAq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ggcHJvcHMgKSB7XG5cdGNvbnN0IHsgcGF0aCwgcXVlcnksIGhhc2gsIC4uLm90aGVyUHJvcHMgfSA9IHByb3BzO1xuXG5cdGNvbnN0IHN1cHBvcnRVUkwgPSB1c2VTZWxlY3QoICggc2VsZWN0ICkgPT5cblx0XHRzZWxlY3QoIENPUkVfU0lURSApLmdldEdvb2dsZVN1cHBvcnRVUkwoIHsgcGF0aCwgcXVlcnksIGhhc2ggfSApXG5cdCk7XG5cblx0cmV0dXJuIDxMaW5rIHsgLi4ub3RoZXJQcm9wcyB9IGhyZWY9eyBzdXBwb3J0VVJMIH0gLz47XG59XG5cblN1cHBvcnRMaW5rLnByb3BUeXBlcyA9IHtcblx0cGF0aDogUHJvcFR5cGVzLnN0cmluZy5pc1JlcXVpcmVkLFxuXHRxdWVyeTogUHJvcFR5cGVzLm9iamVjdCxcblx0aGFzaDogUHJvcFR5cGVzLnN0cmluZyxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFHQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/SupportLink.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* 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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n/**\n * TableOverflowContainer component.\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\nfunction TableOverflowContainer(_ref) {\n  var children = _ref.children;\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n    isScrolling = _useState2[0],\n    setScrolling = _useState2[1];\n  var scrollRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useRef\"])();\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    setIsScrolling();\n    var resize = Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"debounce\"])(setIsScrolling, 100);\n    global.addEventListener('resize', resize);\n    return function () {\n      return global.removeEventListener('resize', resize);\n    };\n  }, []);\n  function setIsScrolling() {\n    if (!scrollRef.current) {\n      return;\n    }\n    var _scrollRef$current = scrollRef.current,\n      scrollLeft = _scrollRef$current.scrollLeft,\n      scrollWidth = _scrollRef$current.scrollWidth,\n      offsetWidth = _scrollRef$current.offsetWidth;\n    var maxScroll = scrollWidth - offsetWidth;\n    var scrolling = scrollLeft < maxScroll - 16 && 0 < maxScroll - 16; // 16 = $grid-gap-phone\n\n    setScrolling(scrolling);\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    onScroll: Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"debounce\"])(setIsScrolling, 100),\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('googlesitekit-table-overflow', {\n      'googlesitekit-table-overflow--gradient': isScrolling\n    })\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    ref: scrollRef,\n    className: \"googlesitekit-table-overflow__container\"\n  }, children));\n}\nTableOverflowContainer.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (TableOverflowContainer);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1RhYmxlT3ZlcmZsb3dDb250YWluZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1RhYmxlT3ZlcmZsb3dDb250YWluZXIuanM/MzFlOSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRhYmxlT3ZlcmZsb3dDb250YWluZXIgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRp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j5cblx0KTtcbn1cblxuVGFibGVPdmVyZmxvd0NvbnRhaW5lci5wcm9wVHlwZXMgPSB7XG5cdGNoaWxkcmVuOiBQcm9wVHlwZXMuZWxlbWVudCxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IFRhYmxlT3ZlcmZsb3dDb250YWluZXI7XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFFQTtBQUVBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFBQTtBQU1BO0FBRUE7QUFDQTtBQUNBO0FBRUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/TableOverflowContainer.js\n");

/***/ }),

/***/ "./js/components/TourTooltip.js":
/*!**************************************!*\
  !*** ./js/components/TourTooltip.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return TourTooltip; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _material_react_card__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/react-card */ \"../node_modules/@material/react-card/dist/index.js\");\n/* harmony import */ var _material_react_card__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_react_card__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _js_util_create_incremental_array_by_size__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util/create-incremental-array-by-size */ \"./js/util/create-incremental-array-by-size.js\");\n/* harmony import */ var _svg_icons_close_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/svg/icons/close.svg */ \"./svg/icons/close.svg\");\n/* harmony import */ var _Typography__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Typography */ \"./js/components/Typography/index.js\");\n\n\n/**\n * TourTooltip component.\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\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction TourTooltip(_ref) {\n  var backProps = _ref.backProps,\n    closeProps = _ref.closeProps,\n    index = _ref.index,\n    primaryProps = _ref.primaryProps,\n    size = _ref.size,\n    step = _ref.step,\n    tooltipProps = _ref.tooltipProps;\n  var indicatorArray = size > 1 ? Object(_js_util_create_incremental_array_by_size__WEBPACK_IMPORTED_MODULE_7__[\"createIncrementalArrayBySize\"])(size) : [];\n  function getIndicatorClassName(indicatorIndex) {\n    return classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-tooltip-indicator', {\n      active: indicatorIndex === index\n    });\n  }\n  return /*#__PURE__*/React.createElement(\"div\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-tour-tooltip', step.className)\n  }, tooltipProps), /*#__PURE__*/React.createElement(_material_react_card__WEBPACK_IMPORTED_MODULE_2___default.a, {\n    className: \"googlesitekit-tooltip-card\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-tooltip-body\"\n  }, /*#__PURE__*/React.createElement(_Typography__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    as: \"h2\",\n    className: \"googlesitekit-tooltip-title\",\n    size: \"medium\",\n    type: \"title\"\n  }, step.title), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-tooltip-content\"\n  }, step.content)), /*#__PURE__*/React.createElement(_material_react_card__WEBPACK_IMPORTED_MODULE_2__[\"CardActions\"], {\n    className: \"googlesitekit-tooltip-actions\"\n  }, /*#__PURE__*/React.createElement(\"ul\", {\n    className: \"googlesitekit-tooltip-indicators\"\n  }, indicatorArray.map(function (indicatorIndex) {\n    return /*#__PURE__*/React.createElement(\"li\", {\n      key: \"indicator-\".concat(indicatorIndex),\n      className: getIndicatorClassName(indicatorIndex)\n    });\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-tooltip-buttons\"\n  }, index !== 0 && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"Button\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: \"googlesitekit-tooltip-button\",\n    text: true\n  }, backProps), backProps.title), step.cta, primaryProps.title && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"Button\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: \"googlesitekit-tooltip-button\",\n    text: true\n  }, primaryProps), primaryProps.title))), /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"Button\"], {\n    className: \"googlesitekit-tooltip-close\",\n    icon: /*#__PURE__*/React.createElement(_svg_icons_close_svg__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      width: \"14\",\n      height: \"14\"\n    }),\n    onClick: closeProps.onClick,\n    \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Close', 'google-site-kit'),\n    text: true,\n    hideTooltipTitle: true\n  })));\n}\n\n/**\n * All props are provided directly from `react-joyride`, intended for custom components.\n *\n * @since 1.28.0\n * @see {@link https://docs.react-joyride.com/custom-components#props-1}.\n */\nTourTooltip.propTypes = {\n  backProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object.isRequired,\n  closeProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object.isRequired,\n  index: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number.isRequired,\n  isLastStep: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool.isRequired,\n  primaryProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object.isRequired,\n  size: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number.isRequired,\n  step: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.shape({\n    content: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node,\n    title: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node,\n    cta: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool]),\n    className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string\n  }).isRequired,\n  tooltipProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object.isRequired\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/components/TourTooltip.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"joyrideStyles\", function() { return joyrideStyles; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"floaterProps\", function() { return floaterProps; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GA_ACTIONS\", function() { return GA_ACTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return TourTooltips; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var react_joyride__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-joyride */ \"../node_modules/react-joyride/dist/index.mjs\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/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_util_tracking__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util/tracking */ \"./js/util/tracking/index.js\");\n/* harmony import */ var _TourTooltip__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./TourTooltip */ \"./js/components/TourTooltip.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.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_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 * TourTooltips component.\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\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n/** For available options, see: {@link https://github.com/gilbarbara/react-joyride/blob/3e08384415a831b20ce21c8423b6c271ad419fbf/src/styles.js}. */\nvar joyrideStyles = {\n  options: {\n    arrowColor: '#3c7251',\n    // $c-content-primary\n    backgroundColor: '#3c7251',\n    // $c-content-primary\n    overlayColor: 'rgba(0, 0, 0, 0.6)',\n    textColor: '#fff',\n    // $c-content-on-primary\n    zIndex: 20000\n  },\n  spotlight: {\n    border: '2px solid #3c7251',\n    // $c-content-primary\n    backgroundColor: '#fff'\n  }\n};\n\n// Provides button content as well as aria-label & title attribute values.\nvar joyrideLocale = {\n  back: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Back', 'google-site-kit'),\n  close: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Close', 'google-site-kit'),\n  last: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Got it', 'google-site-kit'),\n  next: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Next', 'google-site-kit')\n};\n\n/** For available options, see: {@link https://github.com/gilbarbara/react-floater#props}. */\nvar floaterProps = {\n  disableAnimation: true,\n  styles: {\n    arrow: {\n      length: 8,\n      margin: 56,\n      spread: 16\n    },\n    floater: {\n      filter: 'drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)'\n    }\n  }\n};\n\n// GA Event Tracking actions (do not change!)\nvar GA_ACTIONS = {\n  VIEW: 'feature_tooltip_view',\n  NEXT: 'feature_tooltip_advance',\n  PREV: 'feature_tooltip_return',\n  DISMISS: 'feature_tooltip_dismiss',\n  COMPLETE: 'feature_tooltip_complete'\n};\nfunction TourTooltips(_ref) {\n  var steps = _ref.steps,\n    tourID = _ref.tourID,\n    gaEventCategory = _ref.gaEventCategory,\n    callback = _ref.callback;\n  var stepKey = \"\".concat(tourID, \"-step\");\n  var runKey = \"\".concat(tourID, \"-run\");\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]),\n    dismissTour = _useDispatch2.dismissTour;\n  var registry = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useRegistry\"])();\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"])();\n  var stepIndex = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_UI\"]).getValue(stepKey) || 0;\n  });\n  var run = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_UI\"]).getValue(runKey) && select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isTourDismissed(tourID) === false;\n  });\n  function changeStep(index, action) {\n    return setValue(stepKey, index + (action === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"ACTIONS\"].PREV ? -1 : 1));\n  }\n  function startTour() {\n    global.document.body.classList.add('googlesitekit-showing-feature-tour', \"googlesitekit-showing-feature-tour--\".concat(tourID));\n    setValue(runKey, true);\n  }\n  function endTour() {\n    global.document.body.classList.remove('googlesitekit-showing-feature-tour', \"googlesitekit-showing-feature-tour--\".concat(tourID));\n    // Dismiss tour to avoid unwanted repeat viewing.\n    dismissTour(tourID);\n  }\n  function trackAllTourEvents(_ref2) {\n    var index = _ref2.index,\n      action = _ref2.action,\n      lifecycle = _ref2.lifecycle,\n      size = _ref2.size,\n      status = _ref2.status,\n      type = _ref2.type;\n    // The index is 0-based, but step numbers are 1-based.\n    var stepNumber = index + 1;\n    var eventCategory = typeof gaEventCategory === 'function' ? gaEventCategory(viewContext) : gaEventCategory;\n    if (type === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"EVENTS\"].TOOLTIP && lifecycle === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"LIFECYCLE\"].TOOLTIP) {\n      Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(eventCategory, GA_ACTIONS.VIEW, stepNumber);\n    } else if (action === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"ACTIONS\"].CLOSE && lifecycle === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"LIFECYCLE\"].COMPLETE) {\n      Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(eventCategory, GA_ACTIONS.DISMISS, stepNumber);\n    } else if (action === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"ACTIONS\"].NEXT && status === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"STATUS\"].FINISHED && type === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"EVENTS\"].TOUR_END &&\n    // Here we need to additionally check the size === stepNumber because\n    // it is the only way to differentiate the status/event combination\n    // from an identical combination that happens immediately after completion\n    // on index `0` to avoid duplicate measurement.\n    size === stepNumber) {\n      Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(eventCategory, GA_ACTIONS.COMPLETE, stepNumber);\n    }\n    if (lifecycle !== react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"LIFECYCLE\"].COMPLETE || status === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"STATUS\"].FINISHED) {\n      return;\n    }\n    if (action === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"ACTIONS\"].PREV) {\n      Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(eventCategory, GA_ACTIONS.PREV, stepNumber);\n    }\n    if (action === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"ACTIONS\"].NEXT) {\n      Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(eventCategory, GA_ACTIONS.NEXT, stepNumber);\n    }\n  }\n\n  /**\n   * Handles `react-joyride` state changes using callback function.\n   *\n   * @typedef {Object} JoyrideCallbackData\n   * @property {string} action The action that updated the state.\n   * @property {status} status The tour's status.\n   * @property {number} index  Step index.\n   * @property {string} type   Specific type (tour, step, beacon).\n   *\n   * @since 1.28.0\n   * @since 1.38.0 Calls new callback prop.\n   * @see {@link https://docs.react-joyride.com/callback} Example data provided by `react-joyride`.\n   * @see {@link https://docs.react-joyride.com/constants} State & lifecycle constants used by `react-joyride`.\n   *\n   * @param {JoyrideCallbackData} data Data object provided via `react-joyride` callback prop.\n   */\n  function handleJoyrideCallback(data) {\n    trackAllTourEvents(data);\n    var action = data.action,\n      index = data.index,\n      status = data.status,\n      step = data.step,\n      type = data.type;\n    var hasCloseAction = action === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"ACTIONS\"].CLOSE;\n    var shouldChangeStep = !hasCloseAction && [react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"EVENTS\"].STEP_AFTER, react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"EVENTS\"].TARGET_NOT_FOUND].includes(type);\n    var isFinishedOrSkipped = [react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"STATUS\"].FINISHED, react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"STATUS\"].SKIPPED].includes(status);\n    var shouldCloseFromButtonClick = hasCloseAction && type === react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"EVENTS\"].STEP_AFTER;\n    var shouldEndTour = isFinishedOrSkipped || shouldCloseFromButtonClick;\n\n    // Center the target in the viewport when transitioning to the step.\n    if (react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"EVENTS\"].STEP_BEFORE === type) {\n      var _el, _el$scrollIntoView;\n      var el = step.target;\n      if ('string' === typeof step.target) {\n        el = global.document.querySelector(step.target);\n      }\n      (_el = el) === null || _el === void 0 ? void 0 : (_el$scrollIntoView = _el.scrollIntoView) === null || _el$scrollIntoView === void 0 ? void 0 : _el$scrollIntoView.call(_el, {\n        block: 'center'\n      });\n    }\n    if (shouldChangeStep) {\n      changeStep(index, action);\n    } else if (shouldEndTour) {\n      endTour();\n    }\n    if (callback) {\n      callback(data, registry);\n    }\n  }\n\n  // Start tour on initial render\n  Object(react_use__WEBPACK_IMPORTED_MODULE_2__[\"useMount\"])(startTour);\n  var parsedSteps = steps.map(function (step) {\n    return _objectSpread({\n      disableBeacon: true,\n      isFixed: true,\n      placement: 'auto'\n    }, step);\n  });\n  return /*#__PURE__*/React.createElement(react_joyride__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    callback: handleJoyrideCallback,\n    floaterProps: floaterProps,\n    locale: joyrideLocale,\n    run: run,\n    stepIndex: stepIndex,\n    steps: parsedSteps,\n    styles: joyrideStyles,\n    tooltipComponent: _TourTooltip__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n    continuous: true,\n    disableOverlayClose: true,\n    disableScrolling: true,\n    showProgress: true\n  });\n}\n\n/** For available properties & docs for `steps`, see: {@link https://docs.react-joyride.com/step#options}. */\nTourTooltips.propTypes = {\n  steps: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object).isRequired,\n  tourID: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired,\n  gaEventCategory: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func]).isRequired,\n  callback: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/components/TourTooltips.js\n");

/***/ }),

/***/ "./js/components/Typography/P.js":
/*!***************************************!*\
  !*** ./js/components/Typography/P.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return P; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! . */ \"./js/components/Typography/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/components/Typography/constants.js\");\n\n\n\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\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction P(_ref) {\n  var _ref$type = _ref.type,\n    type = _ref$type === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPE_BODY\"] : _ref$type,\n    size = _ref.size,\n    children = _ref.children,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"type\", \"size\", \"children\"]);\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"useBreakpoint\"])();\n  return /*#__PURE__*/React.createElement(___WEBPACK_IMPORTED_MODULE_5__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    as: \"p\",\n    type: type,\n    size: size || (breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"] ? _constants__WEBPACK_IMPORTED_MODULE_6__[\"SIZE_SMALL\"] : _constants__WEBPACK_IMPORTED_MODULE_6__[\"SIZE_MEDIUM\"])\n  }, props), children);\n}\nP.propTypes = {\n  type: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf(_constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_TYPES\"]),\n  size: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf(_constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_SIZES\"])\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1R5cG9ncmFwaHkvUC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmV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QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBUUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUdBO0FBTUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Typography/P.js\n");

/***/ }),

/***/ "./js/components/Typography/constants.js":
/*!***********************************************!*\
  !*** ./js/components/Typography/constants.js ***!
  \***********************************************/
/*! exports provided: TYPE_DISPLAY, TYPE_HEADLINE, TYPE_TITLE, TYPE_BODY, TYPE_LABEL, VALID_TYPES, SIZE_SMALL, SIZE_MEDIUM, SIZE_LARGE, VALID_SIZES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_DISPLAY\", function() { return TYPE_DISPLAY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_HEADLINE\", function() { return TYPE_HEADLINE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_TITLE\", function() { return TYPE_TITLE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_BODY\", function() { return TYPE_BODY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_LABEL\", function() { return TYPE_LABEL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VALID_TYPES\", function() { return VALID_TYPES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SIZE_SMALL\", function() { return SIZE_SMALL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SIZE_MEDIUM\", function() { return SIZE_MEDIUM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SIZE_LARGE\", function() { return SIZE_LARGE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VALID_SIZES\", function() { return VALID_SIZES; });\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 TYPE_DISPLAY = 'display';\nvar TYPE_HEADLINE = 'headline';\nvar TYPE_TITLE = 'title';\nvar TYPE_BODY = 'body';\nvar TYPE_LABEL = 'label';\nvar VALID_TYPES = [TYPE_BODY, TYPE_DISPLAY, TYPE_HEADLINE, TYPE_LABEL, TYPE_TITLE];\nvar SIZE_SMALL = 'small';\nvar SIZE_MEDIUM = 'medium';\nvar SIZE_LARGE = 'large';\nvar VALID_SIZES = [SIZE_SMALL, SIZE_MEDIUM, SIZE_LARGE];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1R5cG9ncmFwaHkvY29uc3RhbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9UeXBvZ3JhcGh5L2NvbnN0YW50cy5qcz85NWQ4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIG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FX1NNQUxMID0gJ3NtYWxsJztcbmV4cG9ydCBjb25zdCBTSVpFX01FRElVTSA9ICdtZWRpdW0nO1xuZXhwb3J0IGNvbnN0IFNJWkVfTEFSR0UgPSAnbGFyZ2UnO1xuXG5leHBvcnQgY29uc3QgVkFMSURfU0laRVMgPSBbIFNJWkVfU01BTEwsIFNJWkVfTUVESVVNLCBTSVpFX0xBUkdFIF07XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQVFBO0FBQ0E7QUFDQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Typography/constants.js\n");

/***/ }),

/***/ "./js/components/Typography/index.js":
/*!*******************************************!*\
  !*** ./js/components/Typography/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Typography; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/components/Typography/constants.js\");\n\n\n\n\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\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\nfunction Typography(_ref) {\n  var _classnames;\n  var className = _ref.className,\n    type = _ref.type,\n    size = _ref.size,\n    _ref$as = _ref.as,\n    Component = _ref$as === void 0 ? 'span' : _ref$as,\n    children = _ref.children,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(_ref, [\"className\", \"type\", \"size\", \"as\", \"children\"]);\n  return /*#__PURE__*/React.createElement(Component, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()('googlesitekit-typography', className, (_classnames = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"googlesitekit-typography--\".concat(type), type && _constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_TYPES\"].includes(type)), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"googlesitekit-typography--\".concat(size), size && _constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_SIZES\"].includes(size)), _classnames))\n  }, props), children);\n}\nTypography.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  type: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf(_constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_TYPES\"]),\n  size: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf(_constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_SIZES\"]),\n  as: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType])\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1R5cG9ncmFwaHkvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1R5cG9ncmFwaHkvaW5kZXguanM/ZDA3OSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ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dyYXBoeS5wcm9wVHlwZXMgPSB7XG5cdGNsYXNzTmFtZTogUHJvcFR5cGVzLnN0cmluZyxcblx0dHlwZTogUHJvcFR5cGVzLm9uZU9mKCBWQUxJRF9UWVBFUyApLFxuXHRzaXplOiBQcm9wVHlwZXMub25lT2YoIFZBTElEX1NJWkVTICksXG5cdGFzOiBQcm9wVHlwZXMub25lT2ZUeXBlKCBbIFByb3BUeXBlcy5zdHJpbmcsIFByb3BUeXBlcy5lbGVtZW50VHlwZSBdICksXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFPQTtBQUFBO0FBTEE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUtBO0FBTUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/Typography/index.js\n");

/***/ }),

/***/ "./js/components/VisuallyHidden.js":
/*!*****************************************!*\
  !*** ./js/components/VisuallyHidden.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 _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n/**\n * Visually Hidden component, mainly used for screen-reader text.\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\nfunction VisuallyHidden(_ref) {\n  var className = _ref.className,\n    children = _ref.children,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"className\", \"children\"]);\n  if (!children) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"span\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, otherProps, {\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('screen-reader-text', className)\n  }), children);\n}\nVisuallyHidden.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node\n};\nVisuallyHidden.defaultProps = {\n  className: ''\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (VisuallyHidden);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1Zpc3VhbGx5SGlkZGVuLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9WaXN1YWxseUhpZGRlbi5qcz9kODE4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVmlzdWFsbHkgSGlkZGVuIGNvbXBvbmVudCwgbWFpbmx5IHVzZWQgZm9yIHNjcmVlbi1yZWFkZXIgdGV4dC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4g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XHQ8L3NwYW4+XG5cdCk7XG59XG5cblZpc3VhbGx5SGlkZGVuLnByb3BUeXBlcyA9IHtcblx0Y2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUsXG59O1xuXG5WaXN1YWxseUhpZGRlbi5kZWZhdWx0UHJvcHMgPSB7XG5cdGNsYXNzTmFtZTogJycsXG59O1xuXG5leHBvcnQgZGVmYXVsdCBWaXN1YWxseUhpZGRlbjtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBR0E7QUFBQTtBQUtBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/VisuallyHidden.js\n");

/***/ }),

/***/ "./js/components/conversion-tracking/ConfirmDisableConversionTrackingDialog.js":
/*!*************************************************************************************!*\
  !*** ./js/components/conversion-tracking/ConfirmDisableConversionTrackingDialog.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ConfirmDisableConversionTrackingDialog; });\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 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 react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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/* harmony import */ var _js_components_RefocusableModalDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/RefocusableModalDialog */ \"./js/components/RefocusableModalDialog.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction ConfirmDisableConversionTrackingDialog(_ref) {\n  var onConfirm = _ref.onConfirm,\n    onCancel = _ref.onCancel;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n  var subtitle = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('By disabling plugin conversion tracking, you will no longer have access to:', 'google-site-kit');\n  var provides = [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Performance of your Ad campaigns', 'google-site-kit'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Tracking additional conversion-related events via Analytics', 'google-site-kit')];\n  Object(react_use__WEBPACK_IMPORTED_MODULE_2__[\"useMount\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEvent\"])(\"\".concat(viewContext), 'ect_view_modal');\n  });\n  return /*#__PURE__*/React.createElement(_js_components_RefocusableModalDialog__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    className: \"googlesitekit-settings-module__confirm-disconnect-modal\",\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Disable plugin conversion tracking', 'google-site-kit'),\n    subtitle: subtitle,\n    handleConfirm: onConfirm,\n    handleCancel: onCancel,\n    onClose: onCancel,\n    provides: provides,\n    confirmButton: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Disable', 'google-site-kit'),\n    dialogActive: true,\n    danger: true\n  });\n}\nConfirmDisableConversionTrackingDialog.propTypes = {\n  onConfirm: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  onCancel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL2NvbnZlcnNpb24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bkNhbmNlbDogUHJvcFR5cGVzLmZ1bmMuaXNSZXF1aXJlZCxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBR0E7QUFEQTtBQUVBO0FBRUE7QUFLQTtBQVFBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUlBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/conversion-tracking/ConfirmDisableConversionTrackingDialog.js\n");

/***/ }),

/***/ "./js/components/conversion-tracking/ConversionTrackingToggle.js":
/*!***********************************************************************!*\
  !*** ./js/components/conversion-tracking/ConversionTrackingToggle.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ConversionTrackingToggle; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_LoadingWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/LoadingWrapper */ \"./js/components/LoadingWrapper.js\");\n/* harmony import */ var _ConfirmDisableConversionTrackingDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ConfirmDisableConversionTrackingDialog */ \"./js/components/conversion-tracking/ConfirmDisableConversionTrackingDialog.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/ErrorNotice */ \"./js/components/ErrorNotice.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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction ConversionTrackingToggle(_ref) {\n  var children = _ref.children,\n    loading = _ref.loading;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"])();\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(null),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 1),\n    saveError = _useState2[0];\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(false),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState3, 2),\n    showConfirmDialog = _useState4[0],\n    setShowConfirmDialog = _useState4[1];\n  var isConversionTrackingEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).isConversionTrackingEnabled();\n  });\n  var isSaving = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).isFetchingSaveConversionTrackingSettings();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]),\n    setConversionTrackingEnabled = _useDispatch.setConversionTrackingEnabled;\n  return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(_js_components_LoadingWrapper__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    loading: loading,\n    width: \"180px\",\n    height: \"21.3px\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-module-settings-group__switch\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Switch\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Plugin conversion tracking', 'google-site-kit'),\n    checked: isConversionTrackingEnabled,\n    disabled: isSaving || loading,\n    onClick: function onClick() {\n      // If Conversion Tracking is currently enabled, show a confirmation\n      // dialog warning users about the impact of disabling it.\n      if (isConversionTrackingEnabled) {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(\"\".concat(viewContext), 'ect_disable');\n        setShowConfirmDialog(true);\n      } else {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(\"\".concat(viewContext), 'ect_enable');\n\n        // Conversion Tracking is not currently enabled, so this toggle\n        // enables it.\n        setConversionTrackingEnabled(true);\n      }\n    },\n    hideLabel: false\n  }))), !!saveError && /*#__PURE__*/React.createElement(_js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    message: saveError.message\n  }), /*#__PURE__*/React.createElement(_js_components_LoadingWrapper__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    className: \"googlesitekit-settings-conversion-tracking-switch-description--loading\",\n    loading: loading,\n    width: \"750px\",\n    height: \"42px\",\n    smallWidth: \"386px\",\n    smallHeight: \"84px\",\n    tabletWidth: \"540px\",\n    tabletHeight: \"84px\"\n  }, /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-module-settings-group__helper-text\"\n  }, children)), showConfirmDialog && /*#__PURE__*/React.createElement(_ConfirmDisableConversionTrackingDialog__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    onConfirm: function onConfirm() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(\"\".concat(viewContext), 'ect_confirm_disable');\n      setConversionTrackingEnabled(false);\n      setShowConfirmDialog(false);\n    },\n    onCancel: function onCancel() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(\"\".concat(viewContext), 'ect_cancel_disable');\n      setShowConfirmDialog(false);\n    }\n  }));\n}\nConversionTrackingToggle.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_10___default.a.node.isRequired,\n  loading: prop_types__WEBPACK_IMPORTED_MODULE_10___default.a.bool\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/components/conversion-tracking/ConversionTrackingToggle.js\n");

/***/ }),

/***/ "./js/components/conversion-tracking/SetupEnhancedConversionTrackingNotice.js":
/*!************************************************************************************!*\
  !*** ./js/components/conversion-tracking/SetupEnhancedConversionTrackingNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SetupEnhancedConversionTrackingNotice; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/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 * Internal dependencies\n */\n\n\nfunction SetupEnhancedConversionTrackingNotice(_ref) {\n  var className = _ref.className,\n    message = _ref.message;\n  var isCTEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).isConversionTrackingEnabled();\n  });\n  if (isCTEnabled || isCTEnabled === undefined) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"p\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(className, 'googlesitekit-color--surfaces-on-background-variant')\n  }, message);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL2NvbnZlcnNpb24tdHJhY2tpbmcvU2V0dXBFbmhhbmNlZENvbnZlcnNpb25UcmFja2luZ05vdGljZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvY29udmVyc2lvbi10cmFja2luZy9TZXR1cEVuaGFuY2VkQ29udmVyc2lvblRyYWNraW5nTm90aWNlLmpzP2Q0YjMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3Lm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mxlZCgpXG5cdCk7XG5cblx0aWYgKCBpc0NURW5hYmxlZCB8fCBpc0NURW5hYmxlZCA9PT0gdW5kZWZpbmVkICkge1xuXHRcdHJldHVybiBudWxsO1xuXHR9XG5cblx0cmV0dXJuIChcblx0XHQ8cFxuXHRcdFx0Y2xhc3NOYW1lPXsgY2xhc3NuYW1lcyhcblx0XHRcdFx0Y2xhc3NOYW1lLFxuXHRcdFx0XHQnZ29vZ2xlc2l0ZWtpdC1jb2xvci0tc3VyZmFjZXMtb24tYmFja2dyb3VuZC12YXJpYW50J1xuXHRcdFx0KSB9XG5cdFx0PlxuXHRcdFx0eyBtZXNzYWdlIH1cblx0XHQ8L3A+XG5cdCk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUdBO0FBREE7QUFFQTtBQUFBO0FBQ0E7QUFHQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBR0E7QUFLQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/conversion-tracking/SetupEnhancedConversionTrackingNotice.js\n");

/***/ }),

/***/ "./js/components/google-tag-gateway/GoogleTagGatewayToggle.js":
/*!********************************************************************!*\
  !*** ./js/components/google-tag-gateway/GoogleTagGatewayToggle.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return GoogleTagGatewayToggle; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_Badge__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/Badge */ \"./js/components/Badge.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/withIntersectionObserver */ \"./js/util/withIntersectionObserver.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n/**\n * Google Tag Gateway Toggle component.\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\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nvar SubtleNotificationWithIntersectionObserver = Object(_js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_js_components_Notice__WEBPACK_IMPORTED_MODULE_12__[\"default\"]);\nfunction GoogleTagGatewayToggle(_ref) {\n  var className = _ref.className;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var isGoogleTagGatewayEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).isGoogleTagGatewayEnabled();\n  });\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).isFetchingGetGTGServerRequirementStatus();\n  });\n  var hasMetServerRequirements = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    var _select = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]),\n      isGTGHealthy = _select.isGTGHealthy,\n      isScriptAccessEnabled = _select.isScriptAccessEnabled;\n    return isGTGHealthy() !== false && isScriptAccessEnabled() !== false;\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]),\n    fetchGetGTGServerRequirementStatus = _useDispatch.fetchGetGTGServerRequirementStatus,\n    setGoogleTagGatewayEnabled = _useDispatch.setGoogleTagGatewayEnabled;\n  var learnMoreURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getDocumentationLinkURL('google-tag-gateway-introduction');\n  });\n  var serverRequirementsLearnMoreURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getDocumentationLinkURL('google-tag-gateway-server-requirements');\n  });\n\n  // Fetch the server requirement status on mount.\n  Object(react_use__WEBPACK_IMPORTED_MODULE_2__[\"useMount\"])(fetchGetGTGServerRequirementStatus);\n  var handleClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    var action = isGoogleTagGatewayEnabled ? 'deactivate_google_tag_gateway' : 'activate_google_tag_gateway';\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_gtg-settings-toggle\"), action).finally(function () {\n      setGoogleTagGatewayEnabled(!isGoogleTagGatewayEnabled);\n    });\n  }, [isGoogleTagGatewayEnabled, setGoogleTagGatewayEnabled, viewContext]);\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-google-tag-gateway-toggle', className)\n  }, isLoading && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"ProgressBar\"], {\n    className: \"googlesitekit-google-tag-gateway-toggle__progress\",\n    small: true\n  }), !isLoading && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-module-settings-group__switch\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Switch\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Google tag gateway for advertisers', 'google-site-kit'),\n    checked: !!isGoogleTagGatewayEnabled && hasMetServerRequirements,\n    disabled: !hasMetServerRequirements,\n    onClick: handleClick,\n    hideLabel: false\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-google-tag-gateway-toggle__switch-badge\"\n  }, /*#__PURE__*/React.createElement(_js_components_Badge__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    className: \"googlesitekit-badge--beta\",\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Beta', 'google-site-kit'),\n    hasLeftSpacing: true\n  }))), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-module-settings-group__helper-text\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Your tag data will be sent through your own domain to improve data quality and help you recover measurement signals. <a>Learn more</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      href: learnMoreURL,\n      onClick: function onClick() {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_gtg-settings-toggle\"), 'click_learn_more_link');\n      },\n      \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Learn more about Google tag gateway for advertisers', 'google-site-kit'),\n      external: true\n    })\n  })), !isLoading && !hasMetServerRequirements && /*#__PURE__*/React.createElement(SubtleNotificationWithIntersectionObserver, {\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_12__[\"default\"].TYPES.WARNING,\n    title: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Your server’s current settings prevent Google tag gateway for advertisers from working. To enable it, please contact your hosting provider and request access to external resources and plugin files. <a>Learn more</a>', 'google-site-kit'), {\n      a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n        href: serverRequirementsLearnMoreURL,\n        onClick: function onClick() {\n          Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_gtg-settings-toggle-disabled\"), 'click_learn_more_link');\n        },\n        \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Learn more about Google tag gateway for advertisers server requirements', 'google-site-kit'),\n        external: true\n      })\n    }),\n    variant: \"warning\",\n    onInView: function onInView() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_gtg-settings-toggle-disabled\"), 'view_notice');\n    }\n  }));\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/components/google-tag-gateway/GoogleTagGatewayToggle.js\n");

/***/ }),

/***/ "./js/components/notifications/CTA.js":
/*!********************************************!*\
  !*** ./js/components/notifications/CTA.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/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * CTA component.\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\nfunction CTA(_ref) {\n  var title = _ref.title,\n    headerText = _ref.headerText,\n    headerContent = _ref.headerContent,\n    description = _ref.description,\n    ctaLink = _ref.ctaLink,\n    ctaLabel = _ref.ctaLabel,\n    ctaLinkExternal = _ref.ctaLinkExternal,\n    ctaType = _ref.ctaType,\n    error = _ref.error,\n    onClick = _ref.onClick,\n    ariaLabel = _ref['aria-label'],\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-cta', {\n      'googlesitekit-cta--error': error\n    })\n  }, (headerText || headerContent) && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-cta__header\"\n  }, headerText && /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    as: \"h2\",\n    size: \"small\",\n    type: \"label\",\n    className: \"googlesitekit-cta__header_text\"\n  }, headerText), headerContent), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-cta__body\"\n  }, title && /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    as: \"h3\",\n    size: \"small\",\n    type: \"title\",\n    className: \"googlesitekit-cta__title\"\n  }, title), description && typeof description === 'string' && /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-cta__description\"\n  }, description), description && typeof description !== 'string' && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-cta__description\"\n  }, description), ctaLabel && ctaType === 'button' && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    \"aria-label\": ariaLabel,\n    href: ctaLink,\n    onClick: onClick\n  }, ctaLabel), ctaLabel && ctaType === 'link' && /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    href: ctaLink,\n    onClick: onClick,\n    \"aria-label\": ariaLabel,\n    external: ctaLinkExternal,\n    hideExternalIndicator: ctaLinkExternal,\n    arrow: true\n  }, ctaLabel), children));\n}\nCTA.propTypes = {\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  headerText: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node]),\n  ctaLink: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  ctaLinkExternal: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  ctaLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  ctaType: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  'aria-label': prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  error: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n  headerContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node\n};\nCTA.defaultProps = {\n  title: '',\n  headerText: '',\n  headerContent: '',\n  description: '',\n  ctaLink: '',\n  ctaLabel: '',\n  ctaType: 'link',\n  error: false,\n  onClick: function onClick() {}\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (CTA);\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/components/notifications/CTA.js\n");

/***/ }),

/***/ "./js/components/settings/EntityOwnershipChangeNotice.js":
/*!***************************************************************!*\
  !*** ./js/components/settings/EntityOwnershipChangeNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return EntityOwnershipChangeNotice; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/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_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.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_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 * EntityOwnershipChangeNotice component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction EntityOwnershipChangeNotice(_ref) {\n  var slug = _ref.slug;\n  var slugs = Array.isArray(slug) ? slug : [slug];\n  var storeNames = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var _select = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_MODULES\"]),\n      getModuleStoreName = _select.getModuleStoreName,\n      getSharedRoles = _select.getSharedRoles;\n    return slugs\n    // Filter out modules that don't have any shared roles.\n    .filter(function (currentSlug) {\n      var _getSharedRoles;\n      return !!((_getSharedRoles = getSharedRoles(currentSlug)) === null || _getSharedRoles === void 0 ? void 0 : _getSharedRoles.length);\n    }).reduce(function (acc, currentSlug) {\n      var storeName = getModuleStoreName(currentSlug);\n      if (storeName) {\n        return _objectSpread(_objectSpread({}, acc), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, currentSlug, storeName));\n      }\n      return acc;\n    }, {});\n  });\n  var haveOwnedSettingsChanged = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return Object.keys(storeNames).reduce(function (acc, currentSlug) {\n      var _select2, _select3;\n      var storeName = storeNames[currentSlug];\n      var moduleOwnerID = (_select2 = select(storeName)) === null || _select2 === void 0 ? void 0 : _select2.getOwnerID();\n      var loggedInUserID = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getID();\n      var haveSettingsChanged = (_select3 = select(storeName)) === null || _select3 === void 0 ? void 0 : _select3.haveOwnedSettingsChanged();\n      if (haveSettingsChanged && moduleOwnerID !== loggedInUserID) {\n        acc[currentSlug] = haveSettingsChanged;\n      }\n      return acc;\n    }, {});\n  });\n  var haveModulesChanged = Object.values(haveOwnedSettingsChanged).some(function (hasChanged) {\n    return hasChanged;\n  });\n  var moduleNames = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return Object.keys(haveOwnedSettingsChanged).reduce(function (acc, moduleSlug) {\n      var module = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_MODULES\"]).getModule(moduleSlug);\n      if (module) {\n        acc.push(module.name);\n      }\n      return acc;\n    }, []);\n  });\n  if (!haveModulesChanged) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    className: \"googlesitekit-notice--bottom-margin\",\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_8__[\"default\"].TYPES.WARNING,\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: module name. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('By clicking confirm changes, you’re granting other users view-only access to data from %s via your Google account. You can always manage this later in the dashboard sharing settings.', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_7__[\"listFormat\"])(moduleNames))\n  });\n}\nEntityOwnershipChangeNotice.propTypes = {\n  slug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string)]).isRequired\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/components/settings/EntityOwnershipChangeNotice.js\n");

/***/ }),

/***/ "./js/components/settings/SettingsGroup.js":
/*!*************************************************!*\
  !*** ./js/components/settings/SettingsGroup.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SettingsGroup; });\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 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 _js_components_Typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * SettingsInactiveModules component.\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\nfunction SettingsGroup(_ref) {\n  var title = _ref.title,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-module-settings-group\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    as: \"h4\",\n    size: \"medium\",\n    type: \"title\"\n  }, title), children);\n}\nSettingsGroup.propTypes = {\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL3NldHRpbmdzL1NldHRpbmdzR3JvdXAuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL3NldHRpbmdzL1NldHRpbmdzR3JvdXAuanM/MzYyNSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNldHRpbmdzSW5hY3RpdmVNb2R1bGVzIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGlj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SB7XG5cdHRpdGxlOiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWQsXG5cdGNoaWxkcmVuOiBQcm9wVHlwZXMubm9kZS5pc1JlcXVpcmVkLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQU1BO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/settings/SettingsGroup.js\n");

/***/ }),

/***/ "./js/components/settings/SettingsStatuses.js":
/*!****************************************************!*\
  !*** ./js/components/settings/SettingsStatuses.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SettingsStatuses; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * SettingsStatuses component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction SettingsStatuses(_ref) {\n  var statuses = _ref.statuses;\n  if (!statuses || statuses.length === 0) {\n    return null;\n  }\n  function renderStatus(status) {\n    if (status === undefined) {\n      return /*#__PURE__*/React.createElement(\"div\", {\n        className: \"googlesitekit-settings-module__meta-item-data\"\n      }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"ProgressBar\"], null));\n    }\n    return /*#__PURE__*/React.createElement(\"p\", {\n      className: \"googlesitekit-settings-module__meta-item-data\"\n    }, status ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Enabled', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Disabled', 'google-site-kit'));\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-items\"\n  }, statuses.map(function (_ref2) {\n    var label = _ref2.label,\n      status = _ref2.status;\n    return /*#__PURE__*/React.createElement(\"div\", {\n      key: label,\n      className: \"googlesitekit-settings-module__meta-item\"\n    }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      as: \"h5\",\n      size: \"medium\",\n      type: \"label\",\n      className: \"googlesitekit-settings-module__meta-item-type\"\n    }, label), renderStatus(status));\n  }));\n}\nSettingsStatuses.propTypes = {\n  statuses: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({\n    label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n    status: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([undefined, true, false])\n  }))\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL3NldHRpbmdzL1NldHRpbmdzU3RhdHVzZXMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL3NldHRpbmdzL1NldHRpbmdzU3RhdHVzZXMuanM/NzQ2MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNldHRpbmdzU3RhdHVzZXMgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiA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DQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBSUE7QUFDQTtBQUNBO0FBQUE7QUFNQTtBQUVBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUVBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFLQTtBQUlBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/settings/SettingsStatuses.js\n");

/***/ }),

/***/ "./js/components/surveys/SurveyViewTrigger.js":
/*!****************************************************!*\
  !*** ./js/components/surveys/SurveyViewTrigger.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 SurveyViewTrigger; });\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 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 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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/**\n * SurveyViewTrigger component.\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\n/**\n * Internal dependencies\n */\n\n\nfunction SurveyViewTrigger(_ref) {\n  var triggerID = _ref.triggerID,\n    _ref$ttl = _ref.ttl,\n    ttl = _ref$ttl === void 0 ? 0 : _ref$ttl;\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]),\n    triggerSurvey = _useDispatch.triggerSurvey;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    triggerSurvey(triggerID, {\n      ttl: ttl\n    });\n  }, [triggerID, ttl, triggerSurvey]);\n  return null;\n}\nSurveyViewTrigger.propTypes = {\n  triggerID: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  ttl: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL3N1cnZleXMvU3VydmV5Vmlld1RyaWdnZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL3N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NBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/surveys/SurveyViewTrigger.js\n");

/***/ }),

/***/ "./js/components/user-input/util/constants.js":
/*!****************************************************!*\
  !*** ./js/components/user-input/util/constants.js ***!
  \****************************************************/
/*! exports provided: USER_INPUT_QUESTIONS_PURPOSE, USER_INPUT_QUESTION_POST_FREQUENCY, USER_INPUT_QUESTIONS_GOALS, USER_INPUT_QUESTIONS_LIST, USER_INPUT_MAX_ANSWERS, USER_INPUT_CURRENTLY_EDITING_KEY, FORM_USER_INPUT_QUESTION_NUMBER, FORM_USER_INPUT_QUESTION_SNAPSHOT, USER_INPUT_LEGACY_SITE_PURPOSE_DISMISSED_ITEM_KEY, USER_INPUT_PURPOSE_TO_CONVERSION_EVENTS_MAPPING, getUserInputQuestions, getUserInputAnswers, getUserInputAnswersDescription */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"USER_INPUT_QUESTIONS_PURPOSE\", function() { return USER_INPUT_QUESTIONS_PURPOSE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"USER_INPUT_QUESTION_POST_FREQUENCY\", function() { return USER_INPUT_QUESTION_POST_FREQUENCY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"USER_INPUT_QUESTIONS_GOALS\", function() { return USER_INPUT_QUESTIONS_GOALS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"USER_INPUT_QUESTIONS_LIST\", function() { return USER_INPUT_QUESTIONS_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"USER_INPUT_MAX_ANSWERS\", function() { return USER_INPUT_MAX_ANSWERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"USER_INPUT_CURRENTLY_EDITING_KEY\", function() { return USER_INPUT_CURRENTLY_EDITING_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_USER_INPUT_QUESTION_NUMBER\", function() { return FORM_USER_INPUT_QUESTION_NUMBER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_USER_INPUT_QUESTION_SNAPSHOT\", function() { return FORM_USER_INPUT_QUESTION_SNAPSHOT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"USER_INPUT_LEGACY_SITE_PURPOSE_DISMISSED_ITEM_KEY\", function() { return USER_INPUT_LEGACY_SITE_PURPOSE_DISMISSED_ITEM_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"USER_INPUT_PURPOSE_TO_CONVERSION_EVENTS_MAPPING\", function() { return USER_INPUT_PURPOSE_TO_CONVERSION_EVENTS_MAPPING; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getUserInputQuestions\", function() { return getUserInputQuestions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getUserInputAnswers\", function() { return getUserInputAnswers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getUserInputAnswersDescription\", function() { return getUserInputAnswersDescription; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n\nvar _USER_INPUT_MAX_ANSWE;\n/**\n * User Input Answers.\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 USER_INPUT_QUESTIONS_PURPOSE = 'purpose';\nvar USER_INPUT_QUESTION_POST_FREQUENCY = 'postFrequency';\nvar USER_INPUT_QUESTIONS_GOALS = 'goals';\nvar USER_INPUT_QUESTIONS_LIST = [USER_INPUT_QUESTIONS_PURPOSE, USER_INPUT_QUESTION_POST_FREQUENCY, USER_INPUT_QUESTIONS_GOALS];\nvar USER_INPUT_MAX_ANSWERS = (_USER_INPUT_MAX_ANSWE = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_USER_INPUT_MAX_ANSWE, USER_INPUT_QUESTIONS_PURPOSE, 1), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_USER_INPUT_MAX_ANSWE, USER_INPUT_QUESTION_POST_FREQUENCY, 1), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_USER_INPUT_MAX_ANSWE, USER_INPUT_QUESTIONS_GOALS, 3), _USER_INPUT_MAX_ANSWE);\nvar USER_INPUT_CURRENTLY_EDITING_KEY = 'googlesitekit-user-input-currently-editing';\nvar FORM_USER_INPUT_QUESTION_NUMBER = 'user_input_question_number';\nvar FORM_USER_INPUT_QUESTION_SNAPSHOT = 'user_input_question_snapshot';\nvar USER_INPUT_LEGACY_SITE_PURPOSE_DISMISSED_ITEM_KEY = 'user-input-legacy-site-purpose-dismissed-item';\nvar USER_INPUT_PURPOSE_TO_CONVERSION_EVENTS_MAPPING = {\n  publish_blog: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM],\n  publish_news: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM],\n  monetize_content: [],\n  sell_products_or_service: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].PURCHASE, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].ADD_TO_CART],\n  sell_products: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].PURCHASE, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].ADD_TO_CART],\n  provide_services: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM],\n  share_portfolio: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM],\n  other: []\n};\n\n/**\n * Gets available questions for user input settings.\n *\n * @since 1.139.0\n * @private\n *\n * @return {Object} Questions object.\n */\nfunction getUserInputQuestions() {\n  var description = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Based on your answer, Site Kit will suggest the metrics you see on your dashboard to help you track how close you’re getting to your specific goals', 'google-site-kit');\n  return [{\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('What is the main purpose of this site?', 'google-site-kit'),\n    description: description\n  }, {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('How often do you create new content for this site?', 'google-site-kit'),\n    description: description\n  }, {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('What are your top 3 goals for this site?', 'google-site-kit'),\n    description: description\n  }];\n}\n\n/**\n * Gets available answers for user input settings.\n *\n * @since 1.20.0\n * @private\n *\n * @return {Object} Answers object.\n */\nfunction getUserInputAnswers() {\n  return {\n    USER_INPUT_ANSWERS_PURPOSE: {\n      sell_products_or_service: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Sell products or services', 'google-site-kit'),\n      sell_products: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Sell products', 'google-site-kit'),\n      provide_services: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Provide services', 'google-site-kit'),\n      monetize_content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Monetize content', 'google-site-kit'),\n      publish_blog: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Publish a blog', 'google-site-kit'),\n      publish_news: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Publish news content', 'google-site-kit'),\n      share_portfolio: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Portfolio or business card', 'google-site-kit'),\n      other: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Other', 'google-site-kit')\n    },\n    USER_INPUT_ANSWERS_POST_FREQUENCY: {\n      never: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Never', 'google-site-kit'),\n      daily: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Daily', 'google-site-kit'),\n      weekly: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Weekly', 'google-site-kit'),\n      monthly: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Monthly', 'google-site-kit'),\n      other: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Other', 'google-site-kit')\n    },\n    USER_INPUT_ANSWERS_GOALS: {\n      retaining_visitors: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Retain visitors, turn them into loyal readers or customers', 'google-site-kit'),\n      improving_performance: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Improve speed and performance', 'google-site-kit'),\n      finding_new_topics: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Find new topics to write about that connect with my audience', 'google-site-kit'),\n      growing_audience: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Grow my audience', 'google-site-kit'),\n      expanding_business: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Expand my business into new cities, states or markets', 'google-site-kit'),\n      generating_revenue: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Generate more revenue', 'google-site-kit'),\n      generating_leads: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Generate leads', 'google-site-kit'),\n      help_better_rank: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Help my content rank in a better position in Google search results', 'google-site-kit'),\n      understanding_content_performance: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Understand which content is performing best', 'google-site-kit'),\n      encourage_to_post: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Encouragement to post more frequently', 'google-site-kit'),\n      other: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Other', 'google-site-kit')\n    }\n  };\n}\n\n/**\n * Gets available answer descriptions for user input settings.\n *\n * @since 1.139.0\n * @private\n *\n * @return {Object} Answer descriptions object.\n */\nfunction getUserInputAnswersDescription() {\n  return {\n    USER_INPUT_ANSWERS_PURPOSE: {\n      sell_products_or_service: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('E.g. selling products like devices, apparel, equipment, etc. or offering services like courses, consulting, tutoring, etc.', 'google-site-kit'),\n      sell_products: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('E.g. selling devices, apparel, equipment, etc.', 'google-site-kit'),\n      provide_services: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('E.g. offering courses, consulting, tutoring, etc.', 'google-site-kit'),\n      monetize_content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Using display ads, affiliate links, sponsored content, etc.', 'google-site-kit'),\n      publish_blog: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Writing on a topic you’re passionate about, no focus on monetizing content', 'google-site-kit'),\n      publish_news: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('E.g. local news, investigative pieces, interviews, etc.', 'google-site-kit'),\n      share_portfolio: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('My website represents me or my company', 'google-site-kit'),\n      other: undefined\n    }\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/components/user-input/util/constants.js\n");

/***/ }),

/***/ "./js/feature-tours/shared-key-metrics.js":
/*!************************************************!*\
  !*** ./js/feature-tours/shared-key-metrics.js ***!
  \************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\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 * WordPress dependencies\n */\n\n\n/*\n * Internal dependencies\n */\n\nvar sharedKeyMetrics = {\n  slug: 'sharedKeyMetrics',\n  contexts: [_js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_1__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_1__[\"VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_1__[\"VIEW_CONTEXT_ENTITY_DASHBOARD\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_1__[\"VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY\"]],\n  gaEventCategory: function gaEventCategory(viewContext) {\n    return \"\".concat(viewContext, \"_shared_key-metrics\");\n  },\n  steps: [{\n    target: '.googlesitekit-km-change-metrics-cta',\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Personalize your key metrics', 'google-site-kit'),\n    content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Another admin has set up these tailored metrics for your site. Click here to personalize them.', 'google-site-kit'),\n    placement: 'bottom-start'\n  }]\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (sharedKeyMetrics);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9mZWF0dXJlLXRvdXJzL3NoYXJlZC1rZXktbWV0cmljcy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2ZlYXR1cmUtdG91cnMvc2hh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0KSxcblx0XHRcdHBsYWNlbWVudDogJ2JvdHRvbS1zdGFydCcsXG5cdFx0fSxcblx0XSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IHNoYXJlZEtleU1ldHJpY3M7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFPQTtBQUNBO0FBQ0E7QUFNQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUlBO0FBQ0E7QUFFQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/feature-tours/shared-key-metrics.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9mZWF0dXJlcy9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2ZlYXR1cmVzL2luZGV4LmpzPzgyM2MiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBGZWF0dXJlIGZsYWdzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2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8gY2hlY2suXG4gKiBAcGFyYW0ge1NldH0gICAgW19lbmFibGVkRmVhdHVyZXNdIE9wdGlvbmFsLiBUaGUgc2V0IG9mIGVuYWJsZWQgZmVhdHVyZXMuIFVzZXMgYGVuYWJsZWRGZWF0dXJlc2Agc2V0IGJ5IHRoZSBzZXJ2ZXIgaW4gYSBnbG9iYWwgSlMgdmFyaWFibGUsIGJ5IGRlZmF1bHQuXG4gKiBAcmV0dXJuIHtib29sZWFufSBgdHJ1ZWAgaWYgYSBmZWF0dXJlIGlzIGVuYWJsZWQ7IGBmYWxzZWAgb3RoZXJ3aXNlLlxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNGZWF0dXJlRW5hYmxlZChcblx0ZmVhdHVyZSxcblx0X2VuYWJsZWRGZWF0dXJlcyA9IGVuYWJsZWRGZWF0dXJlc1xuKSB7XG5cdGlmICggISAoIF9lbmFibGVkRmVhdHVyZXMgaW5zdGFuY2VvZiBTZXQgKSApIHtcblx0XHRyZXR1cm4gZmFsc2U7XG5cdH1cblx0cmV0dXJuIF9lbmFibGVkRmVhdHVyZXMuaGFzKCBmZWF0dXJlICk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/features/index.js\n");

/***/ }),

/***/ "./js/googlesitekit-data.js":
/*!**********************************!*\
  !*** ./js/googlesitekit-data.js ***!
  \**********************************/
/*! exports provided: default, combineStores, commonActions, commonControls, commonStore, controls, createReducer, useInViewSelect, createRegistryControl, createRegistrySelector, useSelect, useDispatch, useRegistry, withSelect, withDispatch, RegistryProvider */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./googlesitekit/data */ \"./js/googlesitekit/data/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineStores\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"combineStores\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"commonActions\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"commonActions\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"commonControls\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"commonControls\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"commonStore\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"commonStore\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"controls\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createReducer\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"createReducer\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useInViewSelect\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"useInViewSelect\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createRegistryControl\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"createRegistryControl\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createRegistrySelector\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"createRegistrySelector\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useSelect\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useDispatch\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"useDispatch\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useRegistry\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"useRegistry\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withSelect\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"withSelect\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withDispatch\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"withDispatch\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RegistryProvider\", function() { return _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"RegistryProvider\"]; });\n\n/**\n * Public Data store entrypoint.\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\nif (typeof global.googlesitekit === 'undefined') {\n  global.googlesitekit = {};\n}\nglobal.googlesitekit.data = _googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\n\n// This is only exported for Jest and is not used in production.\n/* harmony default export */ __webpack_exports__[\"default\"] = (_googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0LWRhdGEuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0LWRhdGEuanM/ODlhNiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFB1YmxpYyBEYXRhIHN0b3JlIGVudHJ5cG9pbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQs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DQTtBQUNBO0FBQ0E7O0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit-data.js\n");

/***/ }),

/***/ "./js/googlesitekit-modules-analytics-4.js":
/*!*************************************************!*\
  !*** ./js/googlesitekit-modules-analytics-4.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_modules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-modules */ \"googlesitekit-modules\");\n/* harmony import */ var googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_widgets__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-widgets */ \"googlesitekit-widgets\");\n/* harmony import */ var googlesitekit_widgets__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_widgets__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_notifications__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-notifications */ \"googlesitekit-notifications\");\n/* harmony import */ var googlesitekit_notifications__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_notifications__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _modules_analytics_4__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modules/analytics-4 */ \"./js/modules/analytics-4/index.js\");\n/**\n * Analytics-4 module entrypoint.\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\nObject(_modules_analytics_4__WEBPACK_IMPORTED_MODULE_4__[\"registerStore\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default.a);\nObject(_modules_analytics_4__WEBPACK_IMPORTED_MODULE_4__[\"registerModule\"])(googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1___default.a);\nObject(_modules_analytics_4__WEBPACK_IMPORTED_MODULE_4__[\"registerWidgets\"])(googlesitekit_widgets__WEBPACK_IMPORTED_MODULE_2___default.a);\nObject(_modules_analytics_4__WEBPACK_IMPORTED_MODULE_4__[\"registerNotifications\"])(googlesitekit_notifications__WEBPACK_IMPORTED_MODULE_3___default.a);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0LW1vZHVsZXMtYW5hbHl0aWNzLTQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0LW1vZHVsZXMtYW5hbHl0aWNzLTQuanM/ZTZkZiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFuYWx5dGljcy00IG1vZHVsZSBlbnRyeXBvaW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSB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B7XG5cdHJlZ2lzdGVyU3RvcmUsXG5cdHJlZ2lzdGVyTW9kdWxlLFxuXHRyZWdpc3RlcldpZGdldHMsXG5cdHJlZ2lzdGVyTm90aWZpY2F0aW9ucyxcbn0gZnJvbSAnLi9tb2R1bGVzL2FuYWx5dGljcy00JztcblxucmVnaXN0ZXJTdG9yZSggRGF0YSApO1xucmVnaXN0ZXJNb2R1bGUoIE1vZHVsZXMgKTtcbnJlZ2lzdGVyV2lkZ2V0cyggV2lkZ2V0cyApO1xucmVnaXN0ZXJOb3RpZmljYXRpb25zKCBOb3RpZmljYXRpb25zICk7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQU9BO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit-modules-analytics-4.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/ZmNhNyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEN1c3RvbSBwcmVsb2FkaW5nIG1pZGRsZXdhcmUuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZX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QUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/api/middleware/preloading.js\n");

/***/ }),

/***/ "./js/googlesitekit/components-gm2/Button/MaybeTooltip.js":
/*!****************************************************************!*\
  !*** ./js/googlesitekit/components-gm2/Button/MaybeTooltip.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MaybeTooltip; });\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 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 _js_googlesitekit_components_gm2_Tooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/components-gm2/Tooltip */ \"./js/googlesitekit/components-gm2/Tooltip.js\");\n\n/**\n * MaybeTooltip component.\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\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nfunction MaybeTooltip(_ref) {\n  var children = _ref.children,\n    _ref$disabled = _ref.disabled,\n    disabled = _ref$disabled === void 0 ? false : _ref$disabled,\n    _ref$tooltip = _ref.tooltip,\n    tooltip = _ref$tooltip === void 0 ? false : _ref$tooltip,\n    _ref$tooltipTitle = _ref.tooltipTitle,\n    tooltipTitle = _ref$tooltipTitle === void 0 ? null : _ref$tooltipTitle,\n    _ref$hasIconOnly = _ref.hasIconOnly,\n    hasIconOnly = _ref$hasIconOnly === void 0 ? false : _ref$hasIconOnly,\n    _ref$tooltipEnterDela = _ref.tooltipEnterDelayInMS,\n    tooltipEnterDelayInMS = _ref$tooltipEnterDela === void 0 ? 100 : _ref$tooltipEnterDela;\n  if (!disabled && (tooltip && tooltipTitle || hasIconOnly && tooltipTitle)) {\n    return /*#__PURE__*/React.createElement(_js_googlesitekit_components_gm2_Tooltip__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n      title: tooltipTitle,\n      enterDelay: tooltipEnterDelayInMS\n    }, children);\n  }\n  return children;\n}\nMaybeTooltip.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  tooltip: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  tooltipTitle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element]),\n  hasIconOnly: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  tooltipEnterDelayInMS: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2Nv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aXBUaXRsZTogUHJvcFR5cGVzLm9uZU9mVHlwZSggW1xuXHRcdFByb3BUeXBlcy5zdHJpbmcsXG5cdFx0UHJvcFR5cGVzLmVsZW1lbnQsXG5cdF0gKSxcblx0aGFzSWNvbk9ubHk6IFByb3BUeXBlcy5ib29sLFxuXHR0b29sdGlwRW50ZXJEZWxheUluTVM6IFByb3BUeXBlcy5udW1iZXIsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFPQTtBQU5BO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFJQTtBQUVBO0FBQ0E7QUFBQTtBQUtBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFJQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/components-gm2/Button/MaybeTooltip.js\n");

/***/ }),

/***/ "./js/googlesitekit/components-gm2/Button/SemanticButton.js":
/*!******************************************************************!*\
  !*** ./js/googlesitekit/components-gm2/Button/SemanticButton.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 _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n/**\n * SemanticButton component.\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\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\nvar SemanticButton = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (_ref, ref) {\n  var children = _ref.children,\n    href = _ref.href,\n    text = _ref.text,\n    className = _ref.className,\n    danger = _ref.danger,\n    disabled = _ref.disabled,\n    target = _ref.target,\n    ariaLabel = _ref['aria-label'],\n    inverse = _ref.inverse,\n    tertiary = _ref.tertiary,\n    callout = _ref.callout,\n    calloutStyle = _ref.calloutStyle,\n    extraProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"children\", \"href\", \"text\", \"className\", \"danger\", \"disabled\", \"target\", \"aria-label\", \"inverse\", \"tertiary\", \"callout\", \"calloutStyle\"]);\n  // Use a button if disabled, even if a href is provided to ensure expected behavior.\n  var ButtonTag = href && !disabled ? 'a' : 'button';\n  return /*#__PURE__*/React.createElement(ButtonTag, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('mdc-button', className, {\n      'mdc-button--raised': !text && !tertiary && !callout,\n      'mdc-button--danger': danger,\n      'mdc-button--inverse': inverse,\n      'mdc-button--tertiary': tertiary,\n      'mdc-button--callout': callout,\n      'mdc-button--callout-primary': callout || calloutStyle === 'primary',\n      'mdc-button--callout-warning': calloutStyle === 'warning',\n      'mdc-button--callout-error': calloutStyle === 'error'\n    }),\n    href: disabled ? undefined : href,\n    ref: ref,\n    disabled: !!disabled,\n    \"aria-label\": ariaLabel,\n    target: target || '_self',\n    role: 'a' === ButtonTag ? 'button' : undefined\n  }, extraProps), children);\n});\nSemanticButton.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node,\n  href: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  text: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  danger: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  target: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  'aria-label': prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  inverse: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  tertiary: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  callout: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  calloutStyle: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf(['primary', 'warning', 'error'])\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (SemanticButton);\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/googlesitekit/components-gm2/Button/SemanticButton.js\n");

/***/ }),

/***/ "./js/googlesitekit/components-gm2/Button/index.js":
/*!*********************************************************!*\
  !*** ./js/googlesitekit/components-gm2/Button/index.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 _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _react_hook_merged_ref__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @react-hook/merged-ref */ \"../node_modules/@react-hook/merged-ref/dist/module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _js_material_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _SemanticButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SemanticButton */ \"./js/googlesitekit/components-gm2/Button/SemanticButton.js\");\n/* harmony import */ var _MaybeTooltip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./MaybeTooltip */ \"./js/googlesitekit/components-gm2/Button/MaybeTooltip.js\");\n\n\n\n/**\n * Button component.\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\nvar Button = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (_ref, ref) {\n  var children = _ref.children,\n    _ref$href = _ref.href,\n    href = _ref$href === void 0 ? null : _ref$href,\n    _ref$text = _ref.text,\n    text = _ref$text === void 0 ? false : _ref$text,\n    _ref$className = _ref.className,\n    className = _ref$className === void 0 ? '' : _ref$className,\n    _ref$danger = _ref.danger,\n    danger = _ref$danger === void 0 ? false : _ref$danger,\n    _ref$disabled = _ref.disabled,\n    disabled = _ref$disabled === void 0 ? false : _ref$disabled,\n    target = _ref.target,\n    _ref$icon = _ref.icon,\n    icon = _ref$icon === void 0 ? null : _ref$icon,\n    _ref$trailingIcon = _ref.trailingIcon,\n    trailingIcon = _ref$trailingIcon === void 0 ? null : _ref$trailingIcon,\n    ariaLabel = _ref['aria-label'],\n    _ref$title = _ref.title,\n    title = _ref$title === void 0 ? null : _ref$title,\n    _ref$customizedToolti = _ref.customizedTooltip,\n    customizedTooltip = _ref$customizedToolti === void 0 ? null : _ref$customizedToolti,\n    _ref$tooltip = _ref.tooltip,\n    tooltip = _ref$tooltip === void 0 ? false : _ref$tooltip,\n    _ref$inverse = _ref.inverse,\n    inverse = _ref$inverse === void 0 ? false : _ref$inverse,\n    _ref$hideTooltipTitle = _ref.hideTooltipTitle,\n    hideTooltipTitle = _ref$hideTooltipTitle === void 0 ? false : _ref$hideTooltipTitle,\n    _ref$tooltipEnterDela = _ref.tooltipEnterDelayInMS,\n    tooltipEnterDelayInMS = _ref$tooltipEnterDela === void 0 ? 100 : _ref$tooltipEnterDela,\n    _ref$tertiary = _ref.tertiary,\n    tertiary = _ref$tertiary === void 0 ? false : _ref$tertiary,\n    _ref$callout = _ref.callout,\n    callout = _ref$callout === void 0 ? false : _ref$callout,\n    _ref$calloutStyle = _ref.calloutStyle,\n    calloutStyle = _ref$calloutStyle === void 0 ? null : _ref$calloutStyle,\n    extraProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"children\", \"href\", \"text\", \"className\", \"danger\", \"disabled\", \"target\", \"icon\", \"trailingIcon\", \"aria-label\", \"title\", \"customizedTooltip\", \"tooltip\", \"inverse\", \"hideTooltipTitle\", \"tooltipEnterDelayInMS\", \"tertiary\", \"callout\", \"calloutStyle\"]);\n  var buttonRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(function (el) {\n    if (el !== null) {\n      _js_material_components__WEBPACK_IMPORTED_MODULE_6__[\"MDCRipple\"].attachTo(el);\n    }\n  }, []);\n  var mergedRefs = Object(_react_hook_merged_ref__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(ref, buttonRef);\n  function getAriaLabel() {\n    var label = ariaLabel;\n    if (target !== '_blank') {\n      return label;\n    }\n    var newTabText = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"_x\"])('(opens in a new tab)', 'screen reader text', 'google-site-kit');\n    if (typeof children === 'string') {\n      label = label || children;\n    }\n    if (label) {\n      return \"\".concat(label, \" \").concat(newTabText);\n    }\n    return newTabText;\n  }\n  var tooltipTitle = !hideTooltipTitle ? title || customizedTooltip || ariaLabel : null;\n  return /*#__PURE__*/React.createElement(_MaybeTooltip__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    disabled: disabled,\n    tooltip: tooltip,\n    tooltipTitle: tooltipTitle,\n    hasIconOnly: !!icon && children === undefined,\n    tooltipEnterDelayInMS: tooltipEnterDelayInMS\n  }, /*#__PURE__*/React.createElement(_SemanticButton__WEBPACK_IMPORTED_MODULE_7__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    href: href,\n    disabled: disabled,\n    className: className,\n    danger: danger,\n    text: text,\n    tertiary: tertiary,\n    inverse: inverse,\n    callout: callout,\n    calloutStyle: calloutStyle,\n    ref: mergedRefs,\n    \"aria-label\": getAriaLabel(),\n    target: target || '_self'\n  }, extraProps), icon, children && /*#__PURE__*/React.createElement(\"span\", {\n    className: \"mdc-button__label\"\n  }, children), trailingIcon));\n});\nButton.propTypes = {\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node,\n  href: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  text: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  danger: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  icon: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element,\n  trailingIcon: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  customizedTooltip: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element,\n  tooltip: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  inverse: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  hideTooltipTitle: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  callout: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  calloutStyle: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf(['primary', 'warning', 'error'])\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Button);\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/googlesitekit/components-gm2/Button/index.js\n");

/***/ }),

/***/ "./js/googlesitekit/components-gm2/CircularProgress.js":
/*!*************************************************************!*\
  !*** ./js/googlesitekit/components-gm2/CircularProgress.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CircularProgress; });\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 _material_ui_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-ui/core */ \"../node_modules/@material-ui/core/esm/index.js\");\n\n/**\n * CircularProgress component.\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\nfunction CircularProgress(props) {\n  return /*#__PURE__*/React.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_1__[\"CircularProgress\"], props);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2NvbXBvbmVud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lIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgQ2lyY3VsYXJQcm9ncmVzcyBhcyBNdWlDaXJjdWxhclByb2dyZXNzIH0gZnJvbSAnQG1hdGVyaWFsLXVpL2NvcmUnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBDaXJjdWxhclByb2dyZXNzKCBwcm9wcyApIHtcblx0cmV0dXJuIDxNdWlDaXJjdWxhclByb2dyZXNzIHsgLi4ucHJvcHMgfSAvPjtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/components-gm2/CircularProgress.js\n");

/***/ }),

/***/ "./js/googlesitekit/components-gm2/SpinnerButton.js":
/*!**********************************************************!*\
  !*** ./js/googlesitekit/components-gm2/SpinnerButton.js ***!
  \**********************************************************/
/*! exports provided: SPINNER_POSITION, default */
/***/ (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__, \"SPINNER_POSITION\", function() { return SPINNER_POSITION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SpinnerButton; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Button */ \"./js/googlesitekit/components-gm2/Button/index.js\");\n/* harmony import */ var _CircularProgress__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CircularProgress */ \"./js/googlesitekit/components-gm2/CircularProgress.js\");\n\n\n\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/**\n * Internal dependencies\n */\n\n\nvar SPINNER_POSITION = {\n  BEFORE: 'before',\n  AFTER: 'after'\n};\nfunction SpinnerButton(props) {\n  var className = props.className,\n    _props$onClick = props.onClick,\n    onClick = _props$onClick === void 0 ? function () {} : _props$onClick,\n    _props$isSaving = props.isSaving,\n    isSaving = _props$isSaving === void 0 ? false : _props$isSaving,\n    _props$spinnerPositio = props.spinnerPosition,\n    spinnerPosition = _props$spinnerPositio === void 0 ? SPINNER_POSITION.AFTER : _props$spinnerPositio,\n    restProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(props, [\"className\", \"onClick\", \"isSaving\", \"spinnerPosition\"]);\n  return /*#__PURE__*/React.createElement(_Button__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(className, 'googlesitekit-button-icon--spinner', {\n      'googlesitekit-button-icon--spinner__running': isSaving,\n      'googlesitekit-button-icon--spinner__before': spinnerPosition === SPINNER_POSITION.BEFORE,\n      'googlesitekit-button-icon--spinner__after': spinnerPosition === SPINNER_POSITION.AFTER\n    }),\n    icon: isSaving && spinnerPosition === SPINNER_POSITION.BEFORE ? /*#__PURE__*/React.createElement(_CircularProgress__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      size: 14\n    }) : undefined,\n    trailingIcon: isSaving && spinnerPosition === SPINNER_POSITION.AFTER ? /*#__PURE__*/React.createElement(_CircularProgress__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      size: 14\n    }) : undefined,\n    onClick: onClick\n  }, restProps));\n}\nSpinnerButton.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func,\n  isSaving: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  spinnerPosition: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf(Object.values(SPINNER_POSITION))\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2NvbXBvbmVudHMtZ20yL1NwaW5uZXJCdXR0b24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2NvbXBvbmVudHMtZ20yL1NwaW5uZXJCdXR0b24uanM/ODQ4NyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVk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lxuXHQpO1xufVxuXG5TcGlubmVyQnV0dG9uLnByb3BUeXBlcyA9IHtcblx0Y2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxuXHRvbkNsaWNrOiBQcm9wVHlwZXMuZnVuYyxcblx0aXNTYXZpbmc6IFByb3BUeXBlcy5ib29sLFxuXHRzcGlubmVyUG9zaXRpb246IFByb3BUeXBlcy5vbmVPZiggT2JqZWN0LnZhbHVlcyggU1BJTk5FUl9QT1NJVElPTiApICksXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUVBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBR0E7QUFFQTtBQUlBO0FBQ0E7QUFFQTtBQUVBO0FBRUE7QUFFQTtBQUFBO0FBR0E7QUFFQTtBQUFBO0FBR0E7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/components-gm2/SpinnerButton.js\n");

/***/ }),

/***/ "./js/googlesitekit/components-gm2/Tooltip.js":
/*!****************************************************!*\
  !*** ./js/googlesitekit/components-gm2/Tooltip.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Tooltip; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @material-ui/core */ \"../node_modules/@material-ui/core/esm/index.js\");\n\n\n\n/**\n * Tooltip component.\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\n/**\n * WordPress dependencies\n */\n\nfunction Tooltip(_ref) {\n  var children = _ref.children,\n    popperClassName = _ref.popperClassName,\n    tooltipClassName = _ref.tooltipClassName,\n    onOpen = _ref.onOpen,\n    onClose = _ref.onClose,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"children\", \"popperClassName\", \"tooltipClassName\", \"onOpen\", \"onClose\"]);\n  var isOpen = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useRef\"])(false);\n  var handleOpen = onOpen ? function () {\n    // This fixes a bug where the `onOpen` callback is called when the tooltip is already open.\n    if (isOpen.current) {\n      return;\n    }\n    isOpen.current = true;\n    onOpen === null || onOpen === void 0 ? void 0 : onOpen();\n  } : undefined;\n  var handleClose = onOpen ? function () {\n    isOpen.current = false;\n    onClose === null || onClose === void 0 ? void 0 : onClose();\n  } : onClose;\n  return /*#__PURE__*/React.createElement(_material_ui_core__WEBPACK_IMPORTED_MODULE_5__[\"Tooltip\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    classes: {\n      popper: classnames__WEBPACK_IMPORTED_MODULE_4___default()('googlesitekit-tooltip-popper', popperClassName),\n      tooltip: classnames__WEBPACK_IMPORTED_MODULE_4___default()('googlesitekit-tooltip', tooltipClassName)\n    },\n    onOpen: handleOpen,\n    onClose: handleClose\n  }, props, {\n    arrow: true\n  }), children);\n}\nTooltip.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node,\n  popperClassName: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  tooltipClassName: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  onOpen: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func,\n  onClose: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2NvbXBvbmVudHMtZ20yL1Rvb2x0aXAuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2NvbXBvbmVudHMtZ20yL1Rvb2x0aXAuanM/MWY5MiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRvb2x0aXAgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlI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lwZXMuc3RyaW5nLFxuXHR0b29sdGlwQ2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxuXHRvbk9wZW46IFByb3BUeXBlcy5mdW5jLFxuXHRvbkNsb3NlOiBQcm9wVHlwZXMuZnVuYyxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQU9BO0FBTEE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBR0E7QUFFQTtBQUNBO0FBSUE7QUFJQTtBQUNBO0FBQ0E7QUFBQTtBQUVBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/components-gm2/Tooltip.js\n");

/***/ }),

/***/ "./js/googlesitekit/constants.js":
/*!***************************************!*\
  !*** ./js/googlesitekit/constants.js ***!
  \***************************************/
/*! exports provided: VIEW_CONTEXT_MAIN_DASHBOARD, VIEW_CONTEXT_ENTITY_DASHBOARD, VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_POSTS_LIST, VIEW_CONTEXT_USER_INPUT, VIEW_CONTEXT_ACTIVATION, VIEW_CONTEXT_SPLASH, VIEW_CONTEXT_ADMIN_BAR, VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY, VIEW_CONTEXT_SETTINGS, VIEW_CONTEXT_AD_BLOCKING_RECOVERY, VIEW_CONTEXT_MODULE, VIEW_CONTEXT_WP_DASHBOARD, VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_MODULE_SETUP, VIEW_CONTEXT_METRIC_SELECTION, VIEW_CONTEXT_WP_BLOCK_EDITOR, ANCHOR_ID_KEY_METRICS, ANCHOR_ID_TRAFFIC, ANCHOR_ID_CONTENT, ANCHOR_ID_SPEED, ANCHOR_ID_MONETIZATION, SITE_KIT_VIEW_CONTEXTS, SITE_KIT_VIEW_ONLY_CONTEXTS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_MAIN_DASHBOARD\", function() { return VIEW_CONTEXT_MAIN_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ENTITY_DASHBOARD\", function() { return VIEW_CONTEXT_ENTITY_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY\", function() { return VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY\", function() { return VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_POSTS_LIST\", function() { return VIEW_CONTEXT_POSTS_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_USER_INPUT\", function() { return VIEW_CONTEXT_USER_INPUT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ACTIVATION\", function() { return VIEW_CONTEXT_ACTIVATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_SPLASH\", function() { return VIEW_CONTEXT_SPLASH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ADMIN_BAR\", function() { return VIEW_CONTEXT_ADMIN_BAR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY\", function() { return VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_SETTINGS\", function() { return VIEW_CONTEXT_SETTINGS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_AD_BLOCKING_RECOVERY\", function() { return VIEW_CONTEXT_AD_BLOCKING_RECOVERY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_MODULE\", function() { return VIEW_CONTEXT_MODULE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_WP_DASHBOARD\", function() { return VIEW_CONTEXT_WP_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY\", function() { return VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_MODULE_SETUP\", function() { return VIEW_CONTEXT_MODULE_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_METRIC_SELECTION\", function() { return VIEW_CONTEXT_METRIC_SELECTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_WP_BLOCK_EDITOR\", function() { return VIEW_CONTEXT_WP_BLOCK_EDITOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_KEY_METRICS\", function() { return ANCHOR_ID_KEY_METRICS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_TRAFFIC\", function() { return ANCHOR_ID_TRAFFIC; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_CONTENT\", function() { return ANCHOR_ID_CONTENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_SPEED\", function() { return ANCHOR_ID_SPEED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_MONETIZATION\", function() { return ANCHOR_ID_MONETIZATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_KIT_VIEW_CONTEXTS\", function() { return SITE_KIT_VIEW_CONTEXTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_KIT_VIEW_ONLY_CONTEXTS\", function() { return SITE_KIT_VIEW_ONLY_CONTEXTS; });\n/**\n * Core 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 VIEW_CONTEXT_MAIN_DASHBOARD = 'mainDashboard';\nvar VIEW_CONTEXT_ENTITY_DASHBOARD = 'entityDashboard';\nvar VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY = 'mainDashboardViewOnly';\nvar VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY = 'entityDashboardViewOnly';\nvar VIEW_CONTEXT_POSTS_LIST = 'postsList';\nvar VIEW_CONTEXT_USER_INPUT = 'userInput';\nvar VIEW_CONTEXT_ACTIVATION = 'activation';\nvar VIEW_CONTEXT_SPLASH = 'splash';\nvar VIEW_CONTEXT_ADMIN_BAR = 'adminBar';\nvar VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY = 'adminBarViewOnly';\nvar VIEW_CONTEXT_SETTINGS = 'settings';\nvar VIEW_CONTEXT_AD_BLOCKING_RECOVERY = 'adBlockingRecovery';\nvar VIEW_CONTEXT_MODULE = 'module';\nvar VIEW_CONTEXT_WP_DASHBOARD = 'wpDashboard';\nvar VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY = 'wpDashboardViewOnly';\nvar VIEW_CONTEXT_MODULE_SETUP = 'moduleSetup';\nvar VIEW_CONTEXT_METRIC_SELECTION = 'metricSelection';\nvar VIEW_CONTEXT_WP_BLOCK_EDITOR = 'wpBlockEditor';\n\n// Anchor ID Constants\nvar ANCHOR_ID_KEY_METRICS = 'key-metrics';\nvar ANCHOR_ID_TRAFFIC = 'traffic';\nvar ANCHOR_ID_CONTENT = 'content';\nvar ANCHOR_ID_SPEED = 'speed';\nvar ANCHOR_ID_MONETIZATION = 'monetization';\n\n// Site Kit only view contexts\nvar SITE_KIT_VIEW_CONTEXTS = [VIEW_CONTEXT_MAIN_DASHBOARD, VIEW_CONTEXT_ENTITY_DASHBOARD, VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_USER_INPUT, VIEW_CONTEXT_SPLASH, VIEW_CONTEXT_SETTINGS, VIEW_CONTEXT_MODULE_SETUP, VIEW_CONTEXT_METRIC_SELECTION];\n\n// Site Kit view-only contexts\nvar SITE_KIT_VIEW_ONLY_CONTEXTS = [VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY, VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/constants.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-existing-tag-store.js":
/*!************************************************************!*\
  !*** ./js/googlesitekit/data/create-existing-tag-store.js ***!
  \************************************************************/
/*! exports provided: createExistingTagStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createExistingTagStore\", function() { return createExistingTagStore; });\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 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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_util_tag__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util/tag */ \"./js/util/tag.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_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; }\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 * Provides a datastore for getting existing 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 * Internal dependencies\n */\n\n\n\n\n// Actions\nvar FETCH_GET_EXISTING_TAG = 'FETCH_GET_EXISTING_TAG';\nvar RECEIVE_GET_EXISTING_TAG = 'RECEIVE_GET_EXISTING_TAG';\n\n/**\n * Creates a store object that includes actions and selectors for getting existing tags.\n *\n * @since 1.13.0\n * @private\n *\n * @param {Object}   args             Arguments for the store generation.\n * @param {string}   args.storeName   Store name to use.\n * @param {Array}    args.tagMatchers The tag matchers used to extract tags from HTML.\n * @param {Function} args.isValidTag  Function to test whether a tag is valid or not.\n * @return {Object} The existing tag store object, with additional `STORE_NAME` and\n * initialState` properties.\n */\nfunction createExistingTagStore() {\n  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n    STORE_NAME = _ref.storeName,\n    isValidTag = _ref.isValidTag,\n    tagMatchers = _ref.tagMatchers;\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()('string' === typeof STORE_NAME && STORE_NAME, 'storeName is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()('function' === typeof isValidTag, 'isValidTag must be a function.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(Array.isArray(tagMatchers), 'tagMatchers must be an Array.');\n  var initialState = {\n    existingTag: undefined\n  };\n  var actions = {\n    fetchGetExistingTag: function fetchGetExistingTag() {\n      return {\n        payload: {},\n        type: FETCH_GET_EXISTING_TAG\n      };\n    },\n    receiveGetExistingTag: function receiveGetExistingTag(existingTag) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(existingTag === null || 'string' === typeof existingTag, 'existingTag must be a tag string or null.');\n      return {\n        payload: {\n          existingTag: isValidTag(existingTag) ? existingTag : null\n        },\n        type: RECEIVE_GET_EXISTING_TAG\n      };\n    }\n  };\n  var controls = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, FETCH_GET_EXISTING_TAG, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"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 _callee() {\n      var homeURL, ampMode, existingTagURLs, _registry$resolveSele, getHTMLForURL, _iterator, _step, url, html, tagFound;\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              homeURL = registry.select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getHomeURL();\n              ampMode = registry.select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getAMPMode();\n              _context.next = 4;\n              return Object(_js_util_tag__WEBPACK_IMPORTED_MODULE_6__[\"getExistingTagURLs\"])({\n                homeURL: homeURL,\n                ampMode: ampMode\n              });\n            case 4:\n              existingTagURLs = _context.sent;\n              _registry$resolveSele = registry.resolveSelect(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]), getHTMLForURL = _registry$resolveSele.getHTMLForURL;\n              _iterator = _createForOfIteratorHelper(existingTagURLs);\n              _context.prev = 7;\n              _iterator.s();\n            case 9:\n              if ((_step = _iterator.n()).done) {\n                _context.next = 19;\n                break;\n              }\n              url = _step.value;\n              _context.next = 13;\n              return getHTMLForURL(url);\n            case 13:\n              html = _context.sent;\n              tagFound = Object(_js_util_tag__WEBPACK_IMPORTED_MODULE_6__[\"extractExistingTag\"])(html, tagMatchers);\n              if (!tagFound) {\n                _context.next = 17;\n                break;\n              }\n              return _context.abrupt(\"return\", tagFound);\n            case 17:\n              _context.next = 9;\n              break;\n            case 19:\n              _context.next = 24;\n              break;\n            case 21:\n              _context.prev = 21;\n              _context.t0 = _context[\"catch\"](7);\n              _iterator.e(_context.t0);\n            case 24:\n              _context.prev = 24;\n              _iterator.f();\n              return _context.finish(24);\n            case 27:\n              return _context.abrupt(\"return\", null);\n            case 28:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee, null, [[7, 21, 24, 27]]);\n    }));\n  }));\n  var reducer = 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 RECEIVE_GET_EXISTING_TAG:\n        {\n          var existingTag = payload.existingTag;\n          state.existingTag = existingTag;\n          break;\n        }\n    }\n  });\n  var resolvers = {\n    getExistingTag: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getExistingTag() {\n      var registry, existingTag;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getExistingTag$(_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              registry = _context2.sent;\n              if (!(registry.select(STORE_NAME).getExistingTag() === undefined)) {\n                _context2.next = 8;\n                break;\n              }\n              _context2.next = 6;\n              return actions.fetchGetExistingTag();\n            case 6:\n              existingTag = _context2.sent;\n              registry.dispatch(STORE_NAME).receiveGetExistingTag(existingTag);\n            case 8:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, getExistingTag);\n    })\n  };\n  var selectors = {\n    /**\n     * Gets the existing tag, if any.\n     *\n     * @since 1.13.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {(string|null|undefined)} The existing tag `string` if present, `null` if not present, or `undefined` if not loaded yet.\n     */\n    getExistingTag: function getExistingTag(state) {\n      return state.existingTag;\n    },\n    /**\n     * Checks whether or not an existing tag is present.\n     *\n     * @since 1.13.0\n     *\n     * @return {(boolean|undefined)} Boolean if tag is present, `undefined` if tag presence has not been resolved yet.\n     */\n    hasExistingTag: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n      return function () {\n        var existingTag = select(STORE_NAME).getExistingTag();\n        if (existingTag === undefined) {\n          return undefined;\n        }\n        return !!existingTag;\n      };\n    })\n  };\n  var store = {\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-existing-tag-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-reducer.js":
/*!*************************************************!*\
  !*** ./js/googlesitekit/data/create-reducer.js ***!
  \*************************************************/
/*! exports provided: createReducer */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createReducer\", function() { return createReducer; });\n/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! immer */ \"../node_modules/immer/dist/immer.esm.js\");\n/**\n * Create Immer reducer utility function.\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 * Creates an Immer-enabled reducer.\n *\n * @since 1.84.0\n *\n * @param {Function} reducerFunction A reducer function that follows the curried Immer recipe pattern.\n * @return {Function} An Immer-enabled reducer.\n */\nfunction createReducer(reducerFunction) {\n  return Object(immer__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(reducerFunction);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGEvY3JlYXRlLXJlZHVjZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2RhdGEvY3JlYXRlLXJlZHVjZXIuanM/MmM1ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENyZWF0ZSBJbW1lciByZWR1Y2VyIHV0aWxpdHkgZnVuY3Rpb24uXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wX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NBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-reducer.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/create-settings-store.js":
/*!********************************************************!*\
  !*** ./js/googlesitekit/data/create-settings-store.js ***!
  \********************************************************/
/*! exports provided: INVARIANT_DOING_SUBMIT_CHANGES, INVARIANT_SETTINGS_NOT_CHANGED, createSettingsStore, makeDefaultSubmitChanges, makeDefaultRollbackChanges, makeDefaultCanSubmitChanges, makeDefaultHaveSettingsChanged */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_DOING_SUBMIT_CHANGES\", function() { return INVARIANT_DOING_SUBMIT_CHANGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_SETTINGS_NOT_CHANGED\", function() { return INVARIANT_SETTINGS_NOT_CHANGED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createSettingsStore\", function() { return createSettingsStore; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeDefaultSubmitChanges\", function() { return makeDefaultSubmitChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeDefaultRollbackChanges\", function() { return makeDefaultRollbackChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeDefaultCanSubmitChanges\", function() { return makeDefaultCanSubmitChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeDefaultHaveSettingsChanged\", function() { return makeDefaultHaveSettingsChanged; });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__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_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 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 googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _transform_case__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./transform-case */ \"./js/googlesitekit/data/transform-case.js\");\n/* harmony import */ var _create_fetch_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.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_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 * Provides API functions to create a datastore for 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/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\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 = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__[\"actions\"].clearError,\n  receiveError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__[\"actions\"].receiveError; // Invariant error messages.\nvar INVARIANT_DOING_SUBMIT_CHANGES = 'cannot submit changes while submitting changes';\nvar INVARIANT_SETTINGS_NOT_CHANGED = 'cannot submit changes if settings have not changed';\n\n// Actions\nvar SET_SETTINGS = 'SET_SETTINGS';\nvar ROLLBACK_SETTINGS = 'ROLLBACK_SETTINGS';\nvar ROLLBACK_SETTING = 'ROLLBACK_SETTING';\n\n/**\n * Creates a store object that includes actions and selectors for managing settings.\n *\n * The first three parameters hook up the store to the respective REST API endpoint,\n * while the fourth defines the names of the sub-settings to support.\n *\n * @since 1.6.0\n * @since 1.129.0 Added haveSettingsChanged optional paramter.\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. 'settings'.\n * @param {Object}        options                               Optional. Options to consider for the store.\n * @param {Array}         [options.ownedSettingsSlugs]          Optional. List of \"owned settings\" for this module, if they exist.\n * @param {number}        [options.storeName]                   Store name to use. Default is '{type}/{identifier}'.\n * @param {Array}         [options.settingSlugs]                List of the slugs that are part of the settings object handled by the respective API endpoint.\n * @param {Object}        [options.initialSettings]             Optional. An initial set of settings as key-value pairs.\n * @param {Function|null} [options.validateHaveSettingsChanged] Optional. Custom callback to determine if settings have changed.\n * @return {Object} The settings store object, with additional `STORE_NAME` and\n *                  `initialState` properties.\n */\nfunction createSettingsStore(type, identifier, datapoint) {\n  var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},\n    _ref$ownedSettingsSlu = _ref.ownedSettingsSlugs,\n    ownedSettingsSlugs = _ref$ownedSettingsSlu === void 0 ? undefined : _ref$ownedSettingsSlu,\n    _ref$storeName = _ref.storeName,\n    storeName = _ref$storeName === void 0 ? undefined : _ref$storeName,\n    _ref$settingSlugs = _ref.settingSlugs,\n    settingSlugs = _ref$settingSlugs === void 0 ? [] : _ref$settingSlugs,\n    _ref$initialSettings = _ref.initialSettings,\n    initialSettings = _ref$initialSettings === void 0 ? undefined : _ref$initialSettings,\n    _ref$validateHaveSett = _ref.validateHaveSettingsChanged,\n    validateHaveSettingsChanged = _ref$validateHaveSett === void 0 ? makeDefaultHaveSettingsChanged() : _ref$validateHaveSett;\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(type, 'type is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(identifier, 'identifier is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(datapoint, 'datapoint is required.');\n  var STORE_NAME = storeName || \"\".concat(type, \"/\").concat(identifier);\n  var initialState = {\n    ownedSettingsSlugs: ownedSettingsSlugs,\n    settings: initialSettings,\n    savedSettings: undefined\n  };\n  var fetchGetSettingsStore = Object(_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__[\"createFetchStore\"])({\n    baseName: 'getSettings',\n    controlCallback: function controlCallback() {\n      return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"get\"])(type, identifier, datapoint, {}, {\n        useCache: false\n      });\n    },\n    reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, values) {\n      state.savedSettings = _objectSpread({}, values);\n      state.settings = _objectSpread(_objectSpread({}, values), state.settings || {});\n    })\n  });\n  var fetchSaveSettingsStore = Object(_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__[\"createFetchStore\"])({\n    baseName: 'saveSettings',\n    controlCallback: function controlCallback(params) {\n      var values = params.values;\n      return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"set\"])(type, identifier, datapoint, values);\n    },\n    reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, values) {\n      state.savedSettings = _objectSpread({}, values);\n      // Ensure client settings are refreshed from server.\n      state.settings = _objectSpread({}, values);\n    }),\n    argsToParams: function argsToParams(values) {\n      return {\n        values: values\n      };\n    },\n    validateParams: function validateParams() {\n      var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n        values = _ref2.values;\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isPlainObject\"])(values), 'values is required.');\n    }\n  });\n\n  // This will be populated further down with reducer functions for individual settings.\n  var settingReducers = {};\n  var actions = {\n    /**\n     * Sets settings for the given values.\n     *\n     * @since 1.6.0\n     *\n     * @param {Object} values Settings with their values to set.\n     * @return {Object} Redux-style action.\n     */\n    setSettings: function setSettings(values) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isPlainObject\"])(values), 'values is required.');\n      return {\n        payload: {\n          values: values\n        },\n        type: SET_SETTINGS\n      };\n    },\n    /**\n     * Returns the current settings back to the current saved values.\n     *\n     * @since 1.7.1\n     * @private\n     *\n     * @return {Object} Redux-style action.\n     */\n    rollbackSettings: function rollbackSettings() {\n      return {\n        payload: {},\n        type: ROLLBACK_SETTINGS\n      };\n    },\n    /**\n     * Returns a specific setting back to the current saved value.\n     *\n     * @since 1.147.0\n     *\n     * @param {string} setting The setting to rollback.\n     * @return {Object} Redux-style action.\n     */\n    rollbackSetting: function rollbackSetting(setting) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(setting, 'setting is required.');\n      return {\n        payload: {\n          setting: setting\n        },\n        type: ROLLBACK_SETTING\n      };\n    },\n    /**\n     * Saves all current settings to the server.\n     *\n     * @since 1.6.0\n     *\n     * @return {Object} Response and error, if any.\n     */\n    saveSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function saveSettings() {\n      var registry, values, _yield$fetchSaveSetti, response, error;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function saveSettings$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n            case 2:\n              registry = _context.sent;\n              _context.next = 5;\n              return clearError('saveSettings', []);\n            case 5:\n              values = registry.select(STORE_NAME).getSettings();\n              _context.next = 8;\n              return fetchSaveSettingsStore.actions.fetchSaveSettings(values);\n            case 8:\n              _yield$fetchSaveSetti = _context.sent;\n              response = _yield$fetchSaveSetti.response;\n              error = _yield$fetchSaveSetti.error;\n              if (!error) {\n                _context.next = 14;\n                break;\n              }\n              _context.next = 14;\n              return receiveError(error, 'saveSettings', []);\n            case 14:\n              return _context.abrupt(\"return\", {\n                response: response,\n                error: error\n              });\n            case 15:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, saveSettings);\n    })\n  };\n  var controls = {};\n\n  // eslint-disable-next-line no-shadow\n  var reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, _ref3) {\n    var type = _ref3.type,\n      payload = _ref3.payload;\n    switch (type) {\n      case SET_SETTINGS:\n        {\n          var values = payload.values;\n          state.settings = _objectSpread(_objectSpread({}, state.settings || {}), values);\n          break;\n        }\n      case ROLLBACK_SETTINGS:\n        {\n          state.settings = state.savedSettings;\n          break;\n        }\n      case ROLLBACK_SETTING:\n        {\n          var setting = payload.setting;\n          if (state.savedSettings[setting]) {\n            state.settings = _objectSpread(_objectSpread({}, state.settings || {}), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, setting, state.savedSettings[setting]));\n          }\n          break;\n        }\n      default:\n        {\n          // Check if this action is for a reducer for an individual setting.\n          if ('undefined' !== typeof settingReducers[type]) {\n            settingReducers[type](state, {\n              type: type,\n              payload: payload\n            });\n          }\n          break;\n        }\n    }\n  });\n  var resolvers = {\n    getSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getSettings() {\n      var registry, existingSettings;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getSettings$(_context2) {\n        while (1) {\n          switch (_context2.prev = _context2.next) {\n            case 0:\n              _context2.next = 2;\n              return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n            case 2:\n              registry = _context2.sent;\n              existingSettings = registry.select(STORE_NAME).getSettings(); // If settings are already present, don't fetch them.\n              if (existingSettings) {\n                _context2.next = 7;\n                break;\n              }\n              _context2.next = 7;\n              return fetchGetSettingsStore.actions.fetchGetSettings();\n            case 7:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, getSettings);\n    })\n  };\n  var _createValidationSele = Object(_utils__WEBPACK_IMPORTED_MODULE_7__[\"createValidationSelector\"])(validateHaveSettingsChanged),\n    haveSettingsChanged = _createValidationSele.safeSelector,\n    __dangerousHaveSettingsChanged = _createValidationSele.dangerousSelector;\n  var selectors = {\n    /**\n     * Indicates whether the current settings have changed from what is saved.\n     *\n     * @since 1.6.0\n     * @since 1.77.0 Added ability to filter settings using `keys` argument.\n     * @since 1.129.0 Changed the approach to use validateHaveSettingsChanged callback.\n     * @since 1.131.0 Updated implementation to use safeSelector and dangerousSelector returned from createValidationSelector.\n     *\n     * @param {Object}     state Data store's state.\n     * @param {Array|null} keys  Settings keys to check; if not provided, all settings are checked.\n     * @return {boolean} True if the settings have changed, false otherwise.\n     */\n    haveSettingsChanged: haveSettingsChanged,\n    __dangerousHaveSettingsChanged: __dangerousHaveSettingsChanged,\n    /**\n     * Gets the current settings.\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 {(Object|undefined)} Settings with their values, or undefined.\n     */\n    getSettings: function getSettings(state) {\n      return state.settings;\n    },\n    /**\n     * Indicates whether the provided setting has changed from what is saved.\n     *\n     * @since 1.72.0\n     *\n     * @param {Object} state   Data store's state.\n     * @param {string} setting The setting we want to check for saved changes.\n     * @return {boolean} True if the settings have changed, false otherwise.\n     */\n    hasSettingChanged: function hasSettingChanged(state, setting) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(setting, 'setting is required.');\n      var settings = state.settings,\n        savedSettings = state.savedSettings;\n      if (!settings || !savedSettings) {\n        return false;\n      }\n      return !Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isEqual\"])(settings[setting], savedSettings[setting]);\n    },\n    /**\n     * Indicates whether saving the settings is currently in progress.\n     *\n     * @since 1.6.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {boolean} True if the settings are being saved, false otherwise.\n     */\n    isDoingSaveSettings: function isDoingSaveSettings(state) {\n      // Since isFetchingSaveSettings (via createFetchStore)\n      // holds information based on specific values but we only need\n      // generic information here, we need to check whether ANY such\n      // request is in progress.\n      return Object.values(state.isFetchingSaveSettings).some(Boolean);\n    },\n    /**\n     * Gets the owned settings slugs for this module.\n     *\n     * @since 1.77.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {Array|null} The array of owned settings slugs for this module if they exist. Returns `null` if no owned settings slugs exist.\n     */\n    getOwnedSettingsSlugs: function getOwnedSettingsSlugs(state) {\n      return state.ownedSettingsSlugs;\n    },\n    /**\n     * Returns `true` if a module's \"own settings\" have changed; `false` if not.\n     *\n     * @since 1.77.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {boolean} `true` if the module's \"own settings\" have changed; `false` if not.\n     */\n    haveOwnedSettingsChanged: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n      return function () {\n        var ownedSettingsSlugsToCheck = select(STORE_NAME).getOwnedSettingsSlugs();\n        return select(STORE_NAME).haveSettingsChanged(ownedSettingsSlugsToCheck);\n      };\n    })\n  };\n\n  // Define individual actions, selectors and related for sub-settings.\n  settingSlugs.forEach(function (slug) {\n    var pascalCaseSlug = Object(_transform_case__WEBPACK_IMPORTED_MODULE_8__[\"camelCaseToPascalCase\"])(slug);\n    var constantSlug = Object(_transform_case__WEBPACK_IMPORTED_MODULE_8__[\"camelCaseToConstantCase\"])(slug);\n\n    /**\n     * Sets the setting indicated by the action name to the given value.\n     *\n     * @since 1.6.0\n     *\n     * @param {*} value Value for the setting.\n     * @return {Object} Redux-style action.\n     */\n    actions[\"set\".concat(pascalCaseSlug)] = function (value) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(typeof value !== 'undefined', \"value is required for calls to set\".concat(pascalCaseSlug, \"().\"));\n      return {\n        payload: {\n          value: value\n        },\n        type: \"SET_\".concat(constantSlug)\n      };\n    };\n    settingReducers[\"SET_\".concat(constantSlug)] = function (state, _ref4) {\n      var payload = _ref4.payload;\n      var value = payload.value;\n      state.settings = _objectSpread(_objectSpread({}, state.settings || {}), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, slug, value));\n    };\n\n    /**\n     * Gets the current value for the setting indicated by the selector name.\n     *\n     * @since 1.6.0\n     *\n     * @return {*} Setting value, or undefined.\n     */\n    selectors[\"get\".concat(pascalCaseSlug)] = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n      return function () {\n        var settings = select(STORE_NAME).getSettings() || {};\n        return settings[slug];\n      };\n    });\n  });\n  var store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"combineStores\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonStore\"], fetchGetSettingsStore, fetchSaveSettingsStore, {\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}\n\n/**\n * Creates a default submitChanges control function.\n *\n * @since 1.21.0\n *\n * @param {string} slug      Module slug.\n * @param {string} storeName Datastore slug.\n * @return {Function} Control function to submit changes.\n */\nfunction makeDefaultSubmitChanges(slug, storeName) {\n  return /*#__PURE__*/function () {\n    var _ref6 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee(_ref5) {\n      var select, dispatch, _yield$dispatch$saveS, error;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee$(_context3) {\n        while (1) {\n          switch (_context3.prev = _context3.next) {\n            case 0:\n              select = _ref5.select, dispatch = _ref5.dispatch;\n              if (!select(storeName).haveSettingsChanged()) {\n                _context3.next = 8;\n                break;\n              }\n              _context3.next = 4;\n              return dispatch(storeName).saveSettings();\n            case 4:\n              _yield$dispatch$saveS = _context3.sent;\n              error = _yield$dispatch$saveS.error;\n              if (!error) {\n                _context3.next = 8;\n                break;\n              }\n              return _context3.abrupt(\"return\", {\n                error: error\n              });\n            case 8:\n              _context3.next = 10;\n              return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"invalidateCache\"])('modules', slug);\n            case 10:\n              return _context3.abrupt(\"return\", {});\n            case 11:\n            case \"end\":\n              return _context3.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return function (_x) {\n      return _ref6.apply(this, arguments);\n    };\n  }();\n}\n\n/**\n * Creates a default rollbackChanges control function.\n *\n * @since 1.45.0\n *\n * @param {string} storeName Datastore slug.\n * @return {Function} Control function to rollback settings changes.\n */\nfunction makeDefaultRollbackChanges(storeName) {\n  return function (_ref7) {\n    var select = _ref7.select,\n      dispatch = _ref7.dispatch;\n    if (select(storeName).haveSettingsChanged()) {\n      return dispatch(storeName).rollbackSettings();\n    }\n    return {};\n  };\n}\n\n/**\n * Creates a default canSubmitChanges function.\n *\n * @since 1.21.0\n *\n * @param {string} storeName Datastore slug.\n * @return {Function} A function to check if settings can be submitted.\n */\nfunction makeDefaultCanSubmitChanges(storeName) {\n  return function (select) {\n    var strictSelect = Object(_utils__WEBPACK_IMPORTED_MODULE_7__[\"createStrictSelect\"])(select);\n    var _strictSelect = strictSelect(storeName),\n      haveSettingsChanged = _strictSelect.haveSettingsChanged,\n      isDoingSubmitChanges = _strictSelect.isDoingSubmitChanges;\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(!isDoingSubmitChanges(), INVARIANT_DOING_SUBMIT_CHANGES);\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(haveSettingsChanged(), INVARIANT_SETTINGS_NOT_CHANGED);\n  };\n}\n\n/**\n * Creates Default haveSettingsChanged.\n *\n * @since 1.129.0\n *\n * @return {boolean} True if the settings have changed, false otherwise.\n */\nfunction makeDefaultHaveSettingsChanged() {\n  return function (select, state, keys) {\n    var settings = state.settings,\n      savedSettings = state.savedSettings;\n    if (keys) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(!Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isEqual\"])(Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"pick\"])(settings, keys), Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"pick\"])(savedSettings, keys)), INVARIANT_SETTINGS_NOT_CHANGED);\n    }\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(!Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isEqual\"])(settings, savedSettings), INVARIANT_SETTINGS_NOT_CHANGED);\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-settings-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/create-snapshot-store.js":
/*!********************************************************!*\
  !*** ./js/googlesitekit/data/create-snapshot-store.js ***!
  \********************************************************/
/*! exports provided: createSnapshotStore, getStoresWithSnapshots, snapshotAllStores, restoreAllSnapshots */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createSnapshotStore\", function() { return createSnapshotStore; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStoresWithSnapshots\", function() { return getStoresWithSnapshots; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"snapshotAllStores\", function() { return snapshotAllStores; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"restoreAllSnapshots\", function() { return restoreAllSnapshots; });\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__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_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/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n\n\n/**\n * Provides a datastore for snapshotting and restoring state.\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// Actions\nvar CREATE_SNAPSHOT = 'CREATE_SNAPSHOT';\nvar DELETE_SNAPSHOT = 'DELETE_SNAPSHOT';\nvar RESTORE_SNAPSHOT = 'RESTORE_SNAPSHOT';\nvar SET_STATE_FROM_SNAPSHOT = 'SET_STATE_FROM_SNAPSHOT';\n\n/**\n * Creates a store object that includes actions and controls for restoring/creating state snapshots.\n *\n * @since 1.9.0\n * @private\n *\n * @param {string} storeName The name of the store to snapshot in the cache.\n * @return {Object} The snapshot store object.\n */\nfunction createSnapshotStore(storeName) {\n  var _controls;\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(storeName, 'storeName is required to create a snapshot store.');\n  var initialState = {};\n  var actions = {\n    /**\n     * Deletes a snapshot of state for a storeName, using our cache API.\n     *\n     * @since 1.9.0\n     * @private\n     *\n     * @return {boolean} Cache deletion response.\n     */\n    deleteSnapshot: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function deleteSnapshot() {\n      var cacheResult;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function deleteSnapshot$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return {\n                payload: {},\n                type: DELETE_SNAPSHOT\n              };\n            case 2:\n              cacheResult = _context.sent;\n              return _context.abrupt(\"return\", cacheResult);\n            case 4:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, deleteSnapshot);\n    }),\n    /**\n     * Restores a snapshot of state for a storeName, if available, using our cache API.\n     *\n     * @since 1.9.0\n     * @private\n     *\n     * @param {Object}  [options]                   Options object.\n     * @param {boolean} [options.clearAfterRestore] Whether or not to delete snapshot after restore. Default: true.\n     * @return {boolean} Cache restoration response.\n     */\n    restoreSnapshot: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function restoreSnapshot() {\n      var options,\n        _options$clearAfterRe,\n        clearAfterRestore,\n        _yield$payload$type,\n        cacheHit,\n        value,\n        _args2 = arguments;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function restoreSnapshot$(_context2) {\n        while (1) {\n          switch (_context2.prev = _context2.next) {\n            case 0:\n              options = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};\n              _options$clearAfterRe = options.clearAfterRestore, clearAfterRestore = _options$clearAfterRe === void 0 ? true : _options$clearAfterRe;\n              _context2.next = 4;\n              return {\n                payload: {},\n                type: RESTORE_SNAPSHOT\n              };\n            case 4:\n              _yield$payload$type = _context2.sent;\n              cacheHit = _yield$payload$type.cacheHit;\n              value = _yield$payload$type.value;\n              if (!cacheHit) {\n                _context2.next = 13;\n                break;\n              }\n              _context2.next = 10;\n              return {\n                payload: {\n                  snapshot: value\n                },\n                type: SET_STATE_FROM_SNAPSHOT\n              };\n            case 10:\n              if (!clearAfterRestore) {\n                _context2.next = 13;\n                break;\n              }\n              _context2.next = 13;\n              return {\n                payload: {},\n                type: DELETE_SNAPSHOT\n              };\n            case 13:\n              return _context2.abrupt(\"return\", cacheHit);\n            case 14:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, restoreSnapshot);\n    }),\n    /**\n     * Creates a snapshot of the current state of this store, using our cache API.\n     *\n     * @since 1.9.0\n     * @private\n     *\n     * @return {boolean} Cache write response.\n     */\n    createSnapshot: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function createSnapshot() {\n      var cacheResult;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function createSnapshot$(_context3) {\n        while (1) {\n          switch (_context3.prev = _context3.next) {\n            case 0:\n              _context3.next = 2;\n              return {\n                payload: {},\n                type: CREATE_SNAPSHOT\n              };\n            case 2:\n              cacheResult = _context3.sent;\n              return _context3.abrupt(\"return\", cacheResult);\n            case 4:\n            case \"end\":\n              return _context3.stop();\n          }\n        }\n      }, createSnapshot);\n    })\n  };\n  var controls = (_controls = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_controls, DELETE_SNAPSHOT, function () {\n    return Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_5__[\"deleteItem\"])(\"datastore::cache::\".concat(storeName));\n  }), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_controls, CREATE_SNAPSHOT, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistryControl\"])(function (registry) {\n    return function () {\n      return Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_5__[\"setItem\"])(\"datastore::cache::\".concat(storeName), registry.stores[storeName].store.getState());\n    };\n  })), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_controls, RESTORE_SNAPSHOT, function () {\n    // Only get snapshots made within the last hour.\n    return Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_5__[\"getItem\"])(\"datastore::cache::\".concat(storeName), _js_util__WEBPACK_IMPORTED_MODULE_6__[\"HOUR_IN_SECONDS\"]);\n  }), _controls);\n  function reducer() {\n    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n    var _ref = arguments.length > 1 ? arguments[1] : undefined,\n      type = _ref.type,\n      payload = _ref.payload;\n    // eslint-disable-line no-shadow\n    switch (type) {\n      case SET_STATE_FROM_SNAPSHOT:\n        {\n          var snapshot = payload.snapshot; // Exclude any top-level errors from the restored state.\n          // eslint-disable-next-line no-unused-vars\n          var error = snapshot.error,\n            newState = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default()(snapshot, [\"error\"]);\n          return newState;\n        }\n      default:\n        {\n          return state;\n        }\n    }\n  }\n  return {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer\n  };\n}\n\n/**\n * Inspects a registry to find all stores that support our snapshot features.\n *\n * @since 1.9.0\n * @private\n *\n * @param {wp.data.registry} registry Optional. Registry object to inspect for stores that support state restoration. Defaults to `googlesitekit.data`.\n * @return {Object} The snapshot store object.\n */\nfunction getStoresWithSnapshots() {\n  var registry = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default.a;\n  return Object.values(registry.stores).filter(function (store) {\n    return Object.keys(store.getActions()).includes('restoreSnapshot');\n  });\n}\n\n/**\n * Creates snapshots of all supporting stores.\n *\n * @since 1.9.0\n * @private\n *\n * @param {wp.data.registry} [registry] Optional. Registry object to inspect for stores that support state restoration. Defaults to `googlesitekit.data`.\n * @return {Promise} Promise resolves once all snapshots have been taken.\n */\nfunction snapshotAllStores() {\n  var registry = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default.a;\n  return Promise.all(getStoresWithSnapshots(registry).map(function (store) {\n    return store.getActions().createSnapshot();\n  }));\n}\n\n/**\n * Restores state for all snapshots that support it.\n *\n * Only restores snapshots for stores that have `restoreSnapshot` action, and\n * clears the snapshot afterward, so more stores will not be restored unless\n * a snapshot was saved on the last pageview.\n *\n * @since 1.9.0\n * @private\n *\n * @param {wp.data.registry} [registry] Optional. Registry object to inspect for stores that support state restoration. Defaults to `googlesitekit.data`.\n * @return {Promise} Promise resolves once all snapshots have been restored.\n */\nfunction restoreAllSnapshots() {\n  var registry = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default.a;\n  return Promise.all(getStoresWithSnapshots(registry).map(function (store) {\n    return store.getActions().restoreSnapshot();\n  }));\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-snapshot-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/index.js":
/*!****************************************!*\
  !*** ./js/googlesitekit/data/index.js ***!
  \****************************************/
/*! exports provided: combineStores, commonActions, commonControls, commonStore, controls, createReducer, useInViewSelect, createRegistryControl, createRegistrySelector, useSelect, useDispatch, useRegistry, withSelect, withDispatch, RegistryProvider, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"controls\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createRegistryControl\", function() { return _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"createRegistryControl\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createRegistrySelector\", function() { return _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"createRegistrySelector\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useSelect\", function() { return _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useDispatch\", function() { return _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"useDispatch\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useRegistry\", function() { return _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"useRegistry\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withSelect\", function() { return _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"withSelect\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withDispatch\", function() { return _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"withDispatch\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RegistryProvider\", function() { return _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"RegistryProvider\"]; });\n\n/* harmony import */ var _js_hooks_useInViewSelect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/hooks/useInViewSelect */ \"./js/hooks/useInViewSelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useInViewSelect\", function() { return _js_hooks_useInViewSelect__WEBPACK_IMPORTED_MODULE_1__[\"useInViewSelect\"]; });\n\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineStores\", function() { return _utils__WEBPACK_IMPORTED_MODULE_2__[\"combineStores\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"commonActions\", function() { return _utils__WEBPACK_IMPORTED_MODULE_2__[\"commonActions\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"commonControls\", function() { return _utils__WEBPACK_IMPORTED_MODULE_2__[\"commonControls\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"commonStore\", function() { return _utils__WEBPACK_IMPORTED_MODULE_2__[\"commonStore\"]; });\n\n/* harmony import */ var _create_reducer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./create-reducer */ \"./js/googlesitekit/data/create-reducer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createReducer\", function() { return _create_reducer__WEBPACK_IMPORTED_MODULE_3__[\"createReducer\"]; });\n\nvar _global$wp;\n/**\n * Site Kit @wordpress/data (eg Redux-style) 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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n/**\n * The Site Kit data registry.\n *\n * This should not be imported directly outside of `googlesitekit-*` files\n * that need access to the registry to register datastores/widgets/etc.\n *\n * Instead, use the exported functions (eg `useSelect`,\n * `createRegistrySelector`, etc.) from the `googlesitekit-data` package to\n * access parts of the registry.\n *\n * @since 1.3.0 Data registry introduced.\n * @since 1.130.0 Deprecated for general use in favor of named exports from `googlesitekit-data` package.\n * @deprecated\n */\nvar Data = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"createRegistry\"])({}, (_global$wp = global.wp) === null || _global$wp === void 0 ? void 0 : _global$wp.data);\n\n// Attach some of our utility functions to the registry so third-party\n// developers can use them.\nData.combineStores = _utils__WEBPACK_IMPORTED_MODULE_2__[\"combineStores\"];\nData.commonActions = _utils__WEBPACK_IMPORTED_MODULE_2__[\"commonActions\"];\nData.commonControls = _utils__WEBPACK_IMPORTED_MODULE_2__[\"commonControls\"];\nData.commonStore = _utils__WEBPACK_IMPORTED_MODULE_2__[\"commonStore\"];\nData.createReducer = _create_reducer__WEBPACK_IMPORTED_MODULE_3__[\"createReducer\"];\n\n// Attach our custom, useInViewSelect hook to the registry so third-party\n// developers can use it.\nData.useInViewSelect = _js_hooks_useInViewSelect__WEBPACK_IMPORTED_MODULE_1__[\"useInViewSelect\"];\n\n// Attach some WordPress data functions to the registry so third-party\n// developers can use them without importing '@wordpress/data'.\nData.controls = _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"controls\"];\nData.createRegistryControl = _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"createRegistryControl\"];\nData.createRegistrySelector = _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"createRegistrySelector\"];\nData.useSelect = _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"];\nData.useDispatch = _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"useDispatch\"];\nData.useRegistry = _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"useRegistry\"];\nData.withSelect = _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"withSelect\"];\nData.withDispatch = _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"withDispatch\"];\nData.RegistryProvider = _wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"RegistryProvider\"];\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Data);\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/data/index.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/ZTZkZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERhdGEgc3RvcmUgdXRpbGl0aWVzIGZvciB0cmFuc2Zvcm1pbmcgbmFtZXMgdG8gYSBjZXJ0YWluIGNhc2UuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjA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gKyBwYXJ0LnNsaWNlKCAxICkgKVxuXHRcdC5qb2luKCAnJyApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\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/forms/constants.js":
/*!*******************************************************!*\
  !*** ./js/googlesitekit/datastore/forms/constants.js ***!
  \*******************************************************/
/*! exports provided: CORE_FORMS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_FORMS\", function() { return CORE_FORMS; });\n/**\n * `core/forms` 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_FORMS = 'core/forms';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9mb3Jtcy9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9mb3Jtcy9jb25zdGFudHMuanM/YjMxMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGBjb3JlL2Zvcm1zYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU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iwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/forms/constants.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_LOCATION\", function() { return CORE_LOCATION; });\n/**\n * `core/location` 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_LOCATION = 'core/location';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9sb2NhdGlvbi9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9sb2NhdGlvbi9jb25zdGFudHMuanM/OWE0NSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGBjb3JlL2xvY2F0aW9uYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgQ09SRV9MT0NBVElPTiA9ICdjb3JlL2xvY2F0aW9uJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/location/constants.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9zaXRlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvZGF0YXN0b3JlL3NpdGUvY29uc3RhbnRzLmpzP2QxMjEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgY29yZS9zaXRlYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMj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BQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/ui/constants.js":
/*!****************************************************!*\
  !*** ./js/googlesitekit/datastore/ui/constants.js ***!
  \****************************************************/
/*! exports provided: CORE_UI, ACTIVE_CONTEXT_ID */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_UI\", function() { return CORE_UI; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVE_CONTEXT_ID\", function() { return ACTIVE_CONTEXT_ID; });\n/**\n * `core/ui` 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_UI = 'core/ui';\nvar ACTIVE_CONTEXT_ID = 'activeContextID';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS91aS9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS91aS9jb25zdGFudHMuanM/ZTcxNCJdLCJzb3VyY2VzQ29ud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BQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/ui/constants.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/create-gathering-data-store.js":
/*!*****************************************************************!*\
  !*** ./js/googlesitekit/modules/create-gathering-data-store.js ***!
  \*****************************************************************/
/*! exports provided: createGatheringDataStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createGatheringDataStore\", function() { return createGatheringDataStore; });\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 _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\n\n/**\n * Factory function to create gathering data store.\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/* eslint-disable sitekit/jsdoc-no-unnamed-boolean-params */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nvar RECEIVE_GATHERING_DATA = 'RECEIVE_GATHERING_DATA';\nvar RECEIVE_DATA_AVAILABLE_ON_LOAD = 'RECEIVE_DATA_AVAILABLE_ON_LOAD';\nvar WAIT_FOR_DATA_AVAILABILITY_STATE = 'WAIT_FOR_DATA_AVAILABILITY_STATE';\n\n/**\n * Creates a store object that includes actions and selectors for gathering data state for a module.\n *\n * @since 1.96.0\n * @private\n *\n * @param {string}   moduleSlug                  Slug of the module that the store is for.\n * @param {Object}   args                        Arguments to configure the store.\n * @param {string}   args.storeName              Store name to use.\n * @param {boolean}  args.dataAvailable          Data available on load.\n * @param {Function} args.selectDataAvailability Selector to determine data availability.\n *                                               This is a function that should return a boolean, or undefined while resolving.\n *                                               Since logic to determine data availability is different for every module,\n *                                               this selector must be provided by the module. If the data availability can\n *                                               not be determined, the selector should return null.\n * @return {Object} The gathering data store object.\n */\nfunction createGatheringDataStore(moduleSlug) {\n  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n    storeName = _ref.storeName,\n    _ref$dataAvailable = _ref.dataAvailable,\n    dataAvailable = _ref$dataAvailable === void 0 ? false : _ref$dataAvailable,\n    selectDataAvailability = _ref.selectDataAvailability;\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('string' === typeof moduleSlug && moduleSlug, 'module slug is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('string' === typeof storeName && storeName, 'store name is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('boolean' === typeof dataAvailable, 'dataAvailable must be a boolean.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('function' === typeof selectDataAvailability, 'selectDataAvailability must be a function.');\n  var fetchSaveDataAvailableStateStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_5__[\"createFetchStore\"])({\n    baseName: 'saveDataAvailableState',\n    controlCallback: function controlCallback() {\n      return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"set\"])('modules', moduleSlug, 'data-available');\n    }\n  });\n  var initialState = {\n    dataAvailableOnLoad: dataAvailable,\n    gatheringData: undefined\n  };\n  var actions = {\n    /**\n     * Receives gathering data state.\n     *\n     * @since 1.96.0\n     * @private\n     *\n     * @param {boolean} gatheringData Gathering data.\n     * @return {Object} Redux-style action.\n     */\n    receiveIsGatheringData: function receiveIsGatheringData(gatheringData) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()('boolean' === typeof gatheringData, 'gatheringData must be a boolean.');\n      return {\n        payload: {\n          gatheringData: gatheringData\n        },\n        type: RECEIVE_GATHERING_DATA\n      };\n    },\n    /**\n     * Receives data available on load state.\n     *\n     * This action was added to easily manipulate the state for\n     * JS tests and Storybook / VRT scenarios.\n     *\n     * @since 1.110.0\n     * @private\n     *\n     * @param {boolean} dataAvailableOnLoad Gathering data.\n     * @return {Object} Redux-style action.\n     */\n    receiveIsDataAvailableOnLoad: function receiveIsDataAvailableOnLoad(dataAvailableOnLoad) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()('boolean' === typeof dataAvailableOnLoad, 'dataAvailableOnLoad must be a boolean.');\n      return {\n        payload: {\n          dataAvailableOnLoad: dataAvailableOnLoad\n        },\n        type: RECEIVE_DATA_AVAILABLE_ON_LOAD\n      };\n    }\n  };\n  var controls = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, WAIT_FOR_DATA_AVAILABILITY_STATE, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistryControl\"])(function (registry) {\n    return function () {\n      function dataAvailabityDetermined() {\n        return registry.select(storeName).selectDataAvailability() !== undefined;\n      }\n      if (dataAvailabityDetermined()) {\n        return true;\n      }\n      return new Promise(function (resolve) {\n        var unsubscribe = registry.subscribe(function () {\n          if (dataAvailabityDetermined()) {\n            unsubscribe();\n            resolve(true);\n          }\n        });\n      });\n    };\n  }));\n  var reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function () {\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      payload = _ref2.payload;\n    switch (type) {\n      case RECEIVE_GATHERING_DATA:\n        state.gatheringData = payload.gatheringData;\n        break;\n      case RECEIVE_DATA_AVAILABLE_ON_LOAD:\n        state.dataAvailableOnLoad = payload.dataAvailableOnLoad;\n        break;\n      default:\n        break;\n    }\n  });\n  var resolvers = {\n    isGatheringData: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function isGatheringData() {\n      var registry, dataAvailableOnLoad, dataAvailability;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function isGatheringData$(_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              if (!(registry.select(storeName).isGatheringData() !== undefined)) {\n                _context.next = 5;\n                break;\n              }\n              return _context.abrupt(\"return\");\n            case 5:\n              dataAvailableOnLoad = registry.select(storeName).isDataAvailableOnLoad(); // If dataAvailableOnLoad is true, set gatheringData to false and do nothing else.\n              if (!dataAvailableOnLoad) {\n                _context.next = 10;\n                break;\n              }\n              _context.next = 9;\n              return actions.receiveIsGatheringData(false);\n            case 9:\n              return _context.abrupt(\"return\");\n            case 10:\n              _context.next = 12;\n              return {\n                payload: {},\n                type: WAIT_FOR_DATA_AVAILABILITY_STATE\n              };\n            case 12:\n              dataAvailability = registry.select(storeName).selectDataAvailability();\n              _context.next = 15;\n              return actions.receiveIsGatheringData(!dataAvailability);\n            case 15:\n              if (!dataAvailability) {\n                _context.next = 18;\n                break;\n              }\n              _context.next = 18;\n              return fetchSaveDataAvailableStateStore.actions.fetchSaveDataAvailableState();\n            case 18:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, isGatheringData);\n    })\n  };\n  var selectors = {\n    /**\n     * Determines whether data is available for the module.\n     *\n     * @since 1.96.0\n     * @since 1.107.0 Returns null if the data availability can not be determined.\n     *\n     * @return {boolean|undefined|null} Returns TRUE if data is available, otherwise FALSE.\n     *                                  If the request is still being resolved, returns undefined.\n     *                                  If the data availability can not be determined, returns null.\n     */\n    selectDataAvailability: selectDataAvailability,\n    /**\n     * Checks if data is available on load.\n     *\n     * @since 1.96.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {(string|null|undefined)} The existing tag `string` if present, `null` if not present, or `undefined` if not loaded yet.\n     */\n    isDataAvailableOnLoad: function isDataAvailableOnLoad(state) {\n      return state.dataAvailableOnLoad;\n    },\n    /**\n     * Determines whether the module is still gathering data or not.\n     *\n     * @todo Review the name of this selector to a less confusing one.\n     * @since 1.96.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {boolean|undefined} Returns TRUE if gathering data, otherwise FALSE. If the request is still being resolved, returns undefined.\n     */\n    isGatheringData: function isGatheringData(state) {\n      return state.gatheringData;\n    }\n  };\n  return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"combineStores\"])(fetchSaveDataAvailableStateStore, {\n    actions: actions,\n    controls: controls,\n    initialState: initialState,\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/modules/create-gathering-data-store.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/googlesitekit/notifications/components/layout/BannerNotification.js":
/*!********************************************************************************!*\
  !*** ./js/googlesitekit/notifications/components/layout/BannerNotification.js ***!
  \********************************************************************************/
/*! exports provided: TYPES, default */
/***/ (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__, \"TYPES\", function() { return TYPES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return BannerNotification; });\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_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/notifications/hooks/useNotificationEvents */ \"./js/googlesitekit/notifications/hooks/useNotificationEvents.js\");\n/* harmony import */ var _js_components_Banner__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/Banner */ \"./js/components/Banner/index.js\");\n/* harmony import */ var _js_components_Banner_LearnMoreLink__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/Banner/LearnMoreLink */ \"./js/components/Banner/LearnMoreLink.js\");\n/* harmony import */ var _js_components_Banner_CTAButton__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/Banner/CTAButton */ \"./js/components/Banner/CTAButton.js\");\n/* harmony import */ var _js_components_Banner_DismissButton__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/Banner/DismissButton */ \"./js/components/Banner/DismissButton.js\");\n/* harmony import */ var _js_material_components__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _svg_graphics_banner_warning_svg_url__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/svg/graphics/banner-warning.svg?url */ \"./svg/graphics/banner-warning.svg?url\");\n/* harmony import */ var _svg_graphics_banner_error_svg_url__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/svg/graphics/banner-error.svg?url */ \"./svg/graphics/banner-error.svg?url\");\n\n\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 * BannerNotification layout component.\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\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nvar TYPES = {\n  INFO: 'info',\n  ERROR: 'error',\n  WARNING: 'warning'\n};\nfunction BannerNotification(_ref) {\n  var notificationID = _ref.notificationID,\n    _ref$type = _ref.type,\n    type = _ref$type === void 0 ? TYPES.INFO : _ref$type,\n    learnMoreLink = _ref.learnMoreLink,\n    dismissButton = _ref.dismissButton,\n    ctaButton = _ref.ctaButton,\n    gaTrackingEventArgs = _ref.gaTrackingEventArgs,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default()(_ref, [\"notificationID\", \"type\", \"learnMoreLink\", \"dismissButton\", \"ctaButton\", \"gaTrackingEventArgs\"]);\n  var trackEvents = Object(_js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(notificationID, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.category);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_NOTIFICATIONS\"]),\n    dismissNotification = _useDispatch.dismissNotification;\n  function handleDismissWithTrackEvent(_x) {\n    return _handleDismissWithTrackEvent.apply(this, arguments);\n  }\n  function _handleDismissWithTrackEvent() {\n    _handleDismissWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(event) {\n      var _dismissButton$onClic;\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 dismissButton === null || dismissButton === void 0 ? void 0 : (_dismissButton$onClic = dismissButton.onClick) === null || _dismissButton$onClic === void 0 ? void 0 : _dismissButton$onClic.call(dismissButton, event);\n            case 2:\n              trackEvents.dismiss(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n              dismissNotification(notificationID, _objectSpread({}, dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.dismissOptions));\n            case 4:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return _handleDismissWithTrackEvent.apply(this, arguments);\n  }\n  function handleCTAClickWithTrackEvent(_x2) {\n    return _handleCTAClickWithTrackEvent.apply(this, arguments);\n  }\n  function _handleCTAClickWithTrackEvent() {\n    _handleCTAClickWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(event) {\n      var _ctaButton$onClick;\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              trackEvents.confirm(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n              _context2.next = 3;\n              return ctaButton === null || ctaButton === void 0 ? void 0 : (_ctaButton$onClick = ctaButton.onClick) === null || _ctaButton$onClick === void 0 ? void 0 : _ctaButton$onClick.call(ctaButton, event);\n            case 3:\n              if (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.dismissOnClick) {\n                dismissNotification(notificationID, _objectSpread({}, ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.dismissOptions));\n              }\n            case 4:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, _callee2);\n    }));\n    return _handleCTAClickWithTrackEvent.apply(this, arguments);\n  }\n  function handleLearnMoreClickWithTrackEvent(_x3) {\n    return _handleLearnMoreClickWithTrackEvent.apply(this, arguments);\n  }\n  function _handleLearnMoreClickWithTrackEvent() {\n    _handleLearnMoreClickWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(event) {\n      var _learnMoreLink$onClic;\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              trackEvents.clickLearnMore(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n              _context3.next = 3;\n              return learnMoreLink === null || learnMoreLink === void 0 ? void 0 : (_learnMoreLink$onClic = learnMoreLink.onClick) === null || _learnMoreLink$onClic === void 0 ? void 0 : _learnMoreLink$onClic.call(learnMoreLink, event);\n            case 3:\n            case \"end\":\n              return _context3.stop();\n          }\n        }\n      }, _callee3);\n    }));\n    return _handleLearnMoreClickWithTrackEvent.apply(this, arguments);\n  }\n  var SVGData = props === null || props === void 0 ? void 0 : props.svg;\n  if (!SVGData && type !== TYPES.INFO) {\n    SVGData = {\n      desktop: undefined,\n      mobile: undefined,\n      verticalPosition: 'center'\n    };\n    if (type === TYPES.WARNING) {\n      SVGData.desktop = _svg_graphics_banner_warning_svg_url__WEBPACK_IMPORTED_MODULE_16__[\"default\"];\n    }\n    if (type === TYPES.ERROR) {\n      SVGData.desktop = _svg_graphics_banner_error_svg_url__WEBPACK_IMPORTED_MODULE_17__[\"default\"];\n    }\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()('googlesitekit-banner-notification', \"googlesitekit-banner-notification--\".concat(type))\n  }, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_15__[\"Grid\"], {\n    className: \"googlesitekit-page-content\"\n  }, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_15__[\"Row\"], null, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_15__[\"Cell\"], {\n    size: 12\n  }, /*#__PURE__*/React.createElement(_js_components_Banner__WEBPACK_IMPORTED_MODULE_11__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({\n    learnMoreLink: learnMoreLink && _objectSpread(_objectSpread({}, learnMoreLink), {}, {\n      onClick: handleLearnMoreClickWithTrackEvent\n    }),\n    dismissButton: dismissButton && _objectSpread(_objectSpread({}, dismissButton), {}, {\n      onClick: handleDismissWithTrackEvent\n    }),\n    ctaButton: ctaButton && _objectSpread(_objectSpread({}, ctaButton), {}, {\n      onClick: handleCTAClickWithTrackEvent\n    }),\n    svg: SVGData\n  }, props))))));\n}\nBannerNotification.propTypes = {\n  notificationID: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string.isRequired,\n  type: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.oneOf(Object.values(TYPES)),\n  titleIcon: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.node,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.node]),\n  learnMoreLink: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape(_js_components_Banner_LearnMoreLink__WEBPACK_IMPORTED_MODULE_12__[\"default\"].propTypes),\n  dismissButton: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape(_js_components_Banner_DismissButton__WEBPACK_IMPORTED_MODULE_14__[\"default\"].propTypes),\n  ctaButton: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape(_js_components_Banner_CTAButton__WEBPACK_IMPORTED_MODULE_13__[\"default\"].propTypes),\n  gaTrackingEventArgs: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape({\n    category: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string,\n    label: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string,\n    value: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.number\n  })\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/googlesitekit/notifications/components/layout/BannerNotification.js\n");

/***/ }),

/***/ "./js/googlesitekit/notifications/components/layout/NoticeNotification.js":
/*!********************************************************************************!*\
  !*** ./js/googlesitekit/notifications/components/layout/NoticeNotification.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return NoticeNotification; });\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_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n/* harmony import */ var _js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/notifications/hooks/useNotificationEvents */ \"./js/googlesitekit/notifications/hooks/useNotificationEvents.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _js_material_components__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_11__);\n\n\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 * 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\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction NoticeNotification(_ref) {\n  var notificationID = _ref.notificationID,\n    children = _ref.children,\n    dismissButton = _ref.dismissButton,\n    ctaButton = _ref.ctaButton,\n    gaTrackingEventArgs = _ref.gaTrackingEventArgs,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default()(_ref, [\"notificationID\", \"children\", \"dismissButton\", \"ctaButton\", \"gaTrackingEventArgs\"]);\n  var trackEvents = Object(_js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(notificationID);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_NOTIFICATIONS\"]),\n    dismissNotification = _useDispatch.dismissNotification;\n  function handleDismissWithTrackEvent(_x) {\n    return _handleDismissWithTrackEvent.apply(this, arguments);\n  }\n  function _handleDismissWithTrackEvent() {\n    _handleDismissWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(event) {\n      var _dismissButton$onClic;\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 dismissButton === null || dismissButton === void 0 ? void 0 : (_dismissButton$onClic = dismissButton.onClick) === null || _dismissButton$onClic === void 0 ? void 0 : _dismissButton$onClic.call(dismissButton, event);\n            case 2:\n              trackEvents.dismiss(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n              dismissNotification(notificationID, _objectSpread({}, (dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.dismissOptions) || {}));\n            case 4:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return _handleDismissWithTrackEvent.apply(this, arguments);\n  }\n  function handleCTAClickWithTrackEvent(_x2) {\n    return _handleCTAClickWithTrackEvent.apply(this, arguments);\n  }\n  function _handleCTAClickWithTrackEvent() {\n    _handleCTAClickWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(event) {\n      var _ctaButton$onClick;\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 ctaButton === null || ctaButton === void 0 ? void 0 : (_ctaButton$onClick = ctaButton.onClick) === null || _ctaButton$onClick === void 0 ? void 0 : _ctaButton$onClick.call(ctaButton, event);\n            case 2:\n              trackEvents.confirm(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n            case 3:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, _callee2);\n    }));\n    return _handleCTAClickWithTrackEvent.apply(this, arguments);\n  }\n  return /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_10__[\"Grid\"], null, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_10__[\"Row\"], null, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_10__[\"Cell\"], {\n    size: 12,\n    alignMiddle: true\n  }, /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({\n    dismissButton: _objectSpread(_objectSpread({}, dismissButton), {}, {\n      onClick: handleDismissWithTrackEvent\n    }),\n    ctaButton: _objectSpread(_objectSpread({}, ctaButton), {}, {\n      onClick: handleCTAClickWithTrackEvent\n    })\n  }, props), children))));\n}\nNoticeNotification.propTypes = {\n  notificationID: prop_types__WEBPACK_IMPORTED_MODULE_11___default.a.string.isRequired,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_11___default.a.node,\n  dismissButton: prop_types__WEBPACK_IMPORTED_MODULE_11___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_11___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_11___default.a.object]),\n  ctaButton: prop_types__WEBPACK_IMPORTED_MODULE_11___default.a.object,\n  gaTrackingEventArgs: prop_types__WEBPACK_IMPORTED_MODULE_11___default.a.object\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/googlesitekit/notifications/components/layout/NoticeNotification.js\n");

/***/ }),

/***/ "./js/googlesitekit/notifications/components/layout/OverlayNotification.js":
/*!*********************************************************************************!*\
  !*** ./js/googlesitekit/notifications/components/layout/OverlayNotification.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return OverlayNotification; });\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_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);\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 _js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/notifications/hooks/useNotificationEvents */ \"./js/googlesitekit/notifications/hooks/useNotificationEvents.js\");\n/* harmony import */ var _js_components_OverlayCard__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/OverlayCard */ \"./js/components/OverlayCard/index.js\");\n\n\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 * OverlayNotification layout component.\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\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction OverlayNotification(_ref) {\n  var notificationID = _ref.notificationID,\n    ctaButton = _ref.ctaButton,\n    dismissButton = _ref.dismissButton,\n    gaTrackingEventArgs = _ref.gaTrackingEventArgs,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default()(_ref, [\"notificationID\", \"ctaButton\", \"dismissButton\", \"gaTrackingEventArgs\"]);\n  var trackEvents = Object(_js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(notificationID, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.category, {\n    confirmAction: gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.confirmAction,\n    dismissAction: gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.dismissAction\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_NOTIFICATIONS\"]),\n    dismissNotification = _useDispatch.dismissNotification;\n  function handleDismissWithTrackEvent(_x) {\n    return _handleDismissWithTrackEvent.apply(this, arguments);\n  }\n  function _handleDismissWithTrackEvent() {\n    _handleDismissWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(event) {\n      var _dismissButton$onClic;\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 dismissButton === null || dismissButton === void 0 ? void 0 : (_dismissButton$onClic = dismissButton.onClick) === null || _dismissButton$onClic === void 0 ? void 0 : _dismissButton$onClic.call(dismissButton, event);\n            case 2:\n              trackEvents.dismiss(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n              dismissNotification(notificationID, _objectSpread({}, dismissButton.dismissOptions));\n            case 4:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return _handleDismissWithTrackEvent.apply(this, arguments);\n  }\n  function handleCTAClickWithTrackEvent(_x2) {\n    return _handleCTAClickWithTrackEvent.apply(this, arguments);\n  }\n  function _handleCTAClickWithTrackEvent() {\n    _handleCTAClickWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(event) {\n      var _ctaButton$onClick;\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              trackEvents.confirm(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n              _context2.next = 3;\n              return ctaButton === null || ctaButton === void 0 ? void 0 : (_ctaButton$onClick = ctaButton.onClick) === null || _ctaButton$onClick === void 0 ? void 0 : _ctaButton$onClick.call(ctaButton, event);\n            case 3:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, _callee2);\n    }));\n    return _handleCTAClickWithTrackEvent.apply(this, arguments);\n  }\n  return /*#__PURE__*/React.createElement(_js_components_OverlayCard__WEBPACK_IMPORTED_MODULE_10__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({\n    ctaButton: _objectSpread(_objectSpread({}, ctaButton), {}, {\n      onClick: handleCTAClickWithTrackEvent\n    }),\n    dismissButton: _objectSpread(_objectSpread({}, dismissButton), {}, {\n      onClick: handleDismissWithTrackEvent\n    })\n  }, props, {\n    visible: true\n  }));\n}\nOverlayNotification.propTypes = {\n  notificationID: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string,\n  ctaButton: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object,\n  dismissButton: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool])\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/googlesitekit/notifications/components/layout/OverlayNotification.js\n");

/***/ }),

/***/ "./js/googlesitekit/notifications/components/layout/SetupCTA.js":
/*!**********************************************************************!*\
  !*** ./js/googlesitekit/notifications/components/layout/SetupCTA.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SetupCTA; });\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_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/notifications/hooks/useNotificationEvents */ \"./js/googlesitekit/notifications/hooks/useNotificationEvents.js\");\n/* harmony import */ var _js_components_Banner__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/Banner */ \"./js/components/Banner/index.js\");\n/* harmony import */ var _js_components_Banner_LearnMoreLink__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/Banner/LearnMoreLink */ \"./js/components/Banner/LearnMoreLink.js\");\n/* harmony import */ var _js_components_Banner_CTAButton__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/Banner/CTAButton */ \"./js/components/Banner/CTAButton.js\");\n/* harmony import */ var _js_components_Banner_DismissButton__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/Banner/DismissButton */ \"./js/components/Banner/DismissButton.js\");\n/* harmony import */ var _js_material_components__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_16__);\n\n\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 * SetupCTA layout component.\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\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction SetupCTA(_ref) {\n  var notificationID = _ref.notificationID,\n    title = _ref.title,\n    description = _ref.description,\n    errorText = _ref.errorText,\n    helpText = _ref.helpText,\n    learnMoreLink = _ref.learnMoreLink,\n    dismissButton = _ref.dismissButton,\n    ctaButton = _ref.ctaButton,\n    svg = _ref.svg,\n    footer = _ref.footer,\n    gaTrackingEventArgs = _ref.gaTrackingEventArgs,\n    waitingProgress = _ref.waitingProgress,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4___default()(_ref, [\"notificationID\", \"title\", \"description\", \"errorText\", \"helpText\", \"learnMoreLink\", \"dismissButton\", \"ctaButton\", \"svg\", \"footer\", \"gaTrackingEventArgs\", \"waitingProgress\"]);\n  var trackEvents = Object(_js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(notificationID, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.category);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_NOTIFICATIONS\"]),\n    dismissNotification = _useDispatch.dismissNotification;\n  function handleDismissWithTrackEvent(_x) {\n    return _handleDismissWithTrackEvent.apply(this, arguments);\n  }\n  function _handleDismissWithTrackEvent() {\n    _handleDismissWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(event) {\n      var _dismissButton$onClic;\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 dismissButton === null || dismissButton === void 0 ? void 0 : (_dismissButton$onClic = dismissButton.onClick) === null || _dismissButton$onClic === void 0 ? void 0 : _dismissButton$onClic.call(dismissButton, event);\n            case 2:\n              trackEvents.dismiss(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n              dismissNotification(notificationID, _objectSpread({}, dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.dismissOptions));\n            case 4:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return _handleDismissWithTrackEvent.apply(this, arguments);\n  }\n  function handleCTAClickWithTrackEvent(_x2) {\n    return _handleCTAClickWithTrackEvent.apply(this, arguments);\n  }\n  function _handleCTAClickWithTrackEvent() {\n    _handleCTAClickWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(event) {\n      var _ctaButton$onClick;\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              trackEvents.confirm(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n              _context2.next = 3;\n              return ctaButton === null || ctaButton === void 0 ? void 0 : (_ctaButton$onClick = ctaButton.onClick) === null || _ctaButton$onClick === void 0 ? void 0 : _ctaButton$onClick.call(ctaButton, event);\n            case 3:\n              if (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.dismissOnClick) {\n                dismissNotification(notificationID, _objectSpread({}, ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.dismissOptions));\n              }\n            case 4:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, _callee2);\n    }));\n    return _handleCTAClickWithTrackEvent.apply(this, arguments);\n  }\n  function handleLearnMoreClickWithTrackEvent(_x3) {\n    return _handleLearnMoreClickWithTrackEvent.apply(this, arguments);\n  }\n  function _handleLearnMoreClickWithTrackEvent() {\n    _handleLearnMoreClickWithTrackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(event) {\n      var _learnMoreLink$onClic;\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              trackEvents.clickLearnMore(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n              _context3.next = 3;\n              return learnMoreLink === null || learnMoreLink === void 0 ? void 0 : (_learnMoreLink$onClic = learnMoreLink.onClick) === null || _learnMoreLink$onClic === void 0 ? void 0 : _learnMoreLink$onClic.call(learnMoreLink, event);\n            case 3:\n            case \"end\":\n              return _context3.stop();\n          }\n        }\n      }, _callee3);\n    }));\n    return _handleLearnMoreClickWithTrackEvent.apply(this, arguments);\n  }\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"Fragment\"], null, !!waitingProgress && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_16__[\"ProgressBar\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({\n    className: \"googlesitekit-banner__progress-bar\"\n  }, waitingProgress)), /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()('googlesitekit-widget-context', {\n      'googlesitekit-widget-context--with-progress-bar': !!waitingProgress\n    })\n  }, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_15__[\"Grid\"], null, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_15__[\"Row\"], null, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_15__[\"Cell\"], {\n    size: 12\n  }, /*#__PURE__*/React.createElement(_js_components_Banner__WEBPACK_IMPORTED_MODULE_11__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({\n    className: \"googlesitekit-banner--setup-cta\",\n    title: title,\n    description: description,\n    errorText: errorText,\n    helpText: helpText,\n    learnMoreLink: learnMoreLink && _objectSpread(_objectSpread({}, learnMoreLink), {}, {\n      onClick: handleLearnMoreClickWithTrackEvent\n    }),\n    dismissButton: dismissButton && _objectSpread(_objectSpread({}, dismissButton), {}, {\n      onClick: handleDismissWithTrackEvent\n    }),\n    ctaButton: ctaButton && _objectSpread(_objectSpread({}, ctaButton), {}, {\n      onClick: handleCTAClickWithTrackEvent\n    }),\n    svg: svg,\n    footer: footer\n  }, props)))))));\n}\nSetupCTA.propTypes = {\n  notificationID: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.node]),\n  errorText: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string,\n  helpText: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string,\n  learnMoreLink: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape(_js_components_Banner_LearnMoreLink__WEBPACK_IMPORTED_MODULE_12__[\"default\"].propTypes),\n  dismissButton: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape(_js_components_Banner_DismissButton__WEBPACK_IMPORTED_MODULE_14__[\"default\"].propTypes),\n  ctaButton: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape(_js_components_Banner_CTAButton__WEBPACK_IMPORTED_MODULE_13__[\"default\"].propTypes),\n  svg: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape({\n    desktop: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.elementType,\n    mobile: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.elementType,\n    verticalPosition: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.oneOf(['top', 'center', 'bottom'])\n  }),\n  footer: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.node,\n  gaTrackingEventArgs: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape({\n    category: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string,\n    label: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string,\n    value: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.number\n  }),\n  waitingProgress: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.shape(googlesitekit_components__WEBPACK_IMPORTED_MODULE_16__[\"ProgressBar\"].propTypes)\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/googlesitekit/notifications/components/layout/SetupCTA.js\n");

/***/ }),

/***/ "./js/googlesitekit/notifications/constants.js":
/*!*****************************************************!*\
  !*** ./js/googlesitekit/notifications/constants.js ***!
  \*****************************************************/
/*! exports provided: GTG_HEALTH_CHECK_WARNING_NOTIFICATION_ID, GTG_SETUP_CTA_BANNER_NOTIFICATION, PRIORITY, NOTIFICATION_AREAS, NOTIFICATION_GROUPS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GTG_HEALTH_CHECK_WARNING_NOTIFICATION_ID\", function() { return GTG_HEALTH_CHECK_WARNING_NOTIFICATION_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GTG_SETUP_CTA_BANNER_NOTIFICATION\", function() { return GTG_SETUP_CTA_BANNER_NOTIFICATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PRIORITY\", function() { return PRIORITY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NOTIFICATION_AREAS\", function() { return NOTIFICATION_AREAS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NOTIFICATION_GROUPS\", function() { return NOTIFICATION_GROUPS; });\n/**\n * Notifications API constants.\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\nvar GTG_HEALTH_CHECK_WARNING_NOTIFICATION_ID = 'warning-notification-gtg';\nvar GTG_SETUP_CTA_BANNER_NOTIFICATION = 'gtg-setup-cta';\nvar PRIORITY = {\n  ERROR_HIGH: 30,\n  ERROR_LOW: 60,\n  WARNING: 100,\n  INFO: 150,\n  SETUP_CTA_HIGH: 150,\n  SETUP_CTA_LOW: 200\n};\nvar NOTIFICATION_AREAS = {\n  HEADER: 'notification-area-header',\n  DASHBOARD_TOP: 'notification-area-dashboard-top',\n  OVERLAYS: 'notification-area-overlays'\n};\nvar NOTIFICATION_GROUPS = {\n  DEFAULT: 'default',\n  SETUP_CTAS: 'setup-ctas'\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29uc3RhbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC9ub3RpZmljYXRpb25zL2NvbnN0YW50cy5qcz9iMGVlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTm90aWZpY2F0aW9ucyBBUEkgY29uc3RhbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3Ugb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LWhlYWRlcicsXG5cdERBU0hCT0FSRF9UT1A6ICdub3RpZmljYXRpb24tYXJlYS1kYXNoYm9hcmQtdG9wJyxcblx0T1ZFUkxBWVM6ICdub3RpZmljYXRpb24tYXJlYS1vdmVybGF5cycsXG59O1xuXG5leHBvcnQgY29uc3QgTk9USUZJQ0FUSU9OX0dST1VQUyA9IHtcblx0REVGQVVMVDogJ2RlZmF1bHQnLFxuXHRTRVRVUF9DVEFTOiAnc2V0dXAtY3RhcycsXG59O1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/notifications/constants.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_NOTIFICATIONS\", function() { return CORE_NOTIFICATIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NOTIFICATION_VIEW_CONTEXTS\", function() { return NOTIFICATION_VIEW_CONTEXTS; });\n/* harmony import */ var _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\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\nvar CORE_NOTIFICATIONS = 'core/notifications';\nvar NOTIFICATION_VIEW_CONTEXTS = [_js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_SPLASH\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_ENTITY_DASHBOARD\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY\"]];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvbm90aWZpY2F0aW9ucy9kYXRhc3RvcmUvY29uc3RhbnRzLmpzP2EzYzEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdv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YW50cyc7XG5cbmV4cG9ydCBjb25zdCBDT1JFX05PVElGSUNBVElPTlMgPSAnY29yZS9ub3RpZmljYXRpb25zJztcblxuZXhwb3J0IGNvbnN0IE5PVElGSUNBVElPTl9WSUVXX0NPTlRFWFRTID0gW1xuXHRWSUVXX0NPTlRFWFRfU1BMQVNILFxuXHRWSUVXX0NPTlRFWFRfTUFJTl9EQVNIQk9BUkQsXG5cdFZJRVdfQ09OVEVYVF9FTlRJVFlfREFTSEJPQVJELFxuXHRWSUVXX0NPTlRFWFRfTUFJTl9EQVNIQk9BUkRfVklFV19PTkxZLFxuXHRWSUVXX0NPTlRFWFRfRU5USVRZX0RBU0hCT0FSRF9WSUVXX09OTFksXG5dO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFRQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/notifications/datastore/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/notifications/hooks/useNotificationEvents.js":
/*!***********************************************************************!*\
  !*** ./js/googlesitekit/notifications/hooks/useNotificationEvents.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 useNotificationEvents; });\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_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/**\n * `useNotificationEvents` hook.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction useNotificationEvents(id, category) {\n  var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n    _ref$viewAction = _ref.viewAction,\n    viewAction = _ref$viewAction === void 0 ? 'view_notification' : _ref$viewAction,\n    _ref$confirmAction = _ref.confirmAction,\n    confirmAction = _ref$confirmAction === void 0 ? 'confirm_notification' : _ref$confirmAction,\n    _ref$dismissAction = _ref.dismissAction,\n    dismissAction = _ref$dismissAction === void 0 ? 'dismiss_notification' : _ref$dismissAction,\n    _ref$clickLearnMoreAc = _ref.clickLearnMoreAction,\n    clickLearnMoreAction = _ref$clickLearnMoreAc === void 0 ? 'click_learn_more_link' : _ref$clickLearnMoreAc;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n  var eventCategory = category !== null && category !== void 0 ? category : \"\".concat(viewContext, \"_\").concat(id);\n  var view = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    return _js_util__WEBPACK_IMPORTED_MODULE_2__[\"trackEvent\"].apply(void 0, [eventCategory, viewAction].concat(args));\n  }, [eventCategory, viewAction]);\n  var confirm = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n    return _js_util__WEBPACK_IMPORTED_MODULE_2__[\"trackEvent\"].apply(void 0, [eventCategory, confirmAction].concat(args));\n  }, [eventCategory, confirmAction]);\n  var dismiss = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n      args[_key3] = arguments[_key3];\n    }\n    return _js_util__WEBPACK_IMPORTED_MODULE_2__[\"trackEvent\"].apply(void 0, [eventCategory, dismissAction].concat(args));\n  }, [eventCategory, dismissAction]);\n  var clickLearnMore = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n      args[_key4] = arguments[_key4];\n    }\n    return _js_util__WEBPACK_IMPORTED_MODULE_2__[\"trackEvent\"].apply(void 0, [eventCategory, clickLearnMoreAction].concat(args));\n  }, [eventCategory, clickLearnMoreAction]);\n  return {\n    view: view,\n    confirm: confirm,\n    dismiss: dismiss,\n    clickLearnMore: clickLearnMore\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvaG9va3MvdXNlTm90aWZpY2F0aW9uRXZlbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC9ub3RpZmljYXRpb25zL2hvb2tzL3VzZU5vdGlmaWNhdGlvbkV2ZW50cy5qcz9jZDA0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHVzZU5vd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BQ0E7QUFJQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFJQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/notifications/hooks/useNotificationEvents.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/components/WPDashboardReportError.js":
/*!***********************************************************************!*\
  !*** ./js/googlesitekit/widgets/components/WPDashboardReportError.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WPDashboardReportError; });\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 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 react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\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_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_components_ReportError__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/ReportError */ \"./js/components/ReportError.js\");\n\n/**\n * WPDashboardReportError component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction WPDashboardReportError(_ref) {\n  var moduleSlug = _ref.moduleSlug,\n    error = _ref.error;\n  var errorInstanceID = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__[\"useInstanceId\"])(WPDashboardReportError, 'WPDashboardReportError');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var errorMessage = error.message;\n  var selectInstanceID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]).getValue(\"WPDashboardReportError-\".concat(moduleSlug, \"-\").concat(errorMessage));\n  });\n  Object(react_use__WEBPACK_IMPORTED_MODULE_2__[\"useLifecycles\"])(function () {\n    setValue(\"WPDashboardReportError-\".concat(moduleSlug, \"-\").concat(errorMessage), errorInstanceID);\n  }, function () {\n    setValue(\"WPDashboardReportError-\".concat(moduleSlug, \"-\").concat(errorMessage), undefined);\n  });\n  if (selectInstanceID !== errorInstanceID) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_js_components_ReportError__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    moduleSlug: moduleSlug,\n    error: error\n  });\n}\nWPDashboardReportError.propTypes = {\n  moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  error: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XUERhc2hib2FyZFJlcG9ydEVycm9yLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC93aWRnZXRzL2NvbXBvbmVudHMvV1BEYXNoYm9hcmRSZXBvcnRFcnJvci5qcz9mMjI1Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogV1BEYXNoYm9hcmRSZXBvcnRFcnJvciBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZ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N0SW5zdGFuY2VJRCAhPT0gZXJyb3JJbnN0YW5jZUlEICkge1xuXHRcdHJldHVybiBudWxsO1xuXHR9XG5cblx0cmV0dXJuIDxSZXBvcnRFcnJvciBtb2R1bGVTbHVnPXsgbW9kdWxlU2x1ZyB9IGVycm9yPXsgZXJyb3IgfSAvPjtcbn1cblxuV1BEYXNoYm9hcmRSZXBvcnRFcnJvci5wcm9wVHlwZXMgPSB7XG5cdG1vZHVsZVNsdWc6IFByb3BUeXBlcy5zdHJpbmcuaXNSZXF1aXJlZCxcblx0ZXJyb3I6IFByb3BUeXBlcy5vYmplY3QuaXNSZXF1aXJlZCxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUdBO0FBRUE7QUFFQTtBQUVBO0FBQUE7QUFHQTtBQUdBO0FBRUE7QUFJQTtBQUVBO0FBSUE7QUFHQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/components/WPDashboardReportError.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/components/Widget.js":
/*!*******************************************************!*\
  !*** ./js/googlesitekit/widgets/components/Widget.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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\n/**\n * Widget component.\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\nvar Widget = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n  var children = _ref.children,\n    className = _ref.className,\n    widgetSlug = _ref.widgetSlug,\n    noPadding = _ref.noPadding,\n    Header = _ref.Header,\n    Footer = _ref.Footer;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-widget', \"googlesitekit-widget--\".concat(widgetSlug), {\n      'googlesitekit-widget--no-padding': noPadding\n    }, {\n      'googlesitekit-widget--with-header': Header\n    }, className),\n    ref: ref\n  }, Header && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget__header\"\n  }, /*#__PURE__*/React.createElement(Header, null)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget__body\"\n  }, children), Footer && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget__footer\"\n  }, /*#__PURE__*/React.createElement(Footer, null)));\n});\nWidget.defaultProps = {\n  children: undefined,\n  noPadding: false\n};\nWidget.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node,\n  widgetSlug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  noPadding: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  Header: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType,\n  Footer: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Widget);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXQuanM/OGVjMyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFdpZGdldCBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTt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ZzogZmFsc2UsXG59O1xuXG5XaWRnZXQucHJvcFR5cGVzID0ge1xuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUsXG5cdHdpZGdldFNsdWc6IFByb3BUeXBlcy5zdHJpbmcuaXNSZXF1aXJlZCxcblx0bm9QYWRkaW5nOiBQcm9wVHlwZXMuYm9vbCxcblx0SGVhZGVyOiBQcm9wVHlwZXMuZWxlbWVudFR5cGUsXG5cdEZvb3RlcjogUHJvcFR5cGVzLmVsZW1lbnRUeXBlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgV2lkZ2V0O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFHQTtBQUFBO0FBQ0E7QUFBQTtBQUdBO0FBQUE7QUFHQTtBQUFBO0FBSUE7QUFBQTtBQUVBO0FBQUE7QUFNQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/components/Widget.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/components/WidgetHeaderTitle.js":
/*!******************************************************************!*\
  !*** ./js/googlesitekit/widgets/components/WidgetHeaderTitle.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 _js_components_Typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * WidgetHeaderTitle component.\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\nfunction WidgetHeaderTitle(_ref) {\n  var title = _ref.title;\n  return /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    className: \"googlesitekit-widget__header-title\",\n    as: \"h3\",\n    type: \"title\",\n    size: \"small\"\n  }, title);\n}\nWidgetHeaderTitle.propTypes = {\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (WidgetHeaderTitle);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9n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***/ }),

/***/ "./js/googlesitekit/widgets/components/WidgetNull.js":
/*!***********************************************************!*\
  !*** ./js/googlesitekit/widgets/components/WidgetNull.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetNull; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/widgets/hooks/useWidgetStateEffect */ \"./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\");\n/* harmony import */ var _js_components_Null__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Null */ \"./js/components/Null.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_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 * WidgetNull component.\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// This doesn't need to change.\nvar metadata = {};\n\n// The supported props must match `Null` (except `widgetSlug`).\nfunction WidgetNull(_ref) {\n  var widgetSlug = _ref.widgetSlug;\n  Object(_js_googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(widgetSlug, _js_components_Null__WEBPACK_IMPORTED_MODULE_4__[\"default\"], metadata);\n  return /*#__PURE__*/React.createElement(_js_components_Null__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null);\n}\nWidgetNull.propTypes = _objectSpread({\n  widgetSlug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired\n}, _js_components_Null__WEBPACK_IMPORTED_MODULE_4__[\"default\"].propTypes);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXROdWxsLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC93aWRnZXRzL2NvbXBvbmVudHMvV2lkZ2V0TnVsbC5qcz9mNDZkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogV2lkZ2V0TnVsbCBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2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BQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/components/WidgetNull.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/components/WidgetRecoverableModules.js":
/*!*************************************************************************!*\
  !*** ./js/googlesitekit/widgets/components/WidgetRecoverableModules.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetRecoverableModules; });\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_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _js_googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/widgets/hooks/useWidgetStateEffect */ \"./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\");\n/* harmony import */ var _js_components_RecoverableModules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/RecoverableModules */ \"./js/components/RecoverableModules.js\");\n\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_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 * WidgetRecoverableModules component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n// The supported props must match `RecoverableModules` (except `widgetSlug`).\nfunction WidgetRecoverableModules(_ref) {\n  var widgetSlug = _ref.widgetSlug,\n    moduleSlugs = _ref.moduleSlugs,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default()(_ref, [\"widgetSlug\", \"moduleSlugs\"]);\n  var metadata = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useMemo\"])(function () {\n    return {\n      // Here we serialize to `moduleSlug` for compatibility with the logic in\n      // `combineWidgets()`. In future we may wish to take a less \"hacky\" approach.\n      // See https://github.com/google/site-kit-wp/issues/5376#issuecomment-1165771399.\n      moduleSlug: _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default()(moduleSlugs).sort().join(','),\n      // We also store `moduleSlugs` in the metadata in order for it to be passed back\n      // into RecoverableModules as a prop.\n      // See https://github.com/google/site-kit-wp/blob/c272c20eddcca61aae24c9812b6b11dbc15ec673/assets/js/googlesitekit/widgets/components/WidgetAreaRenderer.js#L171.\n      moduleSlugs: moduleSlugs\n    };\n  }, [moduleSlugs]);\n  Object(_js_googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(widgetSlug, _js_components_RecoverableModules__WEBPACK_IMPORTED_MODULE_7__[\"default\"], metadata);\n  return /*#__PURE__*/React.createElement(_js_components_RecoverableModules__WEBPACK_IMPORTED_MODULE_7__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({\n    moduleSlugs: moduleSlugs\n  }, props));\n}\nWidgetRecoverableModules.propTypes = _objectSpread({\n  widgetSlug: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string.isRequired\n}, _js_components_RecoverableModules__WEBPACK_IMPORTED_MODULE_7__[\"default\"].propTypes);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXRSZWNvdmVyYWJsZU1vZHVsZXMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXRSZWNvdmVyYWJsZU1vZHVsZXMuanM/YjE5MyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFdpZGdldFJlY292ZXJhYmxlTW9kdWxlcyBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTEx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DQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/components/WidgetRecoverableModules.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/components/WidgetReportError.js":
/*!******************************************************************!*\
  !*** ./js/googlesitekit/widgets/components/WidgetReportError.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetReportError; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_components_ReportError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/ReportError */ \"./js/components/ReportError.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_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 * WidgetReportError component.\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// eslint-disable-next-line no-unused-vars\nfunction WidgetReportError(_ref) {\n  var widgetSlug = _ref.widgetSlug,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"widgetSlug\"]);\n  return /*#__PURE__*/React.createElement(_js_components_ReportError__WEBPACK_IMPORTED_MODULE_4__[\"default\"], props);\n}\nWidgetReportError.propTypes = _objectSpread({\n  widgetSlug: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired\n}, _js_components_ReportError__WEBPACK_IMPORTED_MODULE_4__[\"default\"].propTypes);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXRSZXBvcnRFcnJvci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvd2lkZ2V0cy9jb21wb25lbnRzL1dpZGdldFJlcG9ydEVycm9yLmpzPzdiNzUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBXaWRnZXRSZXBvcnRFcnJvciBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5I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QUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/components/WidgetReportError.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/components/WidgetReportZero.js":
/*!*****************************************************************!*\
  !*** ./js/googlesitekit/widgets/components/WidgetReportZero.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetReportZero; });\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_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _js_googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/widgets/hooks/useWidgetStateEffect */ \"./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\");\n/* harmony import */ var _js_components_ReportZero__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/ReportZero */ \"./js/components/ReportZero.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_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 * WidgetReportZero component.\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// The supported props must match `ReportZero` (except `widgetSlug`).\nfunction WidgetReportZero(_ref) {\n  var widgetSlug = _ref.widgetSlug,\n    moduleSlug = _ref.moduleSlug,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(_ref, [\"widgetSlug\", \"moduleSlug\"]);\n  var metadata = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useMemo\"])(function () {\n    return {\n      moduleSlug: moduleSlug\n    };\n  }, [moduleSlug]);\n  Object(_js_googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(widgetSlug, _js_components_ReportZero__WEBPACK_IMPORTED_MODULE_6__[\"default\"], metadata);\n  return /*#__PURE__*/React.createElement(_js_components_ReportZero__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({\n    moduleSlug: moduleSlug\n  }, props));\n}\nWidgetReportZero.propTypes = _objectSpread({\n  widgetSlug: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired\n}, _js_components_ReportZero__WEBPACK_IMPORTED_MODULE_6__[\"default\"].propTypes);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXRSZXBvcnRaZXJvLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC93aWRnZXRzL2NvbXBvbmVudHMvV2lkZ2V0UmVwb3J0WmVyby5qcz9lNzFlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogV2lkZ2V0UmVwb3J0WmVybyBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGh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ldHVybiA8UmVwb3J0WmVybyBtb2R1bGVTbHVnPXsgbW9kdWxlU2x1ZyB9IHsgLi4ucHJvcHMgfSAvPjtcbn1cblxuV2lkZ2V0UmVwb3J0WmVyby5wcm9wVHlwZXMgPSB7XG5cdHdpZGdldFNsdWc6IFByb3BUeXBlcy5zdHJpbmcuaXNSZXF1aXJlZCxcblx0Li4uUmVwb3J0WmVyby5wcm9wVHlwZXMsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFGQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/components/WidgetReportZero.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/datastore/constants.js":
/*!*********************************************************!*\
  !*** ./js/googlesitekit/widgets/datastore/constants.js ***!
  \*********************************************************/
/*! exports provided: WIDGET_AREA_STYLES, WIDGET_WIDTHS, CORE_WIDGETS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WIDGET_AREA_STYLES\", function() { return WIDGET_AREA_STYLES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WIDGET_WIDTHS\", function() { return WIDGET_WIDTHS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_WIDGETS\", function() { return CORE_WIDGETS; });\n/**\n * `core/widgets` 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 WIDGET_AREA_STYLES = {\n  BOXES: 'boxes',\n  COMPOSITE: 'composite'\n};\nvar WIDGET_WIDTHS = {\n  QUARTER: 'quarter',\n  HALF: 'half',\n  FULL: 'full'\n};\nvar CORE_WIDGETS = 'core/widgets';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvd2lkZ2V0cy9kYXRhc3RvcmUvY29uc3RhbnRzLmpzP2QyZmIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgY29yZS93aWRnZXRzYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2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UNBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/datastore/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/default-areas.js":
/*!***************************************************!*\
  !*** ./js/googlesitekit/widgets/default-areas.js ***!
  \***************************************************/
/*! exports provided: AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY, AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY, AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION, AREA_MAIN_DASHBOARD_CONTENT_PRIMARY, AREA_MAIN_DASHBOARD_SPEED_PRIMARY, AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY, AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY, AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY, AREA_ENTITY_DASHBOARD_SPEED_PRIMARY, AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\", function() { return AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY\", function() { return AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION\", function() { return AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY\", function() { return AREA_MAIN_DASHBOARD_CONTENT_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_MAIN_DASHBOARD_SPEED_PRIMARY\", function() { return AREA_MAIN_DASHBOARD_SPEED_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY\", function() { return AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY\", function() { return AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY\", function() { return AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY\", function() { return AREA_ENTITY_DASHBOARD_SPEED_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY\", function() { return AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY; });\n/**\n * Widgets API default areas\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// Main dashboard\nvar AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY = 'mainDashboardKeyMetricsPrimary';\nvar AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY = 'mainDashboardTrafficPrimary';\nvar AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION = 'mainDashboardTrafficAudienceSegmentation';\nvar AREA_MAIN_DASHBOARD_CONTENT_PRIMARY = 'mainDashboardContentPrimary';\nvar AREA_MAIN_DASHBOARD_SPEED_PRIMARY = 'mainDashboardSpeedPrimary';\nvar AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY = 'mainDashboardMonetizationPrimary';\n// Entity dashboard\nvar AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY = 'entityDashboardTrafficPrimary';\nvar AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY = 'entityDashboardContentPrimary';\nvar AREA_ENTITY_DASHBOARD_SPEED_PRIMARY = 'entityDashboardSpeedPrimary';\nvar AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY = 'entityDashboardMonetizationPrimary';\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  // Main dashboard\n  AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY: AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY,\n  AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY: AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY,\n  AREA_MAIN_DASHBOARD_CONTENT_PRIMARY: AREA_MAIN_DASHBOARD_CONTENT_PRIMARY,\n  AREA_MAIN_DASHBOARD_SPEED_PRIMARY: AREA_MAIN_DASHBOARD_SPEED_PRIMARY,\n  AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY: AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY,\n  // Entity dashboard\n  AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY: AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY,\n  AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY: AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY,\n  AREA_ENTITY_DASHBOARD_SPEED_PRIMARY: AREA_ENTITY_DASHBOARD_SPEED_PRIMARY,\n  AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY: AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvZGVmYXVsdC1hcmVhcy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvd2lkZ2V0cy9kZWZhdWx0LWFyZWFzLmpzPzNhODYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBXaWRnZXRzIEFQSSBkZWZhdWx0IGFyZWFzXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZW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BQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFFQTtBQUVBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFFQTtBQUVBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/default-areas.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js":
/*!****************************************************************!*\
  !*** ./js/googlesitekit/widgets/hooks/useWidgetStateEffect.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 useWidgetStateEffect; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/widgets/datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/**\n * `useWidgetStateEffect` hook.\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\nfunction useWidgetStateEffect(widgetSlug, Component, metadata) {\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_WIDGETS\"]),\n    setWidgetState = _useDispatch.setWidgetState,\n    unsetWidgetState = _useDispatch.unsetWidgetState;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    setWidgetState(widgetSlug, Component, metadata);\n    return function () {\n      unsetWidgetState(widgetSlug, Component, metadata);\n    };\n  }, [widgetSlug, Component, metadata, setWidgetState, unsetWidgetState]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvaG9va3MvdXNlV2lkZ2V0U3RhdGVFZmZlY3QuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvaG9va3MvdXNlV2lkZ2V0U3RhdGVFZmZlY3QuanM/YWM2OCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGB1c2VXaWRnZXRTdGF0ZUVmZmVjdGAgaG9vay5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0a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V2lkZ2V0U3RhdGVFZmZlY3QoXG5cdHdpZGdldFNsdWcsXG5cdENvbXBvbmVudCxcblx0bWV0YWRhdGFcbikge1xuXHRjb25zdCB7IHNldFdpZGdldFN0YXRlLCB1bnNldFdpZGdldFN0YXRlIH0gPSB1c2VEaXNwYXRjaCggQ09SRV9XSURHRVRTICk7XG5cblx0dXNlRWZmZWN0KCAoKSA9PiB7XG5cdFx0c2V0V2lkZ2V0U3RhdGUoIHdpZGdldFNsdWcsIENvbXBvbmVudCwgbWV0YWRhdGEgKTtcblx0XHRyZXR1cm4gKCkgPT4ge1xuXHRcdFx0dW5zZXRXaWRnZXRTdGF0ZSggd2lkZ2V0U2x1ZywgQ29tcG9uZW50LCBtZXRhZGF0YSApO1xuXHRcdH07XG5cdH0sIFsgd2lkZ2V0U2x1ZywgQ29tcG9uZW50LCBtZXRhZGF0YSwgc2V0V2lkZ2V0U3RhdGUsIHVuc2V0V2lkZ2V0U3RhdGUgXSApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBSUE7QUFDQTtBQUFBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/util/combine-widgets.js":
/*!**********************************************************!*\
  !*** ./js/googlesitekit/widgets/util/combine-widgets.js ***!
  \**********************************************************/
/*! exports provided: combineWidgets */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineWidgets\", function() { return combineWidgets; });\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/* 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 _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/widgets/util/constants.js\");\n\n/**\n * Widgets combination 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 * Internal dependencies\n */\n\nfunction stateAndRowMatch(stateA, stateB, rowA, rowB) {\n  return rowA === rowB && Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isEqual\"])(stateA, stateB);\n}\n\n/**\n * Determines whether all the widgets in a given area should be combined.\n *\n * The given widgets in an area can all be combined if they are\n * all from the same module and they are all in the same special\n * state (see #3225).\n *\n * @since 1.34.0\n *\n * @param {Array.<Object>} widgets      List of widgets.\n * @param {Object}         widgetStates Map of widget slug and their\n *                                             state (either an object with\n *                                             `Component` and `metadata`, or\n *                                             `null`).\n * @return {boolean} \t\t\tWhether all the widgets should be combined.\n */\nfunction shouldCombineAllWidgets(widgets, widgetStates) {\n  var states = {};\n  for (var i = 0; i < widgets.length; i++) {\n    var _widgetState$metadata;\n    var widget = widgets[i];\n    var widgetState = widgetStates === null || widgetStates === void 0 ? void 0 : widgetStates[widget.slug];\n    var state = widgetState === null || widgetState === void 0 ? void 0 : widgetState.Component;\n    var module = widgetState === null || widgetState === void 0 ? void 0 : (_widgetState$metadata = widgetState.metadata) === null || _widgetState$metadata === void 0 ? void 0 : _widgetState$metadata.moduleSlug;\n    var isSpecialState = _constants__WEBPACK_IMPORTED_MODULE_2__[\"SPECIAL_WIDGET_STATES\"].includes(state);\n    if (!state || !module || !isSpecialState) {\n      return false;\n    }\n    if (states[module]) {\n      if (states[module] !== state) {\n        // We have a widget from a given module in a different state from the others.\n        return false;\n      }\n    } else {\n      states[module] = state;\n    }\n  }\n  if (Object.keys(states).length > 1) {\n    // We have multiple modules, so the widgets can't be combined.\n    return false;\n  }\n  return true;\n}\n\n/*\n * Combines consecutive widgets with similar states within the same row.\n *\n * @since 1.25.0\n *\n * @param {Array.<Object>} widgets             List of widgets.\n * @param {Object}         widgetStates        Map of widget slug and their\n *                                             state (either an object with\n *                                             `Component` and `metadata`, or\n *                                             `null`).\n * @param {Object}         layout              Layout arguments from\n *                                             \t`getWidgetLayout()`.\n * @param {Array.<number>} layout.columnWidths List of column widths for each\n *                                             widget.\n * @param {Array.<number>} layout.rowIndexes   List of row indexes for each\n *                                             widget.\n * @return {Object} Object with `overrideComponents` property, both of which are a\n * \t\t\t\t\tlist with one item for each widget. Every `overrideComponents`\n * \t\t\t\t\tentry is either an object with `Component` and `metadata`, or\n * \t\t\t\t\t`null` (similar to the `widgetStates` parameter).\n */\nfunction combineWidgets(widgets, widgetStates, _ref) {\n  var columnWidths = _ref.columnWidths,\n    rowIndexes = _ref.rowIndexes;\n  var overrideComponents = [];\n  var gridColumnWidths = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(columnWidths);\n  if (!(widgets === null || widgets === void 0 ? void 0 : widgets.length)) {\n    return {\n      gridColumnWidths: gridColumnWidths,\n      overrideComponents: overrideComponents\n    };\n  }\n  var currentState = null;\n  var currentRowIndex = -1;\n  var columnWidthsBuffer = [];\n  if (shouldCombineAllWidgets(widgets, widgetStates)) {\n    // All the widgets have the same state, so we should only render one and hide the rest.\n    var hiddenRows = Array.from({\n      length: widgets.length - 1\n    }).fill(0);\n    // Since all the components are the same, we can just pick the first.\n    var overrideComponent = widgetStates[widgets[0].slug];\n    return {\n      overrideComponents: [overrideComponent],\n      gridColumnWidths: [12].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(hiddenRows))\n    };\n  }\n  widgets.forEach(function (widget, i) {\n    overrideComponents.push(null);\n    currentState = widgetStates[widget.slug];\n    currentRowIndex = rowIndexes[i];\n\n    // If the current widget has a special state...\n    if (currentState) {\n      var _widgets;\n      if (stateAndRowMatch(currentState, widgetStates[(_widgets = widgets[i + 1]) === null || _widgets === void 0 ? void 0 : _widgets.slug], currentRowIndex, rowIndexes[i + 1])) {\n        // If the current widget state and row index match the next\n        // state and row index, hide the widget entirely. Only the last\n        // similar instance will be rendered in this case.\n        columnWidthsBuffer.push(columnWidths[i]);\n        // Mark this column as width = 0, so we can hide it\n        gridColumnWidths[i] = 0;\n      } else if (columnWidthsBuffer.length > 0) {\n        // If the state and row index do not match the next ones and\n        // there are already similar instances (from previous\n        // iterations), this is the last similar instance, so the\n        // combined version will need to be displayed instead of the\n        // widget. The combined version will use the common Component\n        // and pass all common metadata as props.\n        columnWidthsBuffer.push(columnWidths[i]);\n\n        // Get total (desktop) column width. For tablet and phone,\n        // the component should span the full width as by definition\n        // it is at least a \"half\" widget wide (which has that behavior).\n        var combinedColumnWidth = columnWidthsBuffer.reduce(function (sum, columnWidth) {\n          return sum + columnWidth;\n        }, 0);\n        overrideComponents[i] = currentState;\n\n        // This final column should have the combined width\n        gridColumnWidths[i] = combinedColumnWidth;\n\n        // Reset the columnWidthsBuffer variable.\n        columnWidthsBuffer = [];\n      }\n    }\n  });\n  return {\n    gridColumnWidths: gridColumnWidths,\n    overrideComponents: overrideComponents\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/util/combine-widgets.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/util/constants.js":
/*!****************************************************!*\
  !*** ./js/googlesitekit/widgets/util/constants.js ***!
  \****************************************************/
/*! exports provided: WIDTH_GRID_COUNTER_MAP, HIDDEN_CLASS, SPECIAL_WIDGET_STATES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WIDTH_GRID_COUNTER_MAP\", function() { return WIDTH_GRID_COUNTER_MAP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HIDDEN_CLASS\", function() { return HIDDEN_CLASS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SPECIAL_WIDGET_STATES\", function() { return SPECIAL_WIDGET_STATES; });\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 _js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit/widgets/datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _js_components_ReportZero__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/ReportZero */ \"./js/components/ReportZero.js\");\n/* harmony import */ var _js_components_RecoverableModules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/RecoverableModules */ \"./js/components/RecoverableModules.js\");\n\nvar _WIDTH_GRID_COUNTER_M;\n/**\n * Widgets layout 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\n/**\n * Internal dependencies\n */\n\n\n\nvar WIDTH_GRID_COUNTER_MAP = (_WIDTH_GRID_COUNTER_M = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_WIDTH_GRID_COUNTER_M, _js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"WIDGET_WIDTHS\"].QUARTER, 3), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_WIDTH_GRID_COUNTER_M, _js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"WIDGET_WIDTHS\"].HALF, 6), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_WIDTH_GRID_COUNTER_M, _js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"WIDGET_WIDTHS\"].FULL, 12), _WIDTH_GRID_COUNTER_M);\nvar HIDDEN_CLASS = 'googlesitekit-hidden';\nvar SPECIAL_WIDGET_STATES = [_js_components_ReportZero__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _js_components_RecoverableModules__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9jb25zdGFudHMuanM/NzUxZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFdpZGdldHMgbGF5b3V0IGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBT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Q0E7QUFDQTtBQUNBO0FBRUE7QUFNQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/util/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/util/get-widget-component-props.js":
/*!*********************************************************************!*\
  !*** ./js/googlesitekit/widgets/util/get-widget-component-props.js ***!
  \*********************************************************************/
/*! exports provided: getWidgetComponentProps, withWidgetComponentProps, withWPDashboardWidgetComponentProps */
/***/ (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__, \"getWidgetComponentProps\", function() { return getWidgetComponentProps; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"withWidgetComponentProps\", function() { return withWidgetComponentProps; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"withWPDashboardWidgetComponentProps\", function() { return withWPDashboardWidgetComponentProps; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! memize */ \"../node_modules/memize/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_googlesitekit_widgets_components_Widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/widgets/components/Widget */ \"./js/googlesitekit/widgets/components/Widget.js\");\n/* harmony import */ var _js_googlesitekit_widgets_components_WidgetReportZero__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/widgets/components/WidgetReportZero */ \"./js/googlesitekit/widgets/components/WidgetReportZero.js\");\n/* harmony import */ var _js_googlesitekit_widgets_components_WidgetReportError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/widgets/components/WidgetReportError */ \"./js/googlesitekit/widgets/components/WidgetReportError.js\");\n/* harmony import */ var _js_googlesitekit_widgets_components_WidgetNull__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/widgets/components/WidgetNull */ \"./js/googlesitekit/widgets/components/WidgetNull.js\");\n/* harmony import */ var _js_googlesitekit_widgets_components_WidgetRecoverableModules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/widgets/components/WidgetRecoverableModules */ \"./js/googlesitekit/widgets/components/WidgetRecoverableModules.js\");\n/* harmony import */ var _js_googlesitekit_widgets_components_WPDashboardReportError__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/widgets/components/WPDashboardReportError */ \"./js/googlesitekit/widgets/components/WPDashboardReportError.js\");\n\n\n/**\n * Widgets component props 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 * Internal dependencies\n */\n\n\n\n\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Gets the props to pass to a widget's component.\n *\n * @since 1.25.0\n * @since 1.107.0 Added `widgetSlug` to the returned props.\n *\n * @param {string} widgetSlug The widget's slug.\n * @return {Object} Props to pass to the widget component.\n */\nvar getWidgetComponentProps = memize__WEBPACK_IMPORTED_MODULE_2___default()(function (widgetSlug) {\n  // Scope widget-specific components to the widget instance so that the\n  // component does not need to (re-)specify the widget slug.\n  return {\n    widgetSlug: widgetSlug,\n    Widget: withWidgetSlug(widgetSlug)(_js_googlesitekit_widgets_components_Widget__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n    WidgetRecoverableModules: withWidgetSlug(widgetSlug)(_js_googlesitekit_widgets_components_WidgetRecoverableModules__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    WidgetReportZero: withWidgetSlug(widgetSlug)(_js_googlesitekit_widgets_components_WidgetReportZero__WEBPACK_IMPORTED_MODULE_4__[\"default\"]),\n    WidgetReportError: withWidgetSlug(widgetSlug)(_js_googlesitekit_widgets_components_WidgetReportError__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    WidgetNull: withWidgetSlug(widgetSlug)(_js_googlesitekit_widgets_components_WidgetNull__WEBPACK_IMPORTED_MODULE_6__[\"default\"])\n  };\n});\nfunction withWidgetSlug(widgetSlug) {\n  return function (WrappedComponent) {\n    var WithWidgetSlug = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"forwardRef\"])(function (props, ref) {\n      return /*#__PURE__*/React.createElement(WrappedComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, props, {\n        ref: ref,\n        widgetSlug: widgetSlug\n      }));\n    });\n    WithWidgetSlug.displayName = 'WithWidgetSlug';\n    if (WrappedComponent.displayName || WrappedComponent.name) {\n      WithWidgetSlug.displayName += \"(\".concat(WrappedComponent.displayName || WrappedComponent.name, \")\");\n    }\n    return WithWidgetSlug;\n  };\n}\n\n/**\n * Gets the props and passes them to the widget's component through a HOC.\n *\n * @since 1.26.0\n *\n * @param {string} widgetSlug The slug of the widget.\n * @return {Function} Enhancing function that adds the getWidgetComponentProps to the passed component.\n */\nfunction withWidgetComponentProps(widgetSlug) {\n  var widgetComponentProps = getWidgetComponentProps(widgetSlug);\n  return function (WrappedComponent) {\n    function DecoratedComponent(props) {\n      return /*#__PURE__*/React.createElement(WrappedComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, props, widgetComponentProps));\n    }\n    DecoratedComponent.displayName = 'WithWidgetComponentProps';\n    if (WrappedComponent.displayName || WrappedComponent.name) {\n      DecoratedComponent.displayName += \"(\".concat(WrappedComponent.displayName || WrappedComponent.name, \")\");\n    }\n    return DecoratedComponent;\n  };\n}\n\n/**\n * Gets the props and passes them to the WP Dashboard widget's component through a HOC.\n *\n * @since 1.114.0\n *\n * @param {string} widgetSlug The slug of the widget.\n * @return {Function} Enhancing function that adds the WP Dashboard specific\n *                    props to the passed component.\n */\nfunction withWPDashboardWidgetComponentProps(widgetSlug) {\n  return function (WrappedComponent) {\n    function DecoratedComponent(props) {\n      return /*#__PURE__*/React.createElement(WrappedComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, props, {\n        WPDashboardReportError: withWidgetSlug(widgetSlug)(_js_googlesitekit_widgets_components_WPDashboardReportError__WEBPACK_IMPORTED_MODULE_8__[\"default\"])\n      }));\n    }\n    DecoratedComponent.displayName = 'WithWPDashboardWidgetComponentProps';\n    if (WrappedComponent.displayName || WrappedComponent.name) {\n      DecoratedComponent.displayName += \"(\".concat(WrappedComponent.displayName || WrappedComponent.name, \")\");\n    }\n    return DecoratedComponent;\n  };\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/googlesitekit/widgets/util/get-widget-component-props.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/util/get-widget-layout.js":
/*!************************************************************!*\
  !*** ./js/googlesitekit/widgets/util/get-widget-layout.js ***!
  \************************************************************/
/*! exports provided: getWidgetLayout */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getWidgetLayout\", function() { return getWidgetLayout; });\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_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 _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/widgets/util/constants.js\");\n/* harmony import */ var _is_inactive_widget_state__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./is-inactive-widget-state */ \"./js/googlesitekit/widgets/util/is-inactive-widget-state.js\");\n\n\n/**\n * Widgets layout 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 * Internal dependencies\n */\n\n\n\n/**\n * Adjusts column widths to better fit into the current row knowing that the default sizes don't fill the row completely.\n *\n * @since 1.21.0\n *\n * @param {Array.<number>} columnWidths Current column widths.\n * @param {number}         counter      Current counter.\n * @return {Array} Array where the first element is the updated list of column\n *                 widths, and the second element is the resulting counter\n *                 after the update.\n */\nfunction resizeColumns(columnWidths, counter) {\n  // Safeguard: counter must always be 9 for this to work.\n  if (counter !== 9) {\n    return [columnWidths, counter];\n  }\n  columnWidths = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(columnWidths);\n\n  // Start counting backwards from the last item.\n  var i = columnWidths.length - 1;\n\n  // Go back until counter is 0. The i >= 0 check is an extra safeguard that, with\n  // correct usage should never apply, but is still useful to avoid infinite loops\n  // if the function was used incorrectly.\n  while (counter !== 0 && i >= 0) {\n    // Replace the 3-column width with a 4-column width, or the 6-column\n    // width with an 8-column width so that the overall row expands from\n    // 9 to the full 12 columns.\n    if (columnWidths[i] === 3) {\n      counter -= 3;\n      columnWidths[i] = 4; // Correct the column width.\n    } else if (columnWidths[i] === 6) {\n      counter -= 6;\n      columnWidths[i] = 8; // Correct the column width.\n    }\n    i--;\n  }\n  return [columnWidths, counter];\n}\n\n/**\n * Gets an array of sizes that widget can take accounting the current counter value.\n *\n * @since 1.21.0\n *\n * @param {number} counter The current counter.\n * @param {Object} widget  Widget object.\n * @return {Array.<Object>} List of objects with `counter` and `width` properties.\n */\nfunction getWidgetSizes(counter, widget) {\n  var widths = Array.isArray(widget.width) ? widget.width : [widget.width];\n  return widths.map(function (width) {\n    return {\n      counter: counter + _constants__WEBPACK_IMPORTED_MODULE_2__[\"WIDTH_GRID_COUNTER_MAP\"][width],\n      width: width\n    };\n  });\n}\n\n/**\n * Gets the first active widget in a list of widgets, after a specified offset,\n * based on a set of widget states specifying which widgets are inactive.\n *\n * @since 1.28.0\n * @private\n *\n * @param {number}         offset       The current index offset.\n * @param {Array.<Object>} widgets      List of widgets.\n * @param {Array.<Object>} widgetStates List of widget states.\n * @return {Object|null} Object representing the next active widget from the widgets array,\n * or null if no more active widgets exist.\n */\nfunction getNextActiveWidget(offset, widgets, widgetStates) {\n  while (++offset < widgets.length) {\n    if (!Object(_is_inactive_widget_state__WEBPACK_IMPORTED_MODULE_3__[\"isInactiveWidgetState\"])(widgetStates[widgets[offset].slug])) {\n      return widgets[offset];\n    }\n  }\n  return null;\n}\n\n/**\n * Gets widget class names as well as column widths and row indexes for an area.\n *\n * @since 1.25.0\n *\n * @param {Array.<Object>} widgets      List of widgets.\n * @param {Array.<Object>} widgetStates List of widget states.\n * @return {Object} Object with `columnWidths` and `rowIndexes`\n *                  properties, each of which is an array with one item for\n *                  each active widget.\n */\nfunction getWidgetLayout(widgets, widgetStates) {\n  var columnWidths = [];\n  var rowIndexes = [];\n  if (!(widgets === null || widgets === void 0 ? void 0 : widgets.length)) {\n    return {\n      columnWidths: columnWidths,\n      rowIndexes: rowIndexes\n    };\n  }\n  var counter = 0;\n  var rowIndex = 0;\n  function ascending(_ref, _ref2) {\n    var a = _ref.counter;\n    var b = _ref2.counter;\n    return a - b;\n  }\n  function descending(_ref3, _ref4) {\n    var a = _ref3.counter;\n    var b = _ref4.counter;\n    return b - a;\n  }\n  function fitIntoRow(_ref5) {\n    var width = _ref5.counter;\n    return width <= 12;\n  }\n  widgets.forEach(function (widget, i) {\n    // If a widget is inactive, we set null / 0 values and don't need to calculate a layout.\n\n    if (Object(_is_inactive_widget_state__WEBPACK_IMPORTED_MODULE_3__[\"isInactiveWidgetState\"])(widgetStates[widget.slug])) {\n      columnWidths.push(0);\n      rowIndexes.push(rowIndex);\n      return;\n    }\n\n    // Get available sizes for the current widget to select the most appropriate width for the current row.\n    var sizes = getWidgetSizes(counter, widget);\n\n    // Get the next active widget to help determine the best width for this widget.\n    var nextActiveWidget = getNextActiveWidget(i, widgets, widgetStates);\n    if (\n    // If it is the last widget in the entire widget area.\n    null === nextActiveWidget ||\n    // Or the next widget can't fit into the current row anyway, then we can try to use alternative sizes.\n    getWidgetSizes(sizes.sort(ascending)[0].counter, nextActiveWidget).filter(fitIntoRow).length === 0) {\n      // We need to check whether we have a size that can fit into the row and if so, try to get it.\n      var hasSizeThatCanFitIntoRow = sizes.some(fitIntoRow);\n      if (hasSizeThatCanFitIntoRow) {\n        // Sort available sizes to have the descending order.\n        sizes = sizes.sort(descending);\n        // Filter out only those sizes that fit into the current row.\n        sizes = sizes.filter(fitIntoRow);\n      }\n    }\n\n    // Grab the width of the first size in the sizes list, it's either the default one or the best suiting to the current row.\n    var width = sizes[0].width;\n\n    // Populate row index for the widget. The value may be corrected further below.\n    rowIndexes.push(rowIndex);\n\n    // Increase column counter based on width.\n    counter += _constants__WEBPACK_IMPORTED_MODULE_2__[\"WIDTH_GRID_COUNTER_MAP\"][width];\n\n    // If counter is going above 12, this widget is too wide for the current row.\n    // So it's going to be the first widget in the next row instead.\n    if (counter > 12) {\n      counter -= _constants__WEBPACK_IMPORTED_MODULE_2__[\"WIDTH_GRID_COUNTER_MAP\"][width];\n\n      // Correct the previously added row index for this widget as it\n      // will end up in the following row.\n      rowIndexes[i]++;\n\n      // If the column count without the overflowing widget is exactly 9, expand\n      // the widths of these widgets slightly to fill the entire 12 columns.\n      if (counter === 9) {\n        var _resizeColumns = resizeColumns(columnWidths, counter);\n        var _resizeColumns2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_resizeColumns, 2);\n        columnWidths = _resizeColumns2[0];\n        counter = _resizeColumns2[1];\n      }\n\n      // See above, initial counter for the next row of widgets.\n      counter = _constants__WEBPACK_IMPORTED_MODULE_2__[\"WIDTH_GRID_COUNTER_MAP\"][width];\n      rowIndex++;\n    } else if (counter === 12) {\n      // Or if the counter is exactly 12, the next widget is going to be in a new row.\n      counter = 0;\n      rowIndex++;\n    }\n\n    // Actually set the columnWidth for the current widget. This must be set after\n    // potentially resizing, since in that case this will be the overflowing\n    // widget which should NOT be adjusted because it will be in the next row.\n    columnWidths.push(_constants__WEBPACK_IMPORTED_MODULE_2__[\"WIDTH_GRID_COUNTER_MAP\"][width]);\n  });\n  if (counter === 9) {\n    var _resizeColumns3 = resizeColumns(columnWidths, counter);\n    var _resizeColumns4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_resizeColumns3, 2);\n    columnWidths = _resizeColumns4[0];\n    counter = _resizeColumns4[1];\n  }\n  return {\n    columnWidths: columnWidths,\n    rowIndexes: rowIndexes\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/util/get-widget-layout.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/util/index.js":
/*!************************************************!*\
  !*** ./js/googlesitekit/widgets/util/index.js ***!
  \************************************************/
/*! exports provided: getWidgetLayout, combineWidgets, getWidgetComponentProps, withWidgetComponentProps, withWPDashboardWidgetComponentProps, WIDTH_GRID_COUNTER_MAP, HIDDEN_CLASS, SPECIAL_WIDGET_STATES, normalizeWidgetModules, isInactiveWidgetState */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _get_widget_layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./get-widget-layout */ \"./js/googlesitekit/widgets/util/get-widget-layout.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getWidgetLayout\", function() { return _get_widget_layout__WEBPACK_IMPORTED_MODULE_0__[\"getWidgetLayout\"]; });\n\n/* harmony import */ var _combine_widgets__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./combine-widgets */ \"./js/googlesitekit/widgets/util/combine-widgets.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineWidgets\", function() { return _combine_widgets__WEBPACK_IMPORTED_MODULE_1__[\"combineWidgets\"]; });\n\n/* harmony import */ var _get_widget_component_props__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./get-widget-component-props */ \"./js/googlesitekit/widgets/util/get-widget-component-props.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getWidgetComponentProps\", function() { return _get_widget_component_props__WEBPACK_IMPORTED_MODULE_2__[\"getWidgetComponentProps\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withWidgetComponentProps\", function() { return _get_widget_component_props__WEBPACK_IMPORTED_MODULE_2__[\"withWidgetComponentProps\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withWPDashboardWidgetComponentProps\", function() { return _get_widget_component_props__WEBPACK_IMPORTED_MODULE_2__[\"withWPDashboardWidgetComponentProps\"]; });\n\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/widgets/util/constants.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WIDTH_GRID_COUNTER_MAP\", function() { return _constants__WEBPACK_IMPORTED_MODULE_3__[\"WIDTH_GRID_COUNTER_MAP\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"HIDDEN_CLASS\", function() { return _constants__WEBPACK_IMPORTED_MODULE_3__[\"HIDDEN_CLASS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SPECIAL_WIDGET_STATES\", function() { return _constants__WEBPACK_IMPORTED_MODULE_3__[\"SPECIAL_WIDGET_STATES\"]; });\n\n/* harmony import */ var _widget_modules__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./widget-modules */ \"./js/googlesitekit/widgets/util/widget-modules.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"normalizeWidgetModules\", function() { return _widget_modules__WEBPACK_IMPORTED_MODULE_4__[\"normalizeWidgetModules\"]; });\n\n/* harmony import */ var _is_inactive_widget_state__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./is-inactive-widget-state */ \"./js/googlesitekit/widgets/util/is-inactive-widget-state.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isInactiveWidgetState\", function() { return _is_inactive_widget_state__WEBPACK_IMPORTED_MODULE_5__[\"isInactiveWidgetState\"]; });\n\n/**\n * Widgets API 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\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvd2lkZ2V0cy91dGlsL2luZGV4LmpzPzU5OWUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBXaWRnZXRzIEFQSSB1dGlsaXRpZXMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZ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QUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/util/index.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/util/is-inactive-widget-state.js":
/*!*******************************************************************!*\
  !*** ./js/googlesitekit/widgets/util/is-inactive-widget-state.js ***!
  \*******************************************************************/
/*! exports provided: isInactiveWidgetState */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isInactiveWidgetState\", function() { return isInactiveWidgetState; });\n/* harmony import */ var _js_components_Null__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/components/Null */ \"./js/components/Null.js\");\n/**\n * Is inactive widget 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 * Internal dependencies\n */\n\n\n/**\n * Combines consecutive widgets with similar states within the same row.\n *\n * @since 1.28.0\n *\n * @param {Object|null} widgetState Widget state (either an object with `Component` and `metadata`, or `null`).\n * @return {boolean} True if widget is inactive, otherwise false.\n */\nfunction isInactiveWidgetState(widgetState) {\n  return !!widgetState && widgetState.Component === _js_components_Null__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9pcy1pbmFjdGl2ZS13aWRnZXQtc3RhdGUuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9pcy1pbmFjdGl2ZS13aWRnZXQtc3RhdGUuanM/NWNhZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIElzIGluYWN0aXZlIHdpZGdldCB1dGlsaXR5LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUk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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/util/is-inactive-widget-state.js\n");

/***/ }),

/***/ "./js/googlesitekit/widgets/util/widget-modules.js":
/*!*********************************************************!*\
  !*** ./js/googlesitekit/widgets/util/widget-modules.js ***!
  \*********************************************************/
/*! exports provided: normalizeWidgetModules */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"normalizeWidgetModules\", function() { return normalizeWidgetModules; });\n/**\n * Widget's modules utility.\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 * Normalizes widget's modules by converting it to an array and filtering out all non-string values.\n *\n * @since 1.71.0\n *\n * @param {string|Array.<string>} modules Widget's mdoules.\n * @return {Array.<string>} Widget's modules list.\n */\nfunction normalizeWidgetModules(modules) {\n  return (Array.isArray(modules) ? modules : [modules]).filter(function (module) {\n    return typeof module === 'string' && module.length > 0;\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC93aWRnZXQtbW9kdWxlcy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2p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HRvIGFuIGFycmF5IGFuZCBmaWx0ZXJpbmcgb3V0IGFsbCBub24tc3RyaW5nIHZhbHVlcy5cbiAqXG4gKiBAc2luY2UgMS43MS4wXG4gKlxuICogQHBhcmFtIHtzdHJpbmd8QXJyYXkuPHN0cmluZz59IG1vZHVsZXMgV2lkZ2V0J3MgbWRvdWxlcy5cbiAqIEByZXR1cm4ge0FycmF5LjxzdHJpbmc+fSBXaWRnZXQncyBtb2R1bGVzIGxpc3QuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBub3JtYWxpemVXaWRnZXRNb2R1bGVzKCBtb2R1bGVzICkge1xuXHRyZXR1cm4gKCBBcnJheS5pc0FycmF5KCBtb2R1bGVzICkgPyBtb2R1bGVzIDogWyBtb2R1bGVzIF0gKS5maWx0ZXIoXG5cdFx0KCBtb2R1bGUgKSA9PiB0eXBlb2YgbW9kdWxlID09PSAnc3RyaW5nJyAmJiBtb2R1bGUubGVuZ3RoID4gMFxuXHQpO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/util/widget-modules.js\n");

/***/ }),

/***/ "./js/hooks/useActivateModuleCallback.js":
/*!***********************************************!*\
  !*** ./js/hooks/useActivateModuleCallback.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 useActivateModuleCallback; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/api/cache */ \"./js/googlesitekit/api/cache.js\");\n/* harmony import */ var _js_util_tracking__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util/tracking */ \"./js/util/tracking/index.js\");\n/* harmony import */ var _useViewContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./useViewContext */ \"./js/hooks/useViewContext.js\");\n\n\n/**\n * `useActivateModuleCallback` hook.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n/**\n * Returns a callback to activate a module. If the call to activate the module is successful, navigate to the reauthentication URL.\n * Returns null if the module doesn't exist or the user can't manage options.\n *\n * @since 1.70.0\n *\n * @param {string} moduleSlug Module slug.\n * @return {Function|null} Callback to activate module, null if the module doesn't exist or the user can't manage options.\n */\nfunction useActivateModuleCallback(moduleSlug) {\n  var viewContext = Object(_useViewContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"])();\n  var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_MODULES\"]).getModule(moduleSlug);\n  });\n  var canManageOptions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).hasCapability(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"PERMISSION_MANAGE_OPTIONS\"]);\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_MODULES\"]),\n    activateModule = _useDispatch.activateModule;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_LOCATION\"]),\n    navigateTo = _useDispatch2.navigateTo;\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]),\n    setInternalServerError = _useDispatch3.setInternalServerError;\n  var activateModuleCallback = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\n    var _yield$activateModule, error, 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            _context.next = 2;\n            return activateModule(moduleSlug);\n          case 2:\n            _yield$activateModule = _context.sent;\n            error = _yield$activateModule.error;\n            response = _yield$activateModule.response;\n            if (error) {\n              _context.next = 13;\n              break;\n            }\n            _context.next = 8;\n            return Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(\"\".concat(viewContext, \"_widget-activation-cta\"), 'activate_module', moduleSlug);\n          case 8:\n            _context.next = 10;\n            return Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_8__[\"setItem\"])('module_setup', moduleSlug, {\n              ttl: 300\n            });\n          case 10:\n            navigateTo(response.moduleReauthURL);\n            _context.next = 14;\n            break;\n          case 13:\n            setInternalServerError({\n              id: \"\".concat(moduleSlug, \"-setup-error\"),\n              description: error.message\n            });\n          case 14:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })), [activateModule, moduleSlug, navigateTo, setInternalServerError, viewContext]);\n  if (!(module === null || module === void 0 ? void 0 : module.name) || !canManageOptions) {\n    return null;\n  }\n  return activateModuleCallback;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/hooks/useActivateModuleCallback.js\n");

/***/ }),

/***/ "./js/hooks/useBreakpoint.js":
/*!***********************************!*\
  !*** ./js/hooks/useBreakpoint.js ***!
  \***********************************/
/*! exports provided: BREAKPOINT_XLARGE, BREAKPOINT_DESKTOP, BREAKPOINT_TABLET, BREAKPOINT_SMALL, useBreakpoint */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_XLARGE\", function() { return BREAKPOINT_XLARGE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_DESKTOP\", function() { return BREAKPOINT_DESKTOP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_TABLET\", function() { return BREAKPOINT_TABLET; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_SMALL\", function() { return BREAKPOINT_SMALL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useBreakpoint\", function() { return useBreakpoint; });\n/* harmony import */ var _useWindowSize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useWindowSize */ \"./js/hooks/useWindowSize.js\");\n/**\n * `useBreakpoint` hook.\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\nvar BREAKPOINT_XLARGE = 'xlarge';\nvar BREAKPOINT_DESKTOP = 'desktop';\nvar BREAKPOINT_TABLET = 'tablet';\nvar BREAKPOINT_SMALL = 'small';\n\n/**\n * Retrieves the current breakpoint.\n *\n * @since 1.29.0\n *\n * @return {string} The current breakpoint according to the window size.\n */\nfunction useBreakpoint() {\n  var onlyWidth = Object(_useWindowSize__WEBPACK_IMPORTED_MODULE_0__[\"useWindowWidth\"])();\n  if (onlyWidth > 1280) {\n    return BREAKPOINT_XLARGE;\n  }\n  if (onlyWidth > 960) {\n    return BREAKPOINT_DESKTOP;\n  }\n  if (onlyWidth > 600) {\n    return BREAKPOINT_TABLET;\n  }\n  return BREAKPOINT_SMALL;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VCcmVha3BvaW50LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvaG9va3MvdXNlQnJlYWtwb2ludC5qcz81NDAxIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHVzZUJyZWFrcG9pbnRgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkg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291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/hooks/useBreakpoint.js\n");

/***/ }),

/***/ "./js/hooks/useCompleteModuleActivationCallback.js":
/*!*********************************************************!*\
  !*** ./js/hooks/useCompleteModuleActivationCallback.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 useCompleteModuleActivationCallback; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__ = __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_3__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/**\n * `useCompleteModuleActivationCallback` hook.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n/**\n * Returns a callback to navigate users to the module's authentication URL.\n *\n * Returns null if the module doesn't exist or the user can't manage options.\n *\n * @since 1.73.0\n *\n * @param {string} moduleSlug Module slug.\n * @return {Function|null} Callback that navigates to a module's reauth URL, null if the module doesn't exist or the user can't manage options.\n */\nfunction useCompleteModuleActivationCallback(moduleSlug) {\n  var canManageOptions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).hasCapability(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"PERMISSION_MANAGE_OPTIONS\"]);\n  });\n  var moduleStoreName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_MODULES\"]).getModuleStoreName(moduleSlug);\n  });\n  var adminReauthURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    var _select;\n    return (_select = select(moduleStoreName)) === null || _select === void 0 ? void 0 : _select.getAdminReauthURL();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_LOCATION\"]),\n    navigateTo = _useDispatch.navigateTo;\n  var completeModuleActivationCallback = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    return navigateTo(adminReauthURL);\n  }, [adminReauthURL, navigateTo]);\n  if (!adminReauthURL || !canManageOptions) {\n    return null;\n  }\n  return completeModuleActivationCallback;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VDb21wbGV0ZU1vZHVsZUFjdGl2YXRpb25DYWxsYmFjay5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZUNvbXBsZXRlTW9kdWxlQWN0aXZhdGlvbkNhbGxiYWNrLmpzP2I1YzMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlQ29tcGxldGVNb2R1bGVBY3RpdmF0aW9uQ2FsbGJhY2tgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZ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cdCk7XG5cblx0aWYgKCAhIGFkbWluUmVhdXRoVVJMIHx8ICEgY2FuTWFuYWdlT3B0aW9ucyApIHtcblx0XHRyZXR1cm4gbnVsbDtcblx0fVxuXG5cdHJldHVybiBjb21wbGV0ZU1vZHVsZUFjdGl2YXRpb25DYWxsYmFjaztcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUlBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/hooks/useCompleteModuleActivationCallback.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useDebounce\", function() { return useDebounce; });\n/* harmony import */ var use_memo_one__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! use-memo-one */ \"../node_modules/use-memo-one/dist/use-memo-one.esm.js\");\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/**\n * `useDebounce` hook, from @wordpress/compose.\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// @TODO When we upgrade React to 16.4, we can also upgrade @wordpress/compose, and then this file can be removed.\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Debounces a function with Lodash's `debounce`.\n *\n * A new debounced function will be returned and any scheduled calls\n * cancelled if any of the arguments change, including the function to debounce,\n * so please wrap functions created on render in components in `useCallback`.\n *\n * @since 1.26.0\n *\n * @param {...any} args Arguments passed to Lodash's `debounce`.\n * @return {Function} Debounced function.\n */\nfunction useDebounce() {\n  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n    args[_key] = arguments[_key];\n  }\n  var debounced = Object(use_memo_one__WEBPACK_IMPORTED_MODULE_0__[\"useMemoOne\"])(function () {\n    return lodash__WEBPACK_IMPORTED_MODULE_1__[\"debounce\"].apply(void 0, args);\n  }, args);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    return function () {\n      return debounced.cancel();\n    };\n  }, [deb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GdW5jdGlvbn0gRGVib3VuY2VkIGZ1bmN0aW9uLlxuICovXG5leHBvcnQgZnVuY3Rpb24gdXNlRGVib3VuY2UoIC4uLmFyZ3MgKSB7XG5cdGNvbnN0IGRlYm91bmNlZCA9IHVzZU1lbW9PbmUoICgpID0+IGRlYm91bmNlKCAuLi5hcmdzICksIGFyZ3MgKTtcblx0dXNlRWZmZWN0KCAoKSA9PiAoKSA9PiBkZWJvdW5jZWQuY2FuY2VsKCksIFsgZGVib3VuY2VkIF0gKTtcblx0cmV0dXJuIGRlYm91bmNlZDtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/hooks/useDebounce.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useFeature\", function() { return useFeature; });\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_FeaturesProvider_FeaturesContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/FeaturesProvider/FeaturesContext */ \"./js/components/FeaturesProvider/FeaturesContext.js\");\n/* harmony import */ var _js_features__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/features */ \"./js/features/index.js\");\n/**\n * Feature Flags hook.\n *\n * Site Kit by Google, Copyright 2020 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/**\n * Returns the enabled state of a feature flag.\n *\n * @since 1.25.0\n *\n * @param {string} feature The feature flag name to check enabled state for.\n * @return {boolean} `true` if the feature is enabled, `false` otherwise.\n */\nfunction useFeature(feature) {\n  var enabledFeatures = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useContext\"])(_js_components_FeaturesProvider_FeaturesContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n  return Object(_js_features__WEBPACK_IMPORTED_MODULE_2__[\"isFeatureEnabled\"])(feature, enabledFeatures);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VGZWF0dXJlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvaG9va3MvdXNlRmVhdHVyZS5qcz82MWJmIl0sInNvdXJjZXNDb250ZW50I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dXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/hooks/useFeature.js\n");

/***/ }),

/***/ "./js/hooks/useFormValue.js":
/*!**********************************!*\
  !*** ./js/hooks/useFormValue.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 useFormValue; });\n/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/**\n * Form value hook.\n *\n * Site Kit by Google, Copyright 2020 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 * Returns the value of a form field.\n *\n * @since 1.160.0\n *\n * @param {string} formName The name of the form.\n * @param {string} key      The key of the form field.\n * @return {string|number|boolean|Array|Object|undefined} The value of the form field, or the default value if provided.\n */\nfunction useFormValue(formName, key) {\n  return Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"])(function (select) {\n    var _select = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_FORMS\"]),\n      getValue = _select.getValue;\n    return getValue(formName, key);\n  }, [formName, key]);\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BQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFHQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/hooks/useFormValue.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useInView\", function() { return useInView; });\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 react_use__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _js_components_InViewProvider_InViewContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/InViewProvider/InViewContext */ \"./js/components/InViewProvider/InViewContext.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n\n/**\n * In viewport hook.\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// Imported directly from `@wordpress/data` to avoid circular\n// dependency/imports.\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n/**\n * Returns whether the nearest parent component tracking viewport detection is in-view.\n *\n * @since 1.46.0\n *\n * @param {Object}  options        Optional. Options to pass to the request.\n * @param {boolean} options.sticky Set to `true` to always return `true` after the nearest viewport-detecting component has been in-view once. Defaults to `false`.\n * @return {boolean} `true` if the nearest parent component is in-view (or if `sticky` is `true`, if the component has ever been in-view); `false` if not..\n */\nfunction useInView() {\n  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n    _ref$sticky = _ref.sticky,\n    sticky = _ref$sticky === void 0 ? false : _ref$sticky;\n  var inView = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useContext\"])(_js_components_InViewProvider_InViewContext__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n    hasBeenInViewOnce = _useState2[0],\n    setHasBeenInViewOnce = _useState2[1];\n  var resetCount = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]).getInViewResetCount();\n  });\n  var forceInView = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]).getValue('forceInView');\n  });\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (inView.value && !hasBeenInViewOnce) {\n      setHasBeenInViewOnce(true);\n    }\n  }, [hasBeenInViewOnce, inView, setHasBeenInViewOnce]);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (forceInView) {\n      setHasBeenInViewOnce(true);\n    }\n  }, [forceInView]);\n  Object(react_use__WEBPACK_IMPORTED_MODULE_1__[\"useUpdateEffect\"])(function () {\n    setHasBeenInViewOnce(false);\n  }, [resetCount]);\n  if (sticky && hasBeenInViewOnce) {\n    return true;\n  }\n  return !!inView.value;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/hooks/useInView.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useInViewSelect\", function() { return useInViewSelect; });\n/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _useInView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useInView */ \"./js/hooks/useInView.js\");\n/**\n * Select when in-view hook.\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/**\n * Internal dependencies\n */\n\n\n/**\n * Returns undefined when the component is not in view.\n *\n * @since 1.131.0 Moved this inline function outside the hook and assigned it a stable function name.\n *\n * @return {undefined} Always returns undefined.\n */\nfunction notInViewCallback() {\n  return undefined;\n}\n\n/**\n * Returns whether the nearest parent component tracking viewport detection is in-view.\n *\n * @since 1.49.0\n * @private\n *\n * @param {Function} mapSelect Selector to call when this selector's component is considered in-view.\n * @param {Array}    deps      Deps passed to `useInViewSelect`'s `deps` argument.\n * @return {*} The result of the selector if in-view; `undefined` if not in-view.\n */\nfunction useInViewSelect(mapSelect, deps) {\n  var isInView = Object(_useInView__WEBPACK_IMPORTED_MODULE_2__[\"useInView\"])({\n    sticky: true\n  });\n  var latestSelectorResult = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useRef\"])();\n\n  // These are \"pass-through\" dependencies from the parent hook,\n  // and the parent should catch any hook rule violations.\n  // eslint-disable-next-line react-hooks/exhaustive-deps\n  var mapSelectCallback = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(mapSelect, deps);\n  var selectorResult = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"])(isInView ? mapSelectCallback : notInViewCallback);\n  if (isInView) {\n    latestSelectorResult.current = selectorResult;\n  }\n  return latestSelectorResult.current;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VJblZpZXdTZWxlY3QuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9ob29rcy91c2VJblZpZXdTZWxlY3QuanM/OWM1MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNlbGVjdCB3aGVuIGluLXZpZXcgaG9vay5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aG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sZWN0b3JSZXN1bHQ7XG5cdH1cblxuXHRyZXR1cm4gbGF0ZXN0U2VsZWN0b3JSZXN1bHQuY3VycmVudDtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBSUE7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/hooks/useInViewSelect.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\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_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/Root/ViewContextContext */ \"./js/components/Root/ViewContextContext.js\");\n/**\n * `useViewContext` hook.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Returns the current Site Kit viewing context, eg. \"dashboard\",\n * \"entity dashboard\", \"view-only dashboard\", etc.\n *\n * @since 1.74.0\n *\n * @return {string} The current \"viewing context\" value for the plugin.\n */\nfunction useViewContext() {\n  var viewContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useContext\"])(_js_components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n  return viewContext;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useViewContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VWaWV3Q29udGV4dC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZVZpZXdDb250ZXh0LmpzPzAzYjIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlVmlld0NvbnRleHRgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluI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HBsdWdpbi5cbiAqL1xuZnVuY3Rpb24gdXNlVmlld0NvbnRleHQoKSB7XG5cdGNvbnN0IHZpZXdDb250ZXh0ID0gdXNlQ29udGV4dCggVmlld0NvbnRleHRDb250ZXh0ICk7XG5cblx0cmV0dXJuIHZpZXdDb250ZXh0O1xufVxuXG5leHBvcnQgZGVmYXVsdCB1c2VWaWV3Q29udGV4dDtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/hooks/useViewContext.js\n");

/***/ }),

/***/ "./js/hooks/useViewOnly.js":
/*!*********************************!*\
  !*** ./js/hooks/useViewOnly.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 useViewOnly; });\n/* harmony import */ var _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\n/* harmony import */ var _useViewContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useViewContext */ \"./js/hooks/useViewContext.js\");\n/**\n * `useViewOnly` hook.\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 * Internal dependencies\n */\n\n\n\n/**\n * Determines if the current view context is a \"view only\" dashboard context.\n *\n * @since 1.72.0\n *\n * @return {boolean} True if current context is a view-only dashboard context, false otherwise.\n */\nfunction useViewOnly() {\n  var viewContext = Object(_useViewContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n  return _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"SITE_KIT_VIEW_ONLY_CONTEXTS\"].includes(viewContext);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VWaWV3T25seS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZVZpZXdPbmx5LmpzPzY0MmYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlVmlld09ubHlgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5s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1ZJRVdfT05MWV9DT05URVhUUy5pbmNsdWRlcyggdmlld0NvbnRleHQgKTtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/hooks/useViewOnly.js\n");

/***/ }),

/***/ "./js/hooks/useWindowSize.js":
/*!***********************************!*\
  !*** ./js/hooks/useWindowSize.js ***!
  \***********************************/
/*! exports provided: useWindowSize, useWindowHeight, useWindowWidth */
/***/ (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__, \"useWindowSize\", function() { return useWindowSize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useWindowHeight\", function() { return useWindowHeight; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useWindowWidth\", function() { return useWindowWidth; });\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 _react_hook_throttle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hook/throttle */ \"../node_modules/@react-hook/throttle/dist/module/index.js\");\n/* harmony import */ var _react_hook_event__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hook/event */ \"../node_modules/@react-hook/event/dist/module/index.js\");\n\n/**\n * `useWindowSize` hook.\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\n// Copied from https://github.com/jaredLunde/react-hook/blob/b8ac9515e26937e838a36a27001dc46c7f46a390/packages/window-size/throttled/src/index.tsx\n// Modified to use global.innerWidth and global.innerHeight instead of document.documentElement.clientWidth and document.documentElement.clientHeight.\n\n/**\n * External dependencies\n */\n\n\nvar emptyObj = {};\nvar win = typeof global === 'undefined' ? null : global;\nfunction getSize() {\n  return [global.innerWidth, global.innerHeight];\n}\nfunction useWindowSize() {\n  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : emptyObj;\n  var fps = options.fps,\n    leading = options.leading,\n    _options$initialWidth = options.initialWidth,\n    initialWidth = _options$initialWidth === void 0 ? 0 : _options$initialWidth,\n    _options$initialHeigh = options.initialHeight,\n    initialHeight = _options$initialHeigh === void 0 ? 0 : _options$initialHeigh;\n  var _useThrottle = Object(_react_hook_throttle__WEBPACK_IMPORTED_MODULE_1__[\"useThrottle\"])(/* istanbul ignore next */\n    typeof document === 'undefined' ? [initialWidth, initialHeight] : getSize, fps, leading),\n    _useThrottle2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useThrottle, 2),\n    size = _useThrottle2[0],\n    setThrottledSize = _useThrottle2[1];\n  function setSize() {\n    return setThrottledSize(getSize);\n  }\n  Object(_react_hook_event__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(win, 'resize', setSize);\n  Object(_react_hook_event__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(win, 'orientationchange', setSize);\n  return size;\n}\nfunction useWindowHeight(options) {\n  return useWindowSize(options)[1];\n}\nfunction useWindowWidth(options) {\n  return useWindowSize(options)[0];\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VXaW5kb3dTaXplLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvaG9va3MvdXNlV2luZG93U2l6ZS5qcz8yZmZjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHVzZVdpbmRvd1NpemVgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuIC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UNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBR0E7QUFLQTtBQVBBO0FBQUE7QUFRQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/hooks/useWindowSize.js\n");

/***/ }),

/***/ "./js/material-components/index.js":
/*!*****************************************!*\
  !*** ./js/material-components/index.js ***!
  \*****************************************/
/*! exports provided: Cell, Row, Grid, MDCRipple, MDCFormField, MDCRadio, MDCSwitch, MDCDialog, MDCCheckbox, MDCMenu, Dialog, DialogContent, DialogFooter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_ripple__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/ripple */ \"../node_modules/@material/ripple/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCRipple\", function() { return _material_ripple__WEBPACK_IMPORTED_MODULE_0__[\"MDCRipple\"]; });\n\n/* harmony import */ var _material_form_field__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/form-field */ \"../node_modules/@material/form-field/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCFormField\", function() { return _material_form_field__WEBPACK_IMPORTED_MODULE_1__[\"MDCFormField\"]; });\n\n/* harmony import */ var _material_radio__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/radio */ \"../node_modules/@material/radio/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCRadio\", function() { return _material_radio__WEBPACK_IMPORTED_MODULE_2__[\"MDCRadio\"]; });\n\n/* harmony import */ var _material_switch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material/switch */ \"../node_modules/@material/switch/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSwitch\", function() { return _material_switch__WEBPACK_IMPORTED_MODULE_3__[\"MDCSwitch\"]; });\n\n/* harmony import */ var _material_dialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @material/dialog */ \"../node_modules/@material/dialog/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCDialog\", function() { return _material_dialog__WEBPACK_IMPORTED_MODULE_4__[\"MDCDialog\"]; });\n\n/* harmony import */ var _material_checkbox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @material/checkbox */ \"../node_modules/@material/checkbox/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCCheckbox\", function() { return _material_checkbox__WEBPACK_IMPORTED_MODULE_5__[\"MDCCheckbox\"]; });\n\n/* harmony import */ var _material_menu__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @material/menu */ \"../node_modules/@material/menu/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCMenu\", function() { return _material_menu__WEBPACK_IMPORTED_MODULE_6__[\"MDCMenu\"]; });\n\n/* harmony import */ var _material_react_dialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @material/react-dialog */ \"../node_modules/@material/react-dialog/dist/index.js\");\n/* harmony import */ var _material_react_dialog__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_material_react_dialog__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, \"Dialog\", function() { return _material_react_dialog__WEBPACK_IMPORTED_MODULE_7___default.a; });\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DialogContent\", function() { return _material_react_dialog__WEBPACK_IMPORTED_MODULE_7__[\"DialogContent\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DialogFooter\", function() { return _material_react_dialog__WEBPACK_IMPORTED_MODULE_7__[\"DialogFooter\"]; });\n\n/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./layout */ \"./js/material-components/layout/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Cell\", function() { return _layout__WEBPACK_IMPORTED_MODULE_8__[\"Cell\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Row\", function() { return _layout__WEBPACK_IMPORTED_MODULE_8__[\"Row\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Grid\", function() { return _layout__WEBPACK_IMPORTED_MODULE_8__[\"Grid\"]; });\n\n/**\n * Material components.\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\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tYXRlcmlhbC1jb21wb25lbnRzL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4v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BO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/material-components/index.js\n");

/***/ }),

/***/ "./js/material-components/layout/Cell.js":
/*!***********************************************!*\
  !*** ./js/material-components/layout/Cell.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Cell; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n\n/**\n * Material UI > Layout > Cell component.\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\nfunction Cell(props) {\n  var _classnames;\n  var className = props.className,\n    alignTop = props.alignTop,\n    alignMiddle = props.alignMiddle,\n    alignBottom = props.alignBottom,\n    alignRight = props.alignRight,\n    alignLeft = props.alignLeft,\n    smAlignRight = props.smAlignRight,\n    mdAlignRight = props.mdAlignRight,\n    lgAlignRight = props.lgAlignRight,\n    smSize = props.smSize,\n    smStart = props.smStart,\n    smOrder = props.smOrder,\n    mdSize = props.mdSize,\n    mdStart = props.mdStart,\n    mdOrder = props.mdOrder,\n    lgSize = props.lgSize,\n    lgStart = props.lgStart,\n    lgOrder = props.lgOrder,\n    size = props.size,\n    children = props.children,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(props, [\"className\", \"alignTop\", \"alignMiddle\", \"alignBottom\", \"alignRight\", \"alignLeft\", \"smAlignRight\", \"mdAlignRight\", \"lgAlignRight\", \"smSize\", \"smStart\", \"smOrder\", \"mdSize\", \"mdStart\", \"mdOrder\", \"lgSize\", \"lgStart\", \"lgOrder\", \"size\", \"children\"]);\n  return /*#__PURE__*/React.createElement(\"div\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, otherProps, {\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(className, 'mdc-layout-grid__cell', (_classnames = {\n      'mdc-layout-grid__cell--align-top': alignTop,\n      'mdc-layout-grid__cell--align-middle': alignMiddle,\n      'mdc-layout-grid__cell--align-bottom': alignBottom,\n      'mdc-layout-grid__cell--align-right': alignRight,\n      'mdc-layout-grid__cell--align-left': alignLeft,\n      'mdc-layout-grid__cell--align-right-phone': smAlignRight,\n      'mdc-layout-grid__cell--align-right-tablet': mdAlignRight,\n      'mdc-layout-grid__cell--align-right-desktop': lgAlignRight\n    }, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--span-\".concat(size), 12 >= size && size > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--span-\".concat(lgSize, \"-desktop\"), 12 >= lgSize && lgSize > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--start-\".concat(lgStart, \"-desktop\"), 12 >= lgStart && lgStart > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--order-\".concat(lgOrder, \"-desktop\"), 12 >= lgOrder && lgOrder > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--span-\".concat(mdSize, \"-tablet\"), 8 >= mdSize && mdSize > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--start-\".concat(mdStart, \"-tablet\"), 8 >= mdStart && mdStart > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--order-\".concat(mdOrder, \"-tablet\"), 8 >= mdOrder && mdOrder > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--span-\".concat(smSize, \"-phone\"), 4 >= smSize && smSize > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--start-\".concat(smStart, \"-phone\"), 4 >= smStart && smStart > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--order-\".concat(smOrder, \"-phone\"), 4 >= smOrder && smOrder > 0), _classnames))\n  }), children);\n}\nCell.propTypes = {\n  smSize: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  smStart: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  smOrder: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  mdSize: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  mdStart: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  mdOrder: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  lgSize: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  lgStart: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  lgOrder: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  size: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  alignTop: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  alignMiddle: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  alignBottom: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  alignRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  alignLeft: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  smAlignRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  mdAlignRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  lgAlignRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node\n};\nCell.defaultProps = {\n  className: '',\n  size: 0,\n  smSize: 0,\n  smStart: 0,\n  smOrder: 0,\n  mdSize: 0,\n  mdStart: 0,\n  mdOrder: 0,\n  lgSize: 0,\n  lgStart: 0,\n  lgOrder: 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/material-components/layout/Cell.js\n");

/***/ }),

/***/ "./js/material-components/layout/Grid.js":
/*!***********************************************!*\
  !*** ./js/material-components/layout/Grid.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 _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n/**\n * Material UI > Layout > Grid component.\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\nvar Grid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (_ref, ref) {\n  var alignLeft = _ref.alignLeft,\n    fill = _ref.fill,\n    className = _ref.className,\n    children = _ref.children,\n    collapsed = _ref.collapsed,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"alignLeft\", \"fill\", \"className\", \"children\", \"collapsed\"]);\n  return /*#__PURE__*/React.createElement(\"div\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('mdc-layout-grid', className, {\n      'mdc-layout-grid--align-left': alignLeft,\n      'mdc-layout-grid--collapsed': collapsed,\n      'mdc-layout-grid--fill': fill\n    })\n  }, otherProps, {\n    ref: ref\n  }), children);\n});\nGrid.displayName = 'Grid';\nGrid.propTypes = {\n  alignLeft: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  fill: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  collapsed: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node\n};\nGrid.defaultProps = {\n  className: ''\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Grid);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tYXRlcmlhbC1jb21wb25lbnRzL2xheW91dC9HcmlkLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbWF0ZXJpYWwtY29tcG9uZW50cy9sYXlvdXQvR3JpZC5qcz80YmEyIl0sInNvdXJjZXNDb250ZW50Ij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A9IHtcblx0Y2xhc3NOYW1lOiAnJyxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEdyaWQ7XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBSUE7QUFGQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBR0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUFBO0FBS0E7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/material-components/layout/Grid.js\n");

/***/ }),

/***/ "./js/material-components/layout/Row.js":
/*!**********************************************!*\
  !*** ./js/material-components/layout/Row.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 _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n/**\n * Material UI > Layout > Row component.\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\nvar Row = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (_ref, ref) {\n  var className = _ref.className,\n    children = _ref.children,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"className\", \"children\"]);\n  return /*#__PURE__*/React.createElement(\"div\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    ref: ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('mdc-layout-grid__inner', className)\n  }, otherProps), children);\n});\nRow.displayName = 'Row';\nRow.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node\n};\nRow.defaultProps = {\n  className: ''\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Row);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tYXRlcmlhbC1jb21wb25lbnRzL2xheW91dC9Sb3cuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tYXRlcmlhbC1jb21wb25lbnRzL2xheW91dC9Sb3cuanM/NTY1MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIE1hdGVyaWFsIFVJID4gTGF5b3V0ID4gUm93IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcb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tcbn0gKTtcblxuUm93LmRpc3BsYXlOYW1lID0gJ1Jvdyc7XG5cblJvdy5wcm9wVHlwZXMgPSB7XG5cdGNsYXNzTmFtZTogUHJvcFR5cGVzLnN0cmluZyxcblx0Y2hpbGRyZW46IFByb3BUeXBlcy5ub2RlLFxufTtcblxuUm93LmRlZmF1bHRQcm9wcyA9IHtcblx0Y2xhc3NOYW1lOiAnJyxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IFJvdztcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQU1BO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/material-components/layout/Row.js\n");

/***/ }),

/***/ "./js/material-components/layout/index.js":
/*!************************************************!*\
  !*** ./js/material-components/layout/index.js ***!
  \************************************************/
/*! exports provided: Cell, Row, Grid */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Cell__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Cell */ \"./js/material-components/layout/Cell.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Cell\", function() { return _Cell__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _Row__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Row */ \"./js/material-components/layout/Row.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Row\", function() { return _Row__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Grid */ \"./js/material-components/layout/Grid.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Grid\", function() { return _Grid__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/**\n * Material UI > Layout components.\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\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tYXRlcmlhbC1jb21wb25lbnRzL2xheW91dC9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21hdGVyaWFsLWNvbXBvbmVudHMvbGF5b3V0L2luZGV4LmpzPzA1OTEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBNYXRlcmlhbCBVSSA+IExheW91dCBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2V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OiIifQ==\n//# sourceURL=webpack-internal:///./js/material-components/layout/index.js\n");

/***/ }),

/***/ "./js/modules/ads/utils/validation.js":
/*!********************************************!*\
  !*** ./js/modules/ads/utils/validation.js ***!
  \********************************************/
/*! exports provided: isValidConversionID, isValidPaxConversionID, isValidExtCustomerID */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidConversionID\", function() { return isValidConversionID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidPaxConversionID\", function() { return isValidPaxConversionID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidExtCustomerID\", function() { return isValidExtCustomerID; });\n/**\n * Validation utilities.\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 * Checks if the given conversion ID is valid.\n *\n * @since 1.32.0\n * @since 1.121.0 Migrated from analytics to analytics-4.\n * @since 1.124.0 Migrated from analytics-4 to ads.\n *\n * @param {*} value Ads Conversion Tracking ID to test.\n * @return {boolean} Whether or not the given ID is valid.\n */\nfunction isValidConversionID(value) {\n  return typeof value === 'string' && value !== '' && /^AW-[0-9]+$/.test(value);\n}\n\n/**\n * Checks if the given paxConversionID ID is valid.\n *\n * @since 1.126.0\n *\n * @param {*} value Ads Conversion Tracking ID to test.\n * @return {boolean} Whether or not the given ID is valid.\n */\nfunction isValidPaxConversionID(value) {\n  return typeof value === 'string' && value !== '' && /^AW-[0-9]+$/.test(value);\n}\n\n/**\n * Checks if the given extCustomerID ID is valid.\n *\n * @since 1.126.0\n *\n * @param {*} value PAX external customer ID to test.\n * @return {boolean} Whether or not the given ID is valid.\n */\nfunction isValidExtCustomerID(value) {\n  return typeof value === 'string';\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkcy91dGlscy92YWxpZGF0aW9uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHMvdXRpbHMvdmFsaWRhdGlvbi5qcz82M2M3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVmFsaWRhdGlvbiB1dGlsaXRpZXMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHBy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# sourceURL=webpack-internal:///./js/modules/ads/utils/validation.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/DashboardMainEffectComponent.js":
/*!***************************************************************************!*\
  !*** ./js/modules/analytics-4/components/DashboardMainEffectComponent.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 DashboardMainEffectComponent; });\n/* harmony import */ var _js_modules_analytics_4_hooks_useCreateCustomDimensionForAudienceEffect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useCreateCustomDimensionForAudienceEffect */ \"./js/modules/analytics-4/hooks/useCreateCustomDimensionForAudienceEffect.js\");\n/* harmony import */ var _js_modules_analytics_4_hooks_useCreateCustomDimensionsEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useCreateCustomDimensionsEffect */ \"./js/modules/analytics-4/hooks/useCreateCustomDimensionsEffect.js\");\n/* harmony import */ var _js_modules_analytics_4_hooks_useSyncGoogleTagEffect__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useSyncGoogleTagEffect */ \"./js/modules/analytics-4/hooks/useSyncGoogleTagEffect.js\");\n/**\n * DashboardMainEffectComponent component.\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 * Internal dependencies\n */\n\n\n\nfunction DashboardMainEffectComponent() {\n  Object(_js_modules_analytics_4_hooks_useCreateCustomDimensionForAudienceEffect__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n  Object(_js_modules_analytics_4_hooks_useCreateCustomDimensionsEffect__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n  Object(_js_modules_analytics_4_hooks_useSyncGoogleTagEffect__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n  return null;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvRGFzaGJvYXJkTWFpbkVmZmVjdENvbXBvbmVudC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9EYXNoYm9hcmRNYWluRWZmZWN0Q29tcG9uZW50LmpzPzZmMjAiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBEYXNoYm9hcmRNYWluRWZmZWN0Q29tcG9uZW50IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdy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Ck7XG5cdHVzZVN5bmNHb29nbGVUYWdFZmZlY3QoKTtcblxuXHRyZXR1cm4gbnVsbDtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/DashboardMainEffectComponent.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceAreaFooter.js":
/*!*************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceAreaFooter.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceAreaFooter; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_components_SourceLink__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/SourceLink */ \"./js/components/SourceLink.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n\n/**\n * AudienceAreaFooter component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction AudienceAreaFooter() {\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_8__[\"default\"])();\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var sourceLinkURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    if (viewOnlyDashboard) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('audiences', {\n      dates: dates\n    });\n  });\n  var isAnalyticsConnected = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_MODULES\"]).isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  if (!isAnalyticsConnected) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_js_components_SourceLink__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    className: \"googlesitekit-audience-widget__source\",\n    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"_x\"])('Analytics', 'Service name', 'google-site-kit'),\n    href: sourceLinkURL,\n    external: true\n  });\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuY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Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFJQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFFQTtBQUFBO0FBRUE7QUFDQTtBQUFBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceAreaFooter.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceErrorModal.js":
/*!*************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceErrorModal.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceErrorModal; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_components_Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_RefocusableModalDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/RefocusableModalDialog */ \"./js/components/RefocusableModalDialog.js\");\n/* harmony import */ var _js_components_Portal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Portal */ \"./js/components/Portal.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * Audience Segmentation AudienceErrorModal component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction AudienceErrorModal(_ref) {\n  var apiErrors = _ref.apiErrors,\n    hasOAuthError = _ref.hasOAuthError,\n    inProgress = _ref.inProgress,\n    title = _ref.title,\n    description = _ref.description,\n    trackEventCategory = _ref.trackEventCategory,\n    _ref$onCancel = _ref.onCancel,\n    onCancel = _ref$onCancel === void 0 ? function () {} : _ref$onCancel,\n    _ref$onRetry = _ref.onRetry,\n    onRetry = _ref$onRetry === void 0 ? function () {} : _ref$onRetry;\n  var errors = Array.isArray(apiErrors) ? apiErrors : [apiErrors];\n  var helpLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getErrorTroubleshootingLinkURL({\n      code: 'analytics-4_insufficient_permissions'\n    });\n  });\n  var requestAccessURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getServiceEntityAccessURL();\n  });\n  var errorTroubleshootingLinkURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getErrorTroubleshootingLinkURL({\n      code: 'access_denied'\n    });\n  });\n  if (!errors.length && !hasOAuthError) {\n    return null;\n  }\n  var hasInsufficientPermissionsError = errors.some(function (error) {\n    return Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_9__[\"isInsufficientPermissionsError\"])(error);\n  });\n  function handleConfirm() {\n    var action;\n    if (hasOAuthError) {\n      action = 'auth_error_retry';\n    } else if (hasInsufficientPermissionsError) {\n      action = 'insufficient_permissions_error_request_access';\n    } else {\n      action = 'setup_error_retry';\n    }\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(trackEventCategory, action).finally(function () {\n      if (!hasInsufficientPermissionsError) {\n        onRetry();\n      }\n    });\n  }\n  function handleCancel() {\n    var action;\n    if (hasOAuthError) {\n      action = 'auth_error_cancel';\n    } else if (hasInsufficientPermissionsError) {\n      action = 'insufficient_permissions_error_cancel';\n    } else {\n      action = 'setup_error_cancel';\n    }\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(trackEventCategory, action).finally(onCancel);\n  }\n  var errorTitle, errorDescription, confirmButton, buttonLink;\n  if (hasOAuthError) {\n    errorTitle = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Analytics update failed', 'google-site-kit');\n    errorDescription = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Setup was interrupted because you did not grant the necessary permissions. <HelpLink />', 'google-site-kit'), {\n      HelpLink: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n        href: errorTroubleshootingLinkURL,\n        external: true,\n        hideExternalIndicator: true\n      }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Get help', 'google-site-kit'))\n    });\n    confirmButton = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Retry', 'google-site-kit');\n  } else if (hasInsufficientPermissionsError) {\n    errorTitle = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Insufficient permissions', 'google-site-kit');\n    errorDescription = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('You’ll need to contact your administrator. Trouble getting access? <HelpLink />', 'google-site-kit'), {\n      HelpLink: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n        href: helpLink,\n        external: true,\n        hideExternalIndicator: true\n      }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Get help', 'google-site-kit'))\n    });\n    confirmButton = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Request access', 'google-site-kit');\n    buttonLink = requestAccessURL;\n  } else {\n    errorTitle = title || Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Failed to set up visitor groups', 'google-site-kit');\n    errorDescription = description || Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Oops! Something went wrong. Retry enabling groups.', 'google-site-kit');\n    confirmButton = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Retry', 'google-site-kit');\n  }\n  return /*#__PURE__*/React.createElement(_js_components_Portal__WEBPACK_IMPORTED_MODULE_6__[\"default\"], null, /*#__PURE__*/React.createElement(_js_components_RefocusableModalDialog__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    buttonLink: buttonLink,\n    title: errorTitle,\n    subtitle: errorDescription,\n    handleConfirm: handleConfirm,\n    confirmButton: confirmButton,\n    handleCancel: handleCancel,\n    onOpen: function onOpen() {\n      var action;\n      if (hasOAuthError) {\n        action = 'auth_error';\n      } else if (hasInsufficientPermissionsError) {\n        action = 'insufficient_permissions_error';\n      } else {\n        action = 'setup_error';\n      }\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(trackEventCategory, action);\n    },\n    onClose: onCancel,\n    inProgress: inProgress,\n    refocusQuerySelector: \"#audience_segmentation_setup_cta-notification .googlesitekit-banner__cta\",\n    danger: true,\n    dialogActive: true\n  }));\n}\nAudienceErrorModal.propTypes = {\n  apiErrors: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array]),\n  hasOAuthError: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  inProgress: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  trackEventCategory: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  onCancel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  onRetry: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceErrorModal.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/ErrorWidgetContent.js":
/*!*********************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/ErrorWidgetContent.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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_material_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _svg_graphics_audience_segmentation_error_full_width_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/svg/graphics/audience-segmentation-error-full-width.svg */ \"./svg/graphics/audience-segmentation-error-full-width.svg\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_components_ReportErrorActions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/ReportErrorActions */ \"./js/components/ReportErrorActions.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_GetHelpLink__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/GetHelpLink */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/GetHelpLink.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * ErrorWidgetContent component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nvar ErrorWidgetContent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n  var Widget = _ref.Widget,\n    errors = _ref.errors,\n    onRetry = _ref.onRetry,\n    onRequestAccess = _ref.onRequestAccess,\n    showRetryButton = _ref.showRetryButton;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__[\"useBreakpoint\"])();\n  var isMobileBreakpoint = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__[\"BREAKPOINT_SMALL\"];\n  var isTabletBreakpoint = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__[\"BREAKPOINT_TABLET\"];\n  var hasInsufficientPermissionsError = errors.some(_js_util_errors__WEBPACK_IMPORTED_MODULE_7__[\"isInsufficientPermissionsError\"]);\n  return /*#__PURE__*/React.createElement(Widget, {\n    ref: ref,\n    className: \"googlesitekit-audience-segmentation-error-widget\",\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Grid\"], {\n    className: \"googlesitekit-audience-segmentation-error__widget-primary-cell\",\n    collapsed: true\n  }, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Row\"], null, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Cell\"], {\n    smSize: 6,\n    mdSize: 8,\n    lgSize: 7\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    as: \"h3\",\n    type: \"title\",\n    size: \"large\"\n  }, hasInsufficientPermissionsError ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Insufficient permissions', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Your visitor groups data loading failed', 'google-site-kit')), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget-audience-segmentation-error__actions\"\n  }, showRetryButton && onRetry ? /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    onClick: onRetry,\n    danger: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Retry', 'google-site-kit')) : /*#__PURE__*/React.createElement(_js_components_ReportErrorActions__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    moduleSlug: \"analytics-4\",\n    error: errors,\n    GetHelpLink: hasInsufficientPermissionsError ? _js_modules_analytics_4_components_audience_segmentation_dashboard_GetHelpLink__WEBPACK_IMPORTED_MODULE_9__[\"default\"] : undefined,\n    hideGetHelpLink: !hasInsufficientPermissionsError,\n    buttonVariant: \"danger\",\n    getHelpClassName: \"googlesitekit-error-retry-text\",\n    onRetry: onRetry,\n    onRequestAccess: onRequestAccess\n  }))), !isMobileBreakpoint && !isTabletBreakpoint && /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Cell\"], {\n    className: \"googlesitekit-widget-audience-segmentation-error__svg-wrapper\",\n    smSize: 6,\n    mdSize: 3,\n    lgSize: 5\n  }, /*#__PURE__*/React.createElement(_svg_graphics_audience_segmentation_error_full_width_svg__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    width: \"233px\"\n  })), isTabletBreakpoint && /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Cell\"], {\n    className: \"googlesitekit-widget-audience-segmentation-error__svg-wrapper\",\n    mdSize: 8\n  }, /*#__PURE__*/React.createElement(_svg_graphics_audience_segmentation_error_full_width_svg__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    width: \"233px\"\n  })), isMobileBreakpoint && /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Cell\"], {\n    className: \"googlesitekit-widget-audience-segmentation-error__svg-wrapper\",\n    smSize: 8\n  }, /*#__PURE__*/React.createElement(_svg_graphics_audience_segmentation_error_full_width_svg__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    width: \"233px\"\n  })))));\n});\nErrorWidgetContent.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  errors: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object).isRequired,\n  onRetry: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  onRequestAccess: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  showRetryButton: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ErrorWidgetContent);\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/ErrorWidgetContent.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.js":
/*!********************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.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 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 prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\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_util_errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_InfoNoticeWidget_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/constants.js\");\n/* harmony import */ var _ErrorWidgetContent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ErrorWidgetContent */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/ErrorWidgetContent.js\");\n/* harmony import */ var _js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util/withIntersectionObserver */ \"./js/util/withIntersectionObserver.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n\n/**\n * AudienceSegmentationErrorWidget component.\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\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nvar ErrorWidgetContentWithIntersectionObserver = Object(_js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_ErrorWidgetContent__WEBPACK_IMPORTED_MODULE_8__[\"default\"]);\nfunction AudienceSegmentationErrorWidget(_ref) {\n  var Widget = _ref.Widget,\n    errors = _ref.errors,\n    onRetry = _ref.onRetry,\n    showRetryButton = _ref.showRetryButton;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var errorsArray = errors ? Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"castArray\"])(errors) : [];\n  var hasInsufficientPermissionsError = errorsArray.some(_js_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isInsufficientPermissionsError\"]);\n  function handleRetry() {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-all-tiles\"), 'data_loading_error_retry').finally(function () {\n      setValue(_js_modules_analytics_4_components_audience_segmentation_dashboard_InfoNoticeWidget_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_INFO_NOTICE_HIDE_UI\"], false);\n      onRetry === null || onRetry === void 0 ? void 0 : onRetry();\n    });\n  }\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    // Set UI key to hide the info notice.\n    setValue(_js_modules_analytics_4_components_audience_segmentation_dashboard_InfoNoticeWidget_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_INFO_NOTICE_HIDE_UI\"], true);\n  }, [setValue]);\n  return /*#__PURE__*/React.createElement(ErrorWidgetContentWithIntersectionObserver, {\n    Widget: Widget,\n    errors: errorsArray,\n    onRetry: handleRetry,\n    onRequestAccess: function onRequestAccess() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-all-tiles\"), 'insufficient_permissions_error_request_access');\n    },\n    showRetryButton: showRetryButton,\n    onInView: function onInView() {\n      var action = hasInsufficientPermissionsError ? 'insufficient_permissions_error' : 'data_loading_error';\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-all-tiles\"), action);\n    }\n  });\n}\nAudienceSegmentationErrorWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired,\n  errors: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object)]).isRequired,\n  onRetry: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func,\n  showRetryButton: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"]\n})(AudienceSegmentationErrorWidget));\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification.js":
/*!**********************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification.js ***!
  \**********************************************************************************************************************************/
/*! exports provided: AUDIENCE_SEGMENTATION_INTRODUCTORY_OVERLAY_NOTIFICATION, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_SEGMENTATION_INTRODUCTORY_OVERLAY_NOTIFICATION\", function() { return AUDIENCE_SEGMENTATION_INTRODUCTORY_OVERLAY_NOTIFICATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceSegmentationIntroductoryOverlayNotification; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _svg_graphics_audience_segmentation_introductory_graphic_desktop_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/graphics/audience-segmentation-introductory-graphic-desktop.svg */ \"./svg/graphics/audience-segmentation-introductory-graphic-desktop.svg\");\n/* harmony import */ var _svg_graphics_audience_segmentation_introductory_graphic_mobile_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/svg/graphics/audience-segmentation-introductory-graphic-mobile.svg */ \"./svg/graphics/audience-segmentation-introductory-graphic-mobile.svg\");\n/* harmony import */ var _js_googlesitekit_notifications_components_layout_OverlayNotification__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/notifications/components/layout/OverlayNotification */ \"./js/googlesitekit/notifications/components/layout/OverlayNotification.js\");\n/* harmony import */ var _js_util_scroll__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util/scroll */ \"./js/util/scroll.js\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * AudienceSegmentationIntroductoryOverlayNotification component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nvar AUDIENCE_SEGMENTATION_INTRODUCTORY_OVERLAY_NOTIFICATION = 'audienceSegmentationIntroductoryOverlayNotification';\nfunction AudienceSegmentationIntroductoryOverlayNotification(_ref) {\n  var id = _ref.id,\n    Notification = _ref.Notification;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"])();\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_8__[\"useBreakpoint\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_NOTIFICATIONS\"]),\n    dismissNotification = _useDispatch.dismissNotification;\n  function scrollToWidgetAndDismissNotification(event) {\n    event.preventDefault();\n    var widgetAreaClass = '.googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation';\n    setTimeout(function () {\n      global.scrollTo({\n        top: Object(_js_util_scroll__WEBPACK_IMPORTED_MODULE_7__[\"getNavigationalScrollTop\"])(widgetAreaClass, breakpoint),\n        behavior: 'smooth'\n      });\n    }, 0);\n    dismissNotification(id);\n  }\n  var gaTrackingEventArgs = {\n    category: \"\".concat(viewContext, \"_audiences-secondary-user-intro\")\n  };\n  return /*#__PURE__*/React.createElement(Notification, {\n    gaTrackingEventArgs: gaTrackingEventArgs\n  }, /*#__PURE__*/React.createElement(_js_googlesitekit_notifications_components_layout_OverlayNotification__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    notificationID: id,\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('New! Visitor groups', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('You can now learn more about your site visitor groups by comparing different metrics.', 'google-site-kit'),\n    GraphicDesktop: _svg_graphics_audience_segmentation_introductory_graphic_desktop_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n    GraphicMobile: _svg_graphics_audience_segmentation_introductory_graphic_mobile_svg__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n    ctaButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Show me', 'google-site-kit'),\n      onClick: scrollToWidgetAndDismissNotification\n    },\n    dismissButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Got it', 'google-site-kit')\n    },\n    gaTrackingEventArgs: gaTrackingEventArgs\n  }));\n}\nAudienceSegmentationIntroductoryOverlayNotification.propTypes = {\n  id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  Notification: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupCTABanner.js":
/*!*****************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupCTABanner.js ***!
  \*****************************************************************************************************************/
/*! exports provided: AUDIENCE_SEGMENTATION_SETUP_CTA_NOTIFICATION, default */
/***/ (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__, \"AUDIENCE_SEGMENTATION_SETUP_CTA_NOTIFICATION\", function() { return AUDIENCE_SEGMENTATION_SETUP_CTA_NOTIFICATION; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/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 _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.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/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/notifications/constants */ \"./js/googlesitekit/notifications/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_components_AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/AdminMenuTooltip */ \"./js/components/AdminMenuTooltip/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_analytics_4_hooks_useEnableAudienceGroup__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useEnableAudienceGroup */ \"./js/modules/analytics-4/hooks/useEnableAudienceGroup.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceErrorModal__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceErrorModal */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceErrorModal.js\");\n/* harmony import */ var _js_googlesitekit_notifications_components_layout_SetupCTA__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/googlesitekit/notifications/components/layout/SetupCTA */ \"./js/googlesitekit/notifications/components/layout/SetupCTA.js\");\n/* harmony import */ var _svg_graphics_banner_audience_segmentation_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/svg/graphics/banner-audience-segmentation-setup-cta.svg?url */ \"./svg/graphics/banner-audience-segmentation-setup-cta.svg?url\");\n/* harmony import */ var _svg_graphics_banner_audience_segmentation_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/svg/graphics/banner-audience-segmentation-setup-cta-mobile.svg?url */ \"./svg/graphics/banner-audience-segmentation-setup-cta-mobile.svg?url\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _js_googlesitekit_widgets_util__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @/js/googlesitekit/widgets/util */ \"./js/googlesitekit/widgets/util/index.js\");\n/* harmony import */ var _AudienceSegmentationSetupSuccessSubtleNotification__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./AudienceSegmentationSetupSuccessSubtleNotification */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupSuccessSubtleNotification.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n/**\n * AudienceSegmentationSetupCTABanner component.\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\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\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\n\n\nvar AUDIENCE_SEGMENTATION_SETUP_CTA_NOTIFICATION = 'audience_segmentation_setup_cta-notification';\nfunction AudienceSegmentationSetupCTABanner(_ref) {\n  var id = _ref.id,\n    Notification = _ref.Notification;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__[\"default\"])();\n  var trackEventCategory = \"\".concat(viewContext, \"_audiences-setup-cta-dashboard\");\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_NOTIFICATIONS\"]),\n    dismissNotification = _useDispatch.dismissNotification,\n    registerNotification = _useDispatch.registerNotification;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]),\n    setValues = _useDispatch2.setValues;\n  var tooltipSettings = {\n    tooltipSlug: id,\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('You can always enable groups in Settings later', 'google-site-kit'),\n    content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('The visitors group section will be added to your dashboard once you set it up.', 'google-site-kit'),\n    dismissLabel: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Got it', 'google-site-kit')\n  };\n  var showTooltip = Object(_js_components_AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_13__[\"useShowTooltip\"])(tooltipSettings);\n  var isDismissalFinal = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_NOTIFICATIONS\"]).isNotificationDismissalFinal(id);\n  });\n  var autoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_24__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"AUDIENCE_SEGMENTATION_SETUP_FORM\"], 'autoSubmit');\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n    showErrorModal = _useState2[0],\n    setShowErrorModal = _useState2[1];\n  var onSuccess = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    registerNotification(_AudienceSegmentationSetupSuccessSubtleNotification__WEBPACK_IMPORTED_MODULE_23__[\"AUDIENCE_SEGMENTATION_SETUP_SUCCESS_NOTIFICATION\"], {\n      Component: _AudienceSegmentationSetupSuccessSubtleNotification__WEBPACK_IMPORTED_MODULE_23__[\"default\"],\n      areaSlug: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_10__[\"NOTIFICATION_AREAS\"].DASHBOARD_TOP\n    });\n    dismissNotification(id);\n  }, [registerNotification, dismissNotification, id]);\n  var onError = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    setShowErrorModal(true);\n  }, [setShowErrorModal]);\n  var _useEnableAudienceGro = Object(_js_modules_analytics_4_hooks_useEnableAudienceGroup__WEBPACK_IMPORTED_MODULE_15__[\"default\"])({\n      onSuccess: onSuccess,\n      onError: onError\n    }),\n    apiErrors = _useEnableAudienceGro.apiErrors,\n    failedAudiences = _useEnableAudienceGro.failedAudiences,\n    isSaving = _useEnableAudienceGro.isSaving,\n    onEnableGroups = _useEnableAudienceGro.onEnableGroups;\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]),\n    clearPermissionScopeError = _useDispatch3.clearPermissionScopeError;\n  var _useDispatch4 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]),\n    setSetupErrorCode = _useDispatch4.setSetupErrorCode;\n  var onCancel = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"AUDIENCE_SEGMENTATION_SETUP_FORM\"], {\n      autoSubmit: false\n    });\n    clearPermissionScopeError();\n    setSetupErrorCode(null);\n    setShowErrorModal(false);\n  }, [clearPermissionScopeError, setSetupErrorCode, setValues]);\n  var setupErrorCode = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getSetupErrorCode();\n  });\n  var hasOAuthError = autoSubmit && setupErrorCode === 'access_denied';\n  var gaTrackingProps = {\n    gaTrackingEventArgs: {\n      category: trackEventCategory\n    }\n  };\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, /*#__PURE__*/React.createElement(Notification, gaTrackingProps, /*#__PURE__*/React.createElement(_js_googlesitekit_notifications_components_layout_SetupCTA__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n    notificationID: id,\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Learn how different types of visitors interact with your site', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Understand what brings new visitors to your site and keeps them coming back. Site Kit can now group your site visitors into relevant segments like \"new\" and \"returning\". To set up these new groups, Site Kit needs to update your Google Analytics property.', 'google-site-kit'),\n    ctaButton: {\n      label: isSaving ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Enabling groups', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Enable groups', 'google-site-kit'),\n      onClick: onEnableGroups,\n      disabled: isSaving,\n      inProgress: isSaving\n    },\n    dismissButton: {\n      label: isDismissalFinal ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Don’t show again', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Maybe later', 'google-site-kit'),\n      onClick: showTooltip,\n      disabled: isSaving,\n      dismissOptions: {\n        expiresInSeconds: isDismissalFinal ? 0 : 2 * _js_util__WEBPACK_IMPORTED_MODULE_14__[\"WEEK_IN_SECONDS\"]\n      }\n    },\n    svg: {\n      desktop: _svg_graphics_banner_audience_segmentation_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_18__[\"default\"],\n      mobile: _svg_graphics_banner_audience_segmentation_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_19__[\"default\"],\n      verticalPosition: 'bottom'\n    },\n    gaTrackingEventArgs: {\n      category: trackEventCategory\n    }\n  })), (showErrorModal || hasOAuthError) && /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceErrorModal__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    hasOAuthError: hasOAuthError,\n    apiErrors: apiErrors.length ? apiErrors : failedAudiences,\n    onRetry: onEnableGroups,\n    inProgress: isSaving,\n    onCancel: hasOAuthError ? onCancel : function () {\n      return setShowErrorModal(false);\n    },\n    trackEventCategory: \"\".concat(viewContext, \"_audiences-setup\")\n  }));\n}\nAudienceSegmentationSetupCTABanner.propTypes = {\n  id: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  Notification: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__[\"compose\"])(Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_21__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_20__[\"MODULE_SLUG_ANALYTICS_4\"]\n}), Object(_js_googlesitekit_widgets_util__WEBPACK_IMPORTED_MODULE_22__[\"withWidgetComponentProps\"])('audienceSegmentationSetupCTA'))(AudienceSegmentationSetupCTABanner));\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupCTABanner.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupSuccessSubtleNotification.js":
/*!*********************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupSuccessSubtleNotification.js ***!
  \*********************************************************************************************************************************/
/*! exports provided: AUDIENCE_SEGMENTATION_SETUP_SUCCESS_NOTIFICATION, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_SEGMENTATION_SETUP_SUCCESS_NOTIFICATION\", function() { return AUDIENCE_SEGMENTATION_SETUP_SUCCESS_NOTIFICATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceSegmentationSetupSuccessSubtleNotification; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_googlesitekit_notifications_components_layout_NoticeNotification__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/notifications/components/layout/NoticeNotification */ \"./js/googlesitekit/notifications/components/layout/NoticeNotification.js\");\n/* harmony import */ var _js_components_Notice_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Notice/constants */ \"./js/components/Notice/constants.js\");\n/* harmony import */ var _js_util_scroll__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util/scroll */ \"./js/util/scroll.js\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.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 _js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n\n/**\n * AudienceSegmentationSetupSuccessSubtleNotification component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nvar AUDIENCE_SEGMENTATION_SETUP_SUCCESS_NOTIFICATION = 'setup-success-notification-audiences';\nfunction AudienceSegmentationSetupSuccessSubtleNotification(_ref) {\n  var id = _ref.id,\n    Notification = _ref.Notification;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__[\"useBreakpoint\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_NOTIFICATIONS\"]),\n    dismissNotification = _useDispatch.dismissNotification;\n  var isAudienceSegmentationWidgetHidden = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]).isAudienceSegmentationWidgetHidden();\n  });\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    if (isAudienceSegmentationWidgetHidden) {\n      dismissNotification(AUDIENCE_SEGMENTATION_SETUP_SUCCESS_NOTIFICATION);\n    }\n  }, [dismissNotification, isAudienceSegmentationWidgetHidden]);\n  function scrollToWidgetArea(event) {\n    event.preventDefault();\n    dismissNotification(AUDIENCE_SEGMENTATION_SETUP_SUCCESS_NOTIFICATION);\n    setTimeout(function () {\n      var widgetClass = '.googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation';\n      global.scrollTo({\n        top: Object(_js_util_scroll__WEBPACK_IMPORTED_MODULE_5__[\"getNavigationalScrollTop\"])(widgetClass, breakpoint),\n        behavior: 'smooth'\n      });\n    }, 50);\n  }\n  if (isAudienceSegmentationWidgetHidden === undefined) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(Notification, null, /*#__PURE__*/React.createElement(_js_googlesitekit_notifications_components_layout_NoticeNotification__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    notificationID: id,\n    type: _js_components_Notice_constants__WEBPACK_IMPORTED_MODULE_4__[\"TYPES\"].SUCCESS,\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Success! Visitor groups added to your dashboard', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Get to know how different types of visitors interact with your site, e.g. which pages they visit and for how long', 'google-site-kit'),\n    ctaButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Show me', 'google-site-kit'),\n      onClick: scrollToWidgetArea\n    },\n    dismissButton: true\n  }));\n}\nAudienceSegmentationSetupSuccessSubtleNotification.propTypes = {\n  id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  Notification: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupSuccessSubtleNotification.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AddGroupNotice.js":
/*!********************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AddGroupNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AddGroupNotice; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/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 _svg_icons_info_circle_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/svg/icons/info-circle.svg */ \"./svg/icons/info-circle.svg\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_InfoNotice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNotice.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n\n\n/**\n * Audience Selection Panel Add Group Notice\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction AddGroupNotice() {\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    twoOrMoreAudiencesSelected = _useState2[0],\n    setTwoOrMoreAudiencesSelected = _useState2[1];\n  var isDismissed = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isItemDismissed(_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_ADD_GROUP_NOTICE_SLUG\"]);\n  });\n  var isSelectionPanelOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULES_ANALYTICS_4\"]).isFetchingSyncAvailableAudiences();\n  });\n  var selectedAudiences = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_SELECTION_FORM\"], _constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_SELECTED\"]);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]),\n    dismissItem = _useDispatch.dismissItem;\n  var onDismiss = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\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 dismissItem(_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_ADD_GROUP_NOTICE_SLUG\"]);\n          case 2:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })), [dismissItem]);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (!Array.isArray(selectedAudiences)) {\n      return;\n    }\n    if (selectedAudiences.length > 1) {\n      setTwoOrMoreAudiencesSelected(true);\n    }\n\n    // If selected items changed to only 1 or less selected audiences\n    // reset the value. Otherwise `twoOrMoreAudiencesSelected` always remains `true`.\n    // We are checking if selection panel is closed to do that, so notice is not re-surfaced\n    // while selection panel is still open.\n    if (!isSelectionPanelOpen && (selectedAudiences === null || selectedAudiences === void 0 ? void 0 : selectedAudiences.length) === 1) {\n      setTwoOrMoreAudiencesSelected(false);\n    }\n  }, [selectedAudiences, isSelectionPanelOpen, setTwoOrMoreAudiencesSelected]);\n  if (\n  // Do not render the notice if the slection panel is dismissed.\n  isDismissed ||\n  // Has two or more audiences selected.\n  twoOrMoreAudiencesSelected ||\n  // Items are showing as preview blocks - re-syncing is still in progress.\n  isLoading ||\n  // There is no audience selected.\n  !(selectedAudiences === null || selectedAudiences === void 0 ? void 0 : selectedAudiences.length)) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_InfoNotice__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    className: \"googlesitekit-audience-selection-panel__add-group-notice\",\n    content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('By adding another group to your dashboard, you will be able to compare them and understand which content brings back users from each group', 'google-site-kit'),\n    dismissLabel: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Got it', 'google-site-kit'),\n    Icon: _svg_icons_info_circle_svg__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n    onDismiss: onDismiss\n  });\n}\nAddGroupNotice.propTypes = {\n  savedItemSlugs: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.array\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AddGroupNotice.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationErrorNotice.js":
/*!*********************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationErrorNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceCreationErrorNotice; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n/**\n * Audience Segmentation AudienceCreationErrorNotice component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nfunction AudienceCreationErrorNotice(_ref) {\n  var apiErrors = _ref.apiErrors,\n    hasOAuthError = _ref.hasOAuthError;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_4__[\"default\"])();\n  var errors = Array.isArray(apiErrors) ? apiErrors : [apiErrors];\n  var helpLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getErrorTroubleshootingLinkURL({\n      code: 'analytics-4_insufficient_permissions'\n    });\n  });\n  var requestAccessURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getServiceEntityAccessURL();\n  });\n  var errorTroubleshootingLinkURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getErrorTroubleshootingLinkURL({\n      code: 'access_denied'\n    });\n  });\n  var isOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n  var hasErrors = errors.length > 0;\n  var hasInsufficientPermissionsError = errors.some(function (error) {\n    return Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isInsufficientPermissionsError\"])(error);\n  });\n\n  // Track an event when the notice is viewed.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    if (!isOpen || !hasErrors && !hasOAuthError) {\n      return;\n    }\n    var event = 'setup_error';\n    if (hasOAuthError) {\n      event = 'auth_error';\n    } else if (hasInsufficientPermissionsError) {\n      event = 'insufficient_permissions_error';\n    }\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar-create-audiences\"), event);\n  }, [hasErrors, hasInsufficientPermissionsError, hasOAuthError, isOpen, viewContext]);\n  if (!errors.length && !hasOAuthError) {\n    return null;\n  }\n  var errorTitle, errorDescription;\n  if (hasOAuthError) {\n    errorDescription = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Setup was interrupted because you didn’t grant the necessary permissions. Click on Create again to retry. If that doesn’t work, <HelpLink />', 'google-site-kit'), {\n      HelpLink: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n        href: errorTroubleshootingLinkURL,\n        external: true,\n        hideExternalIndicator: true\n      }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('get help', 'google-site-kit'))\n    });\n  } else if (hasInsufficientPermissionsError) {\n    errorTitle = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Insufficient permissions', 'google-site-kit');\n    errorDescription = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Contact your administrator. Trouble getting access? <HelpLink />', 'google-site-kit'), {\n      HelpLink: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n        href: helpLink,\n        external: true,\n        hideExternalIndicator: true\n      }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Get help', 'google-site-kit'))\n    });\n  } else {\n    errorTitle = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Analytics update failed', 'google-site-kit');\n    errorDescription = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Click on Create to try again.', 'google-site-kit');\n  }\n  return /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    className: \"googlesitekit-audience-creation-error-notice\",\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_12__[\"default\"].TYPES.ERROR,\n    title: errorTitle,\n    description: errorDescription,\n    ctaButton: hasInsufficientPermissionsError ? {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Request access', 'google-site-kit'),\n      href: requestAccessURL,\n      onClick: function onClick() {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar-create-audiences\"), 'insufficient_permissions_error_request_access');\n      }\n    } : undefined,\n    hideIcon: true\n  });\n}\nAudienceCreationErrorNotice.propTypes = {\n  apiErrors: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array]),\n  hasOAuthError: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationErrorNotice.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationNotice.js":
/*!****************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationNotice.js ***!
  \****************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceCreationNotice; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 _wordpress_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _svg_icons_close_svg__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/svg/icons/close.svg */ \"./svg/icons/close.svg\");\n/* harmony import */ var _js_googlesitekit_components_gm2_SpinnerButton__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/googlesitekit/components-gm2/SpinnerButton */ \"./js/googlesitekit/components-gm2/SpinnerButton.js\");\n/* harmony import */ var _AudienceCreationErrorNotice__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./AudienceCreationErrorNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationErrorNotice.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n\n\n/**\n * Audience Selection Panel AudienceCreationNotice component.\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 * WordPress dependencies\n */\n\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\nfunction AudienceCreationNotice() {\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    isCreatingAudience = _useState2[0],\n    setIsCreatingAudience = _useState2[1];\n  var siteKitConfigurableAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useInViewSelect\"])(function (select) {\n    var _select = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"MODULES_ANALYTICS_4\"]),\n      getConfigurableAudiences = _select.getConfigurableAudiences;\n    var audiences = getConfigurableAudiences();\n    if (undefined === audiences) {\n      return undefined;\n    }\n    if (!audiences.length) {\n      return [];\n    }\n    return audiences.filter(function (_ref) {\n      var audienceType = _ref.audienceType;\n      return audienceType === 'SITE_KIT_AUDIENCE';\n    });\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]),\n    dismissItem = _useDispatch.dismissItem;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_13__[\"CORE_UI\"]),\n    setValue = _useDispatch2.setValue;\n  var isItemDismissed = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).isItemDismissed(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_CREATION_NOTICE_SLUG\"]);\n  });\n  var isEditScopeNoticeDismissed = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).isItemDismissed(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_CREATION_EDIT_SCOPE_NOTICE_SLUG\"]);\n  });\n  var hasAnalytics4EditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"EDIT_SCOPE\"]);\n  });\n  var isOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_13__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n  function onCloseClick() {\n    dismissItem(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_CREATION_NOTICE_SLUG\"]);\n  }\n  var redirectURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__[\"addQueryArgs\"])(global.location.href, {\n    notification: 'audience_segmentation'\n  });\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_FORMS\"]),\n    setValues = _useDispatch3.setValues;\n  var _useDispatch4 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]),\n    setPermissionScopeError = _useDispatch4.setPermissionScopeError;\n  var _useDispatch5 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"MODULES_ANALYTICS_4\"]),\n    createAudience = _useDispatch5.createAudience,\n    syncAvailableAudiences = _useDispatch5.syncAvailableAudiences;\n  var isCreatingAudienceFromOAuth = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_22__[\"default\"])(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_CREATION_FORM\"], 'autoSubmit');\n  var failedAudienceToCreate = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_22__[\"default\"])(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_CREATION_FORM\"], 'audienceToCreate');\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])([]),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState3, 2),\n    apiErrors = _useState4[0],\n    setApiErrors = _useState4[1];\n  var handleCreateAudience = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__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(audienceSlug) {\n      var _yield$createAudience, 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              setIsCreatingAudience(audienceSlug);\n              if (hasAnalytics4EditScope) {\n                _context.next = 5;\n                break;\n              }\n              setValues(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_CREATION_FORM\"], {\n                autoSubmit: true,\n                audienceToCreate: audienceSlug\n              });\n\n              // Set permission scope error to trigger OAuth flow.\n              setPermissionScopeError({\n                code: _js_util_errors__WEBPACK_IMPORTED_MODULE_15__[\"ERROR_CODE_MISSING_REQUIRED_SCOPE\"],\n                message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Additional permissions are required to create a new audience in Analytics.', 'google-site-kit'),\n                data: {\n                  status: 403,\n                  scopes: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"EDIT_SCOPE\"]],\n                  skipModal: true,\n                  redirectURL: redirectURL\n                }\n              });\n              return _context.abrupt(\"return\");\n            case 5:\n              setValues(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_CREATION_FORM\"], {\n                autoSubmit: false,\n                audienceToCreate: undefined\n              });\n              _context.next = 8;\n              return createAudience(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"SITE_KIT_AUDIENCE_DEFINITIONS\"][audienceSlug]);\n            case 8:\n              _yield$createAudience = _context.sent;\n              error = _yield$createAudience.error;\n              if (!!error) {\n                setApiErrors([error]);\n              } else {\n                setApiErrors([]);\n              }\n              _context.next = 13;\n              return syncAvailableAudiences();\n            case 13:\n              setIsCreatingAudience(false);\n              if (!error) {\n                setValue(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_CREATION_SUCCESS_NOTICE_SLUG\"], true);\n              }\n            case 15:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return function (_x) {\n      return _ref2.apply(this, arguments);\n    };\n  }(), [hasAnalytics4EditScope, createAudience, syncAvailableAudiences, setValues, setPermissionScopeError, redirectURL, setValue]);\n  function handleDismissEditScopeNotice() {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar-create-audiences\"), 'dismiss_oauth_notice').finally(function () {\n      dismissItem(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_CREATION_EDIT_SCOPE_NOTICE_SLUG\"]);\n    });\n  }\n  var setupErrorCode = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_SITE\"]).getSetupErrorCode();\n  });\n  var hasOAuthError = isCreatingAudienceFromOAuth && setupErrorCode === 'access_denied';\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    function createAudienceFromOAuth() {\n      return _createAudienceFromOAuth.apply(this, arguments);\n    }\n    function _createAudienceFromOAuth() {\n      _createAudienceFromOAuth = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\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 (!(hasAnalytics4EditScope && isCreatingAudienceFromOAuth)) {\n                  _context2.next = 4;\n                  break;\n                }\n                setValue(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"], true);\n                _context2.next = 4;\n                return handleCreateAudience(failedAudienceToCreate);\n              case 4:\n              case \"end\":\n                return _context2.stop();\n            }\n          }\n        }, _callee2);\n      }));\n      return _createAudienceFromOAuth.apply(this, arguments);\n    }\n    createAudienceFromOAuth();\n  }, [failedAudienceToCreate, handleCreateAudience, hasAnalytics4EditScope, isCreatingAudienceFromOAuth, setValue]);\n\n  // Show the notice if the user has no site kit audiences, or has\n  // created one, and the user has not dismissed it.\n  var shouldShowNotice = !isItemDismissed && (siteKitConfigurableAudiences === null || siteKitConfigurableAudiences === void 0 ? void 0 : siteKitConfigurableAudiences.length) < 2;\n\n  // Track an event when the notice is viewed.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (isOpen && shouldShowNotice) {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar-create-audiences\"), 'view_notice');\n    }\n  }, [isOpen, shouldShowNotice, viewContext]);\n\n  // Track an event when the OAuth notice is viewed.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (isOpen && !hasAnalytics4EditScope && !isEditScopeNoticeDismissed) {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar-create-audiences\"), 'view_oauth_notice');\n    }\n  }, [hasAnalytics4EditScope, isEditScopeNoticeDismissed, isOpen, viewContext]);\n  if (!shouldShowNotice) {\n    return null;\n  }\n  var siteKitAvailableAudiences = Object.keys(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"SITE_KIT_AUDIENCE_DEFINITIONS\"]).filter(function (audienceSlug) {\n    return !siteKitConfigurableAudiences.some(function (configuredAudience) {\n      return configuredAudience.audienceSlug === audienceSlug;\n    });\n  });\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-selection-panel__audience-creation-notice\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-selection-panel__audience-creation-notice-header\"\n  }, /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-audience-selection-panel__audience-creation-notice-title\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Create groups suggested by Site Kit', 'google-site-kit')), /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    className: \"googlesitekit-audience-selection-panel__audience-creation-notice-close\",\n    onClick: onCloseClick,\n    linkButton: true\n  }, /*#__PURE__*/React.createElement(_svg_icons_close_svg__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n    width: \"15\",\n    height: \"15\"\n  }))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-selection-panel__audience-creation-notice-body\"\n  }, siteKitAvailableAudiences && siteKitAvailableAudiences.map(function (audienceSlug) {\n    return /*#__PURE__*/React.createElement(\"div\", {\n      key: audienceSlug,\n      className: \"googlesitekit-audience-selection-panel__audience-creation-notice-audience\"\n    }, /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-audience-selection-panel__audience-creation-notice-audience-details\"\n    }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {\n      as: \"h3\",\n      type: \"title\",\n      size: \"small\"\n    }, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"SITE_KIT_AUDIENCE_DEFINITIONS\"][audienceSlug].displayName), /*#__PURE__*/React.createElement(\"p\", {\n      className: \"googlesitekit-audience-selection-panel__audience-creation-notice-audience-description\"\n    }, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"SITE_KIT_AUDIENCE_DEFINITIONS\"][audienceSlug].description)), /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-audience-selection-panel__audience-creation-notice-audience-button\"\n    }, /*#__PURE__*/React.createElement(_js_googlesitekit_components_gm2_SpinnerButton__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n      spinnerPosition: _js_googlesitekit_components_gm2_SpinnerButton__WEBPACK_IMPORTED_MODULE_18__[\"SPINNER_POSITION\"].BEFORE,\n      onClick: function onClick() {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar-create-audiences\"), 'create_audience', audienceSlug).finally(function () {\n          handleCreateAudience(audienceSlug);\n        });\n      },\n      isSaving: isCreatingAudience === audienceSlug\n    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Create', 'google-site-kit'))));\n  })), !hasAnalytics4EditScope && !isEditScopeNoticeDismissed && /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_20__[\"default\"], {\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_20__[\"default\"].TYPES.WARNING,\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Creating these groups require more data tracking. You will be directed to update your Analytics property.', 'google-site-kit'),\n    dismissButton: {\n      onClick: handleDismissEditScopeNotice\n    },\n    hideIcon: true\n  }), (apiErrors.length > 0 || hasOAuthError) && /*#__PURE__*/React.createElement(_AudienceCreationErrorNotice__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {\n    apiErrors: apiErrors,\n    hasOAuthError: hasOAuthError\n  }));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationNotice.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationSuccessNotice.js":
/*!***********************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationSuccessNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceCreationSuccessNotice; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _svg_icons_check_fill_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/svg/icons/check-fill.svg */ \"./svg/icons/check-fill.svg\");\n\n/**\n * Audience Creation Success Notice component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction AudienceCreationSuccessNotice() {\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var showSuccessNotice = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_CREATION_SUCCESS_NOTICE_SLUG\"]);\n  });\n  var isOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n\n  // Track an event when the notice is viewed.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    if (isOpen && showSuccessNotice) {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar-create-audiences-success\"), 'view_notification');\n    }\n  }, [isOpen, showSuccessNotice, viewContext]);\n  if (!showSuccessNotice) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-selection-panel__success-notice\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-selection-panel__success-notice-icon\"\n  }, /*#__PURE__*/React.createElement(_svg_icons_check_fill_svg__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    width: 24,\n    height: 24\n  })), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-audience-selection-panel__success-notice-message\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Visitor group created successfully!', 'google-site-kit')), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-selection-panel__success-notice-actions\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"Button\"], {\n    onClick: function onClick() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar-create-audiences-success\"), 'dismiss_notification').finally(function () {\n        setValue(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_CREATION_SUCCESS_NOTICE_SLUG\"], false);\n      });\n    },\n    tertiary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Got it', 'google-site-kit'))));\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationSuccessNotice.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItem.js":
/*!******************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItem.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceItem; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_NewBadge__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/NewBadge */ \"./js/components/NewBadge.js\");\n/* harmony import */ var _js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/SelectionPanel */ \"./js/components/SelectionPanel/index.js\");\n/* harmony import */ var _js_components_BadgeWithTooltip__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/BadgeWithTooltip */ \"./js/components/BadgeWithTooltip.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n\n/**\n * Audience Selection Panel AudienceItem\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nfunction AudienceItem(_ref) {\n  var slug = _ref.slug,\n    title = _ref.title,\n    description = _ref.description,\n    subtitle = _ref.subtitle,\n    userCount = _ref.userCount,\n    audienceType = _ref.audienceType;\n  var newBadgeSlug = \"\".concat(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX\"]).concat(slug);\n  var selectedItems = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(_constants__WEBPACK_IMPORTED_MODULE_6__[\"AUDIENCE_SELECTION_FORM\"], _constants__WEBPACK_IMPORTED_MODULE_6__[\"AUDIENCE_SELECTED\"]);\n  var hasNewBadgeBeenSeen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).hasExpirableItem(newBadgeSlug);\n  });\n  var isNewBadgeActive = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isExpirableItemActive(newBadgeSlug);\n  });\n  var _ref2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n      return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getAudienceUserCountReportErrors();\n    }) || [],\n    _ref3 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_ref2, 2),\n    siteKitUserCountReportError = _ref3[0],\n    otherUserCountReportError = _ref3[1];\n  var errors = [];\n  if (otherUserCountReportError) {\n    errors.push(otherUserCountReportError);\n  }\n  if (siteKitUserCountReportError) {\n    errors.push(siteKitUserCountReportError);\n  }\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var temporarilyHidden = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isItemDismissed(\"audience-tile-\".concat(slug));\n  });\n  var onCheckboxChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(function (event) {\n    var _setValues;\n    setValues(_constants__WEBPACK_IMPORTED_MODULE_6__[\"AUDIENCE_SELECTION_FORM\"], (_setValues = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _constants__WEBPACK_IMPORTED_MODULE_6__[\"AUDIENCE_SELECTED\"], event.target.checked ? selectedItems.concat([slug]) : selectedItems.filter(function (selectedItem) {\n      return selectedItem !== slug;\n    })), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _constants__WEBPACK_IMPORTED_MODULE_6__[\"AUDIENCE_SELECTION_CHANGED\"], true), _setValues));\n  }, [selectedItems, setValues, slug]);\n\n  // Show the new badge if it has not been seen yet, or the badge has been\n  // seen and is still active.\n  var showNewBadge = 'DEFAULT_AUDIENCE' !== audienceType && (hasNewBadgeBeenSeen === false || isNewBadgeActive);\n  var isItemSelected = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.includes(slug);\n  var id = \"audience-selection-checkbox-\".concat(slug);\n  function ItemBadge() {\n    if (temporarilyHidden) {\n      return /*#__PURE__*/React.createElement(_js_components_BadgeWithTooltip__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Temporarily hidden', 'google-site-kit'),\n        tooltipTitle: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Site Kit is collecting data for this group. Once data is available the group will be added to your dashboard.', 'google-site-kit')\n      });\n    } else if (showNewBadge) {\n      return /*#__PURE__*/React.createElement(_js_components_NewBadge__WEBPACK_IMPORTED_MODULE_11__[\"default\"], null);\n    }\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_12__[\"SelectionPanelItem\"], {\n    id: id,\n    slug: slug,\n    title: title,\n    subtitle: subtitle,\n    description: description,\n    isItemSelected: isItemSelected,\n    onCheckboxChange: onCheckboxChange,\n    suffix: errors.length ? '-' : Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(userCount),\n    badge: (temporarilyHidden || showNewBadge) && /*#__PURE__*/React.createElement(ItemBadge, null)\n  });\n}\nAudienceItem.propTypes = {\n  slug: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired,\n  description: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired,\n  subtitle: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  userCount: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number.isRequired,\n  audienceType: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItem.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItemPreviewBlock.js":
/*!******************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItemPreviewBlock.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceItemPreviewBlock; });\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_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n\n/**\n * AudienceItemPreviewBlock component.\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 * Internal dependencies\n */\n\nfunction AudienceItemPreviewBlock() {\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel__loading\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel__loading-left\"\n  }, /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"90px\",\n    height: \"20px\",\n    className: \"googlesitekit-selection-panel__loading-item\"\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"293px\",\n    height: \"15px\",\n    className: \"googlesitekit-selection-panel__loading-item\"\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-selection-panel__loading-right\"\n  }, /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"43px\",\n    height: \"20px\",\n    className: \"googlesitekit-selection-panel__loading-item\"\n  })));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVNlbGVjdGlvblBhbmVsL0F1ZGllbmNlSXRlbVByZXZpZXdCbG9jay5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9hdWRpZW5jZS1zZWdtZW50YXRpb24vZGFzaGJvYXJkL0F1ZGllbmNlU2VsZWN0aW9uUGFuZWwvQXV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cIlxuXHRcdFx0XHQvPlxuXHRcdFx0PC9kaXY+XG5cdFx0PC9kaXY+XG5cdCk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUFBO0FBS0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItemPreviewBlock.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItems.js":
/*!*******************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItems.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceItems; });\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 _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _AudienceItem__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./AudienceItem */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItem.js\");\n/* harmony import */ var _js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/components/SelectionPanel */ \"./js/components/SelectionPanel/index.js\");\n/* harmony import */ var _AudienceItemPreviewBlock__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./AudienceItemPreviewBlock */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItemPreviewBlock.js\");\n/* harmony import */ var _AddGroupNotice__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./AddGroupNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AddGroupNotice.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _AudienceCreationNotice__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./AudienceCreationNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationNotice.js\");\n\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_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 * Audience Selection Panel Audience Items\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\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\nfunction AudienceItems(_ref) {\n  var _ref$savedItemSlugs = _ref.savedItemSlugs,\n    savedItemSlugs = _ref$savedItemSlugs === void 0 ? [] : _ref$savedItemSlugs;\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useState\"])(true),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),\n    firstView = _useState2[0],\n    setFirstView = _useState2[1];\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_USER\"]),\n    setExpirableItemTimers = _useDispatch.setExpirableItemTimers;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULES_ANALYTICS_4\"]),\n    syncAvailableAudiences = _useDispatch2.syncAvailableAudiences;\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_18__[\"default\"])();\n  var isOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULES_ANALYTICS_4\"]).isFetchingSyncAvailableAudiences();\n  });\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useEffect\"])(function () {\n    if (!firstView || !isOpen) {\n      return;\n    }\n    function syncAudiences() {\n      return _syncAudiences.apply(this, arguments);\n    }\n    function _syncAudiences() {\n      _syncAudiences = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee() {\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                _context.next = 2;\n                return syncAvailableAudiences();\n              case 2:\n              case \"end\":\n                return _context.stop();\n            }\n          }\n        }, _callee);\n      }));\n      return _syncAudiences.apply(this, arguments);\n    }\n    setFirstView(false);\n    syncAudiences();\n  }, [firstView, isOpen, syncAvailableAudiences]);\n  var availableAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useInViewSelect\"])(function (select) {\n    var _select = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULES_ANALYTICS_4\"]),\n      getConfigurableAudiences = _select.getConfigurableAudiences,\n      getReport = _select.getReport,\n      getAudiencesUserCountReportOptions = _select.getAudiencesUserCountReportOptions,\n      getConfigurableSiteKitAndOtherAudiences = _select.getConfigurableSiteKitAndOtherAudiences,\n      hasAudiencePartialData = _select.hasAudiencePartialData;\n    var audiences = getConfigurableAudiences();\n    if (undefined === audiences) {\n      return undefined;\n    }\n    if (!audiences.length) {\n      return [];\n    }\n\n    // eslint-disable-next-line @wordpress/no-unused-vars-before-return -- We might return before `otherAudiences` is used.\n    var _getConfigurableSiteK = getConfigurableSiteKitAndOtherAudiences(),\n      _getConfigurableSiteK2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default()(_getConfigurableSiteK, 2),\n      siteKitAudiences = _getConfigurableSiteK2[0],\n      otherAudiences = _getConfigurableSiteK2[1];\n    var isSiteKitAudiencePartialData = hasAudiencePartialData(siteKitAudiences);\n    var dateRangeDates = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"DATE_RANGE_OFFSET\"]\n    });\n\n    // Get the user count for the available Site Kit audiences using the `newVsReturning` dimension\n    // to avoid the partial data state for these audiences.\n    var newVsReturningReport = isSiteKitAudiencePartialData && getReport(_objectSpread(_objectSpread({}, dateRangeDates), {}, {\n      metrics: [{\n        name: 'totalUsers'\n      }],\n      dimensions: [{\n        name: 'newVsReturning'\n      }],\n      reportID: 'audience-segmentation_audience-items_component_newVsReturningReport'\n    }));\n\n    // Get the user count for the available audiences using the `audienceResourceName` dimension.\n    var audienceResourceNameReport = isSiteKitAudiencePartialData === false || isSiteKitAudiencePartialData === true && (otherAudiences === null || otherAudiences === void 0 ? void 0 : otherAudiences.length) > 0 ? getReport(getAudiencesUserCountReportOptions(isSiteKitAudiencePartialData ? otherAudiences : audiences)) : {};\n    var _ref2 = newVsReturningReport || {},\n      _ref2$rows = _ref2.rows,\n      newVsReturningRows = _ref2$rows === void 0 ? [] : _ref2$rows;\n    var _ref3 = audienceResourceNameReport || {},\n      _ref3$rows = _ref3.rows,\n      audienceResourceNameRows = _ref3$rows === void 0 ? [] : _ref3$rows;\n    function findAudienceRow(rows, dimensionValue) {\n      return rows.find(function (row) {\n        var _row$dimensionValues, _row$dimensionValues$;\n        return (row === null || row === void 0 ? void 0 : (_row$dimensionValues = row.dimensionValues) === null || _row$dimensionValues === void 0 ? void 0 : (_row$dimensionValues$ = _row$dimensionValues[0]) === null || _row$dimensionValues$ === void 0 ? void 0 : _row$dimensionValues$.value) === dimensionValue;\n      });\n    }\n    return audiences.map(function (audience) {\n      var _audienceRow, _audienceRow$metricVa, _audienceRow$metricVa2;\n      var audienceRow;\n      if (audience.audienceType === 'SITE_KIT_AUDIENCE' && isSiteKitAudiencePartialData) {\n        audienceRow = findAudienceRow(newVsReturningRows, audience.audienceSlug === 'new-visitors' ? 'new' : 'returning');\n      } else {\n        audienceRow = findAudienceRow(audienceResourceNameRows, audience.name);\n      }\n      return _objectSpread(_objectSpread({}, audience), {}, {\n        userCount: Number((_audienceRow = audienceRow) === null || _audienceRow === void 0 ? void 0 : (_audienceRow$metricVa = _audienceRow.metricValues) === null || _audienceRow$metricVa === void 0 ? void 0 : (_audienceRow$metricVa2 = _audienceRow$metricVa[0]) === null || _audienceRow$metricVa2 === void 0 ? void 0 : _audienceRow$metricVa2.value) || 0\n      });\n    });\n  });\n  function audiencesListReducer(acc, _ref4) {\n    var audienceType = _ref4.audienceType,\n      description = _ref4.description,\n      displayName = _ref4.displayName,\n      name = _ref4.name,\n      userCount = _ref4.userCount;\n    var citation = '';\n    switch (audienceType) {\n      case 'DEFAULT_AUDIENCE':\n        citation = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"__\"])('Created by default by Google Analytics', 'google-site-kit');\n        description = '';\n        break;\n      case 'SITE_KIT_AUDIENCE':\n        citation = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"__\"])('Created by Site Kit', 'google-site-kit');\n        break;\n      case 'USER_AUDIENCE':\n        citation = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"__\"])('Already exists in your Analytics property', 'google-site-kit');\n        break;\n    }\n    return _objectSpread(_objectSpread({}, acc), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, name, {\n      title: displayName,\n      subtitle: description,\n      description: citation,\n      userCount: userCount,\n      audienceType: audienceType\n    }));\n  }\n  var availableSavedItems = availableAudiences === null || availableAudiences === void 0 ? void 0 : availableAudiences.filter(function (_ref5) {\n    var name = _ref5.name;\n    return savedItemSlugs.includes(name);\n  }).reduce(audiencesListReducer, {});\n  var availableUnsavedItems = availableAudiences === null || availableAudiences === void 0 ? void 0 : availableAudiences.filter(function (_ref6) {\n    var name = _ref6.name;\n    return !savedItemSlugs.includes(name);\n  }).reduce(audiencesListReducer, {});\n  var newBadgesToActivate = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    if (undefined === availableAudiences) {\n      return undefined;\n    }\n    var _select2 = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_USER\"]),\n      hasFinishedResolution = _select2.hasFinishedResolution,\n      hasExpirableItem = _select2.hasExpirableItem;\n    if (!hasFinishedResolution('getExpirableItems')) {\n      return undefined;\n    }\n    return availableAudiences.filter(function (_ref7) {\n      var audienceType = _ref7.audienceType,\n        name = _ref7.name;\n      // Only activate if it is not a default audience, the badge is\n      // new and the user is viewing it for the first time.\n      return 'DEFAULT_AUDIENCE' !== audienceType && !hasExpirableItem(\"\".concat(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX\"]).concat(name));\n    }).map(function (_ref8) {\n      var name = _ref8.name;\n      return \"\".concat(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX\"]).concat(name);\n    });\n  });\n\n  // Set an expiry for the new badges so that it is no longer shown after\n  // a certain time.\n  // `useDeepCompareEffect` is used here instead of `useEffect` because\n  // the array reference of `newBadgesToActivate` is not reliable and can\n  // cause the effect to unexpectedly run multiple times.\n  Object(react_use__WEBPACK_IMPORTED_MODULE_6__[\"useDeepCompareEffect\"])(function () {\n    if (isOpen &&\n    // Only activate when the badge is viewed, i.e. the panel is opened.\n    newBadgesToActivate !== undefined && newBadgesToActivate.length) {\n      setExpirableItemTimers(newBadgesToActivate.map(function (slug) {\n        return {\n          slug: slug,\n          expiresInSeconds: _js_util__WEBPACK_IMPORTED_MODULE_13__[\"WEEK_IN_SECONDS\"] * 4\n        };\n      }));\n    }\n  }, [isOpen, setExpirableItemTimers, newBadgesToActivate]);\n  return /*#__PURE__*/React.createElement(_js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_15__[\"SelectionPanelItems\"], {\n    availableItemsTitle: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"__\"])('Additional groups', 'google-site-kit'),\n    availableSavedItems: availableSavedItems,\n    availableUnsavedItems: availableUnsavedItems,\n    ItemComponent: isLoading ? _AudienceItemPreviewBlock__WEBPACK_IMPORTED_MODULE_16__[\"default\"] : _AudienceItem__WEBPACK_IMPORTED_MODULE_14__[\"default\"],\n    savedItemSlugs: savedItemSlugs,\n    notice: /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_AddGroupNotice__WEBPACK_IMPORTED_MODULE_17__[\"default\"], null), !viewOnlyDashboard && /*#__PURE__*/React.createElement(_AudienceCreationNotice__WEBPACK_IMPORTED_MODULE_19__[\"default\"], null))\n  });\n}\nAudienceItems.propTypes = {\n  savedItemSlugs: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.array\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItems.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/ErrorNotice.js":
/*!*****************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/ErrorNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ErrorNotice; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_ReportErrorActions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/ReportErrorActions */ \"./js/components/ReportErrorActions.js\");\n/* harmony import */ var _RequestAccessButton__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./RequestAccessButton */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/RequestAccessButton.js\");\n/* harmony import */ var _RetryButton__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./RetryButton */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/RetryButton.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n\n\n\n/**\n * Audience Selection Panel Error Notice\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction ErrorNotice() {\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n  var syncAvailableAudiencesError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getErrorForAction('syncAvailableAudiences');\n  });\n  var _ref = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useInViewSelect\"])(function (select) {\n      return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getAudienceUserCountReportErrors();\n    }) || [],\n    _ref2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_ref, 2),\n    siteKitUserCountReportError = _ref2[0],\n    otherUserCountReportError = _ref2[1];\n  var helpLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).getErrorTroubleshootingLinkURL({\n      code: 'analytics-4_insufficient_permissions'\n    });\n  });\n  var isOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_8__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]),\n    clearError = _useDispatch.clearError,\n    syncAvailableAudiences = _useDispatch.syncAvailableAudiences;\n  var retrySyncAvailableAudiences = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\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 clearError('syncAvailableAudiences');\n          case 2:\n            syncAvailableAudiences();\n          case 3:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })), [clearError, syncAvailableAudiences]);\n  var errors = [];\n  if (syncAvailableAudiencesError) {\n    errors.push(syncAvailableAudiencesError);\n  }\n  if (otherUserCountReportError) {\n    errors.push(otherUserCountReportError);\n  }\n  if (siteKitUserCountReportError) {\n    errors.push(siteKitUserCountReportError);\n  }\n  var hasErrors = errors.length > 0;\n  var hasInsufficientPermissionsError = errors.some(function (error) {\n    return Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_12__[\"isInsufficientPermissionsError\"])(error);\n  });\n\n  // Track an event when the error notice is displayed.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (!isOpen || !hasErrors) {\n      return;\n    }\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_7__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar\"), hasInsufficientPermissionsError ? 'insufficient_permissions_error' : 'data_loading_error');\n  }, [hasErrors, hasInsufficientPermissionsError, isOpen, viewContext]);\n  if (!errors.length) {\n    return null;\n  }\n  var userCountError = [otherUserCountReportError, siteKitUserCountReportError].some(function (error) {\n    return !!error;\n  });\n  return /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n    className: \"googlesitekit-audience-selection-panel__error-notice googlesitekit-notice--error googlesitekit-notice--small googlesitekit-notice--square\",\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_17__[\"default\"].TYPES.ERROR,\n    description: hasInsufficientPermissionsError ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Insufficient permissions, contact your administrator. Trouble getting access? <HelpLink />', 'google-site-kit'), {\n      HelpLink: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n        href: helpLink,\n        external: true,\n        hideExternalIndicator: true\n      }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Get help', 'google-site-kit'))\n    }) : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Data loading failed', 'google-site-kit'),\n    hideIcon: true\n  }, hasInsufficientPermissionsError || userCountError ? /*#__PURE__*/React.createElement(_js_components_ReportErrorActions__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    moduleSlug: \"analytics-4\",\n    error: errors,\n    buttonVariant: \"danger\",\n    RequestAccessButton: _RequestAccessButton__WEBPACK_IMPORTED_MODULE_15__[\"default\"],\n    RetryButton: _RetryButton__WEBPACK_IMPORTED_MODULE_16__[\"default\"],\n    hideGetHelpLink: true\n  }) : /*#__PURE__*/React.createElement(_RetryButton__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    handleRetry: retrySyncAvailableAudiences\n  }));\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/ErrorNotice.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Footer.js":
/*!************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Footer.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Footer; });\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_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 _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/SelectionPanel */ \"./js/components/SelectionPanel/index.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\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_4___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 * Audience Selection Panel Footer\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction Footer(_ref) {\n  var isOpen = _ref.isOpen,\n    closePanel = _ref.closePanel,\n    savedItemSlugs = _ref.savedItemSlugs;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var selectedItems = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(_constants__WEBPACK_IMPORTED_MODULE_11__[\"AUDIENCE_SELECTION_FORM\"], _constants__WEBPACK_IMPORTED_MODULE_11__[\"AUDIENCE_SELECTED\"]);\n  var audienceSettings = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).getUserAudienceSettings();\n  });\n  var saveError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).getErrorForAction('saveUserAudienceSettings', [_objectSpread(_objectSpread({}, audienceSettings), {}, {\n      configuredAudiences: selectedItems\n    })]);\n  });\n  var isSavingSettings = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).isSavingUserAudienceSettings();\n  });\n  var hiddenTileDismissedItems = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useInViewSelect\"])(function (select) {\n    var dismissedItems = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).getDismissedItems();\n    return dismissedItems === null || dismissedItems === void 0 ? void 0 : dismissedItems.filter(function (item) {\n      return item.startsWith('audience-tile-');\n    });\n  });\n  var availableAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_13__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]),\n    saveUserAudienceSettings = _useDispatch.saveUserAudienceSettings,\n    removeDismissedItems = _useDispatch.removeDismissedItems;\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]),\n    getConfiguredAudiences = _useSelect.getConfiguredAudiences;\n  var selectedItemsCount = (selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) || 0;\n  var itemLimitError;\n  if (selectedItemsCount < _constants__WEBPACK_IMPORTED_MODULE_11__[\"MIN_SELECTED_AUDIENCES_COUNT\"]) {\n    itemLimitError = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"sprintf\"])(/* translators: 1: Minimum number of groups that can be selected. 2: Number of selected groups. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"_n\"])('Select at least %1$d group (%2$d selected)', 'Select at least %1$d groups (%2$d selected)', _constants__WEBPACK_IMPORTED_MODULE_11__[\"MIN_SELECTED_AUDIENCES_COUNT\"], 'google-site-kit'), _constants__WEBPACK_IMPORTED_MODULE_11__[\"MIN_SELECTED_AUDIENCES_COUNT\"], selectedItemsCount);\n  } else if (selectedItemsCount > _constants__WEBPACK_IMPORTED_MODULE_11__[\"MAX_SELECTED_AUDIENCES_COUNT\"]) {\n    itemLimitError = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"sprintf\"])(/* translators: 1: Maximum number of groups that can be selected. 2: Number of selected groups. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__[\"__\"])('Select up to %1$d groups (%2$d selected)', 'google-site-kit'), _constants__WEBPACK_IMPORTED_MODULE_11__[\"MAX_SELECTED_AUDIENCES_COUNT\"], selectedItemsCount);\n  }\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useState\"])(null),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),\n    dismissedItemsError = _useState2[0],\n    setDismissedItemsError = _useState2[1];\n  var saveSettings = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useCallback\"])(/*#__PURE__*/function () {\n    var _ref2 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(selectedAudiences) {\n      var _yield$saveUserAudien, error, hiddenAudienceDismissedItemsToClear, _yield$removeDismisse;\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              setDismissedItemsError(null);\n              _context.next = 3;\n              return saveUserAudienceSettings({\n                configuredAudiences: selectedAudiences\n              });\n            case 3:\n              _yield$saveUserAudien = _context.sent;\n              error = _yield$saveUserAudien.error;\n              if (error) {\n                _context.next = 14;\n                break;\n              }\n              // Determine the list of hidden audiences that have been unselected and need their dismissed state to be cleared.\n              hiddenAudienceDismissedItemsToClear = (hiddenTileDismissedItems === null || hiddenTileDismissedItems === void 0 ? void 0 : hiddenTileDismissedItems.filter(function (item) {\n                var audienceResourceName = item.replace('audience-tile-', '');\n                return !selectedAudiences.includes(audienceResourceName);\n              })) || []; // If all configured audiences are hidden, clear the dismissed state for the first one to unhide it\n              if (selectedAudiences.every(function (audienceResourceName) {\n                return hiddenTileDismissedItems === null || hiddenTileDismissedItems === void 0 ? void 0 : hiddenTileDismissedItems.includes(\"audience-tile-\".concat(audienceResourceName));\n              })) {\n                hiddenAudienceDismissedItemsToClear.push(\"audience-tile-\".concat(selectedAudiences[0]));\n              }\n              if (!((hiddenAudienceDismissedItemsToClear === null || hiddenAudienceDismissedItemsToClear === void 0 ? void 0 : hiddenAudienceDismissedItemsToClear.length) > 0)) {\n                _context.next = 14;\n                break;\n              }\n              _context.next = 11;\n              return removeDismissedItems.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(hiddenAudienceDismissedItemsToClear));\n            case 11:\n              _yield$removeDismisse = _context.sent;\n              error = _yield$removeDismisse.error;\n              if (error) {\n                setDismissedItemsError(error);\n              }\n            case 14:\n              return _context.abrupt(\"return\", {\n                error: error\n              });\n            case 15:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return function (_x) {\n      return _ref2.apply(this, arguments);\n    };\n  }(), [hiddenTileDismissedItems, removeDismissedItems, saveUserAudienceSettings]);\n  var onSaveSuccess = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useCallback\"])(function () {\n    var audienceTypeLabels = {\n      USER_AUDIENCE: 'user',\n      SITE_KIT_AUDIENCE: 'site-kit',\n      DEFAULT_AUDIENCE: 'default'\n    };\n\n    // Call to the selector within the callback ensures that the latest\n    // value is used.\n    var configuredAudiences = getConfiguredAudiences();\n    var eventLabel = Object.keys(audienceTypeLabels).map(function (type) {\n      var audiencesOfType = configuredAudiences.filter(function (audienceName) {\n        var audience = availableAudiences === null || availableAudiences === void 0 ? void 0 : availableAudiences.find(function (_ref3) {\n          var name = _ref3.name;\n          return audienceName === name;\n        });\n        return (audience === null || audience === void 0 ? void 0 : audience.audienceType) === type;\n      });\n      return \"\".concat(audienceTypeLabels[type], \":\").concat(audiencesOfType.length);\n    }).join(',');\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar\"), 'audiences_sidebar_save', eventLabel);\n  }, [availableAudiences, getConfiguredAudiences, viewContext]);\n  var onCancel = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useCallback\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar\"), 'audiences_sidebar_cancel');\n  }, [viewContext]);\n  return /*#__PURE__*/React.createElement(_js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_14__[\"SelectionPanelFooter\"], {\n    savedItemSlugs: savedItemSlugs,\n    selectedItemSlugs: selectedItems,\n    saveSettings: saveSettings,\n    saveError: saveError || dismissedItemsError,\n    itemLimitError: itemLimitError,\n    minSelectedItemCount: _constants__WEBPACK_IMPORTED_MODULE_11__[\"MIN_SELECTED_AUDIENCES_COUNT\"],\n    maxSelectedItemCount: _constants__WEBPACK_IMPORTED_MODULE_11__[\"MAX_SELECTED_AUDIENCES_COUNT\"],\n    isBusy: isSavingSettings,\n    isOpen: isOpen,\n    closePanel: closePanel,\n    onSaveSuccess: onSaveSuccess,\n    onCancel: onCancel\n  });\n}\nFooter.propTypes = {\n  isOpen: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool,\n  closePanel: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func.isRequired,\n  savedItemSlugs: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.array\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Footer.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Header.js":
/*!************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Header.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Header; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/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_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/SelectionPanel */ \"./js/components/SelectionPanel/index.js\");\n\n/**\n * Audience Selection Panel Header\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction Header(_ref) {\n  var closePanel = _ref.closePanel;\n  var isViewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n  var adminSettingsURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getSiteKitAdminSettingsURL({\n      scrollTo: 'visitor-groups'\n    });\n  });\n  var isSavingSettings = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).isSavingUserAudienceSettings();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_LOCATION\"]),\n    navigateTo = _useDispatch.navigateTo;\n  var onSettingsClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    return navigateTo(adminSettingsURL);\n  }, [adminSettingsURL, navigateTo]);\n  return /*#__PURE__*/React.createElement(_js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_10__[\"SelectionPanelHeader\"], {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Select visitor groups', 'google-site-kit'),\n    onCloseClick: closePanel\n  }, !isViewOnly && /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('You can deactivate this widget in <link><strong>Settings</strong></link>', 'google-site-kit'), {\n    link: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      onClick: onSettingsClick,\n      disabled: isSavingSettings,\n      secondary: true\n    }),\n    strong: /*#__PURE__*/React.createElement(\"strong\", null)\n  })));\n}\nHeader.propTypes = {\n  closePanel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Header.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/LearnMoreLink.js":
/*!*******************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/LearnMoreLink.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return LearnMoreLink; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n\n/**\n * Audience Selection Panel Learn More Link\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction LearnMoreLink() {\n  var audienceLearnMoreURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getGoogleSupportURL({\n      path: '/analytics/answer/12799087'\n    });\n  });\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-selection-panel__learn-more\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Learn more about grouping site visitors and audiences in <link><strong>Analytics</strong></link>', 'google-site-kit'), {\n    link: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      href: audienceLearnMoreURL,\n      secondary: true,\n      external: true\n    }),\n    strong: /*#__PURE__*/React.createElement(\"strong\", null)\n  }));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVNlbGVjdGlvblBhbmVsL0xlYXJuTW9yZUxpbmsuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2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dHtcblx0XHRcdFx0XHRsaW5rOiAoXG5cdFx0XHRcdFx0XHQ8TGlua1xuXHRcdFx0XHRcdFx0XHRocmVmPXsgYXVkaWVuY2VMZWFybk1vcmVVUkwgfVxuXHRcdFx0XHRcdFx0XHRzZWNvbmRhcnlcblx0XHRcdFx0XHRcdFx0ZXh0ZXJuYWxcblx0XHRcdFx0XHRcdC8+XG5cdFx0XHRcdFx0KSxcblx0XHRcdFx0XHRzdHJvbmc6IDxzdHJvbmcgLz4sXG5cdFx0XHRcdH1cblx0XHRcdCkgfVxuXHRcdDwvZGl2PlxuXHQpO1xufVxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBRUE7QUFDQTtBQUFBO0FBR0E7QUFDQTtBQUFBO0FBT0E7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFJQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/LearnMoreLink.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Panel.js":
/*!***********************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Panel.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Panel; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _AudienceItems__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./AudienceItems */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItems.js\");\n/* harmony import */ var _ErrorNotice__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ErrorNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/ErrorNotice.js\");\n/* harmony import */ var _Footer__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Footer */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Footer.js\");\n/* harmony import */ var _Header__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Header */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Header.js\");\n/* harmony import */ var _LearnMoreLink__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./LearnMoreLink */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/LearnMoreLink.js\");\n/* harmony import */ var _js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/components/SelectionPanel */ \"./js/components/SelectionPanel/index.js\");\n/* harmony import */ var _AudienceCreationSuccessNotice__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./AudienceCreationSuccessNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationSuccessNotice.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n/**\n * Audience Selection Panel\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 * WordPress 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\nfunction Panel() {\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n  var isOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).isFetchingSyncAvailableAudiences();\n  });\n  var savedItemSlugs = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useInViewSelect\"])(function (select) {\n    var _select = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]),\n      getConfigurableAudiences = _select.getConfigurableAudiences;\n    var _select2 = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]),\n      getConfiguredAudiences = _select2.getConfiguredAudiences;\n    var configuredAudiences = getConfiguredAudiences() || [];\n    var configurableAudiences = getConfigurableAudiences() || [];\n    if (!configurableAudiences.length || !configuredAudiences.length) {\n      return [];\n    }\n    return configurableAudiences.filter(function (_ref) {\n      var name = _ref.name;\n      return configuredAudiences.includes(name);\n    }).map(function (_ref2) {\n      var name = _ref2.name;\n      return name;\n    });\n  });\n  var isCreatingAudienceFromOAuth = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_CREATION_FORM\"], 'autoSubmit');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_UI\"]),\n    setValue = _useDispatch2.setValue;\n  var onSideSheetOpen = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    var _setValues;\n    setValues(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_SELECTION_FORM\"], (_setValues = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_SELECTED\"], savedItemSlugs), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_SELECTION_CHANGED\"], false), _setValues));\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar\"), 'audiences_sidebar_view');\n  }, [savedItemSlugs, setValues, viewContext]);\n  var closePanel = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    if (isOpen) {\n      setValue(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"], false);\n      setValue(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_CREATION_SUCCESS_NOTICE_SLUG\"], false);\n    }\n  }, [setValue, isOpen]);\n  return /*#__PURE__*/React.createElement(_js_components_SelectionPanel__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    className: \"googlesitekit-audience-selection-panel\",\n    closePanel: closePanel,\n    isOpen: isOpen || isCreatingAudienceFromOAuth,\n    isLoading: isLoading,\n    onOpen: onSideSheetOpen\n  }, /*#__PURE__*/React.createElement(_Header__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    closePanel: closePanel\n  }), /*#__PURE__*/React.createElement(_AudienceItems__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    savedItemSlugs: savedItemSlugs\n  }), /*#__PURE__*/React.createElement(_LearnMoreLink__WEBPACK_IMPORTED_MODULE_14__[\"default\"], null), /*#__PURE__*/React.createElement(_ErrorNotice__WEBPACK_IMPORTED_MODULE_11__[\"default\"], null), /*#__PURE__*/React.createElement(_AudienceCreationSuccessNotice__WEBPACK_IMPORTED_MODULE_16__[\"default\"], null), /*#__PURE__*/React.createElement(_Footer__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    closePanel: closePanel,\n    isOpen: isOpen,\n    savedItemSlugs: savedItemSlugs\n  }));\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Panel.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/RequestAccessButton.js":
/*!*************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/RequestAccessButton.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return RequestAccessButton; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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 _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * Audience Selection Panel Request Access Button\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction RequestAccessButton(_ref) {\n  var requestAccessURL = _ref.requestAccessURL;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    className: \"googlesitekit-audience-selection-panel__error-notice-action\",\n    href: requestAccessURL,\n    target: \"_blank\",\n    onClick: function onClick() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar\"), 'insufficient_permissions_error_request_access');\n    },\n    tertiary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Request access', 'google-site-kit'));\n}\nRequestAccessButton.propTypes = {\n  requestAccessURL: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVNlbGVjdGlvblBhbmVsL1Jl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5zdWZmaWNpZW50X3Blcm1pc3Npb25zX2Vycm9yX3JlcXVlc3RfYWNjZXNzJ1xuXHRcdFx0XHQpO1xuXHRcdFx0fSB9XG5cdFx0XHR0ZXJ0aWFyeVxuXHRcdD5cblx0XHRcdHsgX18oICdSZXF1ZXN0IGFjY2VzcycsICdnb29nbGUtc2l0ZS1raXQnICkgfVxuXHRcdDwvQnV0dG9uPlxuXHQpO1xufVxuXG5SZXF1ZXN0QWNjZXNzQnV0dG9uLnByb3BUeXBlcyA9IHtcblx0cmVxdWVzdEFjY2Vzc1VSTDogUHJvcFR5cGVzLnN0cmluZy5pc1JlcXVpcmVkLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFJQTtBQUNBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/RequestAccessButton.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/RetryButton.js":
/*!*****************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/RetryButton.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return RetryButton; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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 _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * Audience Selection Panel Retry Button\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction RetryButton(_ref) {\n  var handleRetry = _ref.handleRetry;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    className: \"googlesitekit-audience-selection-panel__error-notice-action\",\n    onClick: function onClick() {\n      handleRetry();\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar\"), 'data_loading_error_retry');\n    },\n    tertiary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Retry', 'google-site-kit'));\n}\nRetryButton.propTypes = {\n  handleRetry: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVNlbGVjdGlvblBhbmVsL1JldHJ5QnV0dG9uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2F1ZGllbmNlLXNlZ21lbnRhdGlvbi9kYXNoYm9hcmQvQXVkaWVuY2VTZWxlY3Rpb25QYW5lbC9SZXRyeUJ1dHRvbi5qcz81MGRkI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LmlzUmVxdWlyZWQsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFJQTtBQUNBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/RetryButton.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js":
/*!***************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js ***!
  \***************************************************************************************************************/
/*! exports provided: AUDIENCE_ADD_GROUP_NOTICE_SLUG, AUDIENCE_SELECTION_PANEL_OPENED_KEY, AUDIENCE_SELECTION_FORM, AUDIENCE_SELECTED, AUDIENCE_SELECTION_CHANGED, AUDIENCE_CREATION_NOTICE_SLUG, AUDIENCE_CREATION_SUCCESS_NOTICE_SLUG, MIN_SELECTED_AUDIENCES_COUNT, MAX_SELECTED_AUDIENCES_COUNT, AUDIENCE_CREATION_EDIT_SCOPE_NOTICE_SLUG, AUDIENCE_CREATION_FORM */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_ADD_GROUP_NOTICE_SLUG\", function() { return AUDIENCE_ADD_GROUP_NOTICE_SLUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_SELECTION_PANEL_OPENED_KEY\", function() { return AUDIENCE_SELECTION_PANEL_OPENED_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_SELECTION_FORM\", function() { return AUDIENCE_SELECTION_FORM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_SELECTED\", function() { return AUDIENCE_SELECTED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_SELECTION_CHANGED\", function() { return AUDIENCE_SELECTION_CHANGED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_CREATION_NOTICE_SLUG\", function() { return AUDIENCE_CREATION_NOTICE_SLUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_CREATION_SUCCESS_NOTICE_SLUG\", function() { return AUDIENCE_CREATION_SUCCESS_NOTICE_SLUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MIN_SELECTED_AUDIENCES_COUNT\", function() { return MIN_SELECTED_AUDIENCES_COUNT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAX_SELECTED_AUDIENCES_COUNT\", function() { return MAX_SELECTED_AUDIENCES_COUNT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_CREATION_EDIT_SCOPE_NOTICE_SLUG\", function() { return AUDIENCE_CREATION_EDIT_SCOPE_NOTICE_SLUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_CREATION_FORM\", function() { return AUDIENCE_CREATION_FORM; });\n/**\n * AudienceSelectionPanel components - constants.\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\nvar AUDIENCE_ADD_GROUP_NOTICE_SLUG = 'audience-segmentation-add-group-notice';\nvar AUDIENCE_SELECTION_PANEL_OPENED_KEY = 'googlesitekit-audience-selection-panel-opened';\nvar AUDIENCE_SELECTION_FORM = 'audience-selection-form';\nvar AUDIENCE_SELECTED = 'audience-selected';\nvar AUDIENCE_SELECTION_CHANGED = 'audience-selection-changed';\nvar AUDIENCE_CREATION_NOTICE_SLUG = 'audience-segmentation-creation-notice';\nvar AUDIENCE_CREATION_SUCCESS_NOTICE_SLUG = 'audience-segmentation-creation-success-notice';\nvar MIN_SELECTED_AUDIENCES_COUNT = 1;\nvar MAX_SELECTED_AUDIENCES_COUNT = 3;\nvar AUDIENCE_CREATION_EDIT_SCOPE_NOTICE_SLUG = 'audience-creation-edit-scope-notice';\nvar AUDIENCE_CREATION_FORM = 'audience-creation-form';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVNlbGVjdGlvblBhbmVsL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9hdWRpZW5jZS1zZWdtZW50YXRpb24vZGFzaGJvYXJkL0F1ZGllbmNlU2VsZWN0aW9uUGFuZWwvY29uc3RhbnRzLmpzPzE3NDciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBdWRpZW5jZVNlbGVjdGlvblBhb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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/index.js":
/*!***********************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceSelectionPanel; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_components_InViewProvider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/InViewProvider */ \"./js/components/InViewProvider/index.js\");\n/* harmony import */ var _Panel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Panel */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/Panel.js\");\n\n/**\n * Audience Selection Panel\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 * Internal dependencies\n */\n\n\n\n\n\nfunction AudienceSelectionPanel() {\n  var isOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_2__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n  return /*#__PURE__*/React.createElement(_js_components_InViewProvider__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    value: {\n      key: 'AudienceSelectionPanel',\n      value: !!isOpen\n    }\n  }, /*#__PURE__*/React.createElement(_Panel__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2Nvb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UNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQ0E7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFLQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCitiesMetric.js":
/*!****************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCitiesMetric.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTileCitiesMetric; });\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 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 _js_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _AudienceTileNoData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AudienceTileNoData */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileNoData.js\");\n\n/**\n * AudienceTileCitiesMetric component.\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 * Internal dependencies\n */\n\n\nfunction AudienceTileCitiesMetric(_ref) {\n  var _topCities$dimensionV;\n  var TileIcon = _ref.TileIcon,\n    title = _ref.title,\n    topCities = _ref.topCities;\n  var validDimensionValues = (topCities === null || topCities === void 0 ? void 0 : (_topCities$dimensionV = topCities.dimensionValues) === null || _topCities$dimensionV === void 0 ? void 0 : _topCities$dimensionV.filter(Boolean)) || [];\n  var hasDimensionValues = !!validDimensionValues.length;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--cities\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__icon\"\n  }, /*#__PURE__*/React.createElement(TileIcon, null)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__container\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__title\"\n  }, title), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__content\"\n  }, !hasDimensionValues && /*#__PURE__*/React.createElement(_AudienceTileNoData__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null), hasDimensionValues && validDimensionValues.map(function (city, index) {\n    var _topCities$metricValu;\n    return /*#__PURE__*/React.createElement(\"div\", {\n      key: city === null || city === void 0 ? void 0 : city.value,\n      className: \"googlesitekit-audience-segmentation-tile-metric__cities-metric\"\n    }, /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-audience-segmentation-tile-metric__cities-metric-name\"\n    }, city === null || city === void 0 ? void 0 : city.value), /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-audience-segmentation-tile-metric__cities-metric-value\"\n    }, Object(_js_util__WEBPACK_IMPORTED_MODULE_2__[\"numFmt\"])((topCities === null || topCities === void 0 ? void 0 : (_topCities$metricValu = topCities.metricValues[index]) === null || _topCities$metricValu === void 0 ? void 0 : _topCities$metricValu.value) / (topCities === null || topCities === void 0 ? void 0 : topCities.total), {\n      style: 'percent',\n      maximumFractionDigits: 1\n    })));\n  }))));\n}\nAudienceTileCitiesMetric.propTypes = {\n  TileIcon: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  topCities: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCitiesMetric.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingData.js":
/*!******************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingData.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTileCollectingData; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _svg_graphics_audience_segmentation_collecting_data_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/svg/graphics/audience-segmentation-collecting-data.svg */ \"./svg/graphics/audience-segmentation-collecting-data.svg\");\n\n/**\n * AudienceTileCollectingData component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\nfunction AudienceTileCollectingData() {\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_svg_graphics_audience_segmentation_collecting_data_svg__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    className: \"googlesitekit-audience-segmentation-tile__zero-data-image\"\n  }), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-audience-segmentation-tile__zero-data-description\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Site Kit is collecting data for this group.', 'google-site-kit')));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L0F1ZGllbmNlVGlsZS9BdWRpZW5jZVRpbGVDb2xsZWN0aW5nRGF0YS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9hdWRpZW5jZS1zZWdtZW50YXRpb24vZGFzaGJvYXJkL0F1ZGllbmNlVGlsZXNXaWRnZXQvQXVkaWVuY2VUaWxlL0F1ZGllbmNlVGlsZUNvbGxlY3RpbmdEYXRhLmpzP2IxYmUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBdWRpZW5jZVRpbGVDb2xsZWN0aW5nRGF0YSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRw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YXVkaWVuY2Utc2VnbWVudGF0aW9uLXRpbGVfX3plcm8tZGF0YS1pbWFnZVwiIC8+XG5cdFx0XHQ8cCBjbGFzc05hbWU9XCJnb29nbGVzaXRla2l0LWF1ZGllbmNlLXNlZ21lbnRhdGlvbi10aWxlX196ZXJvLWRhdGEtZGVzY3JpcHRpb25cIj5cblx0XHRcdFx0eyBfXyhcblx0XHRcdFx0XHQnU2l0ZSBLaXQgaXMgY29sbGVjdGluZyBkYXRhIGZvciB0aGlzIGdyb3VwLicsXG5cdFx0XHRcdFx0J2dvb2dsZS1zaXRlLWtpdCdcblx0XHRcdFx0KSB9XG5cdFx0XHQ8L3A+XG5cdFx0PC9GcmFnbWVudD5cblx0KTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUFBO0FBUUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingData.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingDataHideable.js":
/*!**************************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingDataHideable.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTileCollectingDataHideable; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _svg_icons_visibility_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/icons/visibility.svg */ \"./svg/icons/visibility.svg\");\n\n/**\n * AudienceTileCollectingDataHideable component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction AudienceTileCollectingDataHideable(_ref) {\n  var onHideTile = _ref.onHideTile;\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-audience-segmentation-tile__zero-data-description\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('You can hide this group until data is available.', 'google-site-kit')), /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    className: \"googlesitekit-audience-segmentation-tile-hide-cta\",\n    onClick: onHideTile,\n    leadingIcon: /*#__PURE__*/React.createElement(_svg_icons_visibility_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      width: 22,\n      height: 22\n    }),\n    secondary: true,\n    linkButton: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Temporarily hide', 'google-site-kit')));\n}\nAudienceTileCollectingDataHideable.propTypes = {\n  onHideTile: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L0F1ZGllbmNlVGlsZS9BdWRpZW5jZVRpbGVDb2xsZWN0aW5nRGF0YUhpZGVhYmxlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2F1ZGllbmNlLXNlZ21lbnRhdGlvbi9kYXNoYm9hcmQvQXVkaWVuY2VUaWxlc1dpZGdldC9BdWRpZW5jZVR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yAyMiB9IC8+IH1cblx0XHRcdFx0c2Vjb25kYXJ5XG5cdFx0XHRcdGxpbmtCdXR0b25cblx0XHRcdD5cblx0XHRcdFx0eyBfXyggJ1RlbXBvcmFyaWx5IGhpZGUnLCAnZ29vZ2xlLXNpdGUta2l0JyApIH1cblx0XHRcdDwvTGluaz5cblx0XHQ8L0ZyYWdtZW50PlxuXHQpO1xufVxuXG5BdWRpZW5jZVRpbGVDb2xsZWN0aW5nRGF0YUhpZGVhYmxlLnByb3BUeXBlcyA9IHtcblx0b25IaWRlVGlsZTogUHJvcFR5cGVzLmZ1bmMuaXNSZXF1aXJlZCxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUVBO0FBQUE7QUFPQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFNQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingDataHideable.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError/TileErrorContent.js":
/*!**************************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError/TileErrorContent.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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _svg_graphics_analytics_audience_segmentation_tile_error_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/graphics/analytics-audience-segmentation-tile-error.svg */ \"./svg/graphics/analytics-audience-segmentation-tile-error.svg\");\n/* harmony import */ var _js_components_ReportErrorActions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/ReportErrorActions */ \"./js/components/ReportErrorActions.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_GetHelpLink__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/GetHelpLink */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/GetHelpLink.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * TileErrorContent component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nvar TileErrorContent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n  var errors = _ref.errors,\n    onRetry = _ref.onRetry,\n    onRequestAccess = _ref.onRequestAccess;\n  var hasInsufficientPermissionsError = errors.some(function (err) {\n    return Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_3__[\"isInsufficientPermissionsError\"])(err);\n  });\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-error\",\n    ref: ref\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-error__container\"\n  }, /*#__PURE__*/React.createElement(_svg_graphics_analytics_audience_segmentation_tile_error_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    className: \"googlesitekit-audience-segmentation-tile-error__image\"\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-error__body\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-error__message\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    as: \"h3\",\n    type: \"headline\",\n    size: \"small\",\n    className: \"googlesitekit-audience-segmentation-tile-error__title\"\n  }, hasInsufficientPermissionsError ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Insufficient permissions', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Data loading failed', 'google-site-kit'))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-error__actions\"\n  }, /*#__PURE__*/React.createElement(_js_components_ReportErrorActions__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    moduleSlug: \"analytics-4\",\n    error: errors,\n    GetHelpLink: hasInsufficientPermissionsError ? _js_modules_analytics_4_components_audience_segmentation_dashboard_GetHelpLink__WEBPACK_IMPORTED_MODULE_6__[\"default\"] : undefined,\n    hideGetHelpLink: !hasInsufficientPermissionsError,\n    buttonVariant: \"danger\",\n    onRetry: onRetry,\n    onRequestAccess: onRequestAccess\n  })))));\n});\nTileErrorContent.propTypes = {\n  errors: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array.isRequired,\n  onRetry: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  onRequestAccess: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (TileErrorContent);\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError/TileErrorContent.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError/index.js":
/*!***************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTileError; });\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 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 _js_util_errors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _TileErrorContent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TileErrorContent */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError/TileErrorContent.js\");\n/* harmony import */ var _js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util/withIntersectionObserver */ \"./js/util/withIntersectionObserver.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * AudienceTileError component.\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 * Internal dependencies\n */\n\n\n\n\n\nvar TileErrorContentWithIntersectionObserver = Object(_js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_TileErrorContent__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\nfunction AudienceTileError(_ref) {\n  var audienceSlug = _ref.audienceSlug,\n    errors = _ref.errors;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n  var hasInsufficientPermissionsError = errors.some(function (err) {\n    return Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_2__[\"isInsufficientPermissionsError\"])(err);\n  });\n  return /*#__PURE__*/React.createElement(TileErrorContentWithIntersectionObserver, {\n    errors: errors,\n    onInView: function onInView() {\n      var action = hasInsufficientPermissionsError ? 'insufficient_permissions_error' : 'data_loading_error';\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), action, audienceSlug);\n    },\n    onRetry: function onRetry() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), 'data_loading_error_retry', audienceSlug);\n    },\n    onRequestAccess: function onRequestAccess() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), 'insufficient_permissions_error_request_access', audienceSlug);\n    }\n  });\n}\nAudienceTileError.propTypes = {\n  audienceSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  errors: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L0F1ZGllbmNlVGlsZS9BdWRpZW5jZVRpbGVFcnJvci9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9hdWRpZW5jZS1zZWdtZW50YXRpb24vZGFzaGJvYXJkL0F1ZGllbmNlVGlsZXNXaWRnZXQvQXVkaWVuY2VUaWxlL0F1ZGllbmNlVGlsZUVycm9yL2luZGV4LmpzPzA5NWEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBdWRpZW5jZVRpbGVFcnJvciBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdG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x0XHRcdGAkeyB2aWV3Q29udGV4dCB9X2F1ZGllbmNlcy10aWxlYCxcblx0XHRcdFx0XHQnaW5zdWZmaWNpZW50X3Blcm1pc3Npb25zX2Vycm9yX3JlcXVlc3RfYWNjZXNzJyxcblx0XHRcdFx0XHRhdWRpZW5jZVNsdWdcblx0XHRcdFx0KTtcblx0XHRcdH0gfVxuXHRcdC8+XG5cdCk7XG59XG5cbkF1ZGllbmNlVGlsZUVycm9yLnByb3BUeXBlcyA9IHtcblx0YXVkaWVuY2VTbHVnOiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWQsXG5cdGVycm9yczogUHJvcFR5cGVzLmFycmF5LmlzUmVxdWlyZWQsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFHQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBSUE7QUFLQTtBQUNBO0FBQ0E7QUFLQTtBQUNBO0FBQ0E7QUFLQTtBQUFBO0FBR0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileLoading.js":
/*!***********************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileLoading.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTileLoading; });\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_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n\n/**\n * AudienceTileLoading component.\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 * Internal dependencies\n */\n\nfunction AudienceTileLoading() {\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-loading\"\n  }, /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"100%\",\n    height: \"20px\"\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"100%\",\n    height: \"52px\"\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"100%\",\n    height: \"52px\"\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"100%\",\n    height: \"52px\"\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"100%\",\n    height: \"52px\"\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"100%\",\n    height: \"52px\"\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    width: \"100%\",\n    height: \"52px\"\n  }));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L0F1ZGllbmNlVGlsZS9BdWRpZW5jZVRpbGVMb2FkaW5nLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2F1ZGllbmNlLXNlZ21lbnRhdGlvbi9kYXNoYm9hcmQvQXVkaWVuY2VUaWxlc1dpZGdldC9BdWRpZW5jZVRpbGUvQXVkaWVuY2VUaWxlTG9hZGluZy5qcz81MGEzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQXVkaWVuY2VUaWxlTG9hZGluZyBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwi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ourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileLoading.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileMetric.js":
/*!**********************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileMetric.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTileMetric; });\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 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 _js_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * AudienceTileMetric component.\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 * Internal dependencies\n */\n\nfunction AudienceTileMetric(_ref) {\n  var TileIcon = _ref.TileIcon,\n    title = _ref.title,\n    metricValue = _ref.metricValue,\n    Badge = _ref.Badge,\n    metricValueFormat = _ref.metricValueFormat;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__icon\"\n  }, /*#__PURE__*/React.createElement(TileIcon, null)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__container\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__value\"\n  }, Object(_js_util__WEBPACK_IMPORTED_MODULE_2__[\"numFmt\"])(metricValue, metricValueFormat)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__title\"\n  }, title)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__badge-container\"\n  }, /*#__PURE__*/React.createElement(Badge, null)));\n}\nAudienceTileMetric.propTypes = {\n  TileIcon: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  metricValue: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired,\n  Badge: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  metricValueFormat: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9Bd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TtBQUdBO0FBQUE7QUFDQTtBQUFBO0FBR0E7QUFBQTtBQUlBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileMetric.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileNoData.js":
/*!**********************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileNoData.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTileNoData; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n\n/**\n * AudienceTileNoData component.\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 * WordPress dependencies\n */\n\nfunction AudienceTileNoData() {\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile__no-data\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('No data to show yet', 'google-site-kit'));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L0F1ZGllbmNlVGlsZS9BdWRpZW5jZVRpbGVOb0RhdGEuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L0F1ZGllbmNlVGlsZS9BdWRpZW5jZVRpbGVOb0RhdGEuanM/YTk3MiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEF1ZGllbmNlVGlsZU5vRGF0YSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIF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BQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUFBO0FBSUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileNoData.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTilePagesMetric.js":
/*!***************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTilePagesMetric.js ***!
  \***************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTilePagesMetric; });\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 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 _wordpress_url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\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/* 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_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_components_BadgeWithTooltip__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/BadgeWithTooltip */ \"./js/components/BadgeWithTooltip.js\");\n/* harmony import */ var _AudienceTilePagesMetricContent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./AudienceTilePagesMetricContent */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTilePagesMetricContent.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceErrorModal__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceErrorModal */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceErrorModal.js\");\n/* harmony import */ var _js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/googlesitekit/widgets/default-areas */ \"./js/googlesitekit/widgets/default-areas.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n/**\n * AudienceTilePagesMetric component.\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 * WordPress dependencies\n */\n\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction AudienceTilePagesMetric(_ref) {\n  var audienceTileNumber = _ref.audienceTileNumber,\n    audienceSlug = _ref.audienceSlug,\n    TileIcon = _ref.TileIcon,\n    title = _ref.title,\n    topContent = _ref.topContent,\n    topContentTitles = _ref.topContentTitles,\n    isTopContentPartialData = _ref.isTopContentPartialData;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__[\"useBreakpoint\"])();\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_15__[\"default\"])();\n  var postTypeDimension = _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CUSTOM_DIMENSION_DEFINITIONS\"].googlesitekit_post_type.parameterName;\n  var hasMissingCustomDimension = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).hasCustomDimensions(postTypeDimension);\n  });\n  var hasAnalyticsEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"EDIT_SCOPE\"]);\n  });\n  var redirectURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_2__[\"addQueryArgs\"])(global.location.href, {\n    notification: 'audience_segmentation',\n    widgetArea: _js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_14__[\"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION\"]\n  });\n  var errorRedirectURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_2__[\"addQueryArgs\"])(global.location.href, {\n    widgetArea: _js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_14__[\"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION\"]\n  });\n  var isAutoCreatingCustomDimensionsForAudience = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\"], 'isAutoCreatingCustomDimensionsForAudience');\n  var isCreatingCustomDimension = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).isCreatingCustomDimension(postTypeDimension);\n  });\n  var isSyncingAvailableCustomDimensions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).isFetchingSyncAvailableCustomDimensions();\n  });\n  var customDimensionError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getCreateCustomDimensionError(postTypeDimension);\n  });\n  var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]),\n    clearError = _useDispatch.clearError;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]),\n    setValues = _useDispatch2.setValues;\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]),\n    setPermissionScopeError = _useDispatch3.setPermissionScopeError,\n    clearPermissionScopeError = _useDispatch3.clearPermissionScopeError;\n  var isRetryingCustomDimensionCreate = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\"], 'isRetrying');\n  var autoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\"], 'autoSubmit');\n  var setupErrorCode = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getSetupErrorCode();\n  });\n  var _useDispatch4 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]),\n    setSetupErrorCode = _useDispatch4.setSetupErrorCode;\n  var hasOAuthError = autoSubmit && setupErrorCode === 'access_denied';\n  var onCreateCustomDimension = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      isRetrying = _ref2.isRetrying;\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\"], {\n      autoSubmit: true,\n      isRetrying: isRetrying\n    });\n    if (!hasAnalyticsEditScope) {\n      setPermissionScopeError({\n        code: _js_util_errors__WEBPACK_IMPORTED_MODULE_10__[\"ERROR_CODE_MISSING_REQUIRED_SCOPE\"],\n        message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Additional permissions are required to create new audiences in Analytics.', 'google-site-kit'),\n        data: {\n          status: 403,\n          scopes: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"EDIT_SCOPE\"]],\n          skipModal: true,\n          skipDefaultErrorNotifications: true,\n          redirectURL: redirectURL,\n          errorRedirectURL: errorRedirectURL\n        }\n      });\n    }\n  }, [hasAnalyticsEditScope, redirectURL, errorRedirectURL, setPermissionScopeError, setValues]);\n  var onCancel = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\"], {\n      autoSubmit: false,\n      isRetrying: false\n    });\n    setSetupErrorCode(null);\n    clearPermissionScopeError();\n    clearError('createCustomDimension', [propertyID, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CUSTOM_DIMENSION_DEFINITIONS\"].googlesitekit_post_type]);\n  }, [clearError, clearPermissionScopeError, propertyID, setSetupErrorCode, setValues]);\n  var isMobileBreakpoint = [_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__[\"BREAKPOINT_SMALL\"], _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__[\"BREAKPOINT_TABLET\"]].includes(breakpoint);\n  var isSaving = isAutoCreatingCustomDimensionsForAudience || isCreatingCustomDimension || isSyncingAvailableCustomDimensions;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric googlesitekit-audience-segmentation-tile-metric--top-content\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__icon\"\n  }, /*#__PURE__*/React.createElement(TileIcon, null)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__container\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__title\"\n  }, title, !isMobileBreakpoint && isTopContentPartialData && /*#__PURE__*/React.createElement(_js_components_BadgeWithTooltip__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    className: \"googlesitekit-audience-segmentation-partial-data-badge\",\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Partial data', 'google-site-kit'),\n    onTooltipOpen: function onTooltipOpen() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_16__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), 'view_top_content_partial_data_tooltip', audienceSlug);\n    },\n    tooltipTitle: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Still collecting full data for this timeframe, partial data is displayed for this metric', 'google-site-kit')\n  })), /*#__PURE__*/React.createElement(_AudienceTilePagesMetricContent__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    topContentTitles: topContentTitles,\n    topContent: topContent,\n    isTopContentPartialData: isTopContentPartialData,\n    hasCustomDimension: !hasMissingCustomDimension,\n    onCreateCustomDimension: onCreateCustomDimension,\n    isSaving: isSaving\n  }), audienceTileNumber === 0 && (customDimensionError && !isSaving || isRetryingCustomDimensionCreate && !isAutoCreatingCustomDimensionsForAudience || hasOAuthError) && /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceErrorModal__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    apiErrors: [customDimensionError],\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Failed to enable metric', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Oops! Something went wrong. Retry enabling the metric.', 'google-site-kit'),\n    onRetry: function onRetry() {\n      return onCreateCustomDimension({\n        isRetrying: true\n      });\n    },\n    onCancel: onCancel,\n    inProgress: isSaving,\n    hasOAuthError: hasOAuthError,\n    trackEventCategory: \"\".concat(viewContext, \"_audiences-top-content-cta\")\n  })));\n}\nAudienceTilePagesMetric.propTypes = {\n  audienceTileNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  audienceSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  TileIcon: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  topContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,\n  topContentTitles: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,\n  isTopContentPartialData: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTilePagesMetric.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTilePagesMetricContent.js":
/*!**********************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTilePagesMetricContent.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTilePagesMetricContent; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _AudienceTileNoData__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AudienceTileNoData */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileNoData.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _PartialDataNotice__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./PartialDataNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/PartialDataNotice.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/withIntersectionObserver */ \"./js/util/withIntersectionObserver.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _CreateCustomDimensionCTA__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./CreateCustomDimensionCTA */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/CreateCustomDimensionCTA.js\");\n\n/**\n * AudienceTilePagesMetricContent component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\nvar CreateCustomDimensionCTAWithIntersectionObserver = Object(_js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_CreateCustomDimensionCTA__WEBPACK_IMPORTED_MODULE_14__[\"default\"]);\nfunction AudienceTilePagesMetricContent(_ref) {\n  var _topContent$dimension;\n  var topContentTitles = _ref.topContentTitles,\n    topContent = _ref.topContent,\n    isTopContentPartialData = _ref.isTopContentPartialData,\n    hasCustomDimension = _ref.hasCustomDimension,\n    onCreateCustomDimension = _ref.onCreateCustomDimension,\n    isSaving = _ref.isSaving;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__[\"default\"])();\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__[\"default\"])();\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"useBreakpoint\"])();\n  var isMobileBreakpoint = [_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"], _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_TABLET\"]].includes(breakpoint);\n  var validDimensionValues = (topContent === null || topContent === void 0 ? void 0 : (_topContent$dimension = topContent.dimensionValues) === null || _topContent$dimension === void 0 ? void 0 : _topContent$dimension.filter(Boolean)) || [];\n  var hasDimensionValues = !!validDimensionValues.length;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  function handleCreateCustomDimension() {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-top-content-cta\"), 'create_custom_dimension').finally(onCreateCustomDimension);\n  }\n  function ContentLinkComponent(_ref2) {\n    var content = _ref2.content;\n    var pageTitle = topContentTitles[content === null || content === void 0 ? void 0 : content.value];\n    var url = content === null || content === void 0 ? void 0 : content.value;\n    var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n      return !viewOnlyDashboard ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n        filters: {\n          unifiedPagePathScreen: url\n        },\n        dates: dates\n      }) : null;\n    });\n    if (viewOnlyDashboard) {\n      return /*#__PURE__*/React.createElement(\"div\", {\n        className: \"googlesitekit-audience-segmentation-tile__top-content-metric-name\"\n      }, pageTitle);\n    }\n    return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      href: serviceURL,\n      title: pageTitle,\n      external: true,\n      hideExternalIndicator: true\n    }, pageTitle);\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-metric__content\"\n  }, !hasCustomDimension && /*#__PURE__*/React.createElement(CreateCustomDimensionCTAWithIntersectionObserver, {\n    onClick: handleCreateCustomDimension,\n    isSaving: isSaving,\n    onInView: function onInView() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-top-content-cta\"), 'view_cta');\n    }\n  }), hasCustomDimension && !hasDimensionValues && /*#__PURE__*/React.createElement(_AudienceTileNoData__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null), hasCustomDimension && hasDimensionValues && validDimensionValues.map(function (content, index) {\n    var _topContent$metricVal;\n    return /*#__PURE__*/React.createElement(\"div\", {\n      key: content === null || content === void 0 ? void 0 : content.value,\n      className: \"googlesitekit-audience-segmentation-tile-metric__page-metric-container\"\n    }, /*#__PURE__*/React.createElement(ContentLinkComponent, {\n      content: content\n    }), /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-audience-segmentation-tile-metric__page-metric-value\"\n    }, Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(topContent === null || topContent === void 0 ? void 0 : (_topContent$metricVal = topContent.metricValues[index]) === null || _topContent$metricVal === void 0 ? void 0 : _topContent$metricVal.value)));\n  }), isMobileBreakpoint && isTopContentPartialData && /*#__PURE__*/React.createElement(_PartialDataNotice__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Still collecting full data for this timeframe, partial data is displayed for this metric', 'google-site-kit')\n  }));\n}\nAudienceTilePagesMetricContent.propTypes = {\n  topContentTitles: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,\n  topContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,\n  isTopContentPartialData: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  hasCustomDimension: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onCreateCustomDimension: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  isSaving: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTilePagesMetricContent.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileZeroData/TileZeroDataContent.js":
/*!********************************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileZeroData/TileZeroDataContent.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 _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/InfoTooltip */ \"./js/components/InfoTooltip.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileCollectingData__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingData */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingData.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileCollectingDataHideable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingDataHideable */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCollectingDataHideable.js\");\n\n/**\n * ZeroDataContent component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nvar TileZeroDataContent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n  var Widget = _ref.Widget,\n    audienceSlug = _ref.audienceSlug,\n    title = _ref.title,\n    infoTooltip = _ref.infoTooltip,\n    isMobileBreakpoint = _ref.isMobileBreakpoint,\n    isTileHideable = _ref.isTileHideable,\n    onHideTile = _ref.onHideTile;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n  return /*#__PURE__*/React.createElement(Widget, {\n    ref: ref,\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile__zero-data-container\"\n  }, !isMobileBreakpoint && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile__header\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile__header-title\"\n  }, title, infoTooltip && /*#__PURE__*/React.createElement(_js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    title: infoTooltip,\n    tooltipClassName: \"googlesitekit-info-tooltip__content--audience\",\n    onOpen: function onOpen() {\n      return Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), 'view_tile_tooltip', audienceSlug);\n    }\n  }))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile__zero-data-content\"\n  }, /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileCollectingData__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null), isTileHideable && /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileCollectingDataHideable__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    onHideTile: onHideTile\n  })))));\n});\nTileZeroDataContent.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  audienceSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  infoTooltip: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element]),\n  isMobileBreakpoint: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  isTileHideable: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onHideTile: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (TileZeroDataContent);\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileZeroData/TileZeroDataContent.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileZeroData/index.js":
/*!******************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileZeroData/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTileZeroData; });\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 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 _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util/withIntersectionObserver */ \"./js/util/withIntersectionObserver.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _TileZeroDataContent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TileZeroDataContent */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileZeroData/TileZeroDataContent.js\");\n\n/**\n * AudienceTileZeroData component.\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 * Internal dependencies\n */\n\n\n\n\nvar TileZeroDataContentWithIntersectionObserver = Object(_js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_TileZeroDataContent__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\nfunction AudienceTileZeroData(_ref) {\n  var Widget = _ref.Widget,\n    audienceSlug = _ref.audienceSlug,\n    title = _ref.title,\n    infoTooltip = _ref.infoTooltip,\n    isMobileBreakpoint = _ref.isMobileBreakpoint,\n    isTileHideable = _ref.isTileHideable,\n    onHideTile = _ref.onHideTile;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n  function handleHideTile() {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), 'temporarily_hide', audienceSlug).finally(onHideTile);\n  }\n  return /*#__PURE__*/React.createElement(TileZeroDataContentWithIntersectionObserver, {\n    Widget: Widget,\n    audienceSlug: audienceSlug,\n    title: title,\n    infoTooltip: infoTooltip,\n    isMobileBreakpoint: isMobileBreakpoint,\n    isTileHideable: isTileHideable,\n    onHideTile: handleHideTile,\n    onInView: function onInView() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), 'view_tile_collecting_data', audienceSlug);\n    }\n  });\n}\nAudienceTileZeroData.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  audienceSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  infoTooltip: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element]),\n  isMobileBreakpoint: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  isTileHideable: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onHideTile: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileZeroData/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/CreateCustomDimensionCTA.js":
/*!****************************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/CreateCustomDimensionCTA.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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n\n/**\n * Audience Segmentation CreateCustomDimensionCTA component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\nvar CreateCustomDimensionCTA = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n  var onClick = _ref.onClick,\n    isSaving = _ref.isSaving;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    ref: ref,\n    className: \"googlesitekit-audience-segmentation-tile-metric__no-data\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('No data to show', 'google-site-kit'), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Update Analytics to track metric', 'google-site-kit')), /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"SpinnerButton\"], {\n    onClick: onClick,\n    isSaving: isSaving,\n    disabled: isSaving,\n    danger: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Update', 'google-site-kit')));\n});\nCreateCustomDimensionCTA.propTypes = {\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  isSaving: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (CreateCustomDimensionCTA);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L0F1ZGllbmNlVGlsZS9DcmVhdGVDdXN0b21EaW1lbnNpb25DVEEuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L0F1ZGllbmNlVGlsZS9DcmVhdGVDdXN0b21EaW1lbnNpb25DVEEuanM/ZGY1MiJdLCJzb3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pdCcgKSB9XG5cdFx0XHQ8L1NwaW5uZXJCdXR0b24+XG5cdFx0PC9kaXY+XG5cdCk7XG59ICk7XG5cbkNyZWF0ZUN1c3RvbURpbWVuc2lvbkNUQS5wcm9wVHlwZXMgPSB7XG5cdG9uQ2xpY2s6IFByb3BUeXBlcy5mdW5jLmlzUmVxdWlyZWQsXG5cdGlzU2F2aW5nOiBQcm9wVHlwZXMuYm9vbCxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IENyZWF0ZUN1c3RvbURpbWVuc2lvbkNUQTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFPQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBTUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/CreateCustomDimensionCTA.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/PartialDataNotice.js":
/*!*********************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/PartialDataNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return PartialDataNotice; });\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 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\n/**\n * Audience Segmentation PartialDataNotice component.\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\nfunction PartialDataNotice(_ref) {\n  var content = _ref.content;\n  return /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-audience-segmentation-partial-data-notice\"\n  }, content);\n}\nPartialDataNotice.propTypes = {\n  content: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L0F1ZG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ZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gUGFydGlhbERhdGFOb3RpY2UoIHsgY29udGVudCB9ICkge1xuXHRyZXR1cm4gKFxuXHRcdDxzcGFuIGNsYXNzTmFtZT1cImdvb2dsZXNpdGVraXQtYXVkaWVuY2Utc2VnbWVudGF0aW9uLXBhcnRpYWwtZGF0YS1ub3RpY2VcIj5cblx0XHRcdHsgY29udGVudCB9XG5cdFx0PC9zcGFuPlxuXHQpO1xufVxuXG5QYXJ0aWFsRGF0YU5vdGljZS5wcm9wVHlwZXMgPSB7XG5cdGNvbnRlbnQ6IFByb3BUeXBlcy5ub2RlLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFDQTtBQUFBO0FBSUE7QUFFQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/PartialDataNotice.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/index.js":
/*!*********************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTile; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _svg_icons_audience_metric_icon_visitors_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/svg/icons/audience-metric-icon-visitors.svg */ \"./svg/icons/audience-metric-icon-visitors.svg\");\n/* harmony import */ var _svg_icons_audience_metric_icon_visits_per_visitor_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/svg/icons/audience-metric-icon-visits-per-visitor.svg */ \"./svg/icons/audience-metric-icon-visits-per-visitor.svg\");\n/* harmony import */ var _svg_icons_audience_metric_icon_pages_per_visit_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/svg/icons/audience-metric-icon-pages-per-visit.svg */ \"./svg/icons/audience-metric-icon-pages-per-visit.svg\");\n/* harmony import */ var _svg_icons_audience_metric_icon_pageviews_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/svg/icons/audience-metric-icon-pageviews.svg */ \"./svg/icons/audience-metric-icon-pageviews.svg\");\n/* harmony import */ var _svg_icons_audience_metric_icon_cities_svg__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/svg/icons/audience-metric-icon-cities.svg */ \"./svg/icons/audience-metric-icon-cities.svg\");\n/* harmony import */ var _svg_icons_audience_metric_icon_top_content_svg__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/svg/icons/audience-metric-icon-top-content.svg */ \"./svg/icons/audience-metric-icon-top-content.svg\");\n/* harmony import */ var _AudienceTileMetric__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./AudienceTileMetric */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileMetric.js\");\n/* harmony import */ var _AudienceTileCitiesMetric__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./AudienceTileCitiesMetric */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileCitiesMetric.js\");\n/* harmony import */ var _AudienceTilePagesMetric__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./AudienceTilePagesMetric */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTilePagesMetric.js\");\n/* harmony import */ var _js_components_ChangeBadge__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/components/ChangeBadge */ \"./js/components/ChangeBadge.js\");\n/* harmony import */ var _js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/components/InfoTooltip */ \"./js/components/InfoTooltip.js\");\n/* harmony import */ var _PartialDataNotice__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./PartialDataNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/PartialDataNotice.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_BadgeWithTooltip__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/js/components/BadgeWithTooltip */ \"./js/components/BadgeWithTooltip.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _AudienceTileZeroData__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./AudienceTileZeroData */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileZeroData/index.js\");\n\n/**\n * AudienceTile component.\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\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction AudienceTile(_ref) {\n  var _ref$audienceTileNumb = _ref.audienceTileNumber,\n    audienceTileNumber = _ref$audienceTileNumb === void 0 ? 0 : _ref$audienceTileNumb,\n    audienceSlug = _ref.audienceSlug,\n    title = _ref.title,\n    infoTooltip = _ref.infoTooltip,\n    visitors = _ref.visitors,\n    visitsPerVisitor = _ref.visitsPerVisitor,\n    pagesPerVisit = _ref.pagesPerVisit,\n    pageviews = _ref.pageviews,\n    percentageOfTotalPageViews = _ref.percentageOfTotalPageViews,\n    topCities = _ref.topCities,\n    topContent = _ref.topContent,\n    topContentTitles = _ref.topContentTitles,\n    hasInvalidCustomDimensionError = _ref.hasInvalidCustomDimensionError,\n    Widget = _ref.Widget,\n    audienceResourceName = _ref.audienceResourceName,\n    isZeroData = _ref.isZeroData,\n    isPartialData = _ref.isPartialData,\n    isTileHideable = _ref.isTileHideable,\n    onHideTile = _ref.onHideTile;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__[\"useBreakpoint\"])();\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_22__[\"default\"])();\n  var isViewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n  var isPropertyPartialData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    var propertyID = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n    return propertyID && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isPropertyPartialData(propertyID);\n  });\n  var isSiteKitAudience = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isSiteKitAudience(audienceResourceName);\n  });\n  var isAudiencePartialData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    if (isSiteKitAudience || isPropertyPartialData === undefined) {\n      return false;\n    }\n    return !isPropertyPartialData && audienceResourceName && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isAudiencePartialData(audienceResourceName);\n  }, [isPropertyPartialData, isSiteKitAudience, audienceResourceName]);\n  var isTopContentPartialData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    if (isPropertyPartialData === undefined) {\n      return false;\n    }\n    return !isPropertyPartialData && !isAudiencePartialData && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isCustomDimensionPartialData('googlesitekit_post_type');\n  }, [isAudiencePartialData]);\n  var postTypeDimensionExists = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasCustomDimensions('googlesitekit_post_type');\n  }, []);\n  var isMobileBreakpoint = [_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__[\"BREAKPOINT_SMALL\"], _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__[\"BREAKPOINT_TABLET\"]].includes(breakpoint);\n  if (isPartialData && isZeroData) {\n    return /*#__PURE__*/React.createElement(_AudienceTileZeroData__WEBPACK_IMPORTED_MODULE_23__[\"default\"], {\n      Widget: Widget,\n      audienceSlug: audienceSlug,\n      title: title,\n      infoTooltip: infoTooltip,\n      isMobileBreakpoint: isMobileBreakpoint,\n      isTileHideable: isTileHideable,\n      onHideTile: onHideTile\n    });\n  }\n  return /*#__PURE__*/React.createElement(Widget, {\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-audience-segmentation-tile', {\n      'googlesitekit-audience-segmentation-tile--partial-data': isAudiencePartialData\n    })\n  }, !isMobileBreakpoint && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile__header\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile__header-title\"\n  }, title, infoTooltip && /*#__PURE__*/React.createElement(_js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n    title: infoTooltip,\n    tooltipClassName: \"googlesitekit-info-tooltip__content--audience\",\n    onOpen: function onOpen() {\n      return Object(_js_util__WEBPACK_IMPORTED_MODULE_20__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), 'view_tile_tooltip', audienceSlug);\n    }\n  })), isAudiencePartialData && /*#__PURE__*/React.createElement(_js_components_BadgeWithTooltip__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {\n    className: \"googlesitekit-audience-segmentation-partial-data-badge\",\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Partial data', 'google-site-kit'),\n    tooltipTitle: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Still collecting full data for this timeframe, partial data is displayed for this group', 'google-site-kit'),\n    onTooltipOpen: function onTooltipOpen() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_20__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), 'view_tile_partial_data_tooltip', audienceSlug);\n    }\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile__metrics\"\n  }, isMobileBreakpoint && isAudiencePartialData && /*#__PURE__*/React.createElement(_PartialDataNotice__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {\n    content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Still collecting full data for this timeframe, partial data is displayed for this group', 'google-site-kit')\n  }), /*#__PURE__*/React.createElement(_AudienceTileMetric__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    TileIcon: _svg_icons_audience_metric_icon_visitors_svg__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Visitors', 'google-site-kit'),\n    metricValue: visitors.currentValue,\n    Badge: function Badge() {\n      return /*#__PURE__*/React.createElement(_js_components_ChangeBadge__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n        previousValue: visitors.previousValue,\n        currentValue: visitors.currentValue\n      });\n    }\n  }), /*#__PURE__*/React.createElement(_AudienceTileMetric__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    TileIcon: _svg_icons_audience_metric_icon_visits_per_visitor_svg__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Visits per visitor', 'google-site-kit'),\n    metricValue: visitsPerVisitor.currentValue,\n    Badge: function Badge() {\n      return /*#__PURE__*/React.createElement(_js_components_ChangeBadge__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n        previousValue: visitsPerVisitor.previousValue,\n        currentValue: visitsPerVisitor.currentValue\n      });\n    }\n  }), /*#__PURE__*/React.createElement(_AudienceTileMetric__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    TileIcon: _svg_icons_audience_metric_icon_pages_per_visit_svg__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Pages per visit', 'google-site-kit'),\n    metricValue: pagesPerVisit.currentValue,\n    Badge: function Badge() {\n      return /*#__PURE__*/React.createElement(_js_components_ChangeBadge__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n        previousValue: pagesPerVisit.previousValue,\n        currentValue: pagesPerVisit.currentValue\n      });\n    },\n    metricValueFormat: {\n      style: 'decimal',\n      maximumFractionDigits: 2\n    }\n  }), /*#__PURE__*/React.createElement(_AudienceTileMetric__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    TileIcon: _svg_icons_audience_metric_icon_pageviews_svg__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: is a percentage value such as 33.3%. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('%s of total pageviews', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_20__[\"numFmt\"])(percentageOfTotalPageViews, {\n      style: 'percent',\n      maximumFractionDigits: 1\n    })),\n    metricValue: pageviews.currentValue,\n    Badge: function Badge() {\n      return /*#__PURE__*/React.createElement(_js_components_ChangeBadge__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n        previousValue: pageviews.previousValue,\n        currentValue: pageviews.currentValue\n      });\n    }\n  }), /*#__PURE__*/React.createElement(_AudienceTileCitiesMetric__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    TileIcon: _svg_icons_audience_metric_icon_cities_svg__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Cities with the most visitors', 'google-site-kit'),\n    topCities: topCities\n  }), (!isViewOnly || postTypeDimensionExists && !hasInvalidCustomDimensionError) && /*#__PURE__*/React.createElement(_AudienceTilePagesMetric__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    audienceTileNumber: audienceTileNumber,\n    audienceSlug: audienceSlug,\n    TileIcon: _svg_icons_audience_metric_icon_top_content_svg__WEBPACK_IMPORTED_MODULE_13__[\"default\"],\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Top content by pageviews', 'google-site-kit'),\n    topContentTitles: topContentTitles,\n    topContent: topContent,\n    isTopContentPartialData: isTopContentPartialData\n  }))));\n}\nAudienceTile.propTypes = {\n  audienceTileNumber: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,\n  audienceSlug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  infoTooltip: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element]),\n  visitors: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object,\n  visitsPerVisitor: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object,\n  pagesPerVisit: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object,\n  pageviews: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object,\n  percentageOfTotalPageViews: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number,\n  topCities: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object,\n  topContent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object,\n  topContentTitles: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object,\n  hasInvalidCustomDimensionError: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired,\n  audienceResourceName: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  isZeroData: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  isPartialData: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  isTileHideable: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  onHideTile: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/Body.js":
/*!*********************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/Body.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Body; });\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/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/custom-dimensions */ \"./js/modules/analytics-4/utils/custom-dimensions.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_report_rows_with_set_values__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/report-rows-with-set-values */ \"./js/modules/analytics-4/utils/report-rows-with-set-values.js\");\n/* harmony import */ var _js_modules_analytics_4_hooks_useAudienceTilesReports__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useAudienceTilesReports */ \"./js/modules/analytics-4/hooks/useAudienceTilesReports.js\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSegmentationErrorWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileLoading */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileLoading.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileError__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError/index.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/index.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTooltipMessage__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTooltipMessage */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTooltipMessage.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_MaybePlaceholderTile__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/MaybePlaceholderTile */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/MaybePlaceholderTile.js\");\n\n\n\n/**\n * AudienceTilesWidget Body component.\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\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction hasZeroDataForAudience(report, dimensionName) {\n  var _report$rows, _audienceData$metricV, _audienceData$metricV2;\n  var audienceData = report === null || report === void 0 ? void 0 : (_report$rows = report.rows) === null || _report$rows === void 0 ? void 0 : _report$rows.find(function (row) {\n    var _row$dimensionValues, _row$dimensionValues$;\n    return ((_row$dimensionValues = row.dimensionValues) === null || _row$dimensionValues === void 0 ? void 0 : (_row$dimensionValues$ = _row$dimensionValues[0]) === null || _row$dimensionValues$ === void 0 ? void 0 : _row$dimensionValues$.value) === dimensionName;\n  });\n  var totalUsers = (audienceData === null || audienceData === void 0 ? void 0 : (_audienceData$metricV = audienceData.metricValues) === null || _audienceData$metricV === void 0 ? void 0 : (_audienceData$metricV2 = _audienceData$metricV[0]) === null || _audienceData$metricV2 === void 0 ? void 0 : _audienceData$metricV2.value) || 0;\n  return totalUsers === 0;\n}\nfunction Body(_ref) {\n  var activeTileIndex = _ref.activeTileIndex,\n    allTilesError = _ref.allTilesError,\n    individualTileErrors = _ref.individualTileErrors,\n    loading = _ref.loading,\n    topCitiesReportsLoaded = _ref.topCitiesReportsLoaded,\n    topContentReportsLoaded = _ref.topContentReportsLoaded,\n    topContentPageTitlesReportsLoaded = _ref.topContentPageTitlesReportsLoaded,\n    visibleAudiences = _ref.visibleAudiences,\n    Widget = _ref.Widget;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_10__[\"useBreakpoint\"])();\n  var isViewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_11__[\"default\"])();\n  var isTabbedBreakpoint = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_10__[\"BREAKPOINT_SMALL\"] || breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_10__[\"BREAKPOINT_TABLET\"];\n  var audiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n  }, []);\n\n  // An array of audience resource names.\n  var configuredAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getConfiguredAudiences();\n  }, []);\n  var _ref2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n      return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getConfiguredSiteKitAndOtherAudiences();\n    }) || [[], []],\n    _ref3 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_ref2, 2),\n    siteKitAudiences = _ref3[0],\n    otherAudiences = _ref3[1];\n  var isSiteKitAudiencePartialData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasAudiencePartialData(siteKitAudiences);\n  });\n  var partialDataStates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.reduce(function (acc, audienceResourceName) {\n      acc[audienceResourceName] = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isAudiencePartialData(audienceResourceName);\n      return acc;\n    }, {});\n  }, [configuredAudiences]);\n  var _useAudienceTilesRepo = Object(_js_modules_analytics_4_hooks_useAudienceTilesReports__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({\n      isSiteKitAudiencePartialData: isSiteKitAudiencePartialData,\n      siteKitAudiences: siteKitAudiences,\n      otherAudiences: otherAudiences\n    }),\n    report = _useAudienceTilesRepo.report,\n    reportError = _useAudienceTilesRepo.reportError,\n    siteKitAudiencesReport = _useAudienceTilesRepo.siteKitAudiencesReport,\n    totalPageviews = _useAudienceTilesRepo.totalPageviews,\n    totalPageviewsReportError = _useAudienceTilesRepo.totalPageviewsReportError,\n    topCitiesReport = _useAudienceTilesRepo.topCitiesReport,\n    topContentReport = _useAudienceTilesRepo.topContentReport,\n    topContentReportErrors = _useAudienceTilesRepo.topContentReportErrors,\n    topContentPageTitlesReport = _useAudienceTilesRepo.topContentPageTitlesReport,\n    topContentPageTitlesReportErrors = _useAudienceTilesRepo.topContentPageTitlesReportErrors;\n  function getAudienceTileMetrics(audienceResourceName) {\n    var _siteKitAudiences$fin;\n    var isSiteKitAudience = siteKitAudiences.some(function (audience) {\n      return audience.name === audienceResourceName;\n    });\n\n    // Get the audience slug (e.g., 'new-visitors', 'returning-visitors').\n    var audienceSlug = (_siteKitAudiences$fin = siteKitAudiences.find(function (audience) {\n      return audience.name === audienceResourceName;\n    })) === null || _siteKitAudiences$fin === void 0 ? void 0 : _siteKitAudiences$fin.audienceSlug;\n    function findMetricsForDateRange(dateRange) {\n      var _row, _row$metricValues, _row$metricValues$, _row2, _row2$metricValues, _row2$metricValues$, _row3, _row3$metricValues, _row3$metricValues$, _row4, _row4$metricValues, _row4$metricValues$;\n      var row;\n      if (isSiteKitAudience && isSiteKitAudiencePartialData) {\n        var _siteKitAudiencesRepo;\n        // Determine the dimension value ('new' or 'returning') for Site Kit audiences.\n        var dimensionValue = audienceSlug === 'new-visitors' ? 'new' : 'returning';\n        row = siteKitAudiencesReport === null || siteKitAudiencesReport === void 0 ? void 0 : (_siteKitAudiencesRepo = siteKitAudiencesReport.rows) === null || _siteKitAudiencesRepo === void 0 ? void 0 : _siteKitAudiencesRepo.find(function (_ref4) {\n          var _dimensionValues$, _dimensionValues$2;\n          var dimensionValues = _ref4.dimensionValues;\n          return (dimensionValues === null || dimensionValues === void 0 ? void 0 : (_dimensionValues$ = dimensionValues[0]) === null || _dimensionValues$ === void 0 ? void 0 : _dimensionValues$.value) === dimensionValue && (dimensionValues === null || dimensionValues === void 0 ? void 0 : (_dimensionValues$2 = dimensionValues[1]) === null || _dimensionValues$2 === void 0 ? void 0 : _dimensionValues$2.value) === dateRange;\n        });\n      } else {\n        var _report$rows2;\n        row = report === null || report === void 0 ? void 0 : (_report$rows2 = report.rows) === null || _report$rows2 === void 0 ? void 0 : _report$rows2.find(function (_ref5) {\n          var _dimensionValues$3, _dimensionValues$4;\n          var dimensionValues = _ref5.dimensionValues;\n          return (dimensionValues === null || dimensionValues === void 0 ? void 0 : (_dimensionValues$3 = dimensionValues[0]) === null || _dimensionValues$3 === void 0 ? void 0 : _dimensionValues$3.value) === audienceResourceName && (dimensionValues === null || dimensionValues === void 0 ? void 0 : (_dimensionValues$4 = dimensionValues[1]) === null || _dimensionValues$4 === void 0 ? void 0 : _dimensionValues$4.value) === dateRange;\n        });\n      }\n      return [Number(((_row = row) === null || _row === void 0 ? void 0 : (_row$metricValues = _row.metricValues) === null || _row$metricValues === void 0 ? void 0 : (_row$metricValues$ = _row$metricValues[0]) === null || _row$metricValues$ === void 0 ? void 0 : _row$metricValues$.value) || 0),\n      // totalUsers\n      Number(((_row2 = row) === null || _row2 === void 0 ? void 0 : (_row2$metricValues = _row2.metricValues) === null || _row2$metricValues === void 0 ? void 0 : (_row2$metricValues$ = _row2$metricValues[1]) === null || _row2$metricValues$ === void 0 ? void 0 : _row2$metricValues$.value) || 0),\n      // sessionsPerUser\n      Number(((_row3 = row) === null || _row3 === void 0 ? void 0 : (_row3$metricValues = _row3.metricValues) === null || _row3$metricValues === void 0 ? void 0 : (_row3$metricValues$ = _row3$metricValues[2]) === null || _row3$metricValues$ === void 0 ? void 0 : _row3$metricValues$.value) || 0),\n      // screenPageViewsPerSession\n      Number(((_row4 = row) === null || _row4 === void 0 ? void 0 : (_row4$metricValues = _row4.metricValues) === null || _row4$metricValues === void 0 ? void 0 : (_row4$metricValues$ = _row4$metricValues[3]) === null || _row4$metricValues$ === void 0 ? void 0 : _row4$metricValues$.value) || 0) // screenPageViews\n      ];\n    }\n    var currentMetrics = findMetricsForDateRange('date_range_0');\n    var previousMetrics = findMetricsForDateRange('date_range_1');\n    return {\n      current: currentMetrics,\n      previous: previousMetrics\n    };\n  }\n  function getAudienceTileData(audienceResourceName, audienceIndex) {\n    var _audiences$filter, _audiences$filter$, _audiences$filter2, _audiences$filter2$, _topContentPageTitles, _topContentPageTitles2;\n    var audienceName = (audiences === null || audiences === void 0 ? void 0 : (_audiences$filter = audiences.filter(function (_ref6) {\n      var name = _ref6.name;\n      return name === audienceResourceName;\n    })) === null || _audiences$filter === void 0 ? void 0 : (_audiences$filter$ = _audiences$filter[0]) === null || _audiences$filter$ === void 0 ? void 0 : _audiences$filter$.displayName) || '';\n    var audienceSlug = (audiences === null || audiences === void 0 ? void 0 : (_audiences$filter2 = audiences.filter(function (_ref7) {\n      var name = _ref7.name;\n      return name === audienceResourceName;\n    })) === null || _audiences$filter2 === void 0 ? void 0 : (_audiences$filter2$ = _audiences$filter2[0]) === null || _audiences$filter2$ === void 0 ? void 0 : _audiences$filter2$.audienceSlug) || '';\n    var _getAudienceTileMetri = getAudienceTileMetrics(audienceResourceName),\n      current = _getAudienceTileMetri.current,\n      previous = _getAudienceTileMetri.previous;\n    var visitors = current[0];\n    var prevVisitors = previous[0];\n    var visitsPerVisitors = current[1];\n    var prevVisitsPerVisitors = previous[1];\n    var pagesPerVisit = current[2];\n    var prevPagesPerVisit = previous[2];\n    var pageviews = current[3];\n    var prevPageviews = previous[3];\n    var topCities = topCitiesReport === null || topCitiesReport === void 0 ? void 0 : topCitiesReport[audienceIndex];\n    var topContent = topContentReport === null || topContentReport === void 0 ? void 0 : topContentReport[audienceIndex];\n    var topContentTitles = (topContentPageTitlesReport === null || topContentPageTitlesReport === void 0 ? void 0 : (_topContentPageTitles = topContentPageTitlesReport[audienceIndex]) === null || _topContentPageTitles === void 0 ? void 0 : (_topContentPageTitles2 = _topContentPageTitles.rows) === null || _topContentPageTitles2 === void 0 ? void 0 : _topContentPageTitles2.reduce(function (acc, row) {\n      acc[row.dimensionValues[0].value] = row.dimensionValues[1].value;\n      return acc;\n    }, {})) || {};\n    var isSiteKitAudience = siteKitAudiences.some(function (audience) {\n      return audience.name === audienceResourceName;\n    });\n    var reportToCheck = report;\n    var dimensionValue = audienceResourceName;\n    if (isSiteKitAudience && isSiteKitAudiencePartialData) {\n      // If it's a Site Kit audience in a partial data state, use the siteKitAudiencesReport.\n      reportToCheck = siteKitAudiencesReport;\n\n      // Determine the dimension value ('new' or 'returning') for Site Kit audiences.\n      dimensionValue = audienceSlug === 'new-visitors' ? 'new' : 'returning';\n    }\n    var isZeroData = hasZeroDataForAudience(reportToCheck, dimensionValue);\n    var isPartialData = isSiteKitAudience ? false : partialDataStates[audienceResourceName];\n    return {\n      audienceName: audienceName,\n      audienceSlug: audienceSlug,\n      visitors: visitors,\n      prevVisitors: prevVisitors,\n      visitsPerVisitors: visitsPerVisitors,\n      prevVisitsPerVisitors: prevVisitsPerVisitors,\n      pagesPerVisit: pagesPerVisit,\n      prevPagesPerVisit: prevPagesPerVisit,\n      pageviews: pageviews,\n      prevPageviews: prevPageviews,\n      topCities: topCities,\n      topContent: topContent,\n      topContentTitles: topContentTitles,\n      isZeroData: isZeroData,\n      isPartialData: isPartialData\n    };\n  }\n  var hasInvalidCustomDimensionError = Object.values(topContentReportErrors).some(_js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_7__[\"isInvalidCustomDimensionError\"]) || Object.values(topContentPageTitlesReportErrors).some(_js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_7__[\"isInvalidCustomDimensionError\"]);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]),\n    dismissItem = _useDispatch.dismissItem;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]),\n    fetchSyncAvailableCustomDimensions = _useDispatch2.fetchSyncAvailableCustomDimensions;\n  var handleDismiss = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(function (audienceResourceName) {\n    dismissItem(\"audience-tile-\".concat(audienceResourceName));\n  }, [dismissItem]);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    if (!isViewOnly && hasInvalidCustomDimensionError) {\n      fetchSyncAvailableCustomDimensions();\n    }\n  }, [fetchSyncAvailableCustomDimensions, hasInvalidCustomDimensionError, isViewOnly]);\n\n  // TODO: The variable `audienceTileNumber` is part of a temporary workaround to ensure `AudienceErrorModal` is only rendered once\n  // within `AudienceTilesWidget`. This should be removed once the `AudienceErrorModal` render is extracted\n  // from `AudienceTilePagesMetric` and it's rendered once at a higher level instead. See https://github.com/google/site-kit-wp/issues/9543.\n  var audienceTileNumber = 0;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget-audience-tiles__body\"\n  }, allTilesError && !loading && /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSegmentationErrorWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    Widget: Widget,\n    errors: [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(Object.values(individualTileErrors).flat(2)), [reportError, totalPageviewsReportError])\n  }), (allTilesError === false || loading) && visibleAudiences.map(function (audienceResourceName, index) {\n    var _filteredTopCitiesRow, _filteredTopCitiesRow2, _filteredTopCitiesRow3, _filteredTopCitiesRow4, _filteredTopCitiesRow5, _filteredTopCitiesRow6, _filteredTopCitiesRow7, _filteredTopCitiesRow8, _filteredTopCitiesRow9, _filteredTopCitiesRow10, _filteredTopCitiesRow11, _filteredTopCitiesRow12, _topContent$rows, _topContent$rows$, _topContent$rows$$dim, _topContent$rows2, _topContent$rows2$, _topContent$rows2$$di, _topContent$rows3, _topContent$rows3$, _topContent$rows3$$di, _topContent$rows4, _topContent$rows4$, _topContent$rows4$$me, _topContent$rows5, _topContent$rows5$, _topContent$rows5$$me, _topContent$rows6, _topContent$rows6$, _topContent$rows6$$me;\n    // Conditionally render only the selected audience tile on mobile.\n    if (isTabbedBreakpoint && index !== activeTileIndex) {\n      return null;\n    }\n    var _getAudienceTileData = getAudienceTileData(audienceResourceName, index),\n      audienceName = _getAudienceTileData.audienceName,\n      audienceSlug = _getAudienceTileData.audienceSlug,\n      visitors = _getAudienceTileData.visitors,\n      prevVisitors = _getAudienceTileData.prevVisitors,\n      visitsPerVisitors = _getAudienceTileData.visitsPerVisitors,\n      prevVisitsPerVisitors = _getAudienceTileData.prevVisitsPerVisitors,\n      pagesPerVisit = _getAudienceTileData.pagesPerVisit,\n      prevPagesPerVisit = _getAudienceTileData.prevPagesPerVisit,\n      pageviews = _getAudienceTileData.pageviews,\n      prevPageviews = _getAudienceTileData.prevPageviews,\n      topCities = _getAudienceTileData.topCities,\n      topContent = _getAudienceTileData.topContent,\n      topContentTitles = _getAudienceTileData.topContentTitles,\n      isZeroData = _getAudienceTileData.isZeroData,\n      isPartialData = _getAudienceTileData.isPartialData; // Filter (not set) value from the top countries report if present.\n    var filteredTopCitiesRows = (topCities === null || topCities === void 0 ? void 0 : topCities.rows) ? Object(_js_modules_analytics_4_utils_report_rows_with_set_values__WEBPACK_IMPORTED_MODULE_8__[\"reportRowsWithSetValues\"])(topCities.rows) : [];\n\n    // Return loading tile if data is not yet loaded.\n    if (loading || !(topCitiesReportsLoaded === null || topCitiesReportsLoaded === void 0 ? void 0 : topCitiesReportsLoaded[audienceResourceName]) || !(topContentReportsLoaded === null || topContentReportsLoaded === void 0 ? void 0 : topContentReportsLoaded[audienceResourceName]) || !(topContentPageTitlesReportsLoaded === null || topContentPageTitlesReportsLoaded === void 0 ? void 0 : topContentPageTitlesReportsLoaded[audienceResourceName]) || isZeroData === undefined || isPartialData === undefined) {\n      return /*#__PURE__*/React.createElement(Widget, {\n        key: audienceResourceName,\n        noPadding: true\n      }, /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_13__[\"default\"], null));\n    }\n\n    // If errored, skip rendering.\n    if (individualTileErrors[audienceResourceName].length > 0) {\n      return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileError__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n        key: audienceResourceName,\n        audienceSlug: audienceSlug,\n        errors: individualTileErrors[audienceResourceName]\n      });\n    }\n    return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n      key: audienceResourceName,\n      audienceTileNumber: audienceTileNumber++,\n      audienceSlug: audienceSlug,\n      title: audienceName,\n      infoTooltip: /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTooltipMessage__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n        audienceName: audienceName,\n        audienceSlug: audienceSlug\n      }),\n      visitors: {\n        currentValue: visitors,\n        previousValue: prevVisitors\n      },\n      visitsPerVisitor: {\n        currentValue: visitsPerVisitors,\n        previousValue: prevVisitsPerVisitors\n      },\n      pagesPerVisit: {\n        currentValue: pagesPerVisit,\n        previousValue: prevPagesPerVisit\n      },\n      pageviews: {\n        currentValue: pageviews,\n        previousValue: prevPageviews\n      },\n      percentageOfTotalPageViews: totalPageviews !== 0 ? pageviews / totalPageviews : 0,\n      topCities: {\n        dimensionValues: [filteredTopCitiesRows === null || filteredTopCitiesRows === void 0 ? void 0 : (_filteredTopCitiesRow = filteredTopCitiesRows[0]) === null || _filteredTopCitiesRow === void 0 ? void 0 : (_filteredTopCitiesRow2 = _filteredTopCitiesRow.dimensionValues) === null || _filteredTopCitiesRow2 === void 0 ? void 0 : _filteredTopCitiesRow2[0], filteredTopCitiesRows === null || filteredTopCitiesRows === void 0 ? void 0 : (_filteredTopCitiesRow3 = filteredTopCitiesRows[1]) === null || _filteredTopCitiesRow3 === void 0 ? void 0 : (_filteredTopCitiesRow4 = _filteredTopCitiesRow3.dimensionValues) === null || _filteredTopCitiesRow4 === void 0 ? void 0 : _filteredTopCitiesRow4[0], filteredTopCitiesRows === null || filteredTopCitiesRows === void 0 ? void 0 : (_filteredTopCitiesRow5 = filteredTopCitiesRows[2]) === null || _filteredTopCitiesRow5 === void 0 ? void 0 : (_filteredTopCitiesRow6 = _filteredTopCitiesRow5.dimensionValues) === null || _filteredTopCitiesRow6 === void 0 ? void 0 : _filteredTopCitiesRow6[0]],\n        metricValues: [filteredTopCitiesRows === null || filteredTopCitiesRows === void 0 ? void 0 : (_filteredTopCitiesRow7 = filteredTopCitiesRows[0]) === null || _filteredTopCitiesRow7 === void 0 ? void 0 : (_filteredTopCitiesRow8 = _filteredTopCitiesRow7.metricValues) === null || _filteredTopCitiesRow8 === void 0 ? void 0 : _filteredTopCitiesRow8[0], filteredTopCitiesRows === null || filteredTopCitiesRows === void 0 ? void 0 : (_filteredTopCitiesRow9 = filteredTopCitiesRows[1]) === null || _filteredTopCitiesRow9 === void 0 ? void 0 : (_filteredTopCitiesRow10 = _filteredTopCitiesRow9.metricValues) === null || _filteredTopCitiesRow10 === void 0 ? void 0 : _filteredTopCitiesRow10[0], filteredTopCitiesRows === null || filteredTopCitiesRows === void 0 ? void 0 : (_filteredTopCitiesRow11 = filteredTopCitiesRows[2]) === null || _filteredTopCitiesRow11 === void 0 ? void 0 : (_filteredTopCitiesRow12 = _filteredTopCitiesRow11.metricValues) === null || _filteredTopCitiesRow12 === void 0 ? void 0 : _filteredTopCitiesRow12[0]],\n        total: visitors\n      },\n      topContent: {\n        dimensionValues: [topContent === null || topContent === void 0 ? void 0 : (_topContent$rows = topContent.rows) === null || _topContent$rows === void 0 ? void 0 : (_topContent$rows$ = _topContent$rows[0]) === null || _topContent$rows$ === void 0 ? void 0 : (_topContent$rows$$dim = _topContent$rows$.dimensionValues) === null || _topContent$rows$$dim === void 0 ? void 0 : _topContent$rows$$dim[0], topContent === null || topContent === void 0 ? void 0 : (_topContent$rows2 = topContent.rows) === null || _topContent$rows2 === void 0 ? void 0 : (_topContent$rows2$ = _topContent$rows2[1]) === null || _topContent$rows2$ === void 0 ? void 0 : (_topContent$rows2$$di = _topContent$rows2$.dimensionValues) === null || _topContent$rows2$$di === void 0 ? void 0 : _topContent$rows2$$di[0], topContent === null || topContent === void 0 ? void 0 : (_topContent$rows3 = topContent.rows) === null || _topContent$rows3 === void 0 ? void 0 : (_topContent$rows3$ = _topContent$rows3[2]) === null || _topContent$rows3$ === void 0 ? void 0 : (_topContent$rows3$$di = _topContent$rows3$.dimensionValues) === null || _topContent$rows3$$di === void 0 ? void 0 : _topContent$rows3$$di[0]],\n        metricValues: [topContent === null || topContent === void 0 ? void 0 : (_topContent$rows4 = topContent.rows) === null || _topContent$rows4 === void 0 ? void 0 : (_topContent$rows4$ = _topContent$rows4[0]) === null || _topContent$rows4$ === void 0 ? void 0 : (_topContent$rows4$$me = _topContent$rows4$.metricValues) === null || _topContent$rows4$$me === void 0 ? void 0 : _topContent$rows4$$me[0], topContent === null || topContent === void 0 ? void 0 : (_topContent$rows5 = topContent.rows) === null || _topContent$rows5 === void 0 ? void 0 : (_topContent$rows5$ = _topContent$rows5[1]) === null || _topContent$rows5$ === void 0 ? void 0 : (_topContent$rows5$$me = _topContent$rows5$.metricValues) === null || _topContent$rows5$$me === void 0 ? void 0 : _topContent$rows5$$me[0], topContent === null || topContent === void 0 ? void 0 : (_topContent$rows6 = topContent.rows) === null || _topContent$rows6 === void 0 ? void 0 : (_topContent$rows6$ = _topContent$rows6[2]) === null || _topContent$rows6$ === void 0 ? void 0 : (_topContent$rows6$$me = _topContent$rows6$.metricValues) === null || _topContent$rows6$$me === void 0 ? void 0 : _topContent$rows6$$me[0]]\n      },\n      topContentTitles: topContentTitles,\n      hasInvalidCustomDimensionError: hasInvalidCustomDimensionError,\n      Widget: Widget,\n      audienceResourceName: audienceResourceName,\n      isZeroData: isZeroData,\n      isPartialData: isPartialData,\n      isTileHideable: visibleAudiences.length > 1,\n      onHideTile: function onHideTile() {\n        return handleDismiss(audienceResourceName);\n      }\n    });\n  }), !isTabbedBreakpoint && /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_MaybePlaceholderTile__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n    Widget: Widget,\n    loading: loading,\n    allTilesError: allTilesError,\n    visibleAudienceCount: visibleAudiences.length\n  }));\n}\nBody.propTypes = {\n  activeTileIndex: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number.isRequired,\n  allTilesError: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool.isRequired,\n  individualTileErrors: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,\n  loading: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool.isRequired,\n  topCitiesReportsLoaded: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object.isRequired,\n  topContentReportsLoaded: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object.isRequired,\n  topContentPageTitlesReportsLoaded: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object.isRequired,\n  visibleAudiences: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array.isRequired,\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/Body.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/Header.js":
/*!***********************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/Header.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Header; });\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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTooltipMessage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTooltipMessage */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTooltipMessage.js\");\n/* harmony import */ var _js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/InfoTooltip */ \"./js/components/InfoTooltip.js\");\n\n/**\n * AudienceTilesWidget Header component.\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\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction Header(_ref) {\n  var activeTileIndex = _ref.activeTileIndex,\n    setActiveTile = _ref.setActiveTile,\n    visibleAudiences = _ref.visibleAudiences;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n  var audiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n  }, []);\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_1__[\"TabBar\"]\n  // Force re-render when the number of audiences change, this is a workaround for a bug in TabBar which maintains an internal list of tabs but doesn't update it when the number of tabs is reduced.\n  , {\n    key: visibleAudiences.length,\n    className: \"googlesitekit-widget-audience-tiles__tabs googlesitekit-tab-bar--start-aligned-high-contrast\",\n    activeIndex: activeTileIndex,\n    handleActiveIndexUpdate: function handleActiveIndexUpdate(index) {\n      return setActiveTile(visibleAudiences[index]);\n    }\n  }, visibleAudiences.map(function (audienceResourceName, index) {\n    var _audiences$filter, _audiences$filter$, _audiences$filter2, _audiences$filter2$;\n    var audienceName = (audiences === null || audiences === void 0 ? void 0 : (_audiences$filter = audiences.filter(function (_ref2) {\n      var name = _ref2.name;\n      return name === audienceResourceName;\n    })) === null || _audiences$filter === void 0 ? void 0 : (_audiences$filter$ = _audiences$filter[0]) === null || _audiences$filter$ === void 0 ? void 0 : _audiences$filter$.displayName) || '';\n    var audienceSlug = (audiences === null || audiences === void 0 ? void 0 : (_audiences$filter2 = audiences.filter(function (_ref3) {\n      var name = _ref3.name;\n      return name === audienceResourceName;\n    })) === null || _audiences$filter2 === void 0 ? void 0 : (_audiences$filter2$ = _audiences$filter2[0]) === null || _audiences$filter2$ === void 0 ? void 0 : _audiences$filter2$.audienceSlug) || '';\n    var tooltipMessage = /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTooltipMessage__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      audienceName: audienceName,\n      audienceSlug: audienceSlug\n    });\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_1__[\"Tab\"]\n    // It's a bit counterintuitive, but we need to use `index` as the key here due to how the internal implementation of TabBar works.\n    // Specifically, how it maintains an internal list of tabs and pushes new tabs onto the end of the list when it sees a new child. See the use of pushToTabList in renderTab:\n    // https://github.com/material-components/material-components-web-react/blob/04ecb80383e49ff0dea765d5fc0d14a442a73c92/packages/tab-bar/index.tsx#L202-L212\n    // If we use `audienceResourceName` as the key, and the list of audiences changes, the TabBar's internal list of tabs may go out of sync with the rendered list\n    // and the wrong tab will be selected when switching between audiences.\n    , {\n      key: index,\n      \"aria-label\": audienceName\n    }, audienceName, /*#__PURE__*/React.createElement(_js_components_InfoTooltip__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n      title: tooltipMessage,\n      tooltipClassName: \"googlesitekit-info-tooltip__content--audience\",\n      onOpen: function onOpen() {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-tile\"), 'view_tile_tooltip', audienceSlug);\n      }\n    }));\n  }));\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/Header.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/index.js":
/*!**********************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTiles; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _Body__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Body */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/Body.js\");\n/* harmony import */ var _Header__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Header */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/Header.js\");\n/* harmony import */ var _js_modules_analytics_4_hooks_useAudienceTilesReports__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useAudienceTilesReports */ \"./js/modules/analytics-4/hooks/useAudienceTilesReports.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/custom-dimensions */ \"./js/modules/analytics-4/utils/custom-dimensions.js\");\n\n\n/**\n * AudienceTilesWidget component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction hasZeroDataForAudience(report, dimensionName) {\n  var _report$rows, _audienceData$metricV, _audienceData$metricV2;\n  var audienceData = report === null || report === void 0 ? void 0 : (_report$rows = report.rows) === null || _report$rows === void 0 ? void 0 : _report$rows.find(function (row) {\n    var _row$dimensionValues, _row$dimensionValues$;\n    return ((_row$dimensionValues = row.dimensionValues) === null || _row$dimensionValues === void 0 ? void 0 : (_row$dimensionValues$ = _row$dimensionValues[0]) === null || _row$dimensionValues$ === void 0 ? void 0 : _row$dimensionValues$.value) === dimensionName;\n  });\n  var totalUsers = (audienceData === null || audienceData === void 0 ? void 0 : (_audienceData$metricV = audienceData.metricValues) === null || _audienceData$metricV === void 0 ? void 0 : (_audienceData$metricV2 = _audienceData$metricV[0]) === null || _audienceData$metricV2 === void 0 ? void 0 : _audienceData$metricV2.value) || 0;\n  return totalUsers === 0;\n}\nfunction AudienceTiles(_ref) {\n  var Widget = _ref.Widget,\n    widgetLoading = _ref.widgetLoading;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"useBreakpoint\"])();\n  var isTabbedBreakpoint = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"] || breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_TABLET\"];\n\n  // An array of audience resource names.\n  var configuredAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getConfiguredAudiences();\n  }, []);\n  var audiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n  }, []);\n  var _ref2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n      return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getConfiguredSiteKitAndOtherAudiences();\n    }) || [[], []],\n    _ref3 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref2, 2),\n    siteKitAudiences = _ref3[0],\n    otherAudiences = _ref3[1];\n  var isSiteKitAudiencePartialData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasAudiencePartialData(siteKitAudiences);\n  });\n  var _useAudienceTilesRepo = Object(_js_modules_analytics_4_hooks_useAudienceTilesReports__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({\n      isSiteKitAudiencePartialData: isSiteKitAudiencePartialData,\n      siteKitAudiences: siteKitAudiences,\n      otherAudiences: otherAudiences\n    }),\n    report = _useAudienceTilesRepo.report,\n    reportLoaded = _useAudienceTilesRepo.reportLoaded,\n    reportError = _useAudienceTilesRepo.reportError,\n    siteKitAudiencesReport = _useAudienceTilesRepo.siteKitAudiencesReport,\n    siteKitAudiencesReportLoaded = _useAudienceTilesRepo.siteKitAudiencesReportLoaded,\n    siteKitAudiencesReportError = _useAudienceTilesRepo.siteKitAudiencesReportError,\n    totalPageviewsReportLoaded = _useAudienceTilesRepo.totalPageviewsReportLoaded,\n    totalPageviewsReportError = _useAudienceTilesRepo.totalPageviewsReportError,\n    topCitiesReportsLoaded = _useAudienceTilesRepo.topCitiesReportsLoaded,\n    topCitiesReportErrors = _useAudienceTilesRepo.topCitiesReportErrors,\n    topContentReportsLoaded = _useAudienceTilesRepo.topContentReportsLoaded,\n    topContentReportErrors = _useAudienceTilesRepo.topContentReportErrors,\n    topContentPageTitlesReportsLoaded = _useAudienceTilesRepo.topContentPageTitlesReportsLoaded,\n    topContentPageTitlesReportErrors = _useAudienceTilesRepo.topContentPageTitlesReportErrors;\n  var individualTileErrors = configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.reduce(function (acc, audienceResourceName) {\n    acc[audienceResourceName] = [];\n    [topCitiesReportErrors, topContentReportErrors, topContentPageTitlesReportErrors].forEach(function (reportErrors) {\n      var error = reportErrors[audienceResourceName];\n\n      // Filter out invalid custom dimension errors which only relate to the \"Top content\" metric area,\n      // as we still want to show the tile in this case.\n      if (error && !Object(_js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_10__[\"isInvalidCustomDimensionError\"])(error)) {\n        acc[audienceResourceName].push(error);\n      }\n    });\n    return acc;\n  }, {});\n  var dismissedItems = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getDismissedItems();\n  });\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]);\n    }),\n    isDismissingItem = _useSelect.isDismissingItem;\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]),\n    dismissItem = _useDispatch.dismissItem; // useRef to track if the dismissal logic has already been executed.\n  var hasDismissed = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useRef\"])({});\n  var _useMemo = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useMemo\"])(function () {\n      var toClear = [];\n      var visible = [];\n      // Filter `configuredAudiences` to ensure only available audiences are included.\n      var tempAudiences = configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.slice().filter(function (audienceResourceName) {\n        return audiences.some(function (audience) {\n          return audience.name === audienceResourceName;\n        });\n      });\n      var _loop = function _loop() {\n        var audienceResourceName = tempAudiences.shift();\n        var isDismissed = dismissedItems === null || dismissedItems === void 0 ? void 0 : dismissedItems.includes(\"audience-tile-\".concat(audienceResourceName));\n        var isSiteKitAudience = siteKitAudiences.some(function (audience) {\n          return audience.name === audienceResourceName;\n        });\n        var reportToCheck = report;\n        var dimensionValue = audienceResourceName;\n        if (isSiteKitAudience && isSiteKitAudiencePartialData) {\n          var _siteKitAudiences$fin;\n          // If it's a Site Kit audience in a partial data state, use the siteKitAudiencesReport.\n          reportToCheck = siteKitAudiencesReport;\n\n          // Get the audience slug (e.g., 'new-visitors', 'returning-visitors').\n          var audienceSlug = (_siteKitAudiences$fin = siteKitAudiences.find(function (audience) {\n            return audience.name === audienceResourceName;\n          })) === null || _siteKitAudiences$fin === void 0 ? void 0 : _siteKitAudiences$fin.audienceSlug;\n\n          // Determine the dimension value ('new' or 'returning') for Site Kit audiences.\n          dimensionValue = audienceSlug === 'new-visitors' ? 'new' : 'returning';\n        }\n        var isZeroData = hasZeroDataForAudience(reportToCheck, dimensionValue);\n\n        // Check if there are more audiences remaining to be processed.\n        var remainingAudiences = tempAudiences.length + visible.length > 0;\n\n        // Skip rendering the tile if it is dismissed, has zero data, and there are still more audiences to render.\n        if (isDismissed && isZeroData && remainingAudiences) {\n          return \"continue\";\n        }\n\n        // Collect audiences to re-dismiss if they have data again.\n        if (isDismissed && !isZeroData) {\n          toClear.push(audienceResourceName);\n        }\n\n        // Add audience to visibleAudiences\n        visible.push(audienceResourceName);\n      };\n      while ((tempAudiences === null || tempAudiences === void 0 ? void 0 : tempAudiences.length) > 0) {\n        var _ret = _loop();\n        if (_ret === \"continue\") continue;\n      }\n      return [toClear, visible];\n    }, [audiences, configuredAudiences, dismissedItems, isSiteKitAudiencePartialData, report, siteKitAudiences, siteKitAudiencesReport]),\n    _useMemo2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useMemo, 2),\n    audiencesToClearDismissal = _useMemo2[0],\n    visibleAudiences = _useMemo2[1];\n  function checkForAllTilesError() {\n    var mainReportErrors = [];\n    if (report) {\n      mainReportErrors.push(reportError);\n    }\n    if (siteKitAudiencesReport) {\n      mainReportErrors.push(siteKitAudiencesReportError);\n    }\n    if (mainReportErrors.every(Boolean) || totalPageviewsReportError) {\n      return true;\n    }\n    return configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.every(function (audienceResourceName) {\n      return individualTileErrors[audienceResourceName].length > 0;\n    });\n  }\n  var allTilesError = checkForAllTilesError();\n\n  // Re-dismiss with a short expiry time to clear any previously dismissed tiles.\n  // This ensures that the tile will reappear when it is populated with data again.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    audiencesToClearDismissal.forEach(function (audienceResourceName) {\n      var itemSlug = \"audience-tile-\".concat(audienceResourceName);\n      if (hasDismissed.current[itemSlug]) {\n        return;\n      }\n      dismissItem(itemSlug, {\n        expiresInSeconds: 1\n      });\n\n      // Mark as dismissed to prevent re-dismissing.\n      hasDismissed.current[itemSlug] = true;\n    });\n  }, [audiencesToClearDismissal, dismissItem, isDismissingItem]);\n\n  // Sync available custom dimensions if there is a custom dimension error.\n  var isSyncingAvailableCustomDimensions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isFetchingSyncAvailableCustomDimensions();\n  });\n\n  // Ensure the active tile is always correctly selected.\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(visibleAudiences[0]),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n    activeTile = _useState2[0],\n    setActiveTile = _useState2[1];\n  var getAudienceTileIndex = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function (audienceResourceName) {\n    var index = visibleAudiences.indexOf(audienceResourceName);\n    return index === -1 ? 0 : index;\n  }, [visibleAudiences]);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    if (!visibleAudiences.includes(activeTile)) {\n      setActiveTile(visibleAudiences[0]);\n    }\n  }, [activeTile, visibleAudiences]);\n  var activeTileIndex = getAudienceTileIndex(activeTile);\n\n  // Determine loading state.\n  var loading = widgetLoading || !reportLoaded || !siteKitAudiencesReportLoaded || !totalPageviewsReportLoaded || !topCitiesReportsLoaded || !topContentReportsLoaded || !topContentPageTitlesReportsLoaded || isSyncingAvailableCustomDimensions;\n  return /*#__PURE__*/React.createElement(Widget, {\n    className: \"googlesitekit-widget-audience-tiles\",\n    noPadding: true\n  }, allTilesError === false && !loading && isTabbedBreakpoint && visibleAudiences.length > 0 && /*#__PURE__*/React.createElement(_Header__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    activeTileIndex: activeTileIndex,\n    setActiveTile: setActiveTile,\n    visibleAudiences: visibleAudiences\n  }), /*#__PURE__*/React.createElement(_Body__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    activeTileIndex: activeTileIndex,\n    allTilesError: allTilesError,\n    individualTileErrors: individualTileErrors,\n    loading: loading,\n    topCitiesReportsLoaded: topCitiesReportsLoaded,\n    topContentReportsLoaded: topContentReportsLoaded,\n    topContentPageTitlesReportsLoaded: topContentPageTitlesReportsLoaded,\n    visibleAudiences: visibleAudiences,\n    Widget: Widget\n  }));\n}\nAudienceTiles.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired,\n  widgetLoading: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool.isRequired\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTooltipMessage.js":
/*!*************************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTooltipMessage.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AudienceTooltipMessage; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_components_Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n\n/**\n * AudienceTooltipMessage component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction AudienceTooltipMessage(_ref) {\n  var audienceSlug = _ref.audienceSlug,\n    audienceName = _ref.audienceName;\n  var documentationURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getDocumentationLinkURL('visitor-group-insights');\n  });\n  var tooltipMessage = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useMemo\"])(function () {\n    switch (audienceSlug) {\n      case 'new-visitors':\n        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: is the audience name */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s are people who visited your site for the first time. Note that under some circumstances it\\'s possible for a visitor to be counted in both the \"new\" and \"returning\" groups. <link>Learn more</link>', 'google-site-kit'), '<strong>New visitors</strong>'), {\n          strong: /*#__PURE__*/React.createElement(\"strong\", null),\n          link: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n            href: documentationURL,\n            external: true,\n            hideExternalIndicator: true\n          })\n        });\n      case 'returning-visitors':\n        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: is the audience name */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s are people who have visited your site at least once before. Note that under some circumstances it\\'s possible for a visitor to be counted in both the \"new\" and \"returning\" groups. <link>Learn more</link>', 'google-site-kit'), '<strong>Returning visitors</strong>'), {\n          strong: /*#__PURE__*/React.createElement(\"strong\", null),\n          link: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n            href: documentationURL,\n            external: true,\n            hideExternalIndicator: true\n          })\n        });\n      default:\n        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: is the audience name */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])(\"%s is an audience that already exists in your Analytics property. Note that it's possible for a visitor to be counted in more than one group. <link>Learn more</link>\", 'google-site-kit'), \"<strong>\".concat(audienceName, \"</strong>\")), {\n          strong: /*#__PURE__*/React.createElement(\"strong\", null),\n          link: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n            href: documentationURL,\n            external: true,\n            hideExternalIndicator: true\n          })\n        });\n    }\n  }, [audienceSlug, audienceName, documentationURL]);\n  return tooltipMessage;\n}\nAudienceTooltipMessage.propTypes = {\n  audienceSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTooltipMessage.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/MaybePlaceholderTile.js":
/*!***********************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/MaybePlaceholderTile.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MaybePlaceholderTile; });\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 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 _AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AudienceTile/AudienceTileLoading */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileLoading.js\");\n/* harmony import */ var _PlaceholderTile__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./PlaceholderTile */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/PlaceholderTile.js\");\n\n/**\n * MaybePlaceholderTile component.\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 * Internal dependencies\n */\n\n\nfunction MaybePlaceholderTile(_ref) {\n  var Widget = _ref.Widget,\n    loading = _ref.loading,\n    allTilesError = _ref.allTilesError,\n    visibleAudienceCount = _ref.visibleAudienceCount;\n  if ((allTilesError === false || loading) && visibleAudienceCount === 1) {\n    if (loading) {\n      return /*#__PURE__*/React.createElement(Widget, {\n        noPadding: true\n      }, /*#__PURE__*/React.createElement(_AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null));\n    }\n    return /*#__PURE__*/React.createElement(_PlaceholderTile__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      Widget: Widget\n    });\n  }\n  return null;\n}\nMaybePlaceholderTile.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  loading: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool.isRequired,\n  allTilesError: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  visibleAudienceCount: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9BdWRpZW5jZVRpbGVzV2lkZ2V0L01heWJlUGxhY2Vob2xkZXJUaWxlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2F1ZGllbmNlLXNlZ21lbnRhdGlvbi9kYXNoYm9hcmQvQXVkaWVuY2VUaWxlc1dpZGdldC9NYXliZVBsYWNlaG9sZGVyVGlsZS5qcz9lNDk3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTWF5YmVQbGFjZWhvbGRlclRpbGUgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlI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sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/MaybePlaceholderTile.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/PlaceholderTile.js":
/*!******************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/PlaceholderTile.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return PlaceholderTile; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _svg_graphics_no_audience_banner_graphic_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/svg/graphics/no-audience-banner-graphic.svg */ \"./svg/graphics/no-audience-banner-graphic.svg\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSelectionPanel_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * PlaceholderTile component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction PlaceholderTile(_ref) {\n  var Widget = _ref.Widget;\n  var hasConfigurableNonDefaultAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    var configuredAudiences = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getConfiguredAudiences();\n    var configurableAudiences = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getConfigurableAudiences();\n    return configurableAudiences.some(function (audience) {\n      return audience.audienceType !== 'DEFAULT_AUDIENCE' && !configuredAudiences.includes(audience.name);\n    });\n  });\n  var audienceLearnMoreURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getGoogleSupportURL({\n      path: '/analytics/answer/12799087'\n    });\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var AnalyticsLink = /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    href: audienceLearnMoreURL,\n    secondary: true,\n    external: true\n  });\n  return /*#__PURE__*/React.createElement(Widget, {\n    className: \"googlesitekit-audience-segmentation-tile-placeholder\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-tile-placeholder__container\"\n  }, /*#__PURE__*/React.createElement(_svg_graphics_no_audience_banner_graphic_svg__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    className: \"googlesitekit-audience-segmentation-tile-placeholder__image\"\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-audience-segmentation-tile-placeholder__body', {\n      'googlesitekit-audience-segmentation-tile-placeholder__body--without-selectable-audiences': !hasConfigurableNonDefaultAudiences\n    })\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    as: \"h3\",\n    type: \"title\",\n    size: \"small\",\n    className: \"googlesitekit-audience-segmentation-tile-placeholder__title\"\n  }, hasConfigurableNonDefaultAudiences ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Compare your group to other groups', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Create more visitor groups', 'google-site-kit')), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-audience-segmentation-tile-placeholder__description\"\n  }, hasConfigurableNonDefaultAudiences ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('<SelectGroupLink>Select</SelectGroupLink> another group to compare with your current group or learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>', 'google-site-kit'), {\n    AnalyticsLink: AnalyticsLink,\n    SelectGroupLink: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      onClick: function onClick() {\n        return setValue(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSelectionPanel_constants__WEBPACK_IMPORTED_MODULE_10__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"], true);\n      },\n      secondary: true\n    })\n  }) : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Learn more about how to group site visitors in <AnalyticsLink>Analytics</AnalyticsLink>', 'google-site-kit'), {\n    AnalyticsLink: AnalyticsLink\n  })))));\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/PlaceholderTile.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/index.js":
/*!********************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/index.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_util_when_active__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/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 _AudienceTiles__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./AudienceTiles */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTiles/index.js\");\n/* harmony import */ var _AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./AudienceTile/AudienceTileLoading */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileLoading.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSegmentationErrorWidget__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_NoAudienceBannerWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget/index.js\");\n/* harmony import */ var _js_googlesitekit_widgets_components_WidgetNull__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/googlesitekit/widgets/components/WidgetNull */ \"./js/googlesitekit/widgets/components/WidgetNull.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n\n\n\n/**\n * AudienceTilesWidget component.\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\n\n\n\n\n\nfunction AudienceTilesWidget(_ref) {\n  var Widget = _ref.Widget;\n  var availableAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var audiences = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n    return audiences === null || audiences === void 0 ? void 0 : audiences.map(function (audience) {\n      return audience.name;\n    });\n  });\n  var configuredAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getConfiguredAudiences();\n  });\n  var availableAudiencesSynced = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasSyncedAudiences();\n  });\n  var isSyncingAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isSyncingAudiences();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]),\n    clearErrors = _useDispatch.clearErrors,\n    maybeSyncAvailableAudiences = _useDispatch.maybeSyncAvailableAudiences,\n    syncAvailableAudiences = _useDispatch.syncAvailableAudiences;\n  var isSettingUpAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isSettingUpAudiences();\n  });\n  var syncAvailableAudiencesError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getErrorForAction('syncAvailableAudiences');\n  });\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    if (!availableAudiencesSynced && !isSyncingAudiences && !isSettingUpAudiences) {\n      maybeSyncAvailableAudiences();\n    }\n  }, [availableAudiencesSynced, isSyncingAudiences, isSettingUpAudiences, maybeSyncAvailableAudiences]);\n  if (syncAvailableAudiencesError) {\n    var insufficientPermissionsError = Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_14__[\"isInsufficientPermissionsError\"])(syncAvailableAudiencesError);\n    return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSegmentationErrorWidget__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      errors: syncAvailableAudiencesError,\n      Widget: Widget,\n      onRetry: !insufficientPermissionsError ? /*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\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 clearErrors('syncAvailableAudiences');\n              case 2:\n                _context.next = 4;\n                return syncAvailableAudiences();\n              case 4:\n              case \"end\":\n                return _context.stop();\n            }\n          }\n        }, _callee);\n      })) : undefined,\n      showRetryButton: !insufficientPermissionsError\n    });\n  }\n  var hasMatchingAudience = configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.some(function (audience) {\n    return availableAudiences === null || availableAudiences === void 0 ? void 0 : availableAudiences.includes(audience);\n  });\n  if (!hasMatchingAudience) {\n    return availableAudiencesSynced ? /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_NoAudienceBannerWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      Widget: Widget,\n      WidgetNull: _js_googlesitekit_widgets_components_WidgetNull__WEBPACK_IMPORTED_MODULE_13__[\"default\"]\n    }) : /*#__PURE__*/React.createElement(Widget, {\n      className: \"googlesitekit-widget-audience-tiles\",\n      noPadding: true\n    }, /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-widget-audience-tiles__body\"\n    }, /*#__PURE__*/React.createElement(Widget, {\n      noPadding: true\n    }, /*#__PURE__*/React.createElement(_AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_10__[\"default\"], null)), /*#__PURE__*/React.createElement(Widget, {\n      noPadding: true\n    }, /*#__PURE__*/React.createElement(_AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_10__[\"default\"], null))));\n  }\n  return /*#__PURE__*/React.createElement(_AudienceTiles__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    Widget: Widget,\n    widgetLoading: !availableAudiencesSynced || !availableAudiences || !configuredAudiences\n  });\n}\nAudienceTilesWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired,\n  WidgetNull: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_5__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"]\n})(AudienceTilesWidget));\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/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/ChangeGroupsLink.js":
/*!***********************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/ChangeGroupsLink.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ChangeGroupsLink; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _AudienceSelectionPanel_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AudienceSelectionPanel/constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _svg_icons_pencil_alt_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/svg/icons/pencil-alt.svg */ \"./svg/icons/pencil-alt.svg\");\n\n/**\n * Audience Segmentation ChangeGroupsLink component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction ChangeGroupsLink() {\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n  var availableAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getConfigurableAudiences();\n  }, []);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var openAudiencesSelectionPanel = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    setValue(_AudienceSelectionPanel_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"], true);\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-sidebar\"), 'change_groups');\n  }, [setValue, viewContext]);\n  var renderChangeGroupsLink = Array.isArray(availableAudiences) && (availableAudiences === null || availableAudiences === void 0 ? void 0 : availableAudiences.length) > 0;\n  if (!renderChangeGroupsLink) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    className: \"googlesitekit-widget-area__cta-link\",\n    onClick: openAudiencesSelectionPanel,\n    leadingIcon: /*#__PURE__*/React.createElement(_svg_icons_pencil_alt_svg__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n      width: 22,\n      height: 22\n    }),\n    secondary: true,\n    linkButton: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Change groups', 'google-site-kit'));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9DaGFuZ2VHcm91cHNMaW5rLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2F1ZGllbmNlLXNlZ21lbnRhdGlvbi9kYXNoYm9hcmQvQ2hhbmdlR3JvdXBzTGluay5qcz9kZWI2Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQXVkaWVuY2UgU2VnbWVudGF0aW9uIENoYW5nZUdyb3Vwc0x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QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFFQTtBQUVBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFFQTtBQUdBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUFBO0FBS0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/ChangeGroupsLink.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/ConnectAnalyticsCTAWidget.js":
/*!********************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/ConnectAnalyticsCTAWidget.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ConnectAnalyticsCTAWidget; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _svg_graphics_audience_connect_analytics_cta_graphic_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/graphics/audience-connect-analytics-cta-graphic.svg */ \"./svg/graphics/audience-connect-analytics-cta-graphic.svg\");\n/* harmony import */ var _svg_graphics_audience_connect_analytics_cta_graphic_tablet_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/svg/graphics/audience-connect-analytics-cta-graphic-tablet.svg */ \"./svg/graphics/audience-connect-analytics-cta-graphic-tablet.svg\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/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_hooks_useActivateModuleCallback__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/hooks/useActivateModuleCallback */ \"./js/hooks/useActivateModuleCallback.js\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_components_LeanCTABanner__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/LeanCTABanner */ \"./js/components/LeanCTABanner.js\");\n\n/**\n * ConnectAnalyticsCTAWidget component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nfunction ConnectAnalyticsCTAWidget(_ref) {\n  var Widget = _ref.Widget;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_11__[\"useBreakpoint\"])();\n  var isTabletBreakpoint = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_11__[\"BREAKPOINT_TABLET\"];\n  var handleConnectModule = Object(_js_hooks_useActivateModuleCallback__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  var Icon = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_MODULES\"]).getModuleIcon(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var content = isTabletBreakpoint ? /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Google Analytics is disconnected, your audience metrics can’t be displayed. <a>Connect Google Analytics</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      onClick: handleConnectModule,\n      secondary: true\n    })\n  })) : /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Google Analytics is disconnected, your audience metrics can’t be displayed', 'google-site-kit')), /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    onClick: handleConnectModule,\n    secondary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Connect Google Analytics', 'google-site-kit')));\n  return /*#__PURE__*/React.createElement(Widget, {\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(_js_components_LeanCTABanner__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    Icon: Icon,\n    SVGGraphic: isTabletBreakpoint ? _svg_graphics_audience_connect_analytics_cta_graphic_tablet_svg__WEBPACK_IMPORTED_MODULE_5__[\"default\"] : _svg_graphics_audience_connect_analytics_cta_graphic_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n  }, content));\n}\nConnectAnalyticsCTAWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired\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/modules/analytics-4/components/audience-segmentation/dashboard/ConnectAnalyticsCTAWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/GetHelpLink.js":
/*!******************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/GetHelpLink.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return GetHelpLink; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n\n/**\n * Audience Segmentation Get Help Link component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\nfunction GetHelpLink(_ref) {\n  var linkURL = _ref.linkURL;\n  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Contact your administrator. Trouble getting access? <HelpLink />', 'google-site-kit'), {\n    HelpLink: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      href: linkURL,\n      external: true,\n      hideExternalIndicator: true\n    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Get help', 'google-site-kit'))\n  });\n}\nGetHelpLink.propTypes = {\n  linkURL: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9HZXRIZWxwTGluay5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9hdWRpZW5jZS1zZWdtZW50YXRpb24vZGFzaGJvYXJkL0dldE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Q0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQU1BO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFJQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/GetHelpLink.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNotice.js":
/*!*****************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNotice.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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _svg_icons_lightbulb_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/svg/icons/lightbulb.svg */ \"./svg/icons/lightbulb.svg\");\n\n/**\n * InfoNotice component.\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\n\n/**\n * Internal dependencies\n */\n\n\n\nvar InfoNotice = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n  var className = _ref.className,\n    content = _ref.content,\n    dismissLabel = _ref.dismissLabel,\n    _ref$Icon = _ref.Icon,\n    Icon = _ref$Icon === void 0 ? _svg_icons_lightbulb_svg__WEBPACK_IMPORTED_MODULE_5__[\"default\"] : _ref$Icon,\n    onDismiss = _ref.onDismiss;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    ref: ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-audience-segmentation-info-notice', className)\n  }, /*#__PURE__*/React.createElement(Icon, {\n    width: \"20\",\n    height: \"20\"\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-audience-segmentation-info-notice__body\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null, content), dismissLabel && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    onClick: onDismiss,\n    className: \"googlesitekit-audience-segmentation-info-notice__dismiss\",\n    tertiary: true\n  }, dismissLabel)));\n});\nInfoNotice.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  content: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  dismissLabel: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  Icon: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType,\n  onDismiss: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (InfoNotice);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9JbmZvTm90aWNlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2F1ZGllbmNlLXNlZ21lbnRhdGlvbi9kYXNoYm9hcmQvSW5mb05vdGljZS5qcz81MzYxIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW5mb05vdGljZSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBt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ules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/constants.js":
/*!*********************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/constants.js ***!
  \*********************************************************************************************************/
/*! exports provided: AUDIENCE_INFO_NOTICE_HIDE_UI, AUDIENCE_INFO_NOTICE_SLUG, AUDIENCE_INFO_NOTICES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_INFO_NOTICE_HIDE_UI\", function() { return AUDIENCE_INFO_NOTICE_HIDE_UI; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_INFO_NOTICE_SLUG\", function() { return AUDIENCE_INFO_NOTICE_SLUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_INFO_NOTICES\", function() { return AUDIENCE_INFO_NOTICES; });\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Constants related to audience segmentation info notices.\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 * WordPress dependencies\n */\n\n\n/**\n * UI key to display audience segmentation info notice.\n *\n * @since 1.135.0\n * @private\n */\nvar AUDIENCE_INFO_NOTICE_HIDE_UI = 'audience-segmentation-info-notice-ui';\n\n/**\n * Slug for audience segmentation info notice.\n *\n * @since 1.130.0\n * @private\n */\nvar AUDIENCE_INFO_NOTICE_SLUG = 'audience-segmentation-info-notice';\n\n// Notice slugs: new-visitors, compare-metrics, custom-audiences, purchasers, returning-visitors, compare-new-returning, or compare-cities\n\n/**\n * List of info notices for audiences.\n *\n * @since 1.130.0\n * @private\n */\nvar AUDIENCE_INFO_NOTICES = [{\n  slug: 'new-visitors',\n  content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('The higher the portion of new visitors you have, the more your audience is growing. Looking at what content brings them to your site may give you insights on how to reach even more people.', 'google-site-kit')\n}, {\n  slug: 'compare-metrics',\n  content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Select up to three visitor groups to display on the dashboard and easily compare metrics between them.', 'google-site-kit')\n}, {\n  slug: 'custom-audiences',\n  content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Configure your own custom audiences in Analytics to gain deeper insights into visitor behavior, for example consider creating an “Existing customers” or “Subscribers” segment, depending on what goals you have for your site.', 'google-site-kit')\n}, {\n  slug: 'purchasers',\n  content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Select the Purchasers visitor group to gain insights into which visitors bring the most revenue to your site.', 'google-site-kit')\n}, {\n  slug: 'returning-visitors',\n  content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('The more returning visitors your site has, the stronger and more loyal an audience you’re building. Check which content brings people back to your site - it might help you create a strategy to build a community.', 'google-site-kit')\n}, {\n  slug: 'compare-new-returning',\n  content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Compare the ratio of “new” to “returning” visitors – this can give you insights on whether you have more people stopping by as a one-off, or more loyal visitors.', 'google-site-kit')\n}, {\n  slug: 'compare-cities',\n  content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Check the cities which bring you more new vs more returning visitors – there might be new audiences you could engage with in locations you hadn’t thought about.', 'google-site-kit')\n}];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/constants.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/index.js":
/*!*****************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/index.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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_InfoNotice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNotice.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util/withIntersectionObserver */ \"./js/util/withIntersectionObserver.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * InfoNoticeWidget component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\nvar InfoNoticeWithIntersectionObserver = Object(_js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(_js_modules_analytics_4_components_audience_segmentation_dashboard_InfoNotice__WEBPACK_IMPORTED_MODULE_7__[\"default\"]);\nfunction InfoNoticeWidget(_ref) {\n  var Widget = _ref.Widget,\n    WidgetNull = _ref.WidgetNull;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__[\"default\"])();\n  var availableAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    var audiences = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n    return audiences === null || audiences === void 0 ? void 0 : audiences.map(function (audience) {\n      return audience.name;\n    });\n  }, []);\n  var configuredAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).getConfiguredAudiences();\n  }, []);\n  var hasMatchingAudience = configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.some(function (audience) {\n    return availableAudiences === null || availableAudiences === void 0 ? void 0 : availableAudiences.includes(audience);\n  });\n  var noticesCount = _constants__WEBPACK_IMPORTED_MODULE_8__[\"AUDIENCE_INFO_NOTICES\"].length;\n  var isDismissed = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).isPromptDismissed(_constants__WEBPACK_IMPORTED_MODULE_8__[\"AUDIENCE_INFO_NOTICE_SLUG\"]);\n  }, []);\n  var hideNotice = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_UI\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_8__[\"AUDIENCE_INFO_NOTICE_HIDE_UI\"]);\n  });\n  var dismissCount = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).getPromptDismissCount(_constants__WEBPACK_IMPORTED_MODULE_8__[\"AUDIENCE_INFO_NOTICE_SLUG\"]);\n  }, []);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]),\n    dismissPrompt = _useDispatch.dismissPrompt;\n  var onDismiss = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    if (undefined === dismissCount) {\n      return;\n    }\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-info-notice\"), 'dismiss_notice', _constants__WEBPACK_IMPORTED_MODULE_8__[\"AUDIENCE_INFO_NOTICES\"][dismissCount].slug).finally(function () {\n      var twoWeeksInSeconds = _js_util__WEBPACK_IMPORTED_MODULE_5__[\"WEEK_IN_SECONDS\"] * 2;\n      var expiry = dismissCount + 1 < noticesCount ? twoWeeksInSeconds : 0;\n      dismissPrompt(_constants__WEBPACK_IMPORTED_MODULE_8__[\"AUDIENCE_INFO_NOTICE_SLUG\"], {\n        expiresInSeconds: expiry\n      });\n    });\n  }, [dismissCount, dismissPrompt, noticesCount, viewContext]);\n\n  // Return null if there are no matching audiences or if the notice has been dismissed.\n  if (hasMatchingAudience !== true || isDismissed || dismissCount === undefined || dismissCount >= noticesCount || hideNotice === true) {\n    return /*#__PURE__*/React.createElement(WidgetNull, null);\n  }\n  var _AUDIENCE_INFO_NOTICE = _constants__WEBPACK_IMPORTED_MODULE_8__[\"AUDIENCE_INFO_NOTICES\"][dismissCount],\n    slug = _AUDIENCE_INFO_NOTICE.slug,\n    content = _AUDIENCE_INFO_NOTICE.content;\n  return /*#__PURE__*/React.createElement(Widget, {\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(InfoNoticeWithIntersectionObserver, {\n    content: content,\n    dismissLabel: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Got it', 'google-site-kit'),\n    onDismiss: onDismiss,\n    onInView: function onInView() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-info-notice\"), 'view_notice', slug);\n    }\n  }));\n}\nInfoNoticeWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  WidgetNull: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULE_SLUG_ANALYTICS_4\"]\n})(InfoNoticeWidget));\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/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget/NoAudienceBanner.js":
/*!**********************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget/NoAudienceBanner.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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _svg_graphics_no_audience_banner_graphic_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/svg/graphics/no-audience-banner-graphic.svg */ \"./svg/graphics/no-audience-banner-graphic.svg\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_components_LeanCTABanner__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/LeanCTABanner */ \"./js/components/LeanCTABanner.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSelectionPanel_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n\n/**\n * NoAudienceBanner component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar NoAudienceBanner = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (props, ref) {\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__[\"default\"])();\n  var isViewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_14__[\"default\"])();\n  var didSetAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_USER\"]).didSetAudiences();\n  });\n  var Icon = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_MODULES\"]).getModuleIcon(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_16__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var adminSettingsURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).getSiteKitAdminSettingsURL({\n      scrollTo: 'visitor-groups'\n    });\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_LOCATION\"]),\n    navigateTo = _useDispatch2.navigateTo;\n  var eventLabel = didSetAudiences ? 'no-longer-available' : 'none-selected';\n  function handleSelectGroups() {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-no-audiences\"), 'select_groups', eventLabel).finally(function () {\n      setValue(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSelectionPanel_constants__WEBPACK_IMPORTED_MODULE_12__[\"AUDIENCE_SELECTION_PANEL_OPENED_KEY\"], true);\n    });\n  }\n  return /*#__PURE__*/React.createElement(_js_components_LeanCTABanner__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    ref: ref,\n    className: \"googlesitekit-no-audience-banner\",\n    Icon: Icon,\n    SVGGraphic: _svg_graphics_no_audience_banner_graphic_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n  }, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null, didSetAudiences && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('It looks like your visitor groups aren’t available anymore. <a>Select other groups</a>.', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      onClick: handleSelectGroups,\n      secondary: true\n    })\n  }), !didSetAudiences && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('You don’t have any visitor groups selected. <a>Select groups</a>.', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      onClick: handleSelectGroups,\n      secondary: true\n    })\n  })), !isViewOnly && /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('You can deactivate this widget in <a>Settings</a>.', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      onClick: function onClick() {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-no-audiences\"), 'change_settings', eventLabel).finally(function () {\n          navigateTo(adminSettingsURL);\n        });\n      },\n      secondary: true\n    })\n  })));\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (NoAudienceBanner);\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/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget/NoAudienceBanner.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget/index.js":
/*!***********************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget/index.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 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 _js_util_when_active__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/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 _NoAudienceBanner__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./NoAudienceBanner */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget/NoAudienceBanner.js\");\n/* harmony import */ var _js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util/withIntersectionObserver */ \"./js/util/withIntersectionObserver.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * NoAudienceBannerWidget component.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nvar NoAudienceBannerWithIntersectionObserver = Object(_js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_NoAudienceBanner__WEBPACK_IMPORTED_MODULE_7__[\"default\"]);\nfunction NoAudienceBannerWidget(_ref) {\n  var Widget = _ref.Widget,\n    WidgetNull = _ref.WidgetNull;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"])();\n  var availableAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    var audiences = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n    return audiences === null || audiences === void 0 ? void 0 : audiences.map(function (audience) {\n      return audience.name;\n    });\n  });\n  var configuredAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getConfiguredAudiences();\n  });\n  var didSetAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).didSetAudiences();\n  });\n  var hasNoMatchingAudience = configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.every(function (audience) {\n    return Array.isArray(availableAudiences) && !availableAudiences.includes(audience);\n  });\n  if (!!configuredAudiences && ((configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.length) === 0 || hasNoMatchingAudience)) {\n    return /*#__PURE__*/React.createElement(Widget, {\n      noPadding: true\n    }, /*#__PURE__*/React.createElement(NoAudienceBannerWithIntersectionObserver, {\n      onInView: function onInView() {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(\"\".concat(viewContext, \"_audiences-no-audiences\"), 'view_banner', didSetAudiences ? 'no-longer-available' : 'none-selected');\n      }\n    }));\n  }\n  return /*#__PURE__*/React.createElement(WidgetNull, null);\n}\nNoAudienceBannerWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  WidgetNull: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"]\n})(NoAudienceBannerWidget));\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/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/SecondaryUserSetupWidget/index.js":
/*!*************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/SecondaryUserSetupWidget/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SecondaryUserSetupWidget; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileLoading */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileLoading.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSegmentationErrorWidget__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n\n\n\n\n/**\n * SecondaryUserSetupWidget component.\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\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction SecondaryUserSetupWidget(_ref) {\n  var Widget = _ref.Widget;\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(null),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    setupError = _useState2[0],\n    setSetupError = _useState2[1];\n  var isSettingUpAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).isSettingUpAudiences();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]),\n    enableSecondaryUserAudienceGroup = _useDispatch.enableSecondaryUserAudienceGroup;\n  function handleRetry() {\n    return _handleRetry.apply(this, arguments);\n  }\n  function _handleRetry() {\n    _handleRetry = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\n      var _yield$enableSecondar2, 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              setSetupError(null);\n              _context2.next = 3;\n              return enableSecondaryUserAudienceGroup();\n            case 3:\n              _yield$enableSecondar2 = _context2.sent;\n              error = _yield$enableSecondar2.error;\n              if (error) {\n                setSetupError(error);\n              }\n            case 6:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, _callee2);\n    }));\n    return _handleRetry.apply(this, arguments);\n  }\n  Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useMount\"])(function () {\n    if (isSettingUpAudiences) {\n      return;\n    }\n    _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\n      var _yield$enableSecondar, 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 enableSecondaryUserAudienceGroup();\n            case 2:\n              _yield$enableSecondar = _context.sent;\n              error = _yield$enableSecondar.error;\n              if (error) {\n                setSetupError(error);\n              }\n            case 5:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }))();\n  });\n  if (setupError) {\n    return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSegmentationErrorWidget__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n      Widget: Widget,\n      errors: setupError,\n      onRetry: handleRetry,\n      showRetryButton: !Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_10__[\"isInsufficientPermissionsError\"])(setupError)\n    });\n  }\n  return /*#__PURE__*/React.createElement(Widget, {\n    className: \"googlesitekit-widget-audience-tiles\",\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget-audience-tiles__body\"\n  }, /*#__PURE__*/React.createElement(Widget, {\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null)), /*#__PURE__*/React.createElement(Widget, {\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_audience_segmentation_dashboard_AudienceTilesWidget_AudienceTile_AudienceTileLoading__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null))));\n}\nSecondaryUserSetupWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType.isRequired\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/modules/analytics-4/components/audience-segmentation/dashboard/SecondaryUserSetupWidget/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/audience-segmentation/dashboard/index.js":
/*!************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/index.js ***!
  \************************************************************************************/
/*! exports provided: AudienceErrorModal, AudienceSegmentationErrorWidget, AudienceSegmentationIntroductoryOverlayNotification, AudienceSegmentationSetupCTABanner, AudienceTilesWidget, AudienceSelectionPanel, AudienceAreaFooter, ChangeGroupsLink, ConnectAnalyticsCTAWidget, InfoNoticeWidget, InfoNotice, NoAudienceBannerWidget, SecondaryUserSetupWidget */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AudienceErrorModal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AudienceErrorModal */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceErrorModal.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AudienceErrorModal\", function() { return _AudienceErrorModal__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _AudienceSegmentationErrorWidget__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AudienceSegmentationErrorWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AudienceSegmentationErrorWidget\", function() { return _AudienceSegmentationErrorWidget__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _AudienceSegmentationIntroductoryOverlayNotification__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AudienceSegmentationIntroductoryOverlayNotification */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AudienceSegmentationIntroductoryOverlayNotification\", function() { return _AudienceSegmentationIntroductoryOverlayNotification__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _AudienceSegmentationSetupCTABanner__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AudienceSegmentationSetupCTABanner */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupCTABanner.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AudienceSegmentationSetupCTABanner\", function() { return _AudienceSegmentationSetupCTABanner__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _AudienceTilesWidget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AudienceTilesWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AudienceTilesWidget\", function() { return _AudienceTilesWidget__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _AudienceSelectionPanel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AudienceSelectionPanel */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AudienceSelectionPanel\", function() { return _AudienceSelectionPanel__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _AudienceAreaFooter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./AudienceAreaFooter */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceAreaFooter.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AudienceAreaFooter\", function() { return _AudienceAreaFooter__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _ChangeGroupsLink__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ChangeGroupsLink */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/ChangeGroupsLink.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ChangeGroupsLink\", function() { return _ChangeGroupsLink__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _ConnectAnalyticsCTAWidget__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ConnectAnalyticsCTAWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/ConnectAnalyticsCTAWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ConnectAnalyticsCTAWidget\", function() { return _ConnectAnalyticsCTAWidget__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n/* harmony import */ var _InfoNoticeWidget__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./InfoNoticeWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InfoNoticeWidget\", function() { return _InfoNoticeWidget__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; });\n\n/* harmony import */ var _InfoNotice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./InfoNotice */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNotice.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InfoNotice\", function() { return _InfoNotice__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; });\n\n/* harmony import */ var _NoAudienceBannerWidget__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./NoAudienceBannerWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/NoAudienceBannerWidget/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"NoAudienceBannerWidget\", function() { return _NoAudienceBannerWidget__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; });\n\n/* harmony import */ var _SecondaryUserSetupWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./SecondaryUserSetupWidget */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/SecondaryUserSetupWidget/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SecondaryUserSetupWidget\", function() { return _SecondaryUserSetupWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]; });\n\n/**\n * Audience Segmentation dashboard components.\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\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvYXVkaWVuY2Utc2VnbWVudGF0aW9uL2Rhc2hib2FyZC9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9hdWRpZW5jZS1zZWdtZW50YXRpb24vZGFzaGJvYXJkL2luZGV4LmpzP2E3NTEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBdWRpZW5jZSBTZWdtZW50YXRpb24gZGFzaGJvYXJkIGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLC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7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/audience-segmentation/dashboard/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/AccountCreate/AccountField.js":
/*!********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/AccountCreate/AccountField.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AccountField; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _CreateAccountField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CreateAccountField */ \"./js/modules/analytics-4/components/common/AccountCreate/CreateAccountField.js\");\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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n/**\n * AccountField component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction AccountField() {\n  var value = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_ACCOUNT_CREATE\"], 'accountName');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var setValue = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (accountName) {\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_ACCOUNT_CREATE\"], {\n      accountName: accountName\n    });\n  }, [setValues]);\n  return /*#__PURE__*/React.createElement(_CreateAccountField__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Account', 'google-site-kit'),\n    hasError: !value,\n    value: value,\n    setValue: setValue,\n    name: \"account\"\n  });\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0FjY291bnRDcmVhdGUvQWNjb3VudEZpZWxkLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2NvbW1vbi9BY2NvdW50Q3JlYXRlL0FjY291bnRGaWVsZC5qcz83NzQ2Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQWNjb3VudEZpZWxkIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBs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UFBQTtBQUdBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/AccountCreate/AccountField.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/AccountCreate/CountrySelect.js":
/*!*********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/AccountCreate/CountrySelect.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CountrySelect; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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 _js_modules_analytics_4_utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/countries-timezones */ \"./js/modules/analytics-4/utils/countries-timezones.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n/**\n * CountrySelect component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction CountrySelect() {\n  var value = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_ACCOUNT_CREATE\"], 'countryCode');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var onEnhancedChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (i, item) {\n    var newCountryCode = item.dataset.value;\n    if (newCountryCode !== value && _js_modules_analytics_4_utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__[\"countriesByCode\"][newCountryCode]) {\n      setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_ACCOUNT_CREATE\"], {\n        countryCode: newCountryCode,\n        timezone:\n        // eslint-disable-next-line sitekit/acronym-case\n        _js_modules_analytics_4_utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__[\"countriesByCode\"][newCountryCode].defaultTimeZoneId\n      });\n    }\n  }, [setValues, value]);\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"Select\"], {\n    className: \"googlesitekit-analytics__select-country\",\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Country', 'google-site-kit'),\n    value: value,\n    onEnhancedChange: onEnhancedChange,\n    enhanced: true,\n    outlined: true\n  }, _js_modules_analytics_4_utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__[\"allCountries\"].map(function (_ref, i) {\n    var countryCode = _ref.countryCode,\n      displayName = _ref.displayName;\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"Option\"], {\n      key: i,\n      value: countryCode\n    }, displayName);\n  }));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0FjY291bnRDcmVhdGUvQ291bnRyeVNlbGVjdC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9jb21tb24vQWNjb3VudENyZWF0ZS9Db3VudHJ5U2VsZWN0LmpzPzM0NDAiXSw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xlY3Q+XG5cdCk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFJQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUVBO0FBSUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/AccountCreate/CountrySelect.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/AccountCreate/CreateAccountField.js":
/*!**************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/AccountCreate/CreateAccountField.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CreateAccountField; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__);\n\n/**\n * CreateAccountField component.\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 * Internal dependencies\n */\n\nfunction CreateAccountField(_ref) {\n  var hasError = _ref.hasError,\n    value = _ref.value,\n    setValue = _ref.setValue,\n    name = _ref.name,\n    label = _ref.label;\n  // Ensure field doesn't render until default value is available, fixing a potential render bug.\n  if (value === undefined) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"TextField\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('mdc-text-field', {\n      'mdc-text-field--error': hasError\n    }),\n    label: label,\n    name: name,\n    onChange: function onChange(event) {\n      setValue(event.target.value, name);\n    },\n    value: value,\n    id: \"googlesitekit_analytics_account_create_\".concat(name),\n    outlined: true\n  });\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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XHRcdFx0aWQ9eyBgZ29vZ2xlc2l0ZWtpdF9hbmFseXRpY3NfYWNjb3VudF9jcmVhdGVfJHsgbmFtZSB9YCB9XG5cdFx0XHRvdXRsaW5lZFxuXHRcdC8+XG5cdCk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFNQTtBQUpBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/AccountCreate/CreateAccountField.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/AccountCreate/PropertyField.js":
/*!*********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/AccountCreate/PropertyField.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return PropertyField; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _CreateAccountField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CreateAccountField */ \"./js/modules/analytics-4/components/common/AccountCreate/CreateAccountField.js\");\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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n/**\n * PropertyField component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction PropertyField() {\n  var value = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_ACCOUNT_CREATE\"], 'propertyName');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var setValue = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (propertyName) {\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_ACCOUNT_CREATE\"], {\n      propertyName: propertyName\n    });\n  }, [setValues]);\n  return /*#__PURE__*/React.createElement(_CreateAccountField__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Property', 'google-site-kit'),\n    value: value,\n    hasError: !value,\n    setValue: setValue,\n    name: \"property\"\n  });\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0FjY291bnRDcmVhdGUvUHJvcGVydHlGaWVsZC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9jb21tb24vQWNjb3VudENyZWF0ZS9Qcm9wZXJ0eUZpZWxkLmpzPzJmMWEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBQcm9wZXJ0eUZpZWxkIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEd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8+XG5cdCk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/AccountCreate/PropertyField.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/AccountCreate/TimezoneSelect.js":
/*!**********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/AccountCreate/TimezoneSelect.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return TimezoneSelect; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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 _js_modules_analytics_4_utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/countries-timezones */ \"./js/modules/analytics-4/utils/countries-timezones.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n/**\n * TimezoneSelect component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction TimezoneSelect() {\n  var countryCode = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_ACCOUNT_CREATE\"], 'countryCode');\n  var value = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_ACCOUNT_CREATE\"], 'timezone');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var onEnhancedChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (i, item) {\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_ACCOUNT_CREATE\"], {\n      timezone: item.dataset.value\n    });\n  }, [setValues]);\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"Select\"], {\n    className: \"googlesitekit-analytics__select-timezone\",\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Timezone', 'google-site-kit'),\n    value: value,\n    onEnhancedChange: onEnhancedChange,\n    disabled: !countryCode,\n    enhanced: true,\n    outlined: true\n  }, (_js_modules_analytics_4_utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__[\"timeZonesByCountryCode\"][countryCode] || []).map(\n  // eslint-disable-next-line sitekit/acronym-case\n  function (_ref, i) {\n    var timeZoneId = _ref.timeZoneId,\n      displayName = _ref.displayName;\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"Option\"], {\n      key: i\n      // eslint-disable-next-line sitekit/acronym-case\n      ,\n      value: timeZoneId\n    }, displayName);\n  }));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0FjY291bnRDcmVhdGUvVGltZXpvbmVTZWxlY3QuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0FjY291bnRDcmVhdGUvVGltZXpvbmVTZWxlY3QuanM/YTMyYyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRpbWV6b25lU2VsZWN0IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTS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eyB0aW1lWm9uZUlkLCBkaXNwbGF5TmFtZSB9LCBpICkgPT4gKFxuXHRcdFx0XHRcdDxPcHRpb25cblx0XHRcdFx0XHRcdGtleT17IGkgfVxuXHRcdFx0XHRcdFx0Ly8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIHNpdGVraXQvYWNyb255bS1jYXNlXG5cdFx0XHRcdFx0XHR2YWx1ZT17IHRpbWVab25lSWQgfVxuXHRcdFx0XHRcdD5cblx0XHRcdFx0XHRcdHsgZGlzcGxheU5hbWUgfVxuXHRcdFx0XHRcdDwvT3B0aW9uPlxuXHRcdFx0XHQpXG5cdFx0XHQpIH1cblx0XHQ8L1NlbGVjdD5cblx0KTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUVBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFFQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBR0E7QUFLQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/AccountCreate/TimezoneSelect.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/AccountCreate/WebDataStreamField.js":
/*!**************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/AccountCreate/WebDataStreamField.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WebDataStreamField; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _CreateAccountField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CreateAccountField */ \"./js/modules/analytics-4/components/common/AccountCreate/CreateAccountField.js\");\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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n/**\n * WebDataStreamField component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction WebDataStreamField() {\n  var value = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_ACCOUNT_CREATE\"], 'dataStreamName');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var setValue = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (dataStreamName) {\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_ACCOUNT_CREATE\"], {\n      dataStreamName: dataStreamName\n    });\n  }, [setValues]);\n  return /*#__PURE__*/React.createElement(_CreateAccountField__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Web Data Stream', 'google-site-kit'),\n    value: value,\n    hasError: !value,\n    setValue: setValue,\n    name: \"dataStream\"\n  });\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,eyJ2ZXJz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hbU5hbWUgKSA9PiB7XG5cdFx0XHRzZXRWYWx1ZXMoIEZPUk1fQUNDT1VOVF9DUkVBVEUsIHsgZGF0YVN0cmVhbU5hbWUgfSApO1xuXHRcdH0sXG5cdFx0WyBzZXRWYWx1ZXMgXVxuXHQpO1xuXG5cdHJldHVybiAoXG5cdFx0PENyZWF0ZUFjY291bnRGaWVsZFxuXHRcdFx0bGFiZWw9eyBfXyggJ1dlYiBEYXRhIFN0cmVhbScsICdnb29nbGUtc2l0ZS1raXQnICkgfVxuXHRcdFx0dmFsdWU9eyB2YWx1ZSB9XG5cdFx0XHRoYXNFcnJvcj17ICEgdmFsdWUgfVxuXHRcdFx0c2V0VmFsdWU9eyBzZXRWYWx1ZSB9XG5cdFx0XHRuYW1lPVwiZGF0YVN0cmVhbVwiXG5cdFx0Lz5cblx0KTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/AccountCreate/WebDataStreamField.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/AccountCreate/index.js":
/*!*************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/AccountCreate/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AccountCreate; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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_api__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_account__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/account */ \"./js/modules/analytics-4/utils/account.js\");\n/* harmony import */ var _js_material_components__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _TimezoneSelect__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./TimezoneSelect */ \"./js/modules/analytics-4/components/common/AccountCreate/TimezoneSelect.js\");\n/* harmony import */ var _AccountField__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./AccountField */ \"./js/modules/analytics-4/components/common/AccountCreate/AccountField.js\");\n/* harmony import */ var _PropertyField__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./PropertyField */ \"./js/modules/analytics-4/components/common/AccountCreate/PropertyField.js\");\n/* harmony import */ var _CountrySelect__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./CountrySelect */ \"./js/modules/analytics-4/components/common/AccountCreate/CountrySelect.js\");\n/* harmony import */ var _WebDataStreamField__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./WebDataStreamField */ \"./js/modules/analytics-4/components/common/AccountCreate/WebDataStreamField.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common_EnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common/EnhancedMeasurementSwitch */ \"./js/modules/analytics-4/components/common/EnhancedMeasurementSwitch.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_components_conversion_tracking_SetupEnhancedConversionTrackingNotice__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @/js/components/conversion-tracking/SetupEnhancedConversionTrackingNotice */ \"./js/components/conversion-tracking/SetupEnhancedConversionTrackingNotice.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n\n\n\n\n/**\n * AccountCreate component.\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 * WordPress dependencies\n */\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\n\n\n\n\n\n\n\nfunction AccountCreate() {\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    isNavigating = _useState2[0],\n    setIsNavigating = _useState2[1];\n  var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries();\n  });\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getAccountSummaries');\n  });\n  var accountTicketTermsOfServiceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getAccountTicketTermsOfServiceURL();\n  });\n  var canSubmitAccountCreate = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).canSubmitAccountCreate();\n  });\n  var isDoingCreateAccount = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).isDoingCreateAccount();\n  });\n  var hasEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"EDIT_SCOPE\"]);\n  });\n  var hasGTMScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"GTM_SCOPE\"]);\n  });\n  var hasAccountCreateForm = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_FORMS\"]).hasForm(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_ACCOUNT_CREATE\"]);\n  });\n  var autoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_28__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_ACCOUNT_CREATE\"], 'autoSubmit');\n  var siteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_SITE\"]).getReferenceSiteURL();\n  });\n  var siteName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_SITE\"]).getSiteName();\n  });\n  var timezone = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_SITE\"]).getTimezone();\n  });\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_25__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_13__[\"CORE_LOCATION\"]),\n    navigateTo = _useDispatch2.navigateTo;\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]),\n    createAccount = _useDispatch3.createAccount;\n  var _useDispatch4 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_USER\"]),\n    setPermissionScopeError = _useDispatch4.setPermissionScopeError;\n  var _useDispatch5 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_SITE\"]),\n    setConversionTrackingEnabled = _useDispatch5.setConversionTrackingEnabled,\n    saveConversionTrackingSettings = _useDispatch5.saveConversionTrackingSettings;\n  var hasRequiredScope = hasEditScope;\n\n  // Redirect if the accountTicketTermsOfServiceURL is set.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (accountTicketTermsOfServiceURL) {\n      _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\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 Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"invalidateCache\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_ANALYTICS_4\"]);\n              case 2:\n                navigateTo(accountTicketTermsOfServiceURL);\n              case 3:\n              case \"end\":\n                return _context.stop();\n            }\n          }\n        }, _callee);\n      }))();\n    }\n  }, [accountTicketTermsOfServiceURL, navigateTo]);\n\n  // Set form defaults on initial render.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    // Only set the form if not already present in store.\n    // e.g. after a snapshot has been restored.\n    if (!hasAccountCreateForm) {\n      setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_ACCOUNT_CREATE\"], Object(_js_modules_analytics_4_utils_account__WEBPACK_IMPORTED_MODULE_16__[\"getAccountDefaults\"])({\n        siteName: siteName,\n        siteURL: siteURL,\n        timezone: timezone\n      }));\n    }\n  }, [hasAccountCreateForm, siteName, siteURL, timezone, setValues]);\n  var handleSubmit = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\n    var scopes, _yield$createAccount, 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            scopes = [];\n            if (!hasEditScope) {\n              scopes.push(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"EDIT_SCOPE\"]);\n            }\n            // The GTM scope should be granted for GTE support, but\n            // it is possible for it not to be at this point.\n            // This saves an extra OAuth flow and is necessary for the\n            // Google tag sync at the end of the post-provisioning flow.\n            if (!hasGTMScope) {\n              scopes.push(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"GTM_SCOPE\"]);\n            }\n\n            // If scope not granted, trigger scope error right away. These are\n            // typically handled automatically based on API responses, but\n            // this particular case has some special handling to improve UX.\n            if (!(scopes.length > 0)) {\n              _context2.next = 7;\n              break;\n            }\n            // When state is restored, auto-submit the request again.\n            setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_ACCOUNT_CREATE\"], {\n              autoSubmit: true\n            });\n            setPermissionScopeError({\n              code: _js_util_errors__WEBPACK_IMPORTED_MODULE_14__[\"ERROR_CODE_MISSING_REQUIRED_SCOPE\"],\n              message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Additional permissions are required to create a new Analytics account.', 'google-site-kit'),\n              data: {\n                status: 403,\n                scopes: scopes,\n                skipModal: true\n              }\n            });\n            return _context2.abrupt(\"return\");\n          case 7:\n            setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_ACCOUNT_CREATE\"], {\n              autoSubmit: false\n            });\n            _context2.next = 10;\n            return Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"trackEvent\"])(\"\".concat(viewContext, \"_analytics\"), 'create_account', 'proxy');\n          case 10:\n            _context2.next = 12;\n            return createAccount();\n          case 12:\n            _yield$createAccount = _context2.sent;\n            error = _yield$createAccount.error;\n            if (error) {\n              _context2.next = 19;\n              break;\n            }\n            setConversionTrackingEnabled(true);\n            _context2.next = 18;\n            return saveConversionTrackingSettings();\n          case 18:\n            setIsNavigating(true);\n          case 19:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  })), [hasEditScope, hasGTMScope, setValues, viewContext, createAccount, setPermissionScopeError, setConversionTrackingEnabled, saveConversionTrackingSettings]);\n\n  // If the user ends up back on this component with the required scope granted,\n  // and already submitted the form, trigger the submit again.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (hasRequiredScope && autoSubmit) {\n      handleSubmit();\n    }\n  }, [hasRequiredScope, autoSubmit, handleSubmit]);\n\n  // If the user clicks \"Back\", rollback settings to restore saved values, if any.\n  var _useDispatch6 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]),\n    rollbackSettings = _useDispatch6.rollbackSettings;\n  var handleBack = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(function () {\n    return rollbackSettings();\n  }, [rollbackSettings]);\n  if (isDoingCreateAccount || isNavigating || !hasResolvedAccounts || hasRequiredScope === undefined) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"ProgressBar\"], null);\n  }\n  return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(_js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n    moduleSlug: \"analytics-4\",\n    storeName: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]\n  }), /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_27__[\"default\"], {\n    as: \"h3\",\n    type: \"title\",\n    size: \"large\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Create your Analytics account', 'google-site-kit')), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_29__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('We’ve pre-filled the required information for your new account. Confirm or edit any details:', 'google-site-kit')), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs\"\n  }, /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_17__[\"Cell\"], {\n    size: 6\n  }, /*#__PURE__*/React.createElement(_AccountField__WEBPACK_IMPORTED_MODULE_20__[\"default\"], null)), /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_17__[\"Cell\"], {\n    size: 6\n  }, /*#__PURE__*/React.createElement(_PropertyField__WEBPACK_IMPORTED_MODULE_21__[\"default\"], null)), /*#__PURE__*/React.createElement(_js_material_components__WEBPACK_IMPORTED_MODULE_17__[\"Cell\"], {\n    size: 6\n  }, /*#__PURE__*/React.createElement(_WebDataStreamField__WEBPACK_IMPORTED_MODULE_23__[\"default\"], null))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs\"\n  }, /*#__PURE__*/React.createElement(_CountrySelect__WEBPACK_IMPORTED_MODULE_22__[\"default\"], null), /*#__PURE__*/React.createElement(_TimezoneSelect__WEBPACK_IMPORTED_MODULE_19__[\"default\"], null)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs\"\n  }, /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common_EnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_24__[\"default\"], {\n    formName: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_ACCOUNT_CREATE\"],\n    className: \"googlesitekit-margin-bottom-0\"\n  }), /*#__PURE__*/React.createElement(_js_components_conversion_tracking_SetupEnhancedConversionTrackingNotice__WEBPACK_IMPORTED_MODULE_26__[\"default\"], {\n    className: \"googlesitekit-margin-top-0\",\n    message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('To track how visitors interact with your site, Site Kit will enable plugin conversion tracking. You can always disable it in settings.', 'google-site-kit')\n  })), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_29__[\"default\"], null, hasRequiredScope && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('You will be redirected to Google Analytics to accept the terms of service.', 'google-site-kit')), !hasRequiredScope && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('You will need to give Site Kit permission to create an Analytics account on your behalf and also accept the Google Analytics terms of service.', 'google-site-kit'))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__action\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"Button\"], {\n    disabled: !canSubmitAccountCreate,\n    onClick: handleSubmit\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Create Account', 'google-site-kit')), accounts && !!accounts.length && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"Button\"], {\n    className: \"googlesitekit-setup-module__sub-action\",\n    onClick: handleBack,\n    tertiary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Back', 'google-site-kit'))));\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/modules/analytics-4/components/common/AccountCreate/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/AccountCreateLegacy.js":
/*!*************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/AccountCreateLegacy.js ***!
  \*************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AccountCreateLegacy; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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/* 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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _CreatePropertyInfoNotice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CreatePropertyInfoNotice */ \"./js/modules/analytics-4/components/common/CreatePropertyInfoNotice.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n\n\n/**\n * Legacy Account Creation component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction AccountCreateLegacy() {\n  var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries();\n  });\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getAccountSummaries');\n  });\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var isCreateAccount = _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ACCOUNT_CREATE\"] === accountID;\n  var createAccountURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getServiceURL({\n      path: '/provision/SignUp'\n    });\n  });\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"])();\n  var createAccountHandler = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(/*#__PURE__*/function () {\n    var _ref = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(event) {\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              event.preventDefault();\n              _context.next = 3;\n              return Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_analytics\"), 'create_account', 'custom-oauth');\n            case 3:\n              global.open(createAccountURL, '_blank');\n            case 4:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return function (_x) {\n      return _ref.apply(this, arguments);\n    };\n  }(), [createAccountURL, viewContext]);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]),\n    resetAccountSummaries = _useDispatch.resetAccountSummaries,\n    resetAccountSettings = _useDispatch.resetAccountSettings;\n  var refetchAccountsHandler = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(function () {\n    resetAccountSummaries();\n    resetAccountSettings();\n  }, [resetAccountSettings, resetAccountSummaries]);\n  if (!hasResolvedAccounts) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"ProgressBar\"], null);\n  }\n  return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(_CreatePropertyInfoNotice__WEBPACK_IMPORTED_MODULE_10__[\"default\"], null), /*#__PURE__*/React.createElement(_js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    moduleSlug: \"analytics-4\",\n    storeName: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]\n  }), !isCreateAccount && accounts && accounts.length === 0 && /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Looks like you don’t have an Analytics account yet. Once you create it, click on \"Re-fetch my account\" and Site Kit will locate it.', 'google-site-kit')), isCreateAccount && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('To create a new account, click the button below which will open the Google Analytics account creation screen in a new window.', 'google-site-kit')), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Once completed, click the link below to re-fetch your accounts to continue.', 'google-site-kit'))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__action\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"Button\"], {\n    onClick: createAccountHandler\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Create an account', 'google-site-kit')), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__sub-action\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"Button\"], {\n    onClick: refetchAccountsHandler,\n    tertiary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Re-fetch My Account', 'google-site-kit')))));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/modules/analytics-4/components/common/AccountCreateLegacy.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/AccountSelect.js":
/*!*******************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/AccountSelect.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AccountSelect; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * Analytics-4 Account Select component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction AccountSelect(_ref) {\n  var hasModuleAccess = _ref.hasModuleAccess,\n    onChange = _ref.onChange;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries();\n  });\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getAccountSummaries');\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n    selectAccount = _useDispatch.selectAccount;\n  var onAccountChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (index, item) {\n    var newAccountID = item.dataset.value;\n    if (accountID !== newAccountID) {\n      selectAccount(newAccountID);\n      var action = newAccountID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_CREATE\"] ? 'change_account_new' : 'change_account';\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_analytics\"), action);\n      if (onChange) {\n        onChange();\n      }\n    }\n  }, [accountID, selectAccount, viewContext, onChange]);\n  if (!hasResolvedAccounts) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"ProgressBar\"], {\n      small: true\n    });\n  }\n  if (hasModuleAccess === false) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Select\"], {\n      className: \"googlesitekit-analytics__select-account\",\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Account', 'google-site-kit'),\n      value: accountID,\n      enhanced: true,\n      outlined: true,\n      disabled: true\n    }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Option\"], {\n      value: accountID\n    }, accountID));\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Select\"], {\n    className: \"googlesitekit-analytics__select-account\",\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Account', 'google-site-kit'),\n    value: accountID,\n    onEnhancedChange: onAccountChange,\n    enhanced: true,\n    outlined: true\n  }, (accounts || []).concat({\n    _id: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_CREATE\"],\n    displayName: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Set up a new account', 'google-site-kit')\n  }).map(function (_ref2, index) {\n    var _id = _ref2._id,\n      displayName = _ref2.displayName;\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Option\"], {\n      key: index,\n      value: _id\n    }, displayName);\n  }));\n}\nAccountSelect.propTypes = {\n  hasModuleAccess: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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/modules/analytics-4/components/common/AccountSelect.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/CreatePropertyInfoNotice.js":
/*!******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/CreatePropertyInfoNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CreatePropertyInfoNotice; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_components_Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_Notice_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/Notice/index */ \"./js/components/Notice/index.js\");\n/* harmony import */ var _js_components_Notice_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Notice/constants */ \"./js/components/Notice/constants.js\");\n\n/**\n * Analytics GA4 Notice component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction CreatePropertyInfoNotice() {\n  var documentationURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getDocumentationLinkURL('ga4');\n  });\n  return /*#__PURE__*/React.createElement(_js_components_Notice_index__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    type: _js_components_Notice_constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].INFO,\n    description: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Got a Google Analytics property and want to find out how to use it with Site Kit? <a>Learn more</a>', 'google-site-kit'), {\n      a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n        href: documentationURL,\n        external: true\n      })\n    })\n  });\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0NyZWF0ZVByb3BlcnR5SW5mb05vdGljZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9jb21tb24vQ3JlYXRlUHJvcGVydHlJbmZvTm90aWNlLmpzP2NiZTgiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBbmFseXRpY3MgR0E0IE5vdGljZSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmV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In0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/CreatePropertyInfoNotice.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/EnhancedMeasurementSwitch.js":
/*!*******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/EnhancedMeasurementSwitch.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return EnhancedMeasurementSwitch; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_SupportLink__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/SupportLink */ \"./js/components/SupportLink.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _svg_icons_tick_svg__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/svg/icons/tick.svg */ \"./svg/icons/tick.svg\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n/**\n * EnhancedMeasurementSwitch component.\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\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction EnhancedMeasurementSwitch(_ref) {\n  var className = _ref.className,\n    onClick = _ref.onClick,\n    _ref$disabled = _ref.disabled,\n    disabled = _ref$disabled === void 0 ? false : _ref$disabled,\n    _ref$loading = _ref.loading,\n    loading = _ref$loading === void 0 ? false : _ref$loading,\n    _ref$formName = _ref.formName,\n    formName = _ref$formName === void 0 ? _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"ENHANCED_MEASUREMENT_FORM\"] : _ref$formName,\n    _ref$isEnhancedMeasur = _ref.isEnhancedMeasurementAlreadyEnabled,\n    isEnhancedMeasurementAlreadyEnabled = _ref$isEnhancedMeasur === void 0 ? false : _ref$isEnhancedMeasur,\n    _ref$showTick = _ref.showTick,\n    showTick = _ref$showTick === void 0 ? false : _ref$showTick;\n  var isEnhancedMeasurementEnabled = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(formName, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"ENHANCED_MEASUREMENT_ENABLED\"]);\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var handleClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    setValues(formName, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"ENHANCED_MEASUREMENT_ENABLED\"], !isEnhancedMeasurementEnabled));\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_11__[\"trackEvent\"])(\"\".concat(viewContext, \"_analytics\"),\n    // If the current status of enhanced measurement is enabled,\n    // then it means that we disabled it, otherwise enabled it.\n    isEnhancedMeasurementEnabled ? 'deactivate_enhanced_measurement' : 'activate_enhanced_measurement');\n    onClick === null || onClick === void 0 ? void 0 : onClick();\n  }, [formName, isEnhancedMeasurementEnabled, onClick, setValues, viewContext]);\n  Object(react_use__WEBPACK_IMPORTED_MODULE_4__[\"useMount\"])(function () {\n    // Ensure the Enhanced Measurement activation banner won't be shown if we've updated the setting\n    // via the switch.\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"ENHANCED_MEASUREMENT_FORM\"], _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER\"], true));\n  });\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-analytics-enable-enhanced-measurement', className, {\n      'googlesitekit-analytics-enable-enhanced-measurement--loading': loading\n    })\n  }, loading && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"ProgressBar\"], {\n    className: \"googlesitekit-analytics-enable-enhanced-measurement__progress--settings-edit\",\n    small: true\n  }), !loading && isEnhancedMeasurementAlreadyEnabled && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-analytics-enable-enhanced-measurement__already-enabled-label\"\n  }, showTick && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-analytics-enable-enhanced-measurement__already-enabled-tick\"\n  }, /*#__PURE__*/React.createElement(_svg_icons_tick_svg__WEBPACK_IMPORTED_MODULE_13__[\"default\"], null)), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Enhanced measurement is enabled for this web data stream', 'google-site-kit')), !loading && !isEnhancedMeasurementAlreadyEnabled && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"Switch\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Enable enhanced measurement', 'google-site-kit'),\n    checked: isEnhancedMeasurementEnabled,\n    disabled: disabled,\n    onClick: handleClick,\n    hideLabel: false\n  }), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-module-settings-group__helper-text\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('This allows you to measure interactions with your content (e.g. file downloads, form completions, video views). <a>Learn more</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_SupportLink__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      path: \"/analytics/answer/9216061\",\n      external: true\n    })\n  })));\n}\nEnhancedMeasurementSwitch.propTypes = {\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  loading: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  isEnhancedMeasurementAlreadyEnabled: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  showTick: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool\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/modules/analytics-4/components/common/EnhancedMeasurementSwitch.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/PropertySelect.js":
/*!********************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/PropertySelect.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return PropertySelect; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * GA4 Property Select component.\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\n\n\nfunction PropertySelect(props) {\n  var isDisabled = props.isDisabled,\n    hasModuleAccess = props.hasModuleAccess,\n    className = props.className,\n    _props$onChange = props.onChange,\n    onChange = _props$onChange === void 0 ? function () {} : _props$onChange;\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var properties = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return hasModuleAccess && !isDisabled ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getPropertySummaries(accountID) || [] : null;\n  });\n  var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  });\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    if (isDisabled) {\n      return false;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isLoadingPropertySummaries() || select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isLoadingWebDataStreams({\n      hasModuleAccess: hasModuleAccess\n    });\n  });\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]),\n    selectProperty = _useDispatch.selectProperty;\n  var onPropertyChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (index, _ref) {\n    var dataset = _ref.dataset;\n    var newPropertyID = dataset.value;\n    if (propertyID === newPropertyID) {\n      return;\n    }\n    selectProperty(newPropertyID);\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_analytics\"), newPropertyID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"PROPERTY_CREATE\"] ? 'change_property_new' : 'change_property', 'ga4');\n    onChange();\n  }, [onChange, propertyID, selectProperty, viewContext]);\n  if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidAccountID\"])(accountID)) {\n    return null;\n  } else if (isLoading) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"ProgressBar\"], {\n      mobileVerticalSpacing: 76,\n      desktopVerticalSpacing: 84,\n      small: true\n    });\n  }\n  var isValidSelection = propertyID === undefined || propertyID === '' ? true : Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertySelection\"])(propertyID);\n  if (hasModuleAccess === false) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Select\"], {\n      className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-analytics-4__select-property', className),\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Property', 'google-site-kit'),\n      value: propertyID,\n      enhanced: true,\n      outlined: true,\n      disabled: true\n    }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Option\"], {\n      value: propertyID\n    }, propertyID));\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Select\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-analytics-4__select-property', className, {\n      'mdc-select--invalid': !isValidSelection,\n      'googlesitekit-analytics-4__select-property--loaded': !isDisabled && !isLoading\n    }),\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Property', 'google-site-kit'),\n    value: propertyID,\n    onEnhancedChange: onPropertyChange,\n    disabled: isDisabled,\n    enhanced: true,\n    outlined: true\n  }, (properties || []).concat({\n    _id: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"PROPERTY_CREATE\"],\n    displayName: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Set up a new property', 'google-site-kit')\n  }).map(function (_ref2) {\n    var _id = _ref2._id,\n      displayName = _ref2.displayName;\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Option\"], {\n      key: _id,\n      value: _id\n    }, _id === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"PROPERTY_CREATE\"] ? displayName : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: 1: Property name. 2: Property ID. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"_x\"])('%1$s (%2$s)', 'Analytics property name and ID', 'google-site-kit'), displayName, _id));\n  }));\n}\nPropertySelect.propTypes = {\n  isDisabled: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  hasModuleAccess: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  onChange: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func\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/modules/analytics-4/components/common/PropertySelect.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/TrackingExclusionSwitches.js":
/*!*******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/TrackingExclusionSwitches.js ***!
  \*******************************************************************************/
/*! exports provided: TRACKING_LOGGED_IN_USERS, TRACKING_CONTENT_CREATORS, trackingExclusionLabels, default */
/***/ (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__, \"TRACKING_LOGGED_IN_USERS\", function() { return TRACKING_LOGGED_IN_USERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TRACKING_CONTENT_CREATORS\", function() { return TRACKING_CONTENT_CREATORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"trackingExclusionLabels\", function() { return trackingExclusionLabels; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return TrackingExclusionSwitches; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n\nvar _trackingExclusionLab;\n\n/**\n * Analytics 4 Tracking Exclusion switches component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nvar TRACKING_LOGGED_IN_USERS = 'loggedinUsers';\nvar TRACKING_CONTENT_CREATORS = 'contentCreators';\nvar trackingExclusionLabels = (_trackingExclusionLab = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_trackingExclusionLab, TRACKING_LOGGED_IN_USERS, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('All logged-in users', 'google-site-kit')), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_trackingExclusionLab, TRACKING_CONTENT_CREATORS, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Users that can write posts', 'google-site-kit')), _trackingExclusionLab);\nfunction TrackingExclusionSwitches() {\n  var trackingDisabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getTrackingDisabled();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n    setTrackingDisabled = _useDispatch.setTrackingDisabled;\n  var message;\n  if (trackingDisabled && trackingDisabled.includes(TRACKING_LOGGED_IN_USERS)) {\n    message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('All logged-in users will be excluded from Analytics tracking', 'google-site-kit');\n  } else if (trackingDisabled && trackingDisabled.includes(TRACKING_CONTENT_CREATORS)) {\n    message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Users that can write posts will be excluded from Analytics tracking', 'google-site-kit');\n  } else {\n    message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('All logged-in users will be included in Analytics tracking', 'google-site-kit');\n  }\n  var updateTrackingDisabled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function (users, exclude) {\n    var trackingDisabledArray = exclude ? trackingDisabled.concat(users) : trackingDisabled.filter(function (item) {\n      return item !== users;\n    });\n    setTrackingDisabled(trackingDisabledArray);\n  }, [trackingDisabled, setTrackingDisabled]);\n  var onChangeTrackContentCreators = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function (event) {\n    var exclude = event.target.checked;\n    updateTrackingDisabled(TRACKING_CONTENT_CREATORS, exclude);\n  }, [updateTrackingDisabled]);\n  var onChangeTrackLoggedInUsers = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function (event) {\n    var exclude = event.target.checked;\n    updateTrackingDisabled(TRACKING_LOGGED_IN_USERS, exclude);\n  }, [updateTrackingDisabled]);\n  if (!Array.isArray(trackingDisabled)) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__fields-group\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    as: \"h4\",\n    size: \"small\",\n    type: \"title\",\n    className: \"googlesitekit-settings-module__fields-group-title\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Exclude Analytics', 'google-site-kit')), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__inline-items\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__inline-item\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Switch\"], {\n    label: trackingExclusionLabels[TRACKING_LOGGED_IN_USERS],\n    checked: trackingDisabled.includes(TRACKING_LOGGED_IN_USERS),\n    onClick: onChangeTrackLoggedInUsers,\n    hideLabel: false\n  })), !trackingDisabled.includes(TRACKING_LOGGED_IN_USERS) && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__inline-item\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Switch\"], {\n    label: trackingExclusionLabels[TRACKING_CONTENT_CREATORS],\n    checked: trackingDisabled.includes(TRACKING_CONTENT_CREATORS),\n    onClick: onChangeTrackContentCreators,\n    hideLabel: false\n  }))), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null, message)));\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/modules/analytics-4/components/common/TrackingExclusionSwitches.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/UseSnippetSwitch.js":
/*!**********************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/UseSnippetSwitch.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return UseSnippetSwitch; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * GA4 Use Snippet Switch component.\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/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction UseSnippetSwitch(_ref) {\n  var description = _ref.description;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n  var useSnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getUseSnippet();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n    setUseSnippet = _useDispatch.setUseSnippet;\n  var onChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    var newUseSnippet = !useSnippet;\n    setUseSnippet(newUseSnippet);\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_analytics\"), newUseSnippet ? 'enable_tag' : 'disable_tag', 'ga4');\n  }, [useSnippet, setUseSnippet, viewContext]);\n  if (useSnippet === undefined) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-analytics-usesnippet\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Switch\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Place Google Analytics code', 'google-site-kit'),\n    checked: useSnippet,\n    onClick: onChange,\n    hideLabel: false\n  }), description);\n}\nUseSnippetSwitch.propTypes = {\n  description: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")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blxuVXNlU25pcHBldFN3aXRjaC5wcm9wVHlwZXMgPSB7XG5cdGRlc2NyaXB0aW9uOiBQcm9wVHlwZXMubm9kZSxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBS0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBS0E7QUFFQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/UseSnippetSwitch.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/WebDataStreamNameInput.js":
/*!****************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/WebDataStreamNameInput.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WebDataStreamNameInput; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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/* 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 _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_AccessibleWarningIcon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/AccessibleWarningIcon */ \"./js/components/AccessibleWarningIcon.js\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n/**\n * Analytics WebDataStreamNameInput component.\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\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction WebDataStreamNameInput() {\n  var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  });\n  var webDataStreamID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamID();\n  });\n  var webDataStreamName = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], 'webDataStreamName');\n  var webDataStreamAlreadyExists = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidPropertyID\"])(propertyID) ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).doesWebDataStreamExist(propertyID, webDataStreamName) : false;\n  });\n  var siteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_SITE\"]).getReferenceSiteURL();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var onChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (_ref) {\n    var currentTarget = _ref.currentTarget;\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], {\n      webDataStreamName: currentTarget.value\n    });\n  }, [setValues]);\n\n  // Set the default web data stream name.\n  Object(react_use__WEBPACK_IMPORTED_MODULE_2__[\"useMount\"])(function () {\n    if (!webDataStreamName && Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_4__[\"isURL\"])(siteURL)) {\n      var _URL = new URL(siteURL),\n        hostname = _URL.hostname;\n      setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], {\n        webDataStreamName: hostname\n      });\n    }\n  });\n\n  // Return early if an existing web data stream is selected.\n  if (webDataStreamID !== _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"WEBDATASTREAM_CREATE\"]) {\n    return null;\n  }\n  var error = webDataStreamAlreadyExists || !webDataStreamName || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidWebDataStreamName\"])(webDataStreamName);\n  var helperText = false;\n  if (webDataStreamAlreadyExists) {\n    helperText = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('A web data stream with this name already exists.', 'google-site-kit');\n  } else if (!webDataStreamName) {\n    helperText = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('A web data stream name is required.', 'google-site-kit');\n  } else if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidWebDataStreamName\"])(webDataStreamName)) {\n    helperText = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('This is not a valid web data stream name.', 'google-site-kit');\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-analytics-webdatastreamname\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_10__[\"TextField\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()({\n      'mdc-text-field--error': error\n    }),\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Web Data Stream Name', 'google-site-kit'),\n    helperText: helperText,\n    trailingIcon: error && /*#__PURE__*/React.createElement(\"span\", {\n      className: \"googlesitekit-text-field-icon--error\"\n    }, /*#__PURE__*/React.createElement(_js_components_AccessibleWarningIcon__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null)),\n    value: webDataStreamName,\n    onChange: onChange,\n    outlined: true\n  }));\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/modules/analytics-4/components/common/WebDataStreamNameInput.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/WebDataStreamSelect.js":
/*!*************************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/WebDataStreamSelect.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WebDataStreamSelect; });\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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\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/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction WebDataStreamSelect(props) {\n  var hasModuleAccess = props.hasModuleAccess,\n    isDisabled = props.isDisabled,\n    className = props.className,\n    onChange = props.onChange;\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n      return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getSettings() || {};\n    }),\n    propertyID = _useSelect.propertyID,\n    webDataStreamID = _useSelect.webDataStreamID,\n    measurementID = _useSelect.measurementID;\n  var webDataStreams = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertyID\"])(propertyID) && hasModuleAccess ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getWebDataStreams(propertyID) : [];\n  });\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    if (isDisabled) {\n      return false;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isLoadingWebDataStreams({\n      hasModuleAccess: hasModuleAccess\n    });\n  });\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]),\n    setWebDataStreamID = _useDispatch.setWebDataStreamID,\n    updateSettingsForMeasurementID = _useDispatch.updateSettingsForMeasurementID;\n  var onWebDataStreamChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (index, _ref) {\n    var _webDataStreams$find, _webDataStreams$find$;\n    var dataset = _ref.dataset;\n    var newID = dataset.value;\n    if (webDataStreamID === newID) {\n      return;\n    }\n    setWebDataStreamID(newID);\n    updateSettingsForMeasurementID(((_webDataStreams$find = webDataStreams.find(function (_ref2) {\n      var _id = _ref2._id;\n      return _id === newID;\n    })) === null || _webDataStreams$find === void 0 ? void 0 : (_webDataStreams$find$ = _webDataStreams$find.webStreamData) === null || _webDataStreams$find$ === void 0 ? void 0 : _webDataStreams$find$.measurementId) || '' // eslint-disable-line sitekit/acronym-case\n    );\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_analytics\"), newID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"WEBDATASTREAM_CREATE\"] ? 'change_webdatastream_new' : 'change_webdatastream', 'ga4');\n    if (onChange) {\n      onChange();\n    }\n  }, [webDataStreams, webDataStreamID, setWebDataStreamID, updateSettingsForMeasurementID, viewContext, onChange]);\n  if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidAccountID\"])(accountID)) {\n    return null;\n  } else if (isLoading) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"ProgressBar\"], {\n      mobileVerticalSpacing: 76,\n      desktopVerticalSpacing: 84,\n      small: true\n    });\n  }\n  var isValidSelection = webDataStreamID === undefined || webDataStreamID === '' ? true : Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamSelection\"])(webDataStreamID);\n  if (hasModuleAccess === false) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Select\"], {\n      className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-analytics-4__select-webdatastream', className),\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Web Data Stream', 'google-site-kit'),\n      value: measurementID,\n      enhanced: true,\n      outlined: true,\n      disabled: true\n    }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Option\"], {\n      value: measurementID\n    }, measurementID));\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Select\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-analytics-4__select-webdatastream', className, {\n      'mdc-select--invalid': !isValidSelection\n    }),\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Web Data Stream', 'google-site-kit'),\n    value: webDataStreamID,\n    onEnhancedChange: onWebDataStreamChange,\n    disabled: isDisabled || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertySelection\"])(propertyID),\n    enhanced: true,\n    outlined: true\n  }, (webDataStreams || []).concat({\n    _id: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"WEBDATASTREAM_CREATE\"],\n    displayName: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Set up a new web data stream', 'google-site-kit')\n  }).map(function (_ref3, index) {\n    var _id = _ref3._id,\n      displayName = _ref3.displayName,\n      _ref3$webStreamData = _ref3.webStreamData,\n      webStreamData = _ref3$webStreamData === void 0 ? {} : _ref3$webStreamData;\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Option\"], {\n      key: index,\n      value: _id\n    }, _id === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"WEBDATASTREAM_CREATE\"] || !(webStreamData === null || webStreamData === void 0 ? void 0 : webStreamData.measurementId) // eslint-disable-line sitekit/acronym-case\n    ? displayName : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: 1: Data stream name. 2: Measurement ID. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"_x\"])('%1$s (%2$s)', 'Analytics data stream name and measurement ID', 'google-site-kit'), displayName, webStreamData.measurementId // eslint-disable-line sitekit/acronym-case\n    ));\n  }));\n}\nWebDataStreamSelect.propTypes = {\n  hasModuleAccess: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  isDisabled: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string\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/modules/analytics-4/components/common/WebDataStreamSelect.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/ZeroDataMessage.js":
/*!*********************************************************************!*\
  !*** ./js/modules/analytics-4/components/common/ZeroDataMessage.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ZeroDataMessage; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n\n/**\n * Analytics ZeroDataMessage component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction ZeroDataMessage(_ref) {\n  var skipPrefix = _ref.skipPrefix;\n  var url = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getCurrentEntityURL();\n  });\n  if (skipPrefix) {\n    return url ? /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Your page hasn’t received any visitors yet', 'google-site-kit')) : /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Your site hasn’t received any visitors yet', 'google-site-kit'));\n  }\n  return url ? /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('No data to display: your page hasn’t received any visitors yet', 'google-site-kit')) : /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('No data to display: your site hasn’t received any visitors yet', 'google-site-kit'));\n}\nZeroDataMessage.propTypes = {\n  skipPrefix: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL1plcm9EYXRhTWVzc2FnZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9jb21tb24vWmVyb0RhdGFNZXNzYWdlLmpzPzBiNWIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBbmFseXRpY3MgWmVyb0RhdGFNZXNzYWdlIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW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NwYW4+XG5cdCk7XG59XG5cblplcm9EYXRhTWVzc2FnZS5wcm9wVHlwZXMgPSB7XG5cdHNraXBQcmVmaXg6IFByb3BUeXBlcy5ib29sLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBR0E7QUFDQTtBQWVBO0FBRUE7QUFlQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/ZeroDataMessage.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/common/index.js":
/*!***********************************************************!*\
  !*** ./js/modules/analytics-4/components/common/index.js ***!
  \***********************************************************/
/*! exports provided: AccountCreate, AccountSelect, AccountCreateLegacy, EnhancedMeasurementSwitch, WebDataStreamSelect, PropertySelect, TrackingExclusionSwitches, UseSnippetSwitch, CreatePropertyInfoNotice, WebDataStreamNameInput, ZeroDataMessage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AccountCreate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccountCreate */ \"./js/modules/analytics-4/components/common/AccountCreate/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AccountCreate\", function() { return _AccountCreate__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _AccountSelect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AccountSelect */ \"./js/modules/analytics-4/components/common/AccountSelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AccountSelect\", function() { return _AccountSelect__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _AccountCreateLegacy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AccountCreateLegacy */ \"./js/modules/analytics-4/components/common/AccountCreateLegacy.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AccountCreateLegacy\", function() { return _AccountCreateLegacy__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _EnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./EnhancedMeasurementSwitch */ \"./js/modules/analytics-4/components/common/EnhancedMeasurementSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EnhancedMeasurementSwitch\", function() { return _EnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _WebDataStreamSelect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./WebDataStreamSelect */ \"./js/modules/analytics-4/components/common/WebDataStreamSelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WebDataStreamSelect\", function() { return _WebDataStreamSelect__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _PropertySelect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./PropertySelect */ \"./js/modules/analytics-4/components/common/PropertySelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PropertySelect\", function() { return _PropertySelect__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _TrackingExclusionSwitches__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TrackingExclusionSwitches */ \"./js/modules/analytics-4/components/common/TrackingExclusionSwitches.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackingExclusionSwitches\", function() { return _TrackingExclusionSwitches__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./UseSnippetSwitch */ \"./js/modules/analytics-4/components/common/UseSnippetSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UseSnippetSwitch\", function() { return _UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _CreatePropertyInfoNotice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./CreatePropertyInfoNotice */ \"./js/modules/analytics-4/components/common/CreatePropertyInfoNotice.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CreatePropertyInfoNotice\", function() { return _CreatePropertyInfoNotice__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n/* harmony import */ var _WebDataStreamNameInput__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./WebDataStreamNameInput */ \"./js/modules/analytics-4/components/common/WebDataStreamNameInput.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WebDataStreamNameInput\", function() { return _WebDataStreamNameInput__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; });\n\n/* harmony import */ var _ZeroDataMessage__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ZeroDataMessage */ \"./js/modules/analytics-4/components/common/ZeroDataMessage.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ZeroDataMessage\", function() { return _ZeroDataMessage__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; });\n\n/**\n * GA4 common components.\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\n\n\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2NvbW1vbi9pbmRleC5qcz8wNmJjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR0E0IGNvbW1vbiBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMa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bmlwcGV0U3dpdGNoJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgQ3JlYXRlUHJvcGVydHlJbmZvTm90aWNlIH0gZnJvbSAnLi9DcmVhdGVQcm9wZXJ0eUluZm9Ob3RpY2UnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBXZWJEYXRhU3RyZWFtTmFtZUlucHV0IH0gZnJvbSAnLi9XZWJEYXRhU3RyZWFtTmFtZUlucHV0JztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgWmVyb0RhdGFNZXNzYWdlIH0gZnJvbSAnLi9aZXJvRGF0YU1lc3NhZ2UnO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/common/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/DataSourceLink.js":
/*!****************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/DataSourceLink.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DataSourceLink; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_components_SourceLink__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/SourceLink */ \"./js/components/SourceLink.js\");\n\n/**\n * DashboardAllTrafficWidgetGA4 Data Source Link component\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\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction DataSourceLink() {\n  var viewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var serviceReportURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (viewOnly) {\n      return null;\n    }\n    var dimensionName = select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]).getValue(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"UI_DIMENSION_NAME\"]) || 'sessionDefaultChannelGrouping';\n    var entityURL = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getCurrentEntityURL();\n    var _select$getDateRangeD = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n        compare: true,\n        offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"]\n      }),\n      startDate = _select$getDateRangeD.startDate,\n      endDate = _select$getDateRangeD.endDate,\n      compareStartDate = _select$getDateRangeD.compareStartDate,\n      compareEndDate = _select$getDateRangeD.compareEndDate;\n    var reportArgs = {\n      dates: {\n        startDate: startDate,\n        endDate: endDate,\n        compareStartDate: compareStartDate,\n        compareEndDate: compareEndDate\n      }\n    };\n    var reportType;\n    switch (dimensionName) {\n      case 'country':\n        reportType = 'user-demographics-detail';\n        reportArgs.details = {\n          metric: 'activeUsers',\n          dimension: 'country'\n        };\n        // eslint-disable-next-line sitekit/acronym-case\n        reportArgs.otherArgs = {\n          collectionId: 'user'\n        };\n        break;\n      case 'deviceCategory':\n        reportType = 'user-technology-detail';\n        reportArgs.details = {\n          metric: 'activeUsers',\n          dimension: 'deviceCategory'\n        };\n        // eslint-disable-next-line sitekit/acronym-case\n        reportArgs.otherArgs = {\n          collectionId: 'user'\n        };\n        break;\n      case 'sessionDefaultChannelGrouping':\n      default:\n        reportType = 'lifecycle-traffic-acquisition-v2';\n        // eslint-disable-next-line sitekit/acronym-case\n        reportArgs.otherArgs = {\n          collectionId: 'life-cycle'\n        };\n        break;\n    }\n    if (Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_2__[\"isURL\"])(entityURL)) {\n      reportArgs.filters = {\n        unifiedPagePathScreen: Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"getURLPath\"])(entityURL)\n      };\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL(reportType, reportArgs);\n  });\n  return /*#__PURE__*/React.createElement(_js_components_SourceLink__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    className: \"googlesitekit-data-block__source\",\n    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"_x\"])('Analytics', 'Service name', 'google-site-kit'),\n    href: serviceReportURL,\n    external: true\n  });\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/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/DataSourceLink.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/DimensionTabs.js":
/*!***************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/DimensionTabs.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DimensionTabs; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n\n/**\n * DimensionTabs component\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nvar tabs = [{\n  tabText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Channels', 'google-site-kit'),\n  dimensionName: 'sessionDefaultChannelGrouping'\n}, {\n  tabText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Locations', 'google-site-kit'),\n  dimensionName: 'country'\n}, {\n  tabText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Devices', 'google-site-kit'),\n  dimensionName: 'deviceCategory'\n}];\nfunction DimensionTabs(_ref) {\n  var dimensionName = _ref.dimensionName,\n    gatheringData = _ref.gatheringData,\n    loaded = _ref.loaded,\n    isZeroData = _ref.isZeroData;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]),\n    setValues = _useDispatch.setValues;\n  var activeTab = tabs.findIndex(function (tab) {\n    return tab.dimensionName === dimensionName;\n  });\n  var handleTabUpdate = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function (index) {\n    var _setValues;\n    var _ref2 = tabs[index] || {},\n      name = _ref2.dimensionName;\n    setValues((_setValues = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"UI_DIMENSION_NAME\"], name), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"UI_DIMENSION_VALUE\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"UI_DIMENSION_COLOR\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"UI_ACTIVE_ROW_INDEX\"], null), _setValues));\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"trackEvent\"])(\"\".concat(viewContext, \"_all-traffic-widget\"), 'tab_select', name);\n  }, [setValues, viewContext]);\n  if (!loaded) {\n    return /*#__PURE__*/React.createElement(\"div\", {\n      className: \"googlesitekit-widget--analyticsAllTraffic__tabs--loading\"\n    }, /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      width: \"100px\",\n      height: \"40px\",\n      shape: \"square\"\n    }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      width: \"100px\",\n      height: \"40px\",\n      shape: \"square\"\n    }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      width: \"100px\",\n      height: \"40px\",\n      shape: \"square\"\n    }));\n  }\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__tabs hidden-on-mobile\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"TabBar\"], {\n    activeIndex: activeTab,\n    handleActiveIndexUpdate: handleTabUpdate\n  }, tabs.map(function (tab) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Tab\"], {\n      key: tab.dimensionName,\n      className: \"mdc-tab--min-width\",\n      focusOnActivate: false,\n      disabled: gatheringData || isZeroData\n    }, /*#__PURE__*/React.createElement(\"span\", {\n      className: \"mdc-tab__text-label\"\n    }, tab.tabText));\n  }))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__tabs--small\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Select\"], {\n    onEnhancedChange: handleTabUpdate,\n    value: \"dimension-name-\".concat(activeTab),\n    disabled: gatheringData || isZeroData,\n    enhanced: true,\n    outlined: true\n  }, tabs.map(function (tab, index) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Option\"], {\n      key: tab.dimensionName,\n      value: \"dimension-name-\".concat(index)\n    }, tab.tabText);\n  }))));\n}\nDimensionTabs.propTypes = {\n  dimensionName: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  gatheringData: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  isZeroData: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n  loaded: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool\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/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/DimensionTabs.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/TotalUserCount.js":
/*!****************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/TotalUserCount.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return TotalUserCount; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ \"../node_modules/@wordpress/icons/build-module/index.js\");\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/* 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 _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_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_ChangeArrow__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/ChangeArrow */ \"./js/components/ChangeArrow.js\");\n/* harmony import */ var _js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _js_components_ReportError__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/ReportError */ \"./js/components/ReportError.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/components/GatheringDataNotice */ \"./js/components/GatheringDataNotice.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n\n\n/**\n * TotalUserCount component\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\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\nfunction TotalUserCount(props) {\n  var _previous$metricValue, _previous$metricValue2, _current$metricValues, _current$metricValues2, _getAvailableDateRang, _current$metricValues3, _current$metricValues4, _current$metricValues5, _current$metricValues6;\n  var loaded = props.loaded,\n    error = props.error,\n    report = props.report,\n    dimensionValue = props.dimensionValue,\n    gatheringData = props.gatheringData;\n  var dateRange = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getDateRange();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_13__[\"CORE_UI\"]),\n    setValues = _useDispatch.setValues;\n  function showAllUsers() {\n    var _setValues;\n    setValues((_setValues = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_setValues, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"UI_DIMENSION_VALUE\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_setValues, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"UI_DIMENSION_COLOR\"], ''), _setValues));\n  }\n  if (!loaded) {\n    return (\n      /*#__PURE__*/\n      // Height is based on real count desktop height (100px), minus 10px for the extra margin.\n      // For extra large desktop viewports, it is increased via CSS to 106px, to match the respective\n      // real count height for those devices (116px).\n      // TODO: Modify `PreviewBlock` to allow for different sizes per breakpoint.\n      React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n        className: \"googlesitekit-widget--analyticsAllTraffic__totalcount--loading\",\n        width: \"220px\",\n        height: \"90px\",\n        shape: \"square\"\n      })\n    );\n  }\n  if (error) {\n    return /*#__PURE__*/React.createElement(_js_components_ReportError__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      moduleSlug: \"analytics-4\",\n      error: error\n    });\n  }\n  var _ref = report || {},\n    totals = _ref.totals;\n  var _ref2 = totals || [],\n    _ref3 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref2, 2),\n    current = _ref3[0],\n    previous = _ref3[1];\n  var change = Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"calculateChange\"])(previous === null || previous === void 0 ? void 0 : (_previous$metricValue = previous.metricValues) === null || _previous$metricValue === void 0 ? void 0 : (_previous$metricValue2 = _previous$metricValue[0]) === null || _previous$metricValue2 === void 0 ? void 0 : _previous$metricValue2.value, current === null || current === void 0 ? void 0 : (_current$metricValues = current.metricValues) === null || _current$metricValues === void 0 ? void 0 : (_current$metricValues2 = _current$metricValues[0]) === null || _current$metricValues2 === void 0 ? void 0 : _current$metricValues2.value);\n  var currentDateRangeLabel = null;\n  var currentDateRangeDays = (_getAvailableDateRang = Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"getAvailableDateRanges\"])()[dateRange]) === null || _getAvailableDateRang === void 0 ? void 0 : _getAvailableDateRang.days;\n  if (currentDateRangeDays) {\n    currentDateRangeLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: %s: number of days */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('compared to the previous %s days', 'google-site-kit'), currentDateRangeDays);\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__totalcount googlesitekit-data-block\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n    as: \"h3\",\n    className: \"googlesitekit-subheading-1 googlesitekit-data-block__title\"\n  }, !dimensionValue && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('All Visitors', 'google-site-kit'), \" \"), dimensionValue && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"Fragment\"], null, dimensionValue && /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    onClick: showAllUsers\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('All Visitors', 'google-site-kit')), !dimensionValue && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('All Visitors', 'google-site-kit')), /*#__PURE__*/React.createElement(_wordpress_icons__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"], {\n    icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__[\"chevronRight\"],\n    size: \"18\",\n    fill: \"currentColor\"\n  }), /*#__PURE__*/React.createElement(\"span\", null, dimensionValue))), gatheringData && /*#__PURE__*/React.createElement(_js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    style: _js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_16__[\"NOTICE_STYLE\"].LARGE\n  }), !gatheringData && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"Fragment\"], null, !!(current === null || current === void 0 ? void 0 : (_current$metricValues3 = current.metricValues) === null || _current$metricValues3 === void 0 ? void 0 : (_current$metricValues4 = _current$metricValues3[0]) === null || _current$metricValues4 === void 0 ? void 0 : _current$metricValues4.value) && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-data-block__datapoint\"\n  }, Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(current === null || current === void 0 ? void 0 : (_current$metricValues5 = current.metricValues) === null || _current$metricValues5 === void 0 ? void 0 : (_current$metricValues6 = _current$metricValues5[0]) === null || _current$metricValues6 === void 0 ? void 0 : _current$metricValues6.value)), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-data-block__change\"\n  }, !!change && /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-data-block__arrow\"\n  }, /*#__PURE__*/React.createElement(_js_components_ChangeArrow__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    direction: 0 <= change ? 'up' : 'down',\n    width: 9,\n    height: 9\n  })), /*#__PURE__*/React.createElement(\"span\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('googlesitekit-data-block__value', {\n      'googlesitekit-data-block__value--up': 0 < change,\n      'googlesitekit-data-block__value--down': 0 > change\n    })\n  }, Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(Math.abs(change), {\n    style: 'percent',\n    maximumFractionDigits: 1\n  })), /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-data-block__suffix\"\n  }, currentDateRangeLabel))));\n}\nTotalUserCount.propTypes = {\n  loaded: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  report: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,\n  dimensionValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  gatheringData: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool\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/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/TotalUserCount.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserCountGraph.js":
/*!****************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserCountGraph.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return UserCountGraph; });\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_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/toArray */ \"../node_modules/@babel/runtime/helpers/toArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toArray__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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 _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_GoogleChart__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/GoogleChart */ \"./js/components/GoogleChart/index.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_parseDimensionStringToDate__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/parseDimensionStringToDate */ \"./js/modules/analytics-4/utils/parseDimensionStringToDate.js\");\n/* harmony import */ var _js_components_ReportError__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/ReportError */ \"./js/components/ReportError.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./utils */ \"./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/utils.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n\n\n\n/**\n * UserCountGraph component\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\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nfunction UserCountGraph(props) {\n  var _report$totals, _report$totals$, _report$totals$$metri, _report$totals$$metri2, _report$totals2, _report$totals2$, _report$totals2$$metr, _report$totals2$$metr2;\n  var loaded = props.loaded,\n    error = props.error,\n    report = props.report,\n    gatheringData = props.gatheringData;\n  var isViewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_15__[\"default\"])();\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]).getDateRangeDates({\n        offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"DATE_RANGE_OFFSET\"]\n      });\n    }),\n    startDate = _useSelect.startDate,\n    endDate = _useSelect.endDate;\n  var graphLineColor = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_UI\"]).getValue(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"UI_DIMENSION_COLOR\"]) || '#3c7251';\n  });\n  var propertyCreateTime = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    if (isViewOnly) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getPropertyCreateTime();\n  });\n  if (error) {\n    return /*#__PURE__*/React.createElement(_js_components_ReportError__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      moduleSlug: \"analytics-4\",\n      error: error\n    });\n  }\n  var rows;\n  if (Array.isArray(report === null || report === void 0 ? void 0 : report.rows)) {\n    rows = report.rows;\n  } else if (gatheringData) {\n    rows = [];\n  } else {\n    // Get the first date after the start date so there's a tick at the start\n    // of the date range.\n    // See: https://github.com/google/site-kit-wp/pull/8053#pullrequestreview-1811682783\n    var dateAfterStartDate = Object(_js_util__WEBPACK_IMPORTED_MODULE_16__[\"stringToDate\"])(startDate);\n    dateAfterStartDate.setDate(dateAfterStartDate.getDate() + 1);\n    var dateAfterStartDateString = Object(_js_util__WEBPACK_IMPORTED_MODULE_16__[\"getDateString\"])(dateAfterStartDate);\n\n    // For the \"zero data\" case, we need to create a zero data row for the start\n    // and end dates to ensure the chart renders the ticks at the correct\n    // offsets.\n    //\n    // We also need to create an additional row for\n    rows = [Object(_utils__WEBPACK_IMPORTED_MODULE_14__[\"createZeroDataRow\"])(startDate), Object(_utils__WEBPACK_IMPORTED_MODULE_14__[\"createZeroDataRow\"])(dateAfterStartDateString), Object(_utils__WEBPACK_IMPORTED_MODULE_14__[\"createZeroDataRow\"])(endDate)];\n  }\n  var chartData = [[{\n    type: 'date',\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Day', 'google-site-kit')\n  }, {\n    type: 'number',\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Users', 'google-site-kit')\n  }]].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default()(rows.map(function (_ref) {\n    var metricValues = _ref.metricValues,\n      dimensionValues = _ref.dimensionValues;\n    return [Object(_js_modules_analytics_4_utils_parseDimensionStringToDate__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(dimensionValues[0].value), metricValues[0].value];\n  })));\n  var _chartData$slice$map = chartData.slice(1).map(function (_ref2) {\n      var _ref3 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref2, 1),\n        date = _ref3[0];\n      return date;\n    }),\n    _chartData$slice$map2 = _babel_runtime_helpers_toArray__WEBPACK_IMPORTED_MODULE_1___default()(_chartData$slice$map),\n    ticks = _chartData$slice$map2.slice(1);\n  var chartOptions = Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"cloneDeep\"])(UserCountGraph.chartOptions);\n  chartOptions.series[0].color = graphLineColor;\n  chartOptions.hAxis.ticks = ticks;\n\n  // Set the `max` height of the chart to `undefined` so that the chart will\n  // show all content, but only if the report is loaded/has data.\n  if (!(report === null || report === void 0 ? void 0 : (_report$totals = report.totals) === null || _report$totals === void 0 ? void 0 : (_report$totals$ = _report$totals[0]) === null || _report$totals$ === void 0 ? void 0 : (_report$totals$$metri = _report$totals$.metricValues) === null || _report$totals$$metri === void 0 ? void 0 : (_report$totals$$metri2 = _report$totals$$metri[0]) === null || _report$totals$$metri2 === void 0 ? void 0 : _report$totals$$metri2.value) ||\n  // The total returned by the API can be a string, so make sure we cast it\n  // to a number.\n  parseInt(report === null || report === void 0 ? void 0 : (_report$totals2 = report.totals) === null || _report$totals2 === void 0 ? void 0 : (_report$totals2$ = _report$totals2[0]) === null || _report$totals2$ === void 0 ? void 0 : (_report$totals2$$metr = _report$totals2$.metricValues) === null || _report$totals2$$metr === void 0 ? void 0 : (_report$totals2$$metr2 = _report$totals2$$metr[0]) === null || _report$totals2$$metr2 === void 0 ? void 0 : _report$totals2$$metr2.value, 10) === 0) {\n    chartOptions.vAxis.viewWindow.max = 100;\n  } else {\n    chartOptions.vAxis.viewWindow.max = undefined;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__user-count-chart\"\n  }, /*#__PURE__*/React.createElement(_js_components_GoogleChart__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    chartType: \"LineChart\",\n    data: chartData,\n    dateMarkers: propertyCreateTime ? [{\n      date: Object(_js_util__WEBPACK_IMPORTED_MODULE_16__[\"getDateString\"])(\n      // Valid use of `new Date()` with an argument.\n      // eslint-disable-next-line sitekit/no-direct-date\n      new Date(propertyCreateTime)),\n      text: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Google Analytics property created', 'google-site-kit')\n    }] : undefined,\n    height: \"368px\",\n    loadingHeight: \"340px\",\n    loaded: loaded,\n    options: chartOptions,\n    gatheringData: gatheringData,\n    width: \"100%\"\n  }));\n}\nUserCountGraph.propTypes = {\n  loaded: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool,\n  error: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.shape({}),\n  report: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object,\n  gatheringData: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool\n};\nUserCountGraph.chartOptions = {\n  animation: {\n    startup: true\n  },\n  curveType: 'function',\n  height: 340,\n  width: '100%',\n  colors: ['#3c7251'],\n  chartArea: {\n    left: 7,\n    right: 40,\n    height: 300,\n    top: 21\n  },\n  legend: {\n    position: 'none'\n  },\n  hAxis: {\n    // This color is the result of placing `rgba(26, 115, 232, 0.08)` over the white (`#ffffff`) background.\n    backgroundColor: '#eef4fd',\n    format: 'MMM d',\n    gridlines: {\n      color: '#ffffff'\n    },\n    textPosition: 'out',\n    textStyle: {\n      color: '#616161',\n      fontSize: 12\n    }\n  },\n  vAxis: {\n    gridlines: {\n      color: '#ece9f1'\n    },\n    lineWidth: 3,\n    minorGridlines: {\n      color: '#ffffff'\n    },\n    minValue: 0,\n    textStyle: {\n      color: '#616161',\n      fontSize: 12\n    },\n    textPosition: 'out',\n    viewWindow: {\n      min: 0\n    }\n  },\n  series: {\n    0: {\n      lineWidth: 3,\n      targetAxisIndex: 1\n    }\n  },\n  focusTarget: 'category',\n  crosshair: {\n    color: '#3c7251',\n    opacity: 0.1,\n    orientation: 'vertical',\n    trigger: 'both'\n  }\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/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserCountGraph.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserDimensionsPieChart.js":
/*!************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserDimensionsPieChart.js ***!
  \************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return UserDimensionsPieChart; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_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/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/keycodes */ \"../node_modules/@wordpress/keycodes/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_GoogleChart__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/GoogleChart */ \"./js/components/GoogleChart/index.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _svg_icons_pie_chart_zero_data_svg__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/svg/icons/pie-chart-zero-data.svg */ \"./svg/icons/pie-chart-zero-data.svg\");\n/* harmony import */ var _js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/components/GatheringDataNotice */ \"./js/components/GatheringDataNotice.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./utils */ \"./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/utils.js\");\n\n\n\n/**\n * UserDimensionsPieChart component\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/**\n * WordPress dependencies\n */\n\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction UserDimensionsPieChart(props) {\n  var dimensionName = props.dimensionName,\n    dimensionValue = props.dimensionValue,\n    gatheringData = props.gatheringData,\n    loaded = props.loaded,\n    report = props.report;\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2),\n    selectable = _useState2[0],\n    setSelectable = _useState2[1];\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useState\"])(false),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState3, 2),\n    isTooltipOpen = _useState4[0],\n    setIsTooltipOpen = _useState4[1];\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_19__[\"default\"])();\n  var otherSupportURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).getGoogleSupportURL({\n      path: '/analytics/answer/13331684'\n    });\n  });\n  var notSetSupportURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).getGoogleSupportURL({\n      path: '/analytics/answer/13504892'\n    });\n  });\n  var dimensionColor = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_UI\"]).getValue(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_COLOR\"]);\n  });\n  var activeRowIndex = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_UI\"]).getValue(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_ACTIVE_ROW_INDEX\"]);\n  });\n  var hasZeroData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULES_ANALYTICS_4\"]).hasZeroData();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_UI\"]),\n    setValues = _useDispatch.setValues;\n  var chartWrapperRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useRef\"])();\n  var containerRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useRef\"])();\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    function onTooltipClick(event) {\n      var _target$classList;\n      var _ref = event || {},\n        target = _ref.target;\n      if (!(target === null || target === void 0 ? void 0 : (_target$classList = target.classList) === null || _target$classList === void 0 ? void 0 : _target$classList.contains('googlesitekit-cta-link__tooltip'))) {\n        return;\n      }\n      var label = target.dataset.rowLabel;\n      if (label === '(other)' || label === '(not set)') {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"trackEvent\"])(\"\".concat(viewContext, \"_all-traffic-widget\"), 'help_click', label);\n      }\n    }\n    var currentContainerRef = containerRef.current;\n\n    // When the user hits the 'escape' key and the tooltip is open, close the tooltip and reset UI vars.\n    function onEscape() {\n      var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      if ((event === null || event === void 0 ? void 0 : event.keyCode) === _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_7__[\"ESCAPE\"] && isTooltipOpen) {\n        var _setValues;\n        setIsTooltipOpen(false);\n        setValues((_setValues = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_VALUE\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_COLOR\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_ACTIVE_ROW_INDEX\"], null), _setValues));\n      }\n    }\n\n    // When the use clicks on anything except the legend while the tooltip is open, close the tooltip.\n    function onExitClick(event) {\n      var _event$target;\n      if (isTooltipOpen && !(event === null || event === void 0 ? void 0 : (_event$target = event.target) === null || _event$target === void 0 ? void 0 : _event$target.closest('.googlesitekit-widget--analyticsAllTraffic__dimensions-chart'))) {\n        setIsTooltipOpen(false);\n      }\n    }\n    if (currentContainerRef) {\n      currentContainerRef.addEventListener('click', onTooltipClick);\n      global.addEventListener('click', onExitClick);\n      global.addEventListener('keyup', onEscape);\n    }\n    return function () {\n      if (currentContainerRef) {\n        currentContainerRef.removeEventListener('click', onTooltipClick);\n        global.removeEventListener('click', onExitClick);\n        global.removeEventListener('keyup', onEscape);\n      }\n    };\n  }, [setValues, activeRowIndex, dimensionValue, dimensionColor, viewContext, isTooltipOpen]);\n  var dataMap = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_11__[\"extractAnalyticsDataForPieChart\"])(report, {\n    keyColumnIndex: 0,\n    maxSlices: 5,\n    withOthers: true,\n    tooltipCallback: function tooltipCallback(row, previousDateRangeRow, rowData) {\n      var _row$metricValues, _row$metricValues$, _previousDateRangeRow, _previousDateRangeRow2;\n      var absValue = (row === null || row === void 0 ? void 0 : (_row$metricValues = row.metricValues) === null || _row$metricValues === void 0 ? void 0 : (_row$metricValues$ = _row$metricValues[0]) === null || _row$metricValues$ === void 0 ? void 0 : _row$metricValues$.value) || 0;\n      var difference = (previousDateRangeRow === null || previousDateRangeRow === void 0 ? void 0 : (_previousDateRangeRow = previousDateRangeRow.metricValues) === null || _previousDateRangeRow === void 0 ? void 0 : (_previousDateRangeRow2 = _previousDateRangeRow[0]) === null || _previousDateRangeRow2 === void 0 ? void 0 : _previousDateRangeRow2.value) > 0 ? absValue * 100 / previousDateRangeRow.metricValues[0].value - 100 : 100;\n      var formattedValue = Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"numberFormat\"])(absValue);\n      var statInfo;\n      if (previousDateRangeRow) {\n        var svgArrow = Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"getChartDifferenceArrow\"])(difference);\n        statInfo = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: 1: numeric value of users, 2: up or down arrow , 3: different change in percentage, %%: percent symbol */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('Users: <strong>%1$s</strong> <em>%2$s %3$s%%</em>', 'Stat information shown in the user dimensions chart tooltip when comparison data is available', 'google-site-kit'), formattedValue, svgArrow, Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"numberFormat\"])(Math.abs(difference), {\n          maximumFractionDigits: 2\n        }));\n      } else {\n        statInfo = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: 1: numeric value of users */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('Users: <strong>%1$s</strong>', 'Stat information shown in the user dimensions chart tooltip when no comparison data is available', 'google-site-kit'), formattedValue);\n      }\n      var rowLabel = rowData[0].toLowerCase();\n      var dimensionClassName = \"googlesitekit-visualization-tooltip-\".concat(rowLabel.replace(/\\W+/, '_'));\n      var tooltip = \"<p>\\n\\t\\t\\t\\t\\t\".concat(/* translators: %s: dimension label */Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%s:', 'google-site-kit'), rowData[0].toUpperCase()), \"\\n\\t\\t\\t\\t\\t<b>\").concat(Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"numberFormat\"])(rowData[1], {\n        maximumFractionDigits: 1,\n        style: 'percent'\n      }), \"</b>\\n\\t\\t\\t\\t</p>\\n\\t\\t\\t\\t<p>\\n\\t\\t\\t\\t\\t\").concat(statInfo, \"\\n\\t\\t\\t\\t</p>\");\n      var othersLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Others', 'google-site-kit').toLowerCase();\n      if (rowLabel === othersLabel) {\n        switch (dimensionName) {\n          case 'country':\n            tooltip += \"<p>\".concat(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('See the full list of locations in Analytics', 'google-site-kit'), \"</p>\");\n            break;\n          case 'deviceCategory':\n            tooltip += \"<p>\".concat(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('See the full list of devices in Analytics', 'google-site-kit'), \"</p>\");\n            break;\n          case 'sessionDefaultChannelGrouping':\n          default:\n            tooltip += \"<p>\".concat(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('See the full list of channels in Analytics', 'google-site-kit'), \"</p>\");\n            break;\n        }\n      }\n      if (otherSupportURL && rowLabel === '(other)') {\n        tooltip += Object(_utils__WEBPACK_IMPORTED_MODULE_20__[\"getTooltipHelp\"])(otherSupportURL, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: %s: pie slice label */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Learn more about what \"%s\" means', 'google-site-kit'), rowLabel), rowLabel);\n      }\n      if (notSetSupportURL && rowLabel === '(not set)') {\n        tooltip += Object(_utils__WEBPACK_IMPORTED_MODULE_20__[\"getTooltipHelp\"])(notSetSupportURL, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: %s: pie slice label */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Learn more about what \"%s\" means', 'google-site-kit'), rowLabel), rowLabel);\n      }\n      tooltip = \"<div class=\\\"\".concat(classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-visualization-tooltip', dimensionClassName, {\n        'googlesitekit-visualization-tooltip--up': difference > 0,\n        'googlesitekit-visualization-tooltip--down': difference < 0\n      }), \"\\\">\\n\\t\\t\\t\\t\\t\").concat(tooltip, \"\\n\\t\\t\\t\\t</div>\");\n      return tooltip;\n    }\n  });\n  var slices = UserDimensionsPieChart.chartOptions.slices;\n  function onLegendClick(index) {\n    var _chartWrapperRef$curr;\n    if (!chartWrapperRef.current) {\n      return;\n    }\n    var newDimensionValue = chartWrapperRef.current.getDataTable().getValue(index, 0);\n    var isOthers = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Others', 'google-site-kit') === newDimensionValue;\n\n    // Do not do anything as \"Others\" should not be selectable.\n    if (isOthers) {\n      return;\n    }\n    var _ref2 = ((_chartWrapperRef$curr = chartWrapperRef.current.getChart().getSelection()) === null || _chartWrapperRef$curr === void 0 ? void 0 : _chartWrapperRef$curr[0]) || {},\n      row = _ref2.row;\n    if (row === index) {\n      var _setValues2;\n      setIsTooltipOpen(false);\n      setValues((_setValues2 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues2, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_VALUE\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues2, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_COLOR\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues2, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_ACTIVE_ROW_INDEX\"], null), _setValues2));\n    } else if (newDimensionValue) {\n      var _slices$row, _setValues3;\n      setIsTooltipOpen(true);\n      setValues((_setValues3 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues3, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_COLOR\"], (_slices$row = slices[row]) === null || _slices$row === void 0 ? void 0 : _slices$row.color), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues3, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_VALUE\"], newDimensionValue), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues3, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_ACTIVE_ROW_INDEX\"], index), _setValues3));\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"trackEvent\"])(\"\".concat(viewContext, \"_all-traffic-widget\"), 'slice_select', \"\".concat(dimensionName, \":\").concat(newDimensionValue));\n    }\n  }\n  function onMouseOut() {\n    setSelectable(false);\n  }\n  function onMouseOver(event, _ref3) {\n    var chartWrapper = _ref3.chartWrapper;\n    var row = event.row;\n    if (row === undefined || row === null) {\n      setSelectable(false);\n    }\n    var dataTable = chartWrapper.getDataTable();\n    setSelectable(dataTable.getValue(row, 0) !== Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Others', 'google-site-kit'));\n  }\n  function onSelect(_ref4) {\n    var _chart$getSelection;\n    var chartWrapper = _ref4.chartWrapper;\n    var chart = chartWrapper.getChart();\n    var _ref5 = ((_chart$getSelection = chart.getSelection()) === null || _chart$getSelection === void 0 ? void 0 : _chart$getSelection[0]) || {},\n      row = _ref5.row;\n    if (row === null || row === undefined) {\n      var _setValues4;\n      setIsTooltipOpen(false);\n      setValues((_setValues4 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues4, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_VALUE\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues4, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_COLOR\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues4, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_ACTIVE_ROW_INDEX\"], null), _setValues4));\n    } else {\n      var dataTable = chartWrapper.getDataTable();\n      if (dataTable) {\n        var newDimensionValue = dataTable.getValue(row, 0);\n        var isOthers = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Others', 'google-site-kit') === newDimensionValue;\n        if (isOthers) {\n          // Maintain the existing selection when clicking on the \"Others\" slice.\n          // We set a value here because otherwise Google Charts will show the\n          // \"Others\" slice as selected.\n          if (activeRowIndex === null || activeRowIndex === undefined) {\n            chart.setSelection([]);\n          } else {\n            chart.setSelection([{\n              row: activeRowIndex\n            }]);\n          }\n        } else {\n          var _slices$row2, _setValues5;\n          setIsTooltipOpen(true);\n          setValues((_setValues5 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues5, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_COLOR\"], (_slices$row2 = slices[row]) === null || _slices$row2 === void 0 ? void 0 : _slices$row2.color), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues5, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_VALUE\"], newDimensionValue), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues5, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_ACTIVE_ROW_INDEX\"], row), _setValues5));\n          Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"trackEvent\"])(\"\".concat(viewContext, \"_all-traffic-widget\"), 'slice_select', \"\".concat(dimensionName, \":\").concat(newDimensionValue));\n        }\n      }\n    }\n  }\n  function onReady(_ref6) {\n    var _chart$getSelection2, _chart$getSelection3;\n    var chartWrapper = _ref6.chartWrapper;\n    var chart = chartWrapper.getChart();\n\n    // If there is a dimension value set but the initialized chart does not have a\n    // selection yet, find the matching row index and initially select it in the chart.\n    if (dimensionValue && !((_chart$getSelection2 = chart.getSelection()) === null || _chart$getSelection2 === void 0 ? void 0 : _chart$getSelection2.length)) {\n      // Look in the real data map, which includes headings, therefore subtract 1.\n      var selectedRow = dataMap.findIndex(function (row) {\n        return row[0] === dimensionValue;\n      }) - 1;\n      if (selectedRow >= 0) {\n        var _slices$selectedRow;\n        // If the new data includes the original dimension value, re-select it and adjust the color as needed.\n        chart.setSelection([{\n          row: selectedRow\n        }]);\n        if (activeRowIndex !== selectedRow || (((_slices$selectedRow = slices[selectedRow]) === null || _slices$selectedRow === void 0 ? void 0 : _slices$selectedRow.color) || dimensionColor) !== dimensionColor) {\n          var _slices$selectedRow2, _setValues6;\n          setValues((_setValues6 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues6, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_ACTIVE_ROW_INDEX\"], selectedRow), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues6, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_COLOR\"], ((_slices$selectedRow2 = slices[selectedRow]) === null || _slices$selectedRow2 === void 0 ? void 0 : _slices$selectedRow2.color) || dimensionColor), _setValues6));\n        }\n      } else {\n        var _setValues7;\n        // If the new data does not include the original dimension value, unset it to match the empty selection.\n        setValues((_setValues7 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues7, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_VALUE\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues7, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_COLOR\"], ''), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_setValues7, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_ACTIVE_ROW_INDEX\"], null), _setValues7));\n      }\n    }\n\n    // If there is no dimension value set but the initialized chart does have a selection,\n    // ensure it is no longer selected in the chart.\n    if (!dimensionValue && ((_chart$getSelection3 = chart.getSelection()) === null || _chart$getSelection3 === void 0 ? void 0 : _chart$getSelection3.length)) {\n      chart.setSelection([]);\n      if (activeRowIndex !== null) {\n        setValues(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_ACTIVE_ROW_INDEX\"], null));\n      }\n    }\n\n    // If no dimensionValue is set, unset the color.\n    if (!dimensionValue && dimensionColor !== '') {\n      setValues(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__[\"UI_DIMENSION_COLOR\"], ''));\n    }\n  }\n  var options = Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"cloneDeep\"])(UserDimensionsPieChart.chartOptions);\n  var labels = {\n    sessionDefaultChannelGrouping: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('<span>By</span> channels', 'google-site-kit'),\n    country: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('<span>By</span> locations', 'google-site-kit'),\n    deviceCategory: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('<span>By</span> devices', 'google-site-kit')\n  };\n  if (gatheringData) {\n    labels = {\n      sessionDefaultChannelGrouping: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('gathering data…', 'google-site-kit')\n    };\n    options.pieSliceText = 'none';\n    options.tooltip.trigger = 'none';\n    options.sliceVisibilityThreshold = 1;\n  }\n  var sanitizeArgs = {\n    ALLOWED_TAGS: ['span'],\n    ALLOWED_ATTR: []\n  };\n  var title = loaded ? Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"sanitizeHTML\"])(labels[dimensionName] || '', sanitizeArgs) : {\n    __html: ''\n  };\n  var isSingleSliceReport = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_11__[\"isSingleSlice\"])(report);\n  if (isSingleSliceReport) {\n    // When there is only one row, the chart will add a label which we need to hide - see issue #2660\n    options.pieSliceText = 'none';\n  }\n  if (isTooltipOpen) {\n    options.tooltip.trigger = 'selection';\n  } else {\n    options.tooltip.trigger = 'focus';\n  }\n  var showZeroDataChart = hasZeroData || dataMap.length < 2;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__dimensions-container\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    ref: containerRef,\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-widget--analyticsAllTraffic__dimensions-chart', {\n      'googlesitekit-widget--analyticsAllTraffic__slice-selected': !!dimensionValue,\n      'googlesitekit-widget--analyticsAllTraffic__selectable': selectable\n    })\n  }, showZeroDataChart && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__chart-zero-data\"\n  }, gatheringData && /*#__PURE__*/React.createElement(_js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n    style: _js_components_GatheringDataNotice__WEBPACK_IMPORTED_MODULE_18__[\"NOTICE_STYLE\"].SMALL_OVERLAY\n  }), /*#__PURE__*/React.createElement(_svg_icons_pie_chart_zero_data_svg__WEBPACK_IMPORTED_MODULE_17__[\"default\"], null)), !showZeroDataChart &&\n  /*#__PURE__*/\n  /* eslint-disable-next-line jsx-a11y/mouse-events-have-key-events */\n  React.createElement(_js_components_GoogleChart__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    chartType: \"PieChart\",\n    data: dataMap || [],\n    getChartWrapper: function getChartWrapper(chartWrapper) {\n      chartWrapperRef.current = chartWrapper;\n    },\n    gatheringData: gatheringData,\n    height: \"368px\",\n    loaded: loaded,\n    loadingHeight: \"300px\",\n    loadingWidth: \"300px\",\n    onMouseOut: onMouseOut,\n    onMouseOver: onMouseOver,\n    onReady: onReady,\n    onSelect: onSelect,\n    options: options,\n    width: \"100%\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()({\n      'googlesitekit-widget--analyticsAllTraffic__dimensions-chart-gathering-data': gatheringData,\n      'googlesitekit-widget--analyticsAllTraffic__dimensions-chart-title': !gatheringData\n    }),\n    dangerouslySetInnerHTML: title\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    \"aria-label\": gatheringData ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('A pie chart for Analytics that is gathering data, so has no data to display.', 'google-site-kit') : undefined,\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-widget--analyticsAllTraffic__legend', {\n      'googlesitekit-widget--analyticsAllTraffic__legend--single': isSingleSliceReport\n    }),\n    role: \"region\"\n  }, loaded && !showZeroDataChart && (dataMap === null || dataMap === void 0 ? void 0 : dataMap.slice(1).map(function (_ref7, i) {\n    var _slices$i;\n    var _ref8 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_ref7, 1),\n      label = _ref8[0];\n    var isActive = label === dimensionValue;\n    var sliceColor = (_slices$i = slices[i]) === null || _slices$i === void 0 ? void 0 : _slices$i.color;\n    var isOthers = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Others', 'google-site-kit') === label;\n    return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n      key: label,\n      onClick: function onClick() {\n        return onLegendClick(i);\n      },\n      className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-widget--analyticsAllTraffic__legend-slice', {\n        'googlesitekit-widget--analyticsAllTraffic__legend-active': isActive,\n        'googlesitekit-widget--analyticsAllTraffic__legend-others': isOthers\n      }),\n      disabled: gatheringData\n    }, /*#__PURE__*/React.createElement(\"span\", {\n      className: \"googlesitekit-widget--analyticsAllTraffic__dot\",\n      style: {\n        backgroundColor: sliceColor\n      }\n    }), /*#__PURE__*/React.createElement(\"span\", {\n      className: \"googlesitekit-widget--analyticsAllTraffic__label\",\n      \"data-label\": label\n    }, label), /*#__PURE__*/React.createElement(\"span\", {\n      className: \"googlesitekit-widget--analyticsAllTraffic__underlay\",\n      style: {\n        backgroundColor: sliceColor\n      }\n    }));\n  })), !loaded && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__legend-slice\"\n  }, /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__dot\",\n    style: {\n      backgroundColor: '#ccc'\n    }\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    height: \"18px\",\n    width: \"68px\",\n    shape: \"square\"\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__legend-slice\"\n  }, /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__dot\",\n    style: {\n      backgroundColor: '#ccc'\n    }\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    height: \"18px\",\n    width: \"52px\",\n    shape: \"square\"\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__legend-slice\"\n  }, /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__dot\",\n    style: {\n      backgroundColor: '#ccc'\n    }\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    height: \"18px\",\n    width: \"40px\",\n    shape: \"square\"\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__legend-slice\"\n  }, /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-widget--analyticsAllTraffic__dot\",\n    style: {\n      backgroundColor: '#ccc'\n    }\n  }), /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    height: \"18px\",\n    width: \"52px\",\n    shape: \"square\"\n  }))))));\n}\nUserDimensionsPieChart.defaultProps = {\n  dimensionName: 'sessionDefaultChannelGrouping'\n};\nUserDimensionsPieChart.chartOptions = {\n  chartArea: {\n    left: 'auto',\n    height: 300,\n    top: 'auto',\n    width: '100%'\n  },\n  backgroundColor: 'transparent',\n  fontSize: 12,\n  height: 368,\n  legend: {\n    position: 'none'\n  },\n  pieHole: 0.6,\n  pieSliceTextStyle: {\n    color: '#131418',\n    fontSize: 12\n  },\n  slices: {\n    0: {\n      color: '#fece72'\n    },\n    1: {\n      color: '#a983e6'\n    },\n    2: {\n      color: '#bed4ff'\n    },\n    3: {\n      color: '#ee92da'\n    },\n    4: {\n      color: '#ff9b7a'\n    }\n  },\n  title: null,\n  tooltip: {\n    isHtml: true,\n    // eslint-disable-line sitekit/acronym-case\n    trigger: 'focus'\n  },\n  width: '100%'\n};\nUserDimensionsPieChart.propTypes = {\n  dimensionName: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired,\n  dimensionValue: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  gatheringData: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  report: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object,\n  loaded: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserDimensionsPieChart.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/index.js":
/*!*******************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/index.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 _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_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.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_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_material_components_layout__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/material-components/layout */ \"./js/material-components/layout/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _DataSourceLink__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./DataSourceLink */ \"./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/DataSourceLink.js\");\n/* harmony import */ var _TotalUserCount__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./TotalUserCount */ \"./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/TotalUserCount.js\");\n/* harmony import */ var _UserCountGraph__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./UserCountGraph */ \"./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserCountGraph.js\");\n/* harmony import */ var _DimensionTabs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./DimensionTabs */ \"./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/DimensionTabs.js\");\n/* harmony import */ var _UserDimensionsPieChart__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./UserDimensionsPieChart */ \"./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserDimensionsPieChart.js\");\n/* harmony import */ var _js_modules_analytics_4_hooks_useAllTrafficWidgetReport__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useAllTrafficWidgetReport */ \"./js/modules/analytics-4/hooks/useAllTrafficWidgetReport.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_components_surveys_SurveyViewTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/js/components/surveys/SurveyViewTrigger */ \"./js/components/surveys/SurveyViewTrigger.js\");\n\n\n\n/**\n * DashboardAllTrafficWidgetGA4 component\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 * WordPress 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\nfunction DashboardAllTrafficWidgetGA4(props) {\n  var Widget = props.Widget,\n    WidgetReportError = props.WidgetReportError;\n  var viewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_18__[\"default\"])();\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useState\"])(true),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2),\n    firstLoad = _useState2[0],\n    setFirstLoad = _useState2[1];\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useState\"])(''),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState3, 2),\n    currentRange = _useState4[0],\n    setCurrentRange = _useState4[1];\n  var canViewSharedAnalytics4 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (!viewOnly) {\n      return true;\n    }\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).canViewSharedModule(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var isGatheringData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return canViewSharedAnalytics4 && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).isGatheringData();\n  });\n  var dateRange = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getDateRange();\n  });\n  var dimensionName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_UI\"]).getValue(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"UI_DIMENSION_NAME\"]) || 'sessionDefaultChannelGrouping';\n  });\n  var dimensionValue = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_UI\"]).getValue(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"UI_DIMENSION_VALUE\"]);\n  });\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getDateRangeDates({\n        compare: true,\n        offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"DATE_RANGE_OFFSET\"]\n      });\n    }),\n    compareStartDate = _useSelect.compareStartDate,\n    compareEndDate = _useSelect.compareEndDate;\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var pieArgs = {\n    compareStartDate: compareStartDate,\n    compareEndDate: compareEndDate,\n    dimensions: [dimensionName],\n    orderby: [{\n      metric: {\n        metricName: 'totalUsers'\n      },\n      desc: true\n    }],\n    reportID: 'analytics-4_dashboard-all-traffic-widget-ga4_widget_pieArgs'\n  };\n  var graphArgs = {\n    dimensions: ['date'],\n    orderby: [{\n      dimension: {\n        dimensionName: 'date'\n      }\n    }],\n    reportID: 'analytics-4_dashboard-all-traffic-widget-ga4_widget_graphArgs'\n  };\n  var totalsArgs = {\n    compareStartDate: compareStartDate,\n    compareEndDate: compareEndDate,\n    reportID: 'analytics-4_dashboard-all-traffic-widget-ga4_widget_totalsArgs'\n  };\n  if (dimensionName && dimensionValue) {\n    graphArgs.dimensionFilters = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, dimensionName, dimensionValue);\n    totalsArgs.dimensionFilters = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, dimensionName, dimensionValue);\n  }\n  var _useAllTrafficWidgetR = Object(_js_modules_analytics_4_hooks_useAllTrafficWidgetReport__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(pieArgs),\n    pieChartLoaded = _useAllTrafficWidgetR.loaded,\n    pieChartError = _useAllTrafficWidgetR.error,\n    pieChartReport = _useAllTrafficWidgetR.report;\n  var _useAllTrafficWidgetR2 = Object(_js_modules_analytics_4_hooks_useAllTrafficWidgetReport__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(graphArgs),\n    userCountGraphLoaded = _useAllTrafficWidgetR2.loaded,\n    userCountGraphError = _useAllTrafficWidgetR2.error,\n    userCountGraphReport = _useAllTrafficWidgetR2.report;\n  var _useAllTrafficWidgetR3 = Object(_js_modules_analytics_4_hooks_useAllTrafficWidgetReport__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(totalsArgs),\n    totalUsersLoaded = _useAllTrafficWidgetR3.loaded,\n    totalUsersError = _useAllTrafficWidgetR3.error,\n    totalUsersReport = _useAllTrafficWidgetR3.report;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    if (dateRange !== currentRange) {\n      setFirstLoad(true);\n      setCurrentRange(dateRange);\n    } else if (pieChartLoaded && totalUsersLoaded && userCountGraphLoaded) {\n      setFirstLoad(false);\n    }\n  }, [pieChartLoaded, totalUsersLoaded, userCountGraphLoaded, dateRange, currentRange]);\n\n  // Set a flag in the core/ui store when all data is loaded.\n  // Currently only used by the feature tour to delay showing\n  // while the widget is in a loading state.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    if (firstLoad && pieChartLoaded && totalUsersLoaded && userCountGraphLoaded) {\n      setValue(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"UI_ALL_TRAFFIC_LOADED\"], true);\n    }\n  }, [firstLoad, pieChartLoaded, totalUsersLoaded, userCountGraphLoaded, setValue]);\n\n  // The User Dimensions Pie Chart uses the sample report to check\n  // for zero data, so we need to retry the sample report to make\n  // sure the pie chart reloads correctly.\n  var sampleReportError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getSampleReportArgs()]);\n  });\n  var retryableErrors = [pieChartError, sampleReportError, totalUsersError, userCountGraphError].filter(Boolean);\n  if (pieChartError || totalUsersError || userCountGraphError) {\n    return /*#__PURE__*/React.createElement(Widget, null, /*#__PURE__*/React.createElement(WidgetReportError, {\n      moduleSlug: \"analytics-4\",\n      error: retryableErrors\n    }));\n  }\n  var pieChartReportIsZero = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_7__[\"isZeroReport\"])(pieChartReport);\n  var gatheringDataLoaded = isGatheringData !== undefined;\n  return /*#__PURE__*/React.createElement(Widget, {\n    className: \"googlesitekit-widget--footer-v2 googlesitekit-widget__analytics--all-traffic\",\n    Footer: function Footer() {\n      return /*#__PURE__*/React.createElement(_DataSourceLink__WEBPACK_IMPORTED_MODULE_12__[\"default\"], null);\n    },\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(_js_material_components_layout__WEBPACK_IMPORTED_MODULE_10__[\"Grid\"], null, /*#__PURE__*/React.createElement(_js_material_components_layout__WEBPACK_IMPORTED_MODULE_10__[\"Row\"], null, /*#__PURE__*/React.createElement(_js_material_components_layout__WEBPACK_IMPORTED_MODULE_10__[\"Cell\"], {\n    className: \"googlesitekit-widget--analyticsAllTraffic__totals\",\n    lgSize: 7,\n    mdSize: 8\n  }, /*#__PURE__*/React.createElement(_TotalUserCount__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    loaded: gatheringDataLoaded && totalUsersLoaded && !firstLoad,\n    report: totalUsersReport,\n    error: totalUsersError,\n    dimensionValue: dimensionValue,\n    gatheringData: isGatheringData\n  }), /*#__PURE__*/React.createElement(_UserCountGraph__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    loaded: gatheringDataLoaded && userCountGraphLoaded && !firstLoad,\n    error: userCountGraphError,\n    report: userCountGraphReport,\n    gatheringData: isGatheringData\n  })), /*#__PURE__*/React.createElement(_js_material_components_layout__WEBPACK_IMPORTED_MODULE_10__[\"Cell\"], {\n    className: \"googlesitekit-widget--analyticsAllTraffic__dimensions\",\n    lgSize: 5,\n    mdSize: 8\n  }, /*#__PURE__*/React.createElement(_DimensionTabs__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    loaded: gatheringDataLoaded && !firstLoad,\n    dimensionName: dimensionName,\n    gatheringData: isGatheringData,\n    isZeroData: pieChartReportIsZero\n  }), /*#__PURE__*/React.createElement(_UserDimensionsPieChart__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    dimensionName: dimensionName,\n    dimensionValue: dimensionValue,\n    gatheringData: isGatheringData,\n    loaded: gatheringDataLoaded && pieChartLoaded && !firstLoad,\n    report: pieChartReport\n  })))), !viewOnly && /*#__PURE__*/React.createElement(_js_components_surveys_SurveyViewTrigger__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {\n    triggerID: \"view_ga4_dashboard\",\n    ttl: _js_util__WEBPACK_IMPORTED_MODULE_6__[\"DAY_IN_SECONDS\"]\n  }));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"]\n})(DashboardAllTrafficWidgetGA4));\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/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/utils.js":
/*!*******************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/utils.js ***!
  \*******************************************************************************************/
/*! exports provided: createZeroDataRow, getTooltipHelp */
/***/ (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__, \"createZeroDataRow\", function() { return createZeroDataRow; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getTooltipHelp\", function() { return getTooltipHelp; });\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_Link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * DashboardAllTrafficWidgetGA4 utility functions.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n/**\n * Creates a GA4 report row for the given date, with a zero for the metric value.\n *\n * @since 1.96.0\n * @since 1.123.0 Migrated from analytics to analytics-4.\n *\n * @param {string} date Date in YYYY-MM-DD format.\n * @return {Object} Row object with the date in the GA4 report format as the dimension value, and a zero for the metric value.\n */\nfunction createZeroDataRow(date) {\n  // Note, this uses `replace()` rather than `replaceAll()` as our current version of Node does not support `replaceAll()`.\n  // TODO: Replace with `replaceAll()` when we upgrade to Node 15+.\n  return {\n    dimensionValues: [{\n      value: date.replace(new RegExp('-', 'g'), '')\n    }],\n    metricValues: [{\n      value: 0\n    }]\n  };\n}\n/**\n * Gets HTML string for a tooltip help link.\n *\n * @since 1.116.0\n * @since 1.123.0 Migrated from analytics to analytics-4.\n *\n * @param {string} url      The URL to link to.\n * @param {string} label    The label for the link.\n * @param {string} rowLabel The label for the row.\n * @return {string} The HTML string for the tooltip help link.\n */\nfunction getTooltipHelp(url, label, rowLabel) {\n  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"renderToString\"])(\n  /*#__PURE__*/\n  // We're not using the `P` component here because that uses `useBreakpoint`\n  // under the hood. This causes issues when this function is used inside a\n  // tooltip callback as that is not at the top-level of a component.\n  React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    as: \"p\",\n    size: \"medium\",\n    type: \"body\"\n  }, /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    className: \"googlesitekit-cta-link__tooltip\",\n    href: url,\n    \"data-row-label\": rowLabel,\n    external: true\n  }, label)));\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/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/utils.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/DashboardOverallPageMetricsWidgetGA4.js":
/*!*********************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/DashboardOverallPageMetricsWidgetGA4.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.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/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_material_components_layout__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/material-components/layout */ \"./js/material-components/layout/index.js\");\n/* harmony import */ var _js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _js_components_DataBlock__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/DataBlock */ \"./js/components/DataBlock/index.js\");\n/* harmony import */ var _js_components_Sparkline__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/Sparkline */ \"./js/components/Sparkline.js\");\n/* harmony import */ var _js_components_SourceLink__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/SourceLink */ \"./js/components/SourceLink.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_overall_page_metrics__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/overall-page-metrics */ \"./js/modules/analytics-4/utils/overall-page-metrics.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_googlesitekit_widgets_components_WidgetHeaderTitle__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/googlesitekit/widgets/components/WidgetHeaderTitle */ \"./js/googlesitekit/widgets/components/WidgetHeaderTitle.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_components_DataBlockGroup__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/js/components/DataBlockGroup */ \"./js/components/DataBlockGroup.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_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 * DashboardOverallPageMetricsWidgetGA4 component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction DashboardOverallPageMetricsWidgetGA4(_ref) {\n  var Widget = _ref.Widget,\n    WidgetReportError = _ref.WidgetReportError;\n  var isGatheringData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).isGatheringData();\n  });\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_18__[\"default\"])();\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var url = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getCurrentEntityURL();\n  });\n  var args = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['date'],\n    metrics: [{\n      name: 'screenPageViews'\n    }, {\n      name: 'sessions'\n    }, {\n      name: 'engagementRate'\n    }, {\n      name: 'averageSessionDuration'\n    }],\n    orderby: [{\n      dimension: {\n        dimensionName: 'date'\n      }\n    }],\n    url: url,\n    reportID: 'analytics-4_dashboard-overall-page-metrics-widget-args'\n  });\n  var reportArgs = {\n    dates: dates,\n    // eslint-disable-next-line sitekit/acronym-case\n    otherArgs: {\n      collectionId: 'life-cycle'\n    }\n  };\n  if (Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_3__[\"isURL\"])(url)) {\n    reportArgs.filters = {\n      unifiedPagePathScreen: Object(_js_util__WEBPACK_IMPORTED_MODULE_16__[\"getURLPath\"])(url)\n    };\n  }\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [args]);\n  });\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [args]);\n  });\n  var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    if (viewOnlyDashboard) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', reportArgs);\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getReport(args);\n  }, [args]);\n  var currentDayCount = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getDateRangeNumberOfDays();\n  });\n  function Header() {\n    return /*#__PURE__*/React.createElement(_js_googlesitekit_widgets_components_WidgetHeaderTitle__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: number of days */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"_n\"])('Overall page metrics over the last %s day', 'Overall page metrics over the last %s days', currentDayCount, 'google-site-kit'), currentDayCount)\n    });\n  }\n  function Footer() {\n    return /*#__PURE__*/React.createElement(_js_components_SourceLink__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      className: \"googlesitekit-data-block__source\",\n      name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"_x\"])('Analytics', 'Service name', 'google-site-kit'),\n      href: serviceURL,\n      external: true\n    });\n  }\n  if (isLoading || isGatheringData === undefined) {\n    return /*#__PURE__*/React.createElement(Widget, {\n      Footer: Footer\n    }, /*#__PURE__*/React.createElement(_js_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      width: \"100%\",\n      height: \"222px\"\n    }));\n  }\n  if (error) {\n    return /*#__PURE__*/React.createElement(Widget, {\n      Footer: Footer\n    }, /*#__PURE__*/React.createElement(WidgetReportError, {\n      moduleSlug: \"analytics-4\",\n      error: error\n    }));\n  }\n  var data = Object(_js_modules_analytics_4_utils_overall_page_metrics__WEBPACK_IMPORTED_MODULE_15__[\"calculateOverallPageMetricsData\"])(report, dates.startDate);\n  return /*#__PURE__*/React.createElement(Widget, {\n    Header: Header,\n    Footer: Footer\n  }, /*#__PURE__*/React.createElement(_js_material_components_layout__WEBPACK_IMPORTED_MODULE_9__[\"Grid\"], null, /*#__PURE__*/React.createElement(_js_components_DataBlockGroup__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {\n    className: \"mdc-layout-grid__inner\"\n  }, data.map(function (_ref2) {\n    var metric = _ref2.metric,\n      title = _ref2.title,\n      sparkLineData = _ref2.sparkLineData,\n      datapointUnit = _ref2.datapointUnit,\n      total = _ref2.total,\n      change = _ref2.change;\n    return /*#__PURE__*/React.createElement(_js_material_components_layout__WEBPACK_IMPORTED_MODULE_9__[\"Cell\"], {\n      key: metric,\n      smSize: 2,\n      lgSize: 3\n    }, /*#__PURE__*/React.createElement(_js_components_DataBlock__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      title: title,\n      datapoint: total,\n      datapointUnit: datapointUnit,\n      change: change,\n      changeDataUnit: \"%\",\n      gatheringData: isGatheringData,\n      sparkline: /*#__PURE__*/React.createElement(_js_components_Sparkline__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n        data: sparkLineData,\n        change: change,\n        gatheringData: isGatheringData\n      })\n    }));\n  }))));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_14__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"]\n})(DashboardOverallPageMetricsWidgetGA4));\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/modules/analytics-4/components/dashboard/DashboardOverallPageMetricsWidgetGA4.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/ProcessingBanner.js":
/*!*************************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/ProcessingBanner.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ProcessingBanner; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_components_layout_SetupCTA__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/notifications/components/layout/SetupCTA */ \"./js/googlesitekit/notifications/components/layout/SetupCTA.js\");\n/* harmony import */ var _svg_graphics_banner_enhanced_measurement_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/svg/graphics/banner-enhanced-measurement-setup-cta.svg?url */ \"./svg/graphics/banner-enhanced-measurement-setup-cta.svg?url\");\n/* harmony import */ var _svg_graphics_banner_enhanced_measurement_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/svg/graphics/banner-enhanced-measurement-setup-cta-mobile.svg?url */ \"./svg/graphics/banner-enhanced-measurement-setup-cta-mobile.svg?url\");\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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n\n/**\n * EnhancedMeasurementActivationBanner > ProcessingBanner component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction ProcessingBanner(_ref) {\n  var id = _ref.id,\n    Notification = _ref.Notification,\n    onDismiss = _ref.onDismiss;\n  var documentationURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getGoogleSupportURL({\n      path: '/analytics/answer/9216061'\n    });\n  });\n  var hasEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"EDIT_SCOPE\"]);\n  });\n  var description = hasEditScope ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required.', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required — you’ll be redirected to give permission for Site Kit to enable it on your behalf.', 'google-site-kit');\n  return /*#__PURE__*/React.createElement(Notification, null, /*#__PURE__*/React.createElement(_js_googlesitekit_notifications_components_layout_SetupCTA__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    notificationID: id,\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Understand how visitors interact with your content', 'google-site-kit'),\n    description: description,\n    learnMoreLink: {\n      href: documentationURL\n    },\n    ctaButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Enable now', 'google-site-kit'),\n      disabled: true\n    },\n    dismissButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Maybe later', 'google-site-kit'),\n      onClick: onDismiss\n    },\n    waitingProgress: {\n      verticalSpacing: 0,\n      // Remove vertical spacing to show the banner flush to the header.\n      height: 7,\n      indeterminate: true\n    },\n    helpText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('You can always add/edit this in the Site Kit Settings', 'google-site-kit'),\n    svg: {\n      desktop: _svg_graphics_banner_enhanced_measurement_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n      mobile: _svg_graphics_banner_enhanced_measurement_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n      verticalPosition: 'center'\n    }\n  }));\n}\nProcessingBanner.propTypes = {\n  id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  Notification: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType,\n  onDismiss: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func\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/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/ProcessingBanner.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/SetupBanner.js":
/*!********************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/SetupBanner.js ***!
  \********************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SetupBanner; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _wordpress_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_googlesitekit_notifications_components_layout_SetupCTA__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/googlesitekit/notifications/components/layout/SetupCTA */ \"./js/googlesitekit/notifications/components/layout/SetupCTA.js\");\n/* harmony import */ var _svg_graphics_banner_enhanced_measurement_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/svg/graphics/banner-enhanced-measurement-setup-cta.svg?url */ \"./svg/graphics/banner-enhanced-measurement-setup-cta.svg?url\");\n/* harmony import */ var _svg_graphics_banner_enhanced_measurement_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/svg/graphics/banner-enhanced-measurement-setup-cta-mobile.svg?url */ \"./svg/graphics/banner-enhanced-measurement-setup-cta-mobile.svg?url\");\n\n\n\n/**\n * EnhancedMeasurementActivationBanner > SetupBanner component.\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 * WordPress dependencies\n */\n\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\nfunction SetupBanner(props) {\n  var id = props.id,\n    Notification = props.Notification,\n    errorNotice = props.errorNotice,\n    isSaving = props.isSaving,\n    onDismiss = props.onDismiss,\n    onSubmit = props.onSubmit; // The `enhanced_measurement` query value is arbitrary and serves two purposes:\n  // 1. To ensure that `authentication_success` isn't appended when returning from OAuth.\n  // 2. To guarantee it doesn't match any existing notifications in the `BannerNotifications` component, thus preventing any unintended displays.\n  var redirectURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__[\"addQueryArgs\"])(global.location.href, {\n    notification: 'enhanced_measurement'\n  });\n  var hasEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"EDIT_SCOPE\"]);\n  });\n  var documentationURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).getGoogleSupportURL({\n      path: '/analytics/answer/9216061'\n    });\n  });\n  var isNavigatingToOAuthURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    var OAuthURL = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getConnectURL({\n      additionalScopes: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"EDIT_SCOPE\"]],\n      redirectURL: redirectURL\n    });\n    if (!OAuthURL) {\n      return false;\n    }\n    return select(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_LOCATION\"]).isNavigatingTo(OAuthURL);\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]),\n    setPermissionScopeError = _useDispatch2.setPermissionScopeError;\n  var handleSubmitChanges = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\n    var scopes;\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            scopes = [];\n            if (hasEditScope === false) {\n              scopes.push(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"EDIT_SCOPE\"]);\n            }\n\n            // If scope not granted, trigger scope error right away. These are\n            // typically handled automatically based on API responses, but\n            // this particular case has some special handling to improve UX.\n            if (!(scopes.length > 0)) {\n              _context.next = 6;\n              break;\n            }\n            setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"FORM_SETUP\"], {\n              autoSubmit: true\n            });\n            setPermissionScopeError({\n              code: _js_util_errors__WEBPACK_IMPORTED_MODULE_12__[\"ERROR_CODE_MISSING_REQUIRED_SCOPE\"],\n              message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Additional permissions are required to enable enhanced measurement for the selected web data stream', 'google-site-kit'),\n              data: {\n                status: 403,\n                scopes: scopes,\n                skipModal: true,\n                redirectURL: redirectURL\n              }\n            });\n            return _context.abrupt(\"return\");\n          case 6:\n            _context.next = 8;\n            return onSubmit();\n          case 8:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })), [hasEditScope, onSubmit, redirectURL, setPermissionScopeError, setValues]);\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]),\n    triggerSurvey = _useDispatch3.triggerSurvey;\n  var handleView = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(function () {\n    triggerSurvey('view_enhanced_measurement_cta', {\n      ttl: _js_util__WEBPACK_IMPORTED_MODULE_13__[\"DAY_IN_SECONDS\"]\n    });\n  }, [triggerSurvey]);\n  var description = hasEditScope ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required.', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Enable enhanced measurement in Analytics to automatically track metrics like file downloads, video plays, form interactions, etc. No extra code required — you’ll be redirected to give permission for Site Kit to enable it on your behalf.', 'google-site-kit');\n  return /*#__PURE__*/React.createElement(Notification, {\n    onView: handleView\n  }, /*#__PURE__*/React.createElement(_js_googlesitekit_notifications_components_layout_SetupCTA__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    notificationID: id,\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Understand how visitors interact with your content', 'google-site-kit'),\n    description: description,\n    errorText: errorNotice === null || errorNotice === void 0 ? void 0 : errorNotice.message,\n    learnMoreLink: {\n      href: documentationURL\n    },\n    ctaButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Enable now', 'google-site-kit'),\n      onClick: handleSubmitChanges,\n      disabled: isSaving || isNavigatingToOAuthURL,\n      inProgress: isSaving || isNavigatingToOAuthURL\n    },\n    dismissButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Maybe later', 'google-site-kit'),\n      onClick: onDismiss,\n      disabled: isSaving || isNavigatingToOAuthURL\n    },\n    helpText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('You can always add/edit this in the Site Kit Settings', 'google-site-kit'),\n    svg: {\n      desktop: _svg_graphics_banner_enhanced_measurement_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_15__[\"default\"],\n      mobile: _svg_graphics_banner_enhanced_measurement_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_16__[\"default\"],\n      verticalPosition: 'center'\n    }\n  }));\n}\nSetupBanner.propTypes = {\n  id: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired,\n  Notification: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType,\n  errorNotice: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object,\n  isSaving: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  onSubmit: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func,\n  onDismiss: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/SetupBanner.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/SuccessBanner.js":
/*!**********************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/SuccessBanner.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SuccessBanner; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_googlesitekit_notifications_components_layout_NoticeNotification__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/notifications/components/layout/NoticeNotification */ \"./js/googlesitekit/notifications/components/layout/NoticeNotification.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n/* harmony import */ var _js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/notifications/hooks/useNotificationEvents */ \"./js/googlesitekit/notifications/hooks/useNotificationEvents.js\");\n\n/**\n * EnhancedMeasurementActivationBanner > SuccessBanner component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction SuccessBanner(_ref) {\n  var id = _ref.id,\n    Notification = _ref.Notification;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n  var documentationURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getGoogleSupportURL({\n      path: '/analytics/answer/9216061'\n    });\n  });\n\n  // All three variations (SetupBanner, InProgressBanner and SuccessBanner) are under a single parent\n  // (EnhancedMeasurementActivationBanner). The <Notification> component wrapping all of them share\n  // the same \"notification ID\". So this event is not auto-tracked by the new <Notification> component.\n  // It considers the EnhancedMeasurementActivationBanner as already viewed when SetupBanner is\n  // rendered and doesn't track the view again when the SuccessBanner variant is rendered.\n  var handleView = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_enhanced-measurement-success\"), 'view_notification');\n  }, [viewContext]);\n  var trackEvents = Object(_js_googlesitekit_notifications_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(id);\n  var gaTrackingEventArgs = {\n    category: \"\".concat(viewContext, \"_enhanced-measurement-success\")\n  };\n  function learnMoreTrackEvent() {\n    trackEvents.clickLearnMore(gaTrackingEventArgs.label, gaTrackingEventArgs.value);\n  }\n  return /*#__PURE__*/React.createElement(Notification, {\n    onView: handleView\n  }, /*#__PURE__*/React.createElement(_js_googlesitekit_notifications_components_layout_NoticeNotification__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    notificationID: id,\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_9__[\"default\"].TYPES.SUCCESS,\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('You successfully enabled enhanced measurement for your site', 'google-site-kit'),\n    description: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Your configured Analytics web data stream will now automatically measure interactions on your site in addition to standard page views measurement. <a>Learn more</a>', 'google-site-kit'), {\n      a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n        href: documentationURL,\n        onClick: learnMoreTrackEvent,\n        external: true\n      })\n    }),\n    gaTrackingEventArgs: gaTrackingEventArgs\n  }));\n}\nSuccessBanner.propTypes = {\n  id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  Notification: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType\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/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/SuccessBanner.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/index.js":
/*!**************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/index.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return EnhancedMeasurementActivationBanner; });\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 _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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 _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_AdminMenuTooltip_useShowTooltip__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/AdminMenuTooltip/useShowTooltip */ \"./js/components/AdminMenuTooltip/useShowTooltip.js\");\n/* harmony import */ var _ProcessingBanner__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ProcessingBanner */ \"./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/ProcessingBanner.js\");\n/* harmony import */ var _SetupBanner__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./SetupBanner */ \"./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/SetupBanner.js\");\n/* harmony import */ var _SuccessBanner__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./SuccessBanner */ \"./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/SuccessBanner.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n\n\n\n/**\n * EnhancedMeasurementActivationBanner component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nfunction EnhancedMeasurementActivationBanner(_ref) {\n  var id = _ref.id,\n    Notification = _ref.Notification;\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useState\"])(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"ACTIVATION_STEP_SETUP\"]),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2),\n    step = _useState2[0],\n    setStep = _useState2[1];\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useState\"])(false),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default()(_useState3, 2),\n    isSaving = _useState4[0],\n    setIsSaving = _useState4[1];\n  var _useState5 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useState\"])(null),\n    _useState6 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default()(_useState5, 2),\n    errorNotice = _useState6[0],\n    setErrorNotice = _useState6[1];\n  var hasEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"EDIT_SCOPE\"]);\n  });\n  var autoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"FORM_SETUP\"], 'autoSubmit');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]),\n    submitChanges = _useDispatch2.submitChanges;\n  var tooltipSettings = {\n    tooltipSlug: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"ENHANCED_MEASUREMENT_ACTIVATION_BANNER_TOOLTIP_STATE_KEY\"],\n    content: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('You can always enable Enhanced Measurement in Settings later', 'google-site-kit'),\n    dismissLabel: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Got it', 'google-site-kit')\n  };\n  var showTooltip = Object(_js_components_AdminMenuTooltip_useShowTooltip__WEBPACK_IMPORTED_MODULE_12__[\"useShowTooltip\"])(tooltipSettings);\n  var handleSubmit = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\n    var _yield$submitChanges, 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            setIsSaving(true);\n            setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"ENHANCED_MEASUREMENT_FORM\"], _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"ENHANCED_MEASUREMENT_ENABLED\"], true));\n            _context.next = 4;\n            return submitChanges();\n          case 4:\n            _yield$submitChanges = _context.sent;\n            error = _yield$submitChanges.error;\n            setIsSaving(false);\n            if (!error) {\n              _context.next = 11;\n              break;\n            }\n            setErrorNotice(error);\n            setStep(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"ACTIVATION_STEP_SETUP\"]);\n            return _context.abrupt(\"return\");\n          case 11:\n            setStep(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"ACTIVATION_STEP_SUCCESS\"]);\n          case 12:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })), [setValues, submitChanges]);\n\n  // If the user lands back on this component with autoSubmit and the edit scope,\n  // resubmit the form.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useEffect\"])(function () {\n    function handleAutoSubmit() {\n      return _handleAutoSubmit.apply(this, arguments);\n    }\n    function _handleAutoSubmit() {\n      _handleAutoSubmit = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\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                // Auto-submit should only auto-invoke once.\n                setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"FORM_SETUP\"], {\n                  autoSubmit: false\n                });\n                setStep(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"ACTIVATION_STEP_IN_PROGRESS\"]);\n                _context2.next = 4;\n                return handleSubmit();\n              case 4:\n              case \"end\":\n                return _context2.stop();\n            }\n          }\n        }, _callee2);\n      }));\n      return _handleAutoSubmit.apply(this, arguments);\n    }\n    if (autoSubmit && hasEditScope) {\n      handleAutoSubmit();\n    }\n  }, [hasEditScope, setValues, handleSubmit, autoSubmit]);\n  if (step === _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"ACTIVATION_STEP_SETUP\"]) {\n    return /*#__PURE__*/React.createElement(_SetupBanner__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n      id: id,\n      Notification: Notification,\n      errorNotice: errorNotice,\n      isSaving: isSaving,\n      onDismiss: showTooltip,\n      onSubmit: handleSubmit\n    });\n  }\n  if (step === _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"ACTIVATION_STEP_IN_PROGRESS\"]) {\n    return /*#__PURE__*/React.createElement(_ProcessingBanner__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      id: id,\n      Notification: Notification,\n      onDismiss: showTooltip\n    });\n  }\n  if (step === _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"ACTIVATION_STEP_SUCCESS\"]) {\n    return /*#__PURE__*/React.createElement(_SuccessBanner__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n      id: id,\n      Notification: Notification\n    });\n  }\n  return null;\n}\nEnhancedMeasurementActivationBanner.propTypes = {\n  id: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string.isRequired,\n  Notification: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.elementType.isRequired\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/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/dashboard/index.js":
/*!**************************************************************!*\
  !*** ./js/modules/analytics-4/components/dashboard/index.js ***!
  \**************************************************************/
/*! exports provided: EnhancedMeasurementActivationBanner, DashboardAllTrafficWidgetGA4, DashboardOverallPageMetricsWidgetGA4 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _EnhancedMeasurementActivationBanner__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EnhancedMeasurementActivationBanner */ \"./js/modules/analytics-4/components/dashboard/EnhancedMeasurementActivationBanner/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EnhancedMeasurementActivationBanner\", function() { return _EnhancedMeasurementActivationBanner__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _DashboardAllTrafficWidgetGA4__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DashboardAllTrafficWidgetGA4 */ \"./js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DashboardAllTrafficWidgetGA4\", function() { return _DashboardAllTrafficWidgetGA4__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _DashboardOverallPageMetricsWidgetGA4__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DashboardOverallPageMetricsWidgetGA4 */ \"./js/modules/analytics-4/components/dashboard/DashboardOverallPageMetricsWidgetGA4.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DashboardOverallPageMetricsWidgetGA4\", function() { return _DashboardOverallPageMetricsWidgetGA4__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/**\n * GA4 Dashboard components.\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\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvZGFzaGJvYXJkL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2Rhc2hib2FyZC9pbmRleC5qcz8yYjJkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR0E0IERhc2hib2FyZCBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlI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291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/dashboard/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/key-metrics/AnalyticsUpdateError.js":
/*!*******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/key-metrics/AnalyticsUpdateError.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AnalyticsUpdateError; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_KeyMetrics_MetricTileError__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/KeyMetrics/MetricTileError */ \"./js/components/KeyMetrics/MetricTileError.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction AnalyticsUpdateError(props) {\n  var onRetry = props.onRetry,\n    error = props.error,\n    infoTooltip = props.infoTooltip,\n    headerText = props.headerText;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var helpLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getErrorTroubleshootingLinkURL(error);\n  });\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"trackEventOnce\"])(\"\".concat(viewContext, \"_kmw\"), 'analytics_update_error');\n  }, [viewContext]);\n  var retry = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw\"), 'analytics_update_error_retry');\n    onRetry === null || onRetry === void 0 ? void 0 : onRetry();\n  }, [onRetry, viewContext]);\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics_MetricTileError__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Analytics update failed', 'google-site-kit'),\n    headerText: headerText,\n    infoTooltip: infoTooltip\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-report-error-actions\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    onClick: retry\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Retry', 'google-site-kit')), /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-error-retry-text\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Retry didn’t work? <a>Learn more</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      href: helpLink,\n      external: true,\n      hideExternalIndicator: true\n    })\n  }))));\n}\nAnalyticsUpdateError.propTypes = {\n  error: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({}).isRequired,\n  onRetry: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  headerText: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  infoTooltip: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\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/modules/analytics-4/components/key-metrics/AnalyticsUpdateError.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/key-metrics/CustomDimensionsMissingError.js":
/*!***************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/key-metrics/CustomDimensionsMissingError.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CustomDimensionsMissingError; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_components_KeyMetrics_MetricTileError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/KeyMetrics/MetricTileError */ \"./js/components/KeyMetrics/MetricTileError.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction CustomDimensionsMissingError(props) {\n  var onRetry = props.onRetry,\n    infoTooltip = props.infoTooltip,\n    headerText = props.headerText;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEventOnce\"])(\"\".concat(viewContext, \"_kmw\"), 'custom_dimension_missing_error');\n  }, [viewContext]);\n  var retry = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw\"), 'custom_dimension_missing_error_retry');\n    onRetry === null || onRetry === void 0 ? void 0 : onRetry();\n  }, [onRetry, viewContext]);\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics_MetricTileError__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('No data to show', 'google-site-kit'),\n    headerText: headerText,\n    infoTooltip: infoTooltip\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-report-error-actions\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    onClick: retry\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Update', 'google-site-kit')), /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-error-retry-text\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Update Analytics to track metric', 'google-site-kit'))));\n}\nCustomDimensionsMissingError.propTypes = {\n  onRetry: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  headerText: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  infoTooltip: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMva2V5LW1ldHJpY3MvQ3VzdG9tRGltZW5zaW9uc01pc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zLmZ1bmMuaXNSZXF1aXJlZCxcblx0aGVhZGVyVGV4dDogUHJvcFR5cGVzLnN0cmluZyxcblx0aW5mb1Rvb2x0aXA6IFByb3BUeXBlcy5zdHJpbmcsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFBQTtBQUVBO0FBRUE7QUFDQTtBQUlBO0FBRUE7QUFDQTtBQUlBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUFBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFHQTtBQUFBO0FBU0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/key-metrics/CustomDimensionsMissingError.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/key-metrics/index.js":
/*!****************************************************************!*\
  !*** ./js/modules/analytics-4/components/key-metrics/index.js ***!
  \****************************************************************/
/*! exports provided: AnalyticsUpdateError, CustomDimensionsMissingError */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AnalyticsUpdateError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AnalyticsUpdateError */ \"./js/modules/analytics-4/components/key-metrics/AnalyticsUpdateError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AnalyticsUpdateError\", function() { return _AnalyticsUpdateError__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _CustomDimensionsMissingError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CustomDimensionsMissingError */ \"./js/modules/analytics-4/components/key-metrics/CustomDimensionsMissingError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CustomDimensionsMissingError\", function() { return _CustomDimensionsMissingError__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\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//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMva2V5LW1ldHJpY3MvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMva2V5LW1ldHJpY3MvaW5kZXguanM/Y2RlYyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpd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internal:///./js/modules/analytics-4/components/key-metrics/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/Footer.js":
/*!****************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/Footer.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Footer; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_SourceLink__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/SourceLink */ \"./js/components/SourceLink.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n\n/**\n * Footer component of the ModulePopularPagesWidgetGA4 widget.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction Footer() {\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var sourceLinkURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    if (viewOnlyDashboard) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n      dates: dates,\n      // eslint-disable-next-line sitekit/acronym-case\n      otherArgs: {\n        collectionId: 'life-cycle'\n      }\n    });\n  });\n  return /*#__PURE__*/React.createElement(_js_components_SourceLink__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    href: sourceLinkURL,\n    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"_x\"])('Analytics', 'Service name', 'google-site-kit'),\n    external: true\n  });\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvbW9kdWxlL01vZHVsZVBvcHVsYXJQYWdlc1dpZGdldEdBNC9Gb290ZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvbW9kdWxlL01vZHVsZVBvcHVsYXJQYWdlc1dpZGdldEdBNC9Gb290ZXIuanM/ZTcyYyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEZvb3RlciBjb21wb25lbnQgb2YgdGhlIE1vZHVsZVBvcHVsYXJQYWdlc1dpZGdldEdBNCB3aWRnZXQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFDQTtBQUVBO0FBQ0E7QUFFQTtBQUFBO0FBRUE7QUFDQTtBQUFBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUdBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/Footer.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/Header.js":
/*!****************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/Header.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Header; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_widgets_components_WidgetHeaderTitle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/widgets/components/WidgetHeaderTitle */ \"./js/googlesitekit/widgets/components/WidgetHeaderTitle.js\");\n\n/**\n * Header component of the ModulePopularPagesWidgetGA4 widget.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction Header() {\n  var currentDayCount = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getDateRangeNumberOfDays();\n  });\n  var title = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: number of days */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"_n\"])('Top content over the last %s day', 'Top content over the last %s days', currentDayCount, 'google-site-kit'), currentDayCount);\n  return /*#__PURE__*/React.createElement(_js_googlesitekit_widgets_components_WidgetHeaderTitle__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    title: title\n  });\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvbW9kdWxlL01vZHVsZVBvcHVsYXJQYWdlc1dpZGdldEdBNC9IZWFkZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvbW9kdWxlL01vZHVsZVBvcHVsYXJQYWdlc1dpZGdldEdBNC9IZWFkZXIuanM/NGZiNyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEhlYWRlciBjb21wb25lbnQgb2YgdGhlIE1vZHVsZVBvcHVsYXJQYWdlc1dpZGdldEdBNCB3aWRnZXQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJB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GF5Jyxcblx0XHRcdCdUb3AgY29udGVudCBvdmVyIHRoZSBsYXN0ICVzIGRheXMnLFxuXHRcdFx0Y3VycmVudERheUNvdW50LFxuXHRcdFx0J2dvb2dsZS1zaXRlLWtpdCdcblx0XHQpLFxuXHRcdGN1cnJlbnREYXlDb3VudFxuXHQpO1xuXG5cdHJldHVybiA8V2lkZ2V0SGVhZGVyVGl0bGUgdGl0bGU9eyB0aXRsZSB9IC8+O1xufVxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFFQTtBQVNBO0FBQUE7QUFBQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/Header.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/index.js":
/*!***************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/index.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_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/* 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 _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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _js_components_TableOverflowContainer__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/TableOverflowContainer */ \"./js/components/TableOverflowContainer.js\");\n/* harmony import */ var _js_components_DetailsPermaLinks__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/DetailsPermaLinks */ \"./js/components/DetailsPermaLinks.js\");\n/* harmony import */ var _js_components_ReportTable__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/components/ReportTable */ \"./js/components/ReportTable.js\");\n/* harmony import */ var _js_components_PreviewTable__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/components/PreviewTable */ \"./js/components/PreviewTable.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _Header__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Header */ \"./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/Header.js\");\n/* harmony import */ var _Footer__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Footer */ \"./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/Footer.js\");\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.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 * ModulePopularPagesWidgetGA4 component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction ModulePopularPagesWidgetGA4(props) {\n  var _report$rows;\n  var Widget = props.Widget,\n    WidgetReportError = props.WidgetReportError;\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_20__[\"useBreakpoint\"])();\n  var isGatheringData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).isGatheringData();\n  });\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_21__[\"default\"])();\n  var args = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath'],\n    metrics: [{\n      name: 'screenPageViews'\n    }, {\n      name: 'sessions'\n    }, {\n      name: 'engagementRate'\n    }, {\n      name: 'averageSessionDuration'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    limit: 10,\n    reportID: 'analytics-4_module-popular-pages-widget-ga4_widget_args'\n  });\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [args]);\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getReport(args);\n  }, [args]);\n  var titles = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useInViewSelect\"])(function (select) {\n    return !error ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getPageTitles(report, args) : undefined;\n  }, [error, report, args]);\n  var loaded = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    var reportLoaded = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [args]);\n    return undefined !== error || reportLoaded && undefined !== titles;\n  });\n  var loading = !loaded || isGatheringData === undefined;\n  if (loading) {\n    return /*#__PURE__*/React.createElement(Widget, {\n      Header: _Header__WEBPACK_IMPORTED_MODULE_18__[\"default\"],\n      Footer: _Footer__WEBPACK_IMPORTED_MODULE_19__[\"default\"],\n      noPadding: true\n    }, /*#__PURE__*/React.createElement(_js_components_PreviewTable__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n      padding: true\n    }));\n  }\n  if (error) {\n    return /*#__PURE__*/React.createElement(Widget, {\n      Header: _Header__WEBPACK_IMPORTED_MODULE_18__[\"default\"],\n      Footer: _Footer__WEBPACK_IMPORTED_MODULE_19__[\"default\"]\n    }, /*#__PURE__*/React.createElement(WidgetReportError, {\n      moduleSlug: \"analytics-4\",\n      error: error\n    }));\n  }\n  var tableColumns = [{\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Title', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Page Title', 'google-site-kit'),\n    primary: true,\n    Component: function Component(_ref) {\n      var row = _ref.row;\n      var _row$dimensionValues = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(row.dimensionValues, 2),\n        title = _row$dimensionValues[0].value,\n        url = _row$dimensionValues[1].value;\n      var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n        if (viewOnlyDashboard) {\n          return null;\n        }\n        return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n          filters: {\n            unifiedPagePathScreen: url\n          },\n          dates: dates\n        });\n      });\n      return /*#__PURE__*/React.createElement(_js_components_DetailsPermaLinks__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n        title: title,\n        path: url,\n        serviceURL: serviceURL\n      });\n    }\n  }, {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Pageviews', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Pageviews', 'google-site-kit'),\n    field: 'metricValues.0.value',\n    Component: function Component(_ref2) {\n      var fieldValue = _ref2.fieldValue;\n      return /*#__PURE__*/React.createElement(\"span\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_11__[\"numFmt\"])(fieldValue, {\n        style: 'decimal'\n      }));\n    }\n  }, {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Sessions', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Sessions', 'google-site-kit'),\n    field: 'metricValues.1.value',\n    className: 'googlesitekit-table__head-item--sessions',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      return /*#__PURE__*/React.createElement(\"span\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_11__[\"numFmt\"])(fieldValue, {\n        style: 'decimal'\n      }));\n    }\n  }, {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Engagement Rate', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Engagement Rate', 'google-site-kit'),\n    field: 'metricValues.2.value',\n    className: 'googlesitekit-table__head-item--engagement-rate',\n    Component: function Component(_ref4) {\n      var fieldValue = _ref4.fieldValue;\n      return /*#__PURE__*/React.createElement(\"span\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_11__[\"numFmt\"])(fieldValue, '%'));\n    }\n  }, {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Session Duration', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Session Duration', 'google-site-kit'),\n    field: 'metricValues.3.value',\n    Component: function Component(_ref5) {\n      var fieldValue = _ref5.fieldValue;\n      return /*#__PURE__*/React.createElement(\"span\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_11__[\"numFmt\"])(fieldValue, 's'));\n    }\n  }];\n  var rows = (report === null || report === void 0 ? void 0 : (_report$rows = report.rows) === null || _report$rows === void 0 ? void 0 : _report$rows.length) ? Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"cloneDeep\"])(report.rows) : [];\n  var ZeroState = _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_17__[\"ZeroDataMessage\"];\n\n  // Combine the titles from the pageTitles with the rows from the metrics report.\n  rows.forEach(function (row) {\n    var url = row.dimensionValues[0].value;\n    row.dimensionValues.unshift({\n      value: titles[url]\n    }); // We always have an entry for titles[url].\n  });\n  var tabbedLayout = breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_20__[\"BREAKPOINT_SMALL\"] || breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_20__[\"BREAKPOINT_TABLET\"];\n  var reportTable = /*#__PURE__*/React.createElement(_js_components_ReportTable__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()({\n      'googlesitekit-analytics-popular-pages-widget__report-table--tabbed-layout': tabbedLayout\n    }),\n    rows: rows,\n    columns: tableColumns,\n    zeroState: ZeroState,\n    gatheringData: isGatheringData,\n    tabbedLayout: tabbedLayout\n  });\n  return /*#__PURE__*/React.createElement(Widget, {\n    Header: _Header__WEBPACK_IMPORTED_MODULE_18__[\"default\"],\n    Footer: _Footer__WEBPACK_IMPORTED_MODULE_19__[\"default\"],\n    noPadding: true\n  }, tabbedLayout ? reportTable : /*#__PURE__*/React.createElement(_js_components_TableOverflowContainer__WEBPACK_IMPORTED_MODULE_13__[\"default\"], null, reportTable));\n}\nModulePopularPagesWidgetGA4.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType.isRequired,\n  WidgetReportError: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType.isRequired,\n  WidgetReportZero: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_12__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULE_SLUG_ANALYTICS_4\"]\n})(ModulePopularPagesWidgetGA4));\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/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/module/index.js":
/*!***********************************************************!*\
  !*** ./js/modules/analytics-4/components/module/index.js ***!
  \***********************************************************/
/*! exports provided: ModulePopularPagesWidgetGA4 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ModulePopularPagesWidgetGA4__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModulePopularPagesWidgetGA4 */ \"./js/modules/analytics-4/components/module/ModulePopularPagesWidgetGA4/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ModulePopularPagesWidgetGA4\", function() { return _ModulePopularPagesWidgetGA4__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/**\n * Analytics module page components.\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//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvbW9kdWxlL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL21vZHVsZS9pbmRleC5qcz9hYmRkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQW5hbHl0aWNzIG1vZHVsZSBwYWdlIGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW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m9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/module/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/notifications/GoogleTagIDMismatchNotification.js":
/*!********************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/notifications/GoogleTagIDMismatchNotification.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return GoogleTagIDMismatchNotification; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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/* 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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_google_tag__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/google-tag */ \"./js/modules/analytics-4/utils/google-tag.js\");\n/* harmony import */ var _js_googlesitekit_notifications_components_layout_BannerNotification__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/notifications/components/layout/BannerNotification */ \"./js/googlesitekit/notifications/components/layout/BannerNotification.js\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_11__);\n\n\n\n/**\n * GoogleTagIDMismatchNotification component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction GoogleTagIDMismatchNotification(_ref) {\n  var id = _ref.id,\n    Notification = _ref.Notification;\n  var currentAnalyticsConfig = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getSettings();\n  });\n  var googleTagContainerDestinations = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return (currentAnalyticsConfig === null || currentAnalyticsConfig === void 0 ? void 0 : currentAnalyticsConfig.googleTagAccountID) && (currentAnalyticsConfig === null || currentAnalyticsConfig === void 0 ? void 0 : currentAnalyticsConfig.googleTagContainerID) && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getGoogleTagContainerDestinations(currentAnalyticsConfig.googleTagAccountID, currentAnalyticsConfig.googleTagContainerID);\n  });\n  var currentAnalyticsProperty = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return (currentAnalyticsConfig === null || currentAnalyticsConfig === void 0 ? void 0 : currentAnalyticsConfig.propertyID) && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getProperty(currentAnalyticsConfig.propertyID);\n  });\n  var newAnalyticsConfig = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    if (!Array.isArray(googleTagContainerDestinations)) {\n      return null;\n    }\n    var destinationIDs = googleTagContainerDestinations.map(\n    // eslint-disable-next-line sitekit/acronym-case\n    function (destination) {\n      return destination.destinationId;\n    });\n    var validGA4MeasurementIDs = destinationIDs.filter(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidMeasurementID\"]);\n    if (validGA4MeasurementIDs.length === 0) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAnalyticsConfigByMeasurementIDs(validGA4MeasurementIDs);\n  });\n  var newAnalyticsProperty = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return newAnalyticsConfig && newAnalyticsConfig.propertyID && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getProperty(newAnalyticsConfig === null || newAnalyticsConfig === void 0 ? void 0 : newAnalyticsConfig.propertyID);\n  });\n  var newGoogleTagID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var _select$getGoogleTagC;\n    var tagIDs = (currentAnalyticsConfig === null || currentAnalyticsConfig === void 0 ? void 0 : currentAnalyticsConfig.measurementID) && ((_select$getGoogleTagC = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getGoogleTagContainer(currentAnalyticsConfig === null || currentAnalyticsConfig === void 0 ? void 0 : currentAnalyticsConfig.measurementID)) === null || _select$getGoogleTagC === void 0 ? void 0 : _select$getGoogleTagC.tagIds); // eslint-disable-line sitekit/acronym-case\n\n    if (Array.isArray(tagIDs)) {\n      return Object(_js_modules_analytics_4_utils_google_tag__WEBPACK_IMPORTED_MODULE_9__[\"getBestTagID\"])(tagIDs, currentAnalyticsConfig.measurementID);\n    }\n    return null;\n  });\n  var isDoingSubmitChanges = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_MODULES\"]).isDoingSubmitChanges(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n    setPropertyID = _useDispatch.setPropertyID,\n    setWebDataStreamID = _useDispatch.setWebDataStreamID,\n    setMeasurementID = _useDispatch.setMeasurementID,\n    updateSettingsForMeasurementID = _useDispatch.updateSettingsForMeasurementID,\n    submitChanges = _useDispatch.submitChanges,\n    setHasMismatchedGoogleTagID = _useDispatch.setHasMismatchedGoogleTagID;\n  var updateToNewAnalyticsConfig = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\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            setPropertyID(newAnalyticsConfig === null || newAnalyticsConfig === void 0 ? void 0 : newAnalyticsConfig.propertyID);\n            setWebDataStreamID(newAnalyticsConfig === null || newAnalyticsConfig === void 0 ? void 0 : newAnalyticsConfig.webDataStreamID);\n            setMeasurementID(newAnalyticsConfig === null || newAnalyticsConfig === void 0 ? void 0 : newAnalyticsConfig.measurementID);\n            _context.next = 5;\n            return submitChanges();\n          case 5:\n            setHasMismatchedGoogleTagID(false);\n          case 6:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })), [setPropertyID, setWebDataStreamID, setMeasurementID, newAnalyticsConfig === null || newAnalyticsConfig === void 0 ? void 0 : newAnalyticsConfig.propertyID, newAnalyticsConfig === null || newAnalyticsConfig === void 0 ? void 0 : newAnalyticsConfig.webDataStreamID, newAnalyticsConfig === null || newAnalyticsConfig === void 0 ? void 0 : newAnalyticsConfig.measurementID, submitChanges, setHasMismatchedGoogleTagID]);\n  var updateGoogleTagConfig = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\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 updateSettingsForMeasurementID(currentAnalyticsConfig === null || currentAnalyticsConfig === void 0 ? void 0 : currentAnalyticsConfig.measurementID);\n          case 2:\n            _context2.next = 4;\n            return submitChanges();\n          case 4:\n            setHasMismatchedGoogleTagID(false);\n          case 5:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  })), [updateSettingsForMeasurementID, currentAnalyticsConfig === null || currentAnalyticsConfig === void 0 ? void 0 : currentAnalyticsConfig.measurementID, submitChanges, setHasMismatchedGoogleTagID]);\n  if (googleTagContainerDestinations === undefined || newAnalyticsProperty === undefined || newGoogleTagID === undefined || currentAnalyticsProperty === undefined) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_11__[\"ProgressBar\"], {\n      className: \"googlesitekit-banner__progress-bar\",\n      height: 4 // The progress bar height is set to 7px via CSS. This value removes margins within the ProgressBar component.\n      ,\n      indeterminate: true\n    });\n  }\n\n  // If the current and new properties are the same, don't show the notification.\n  // This can happen momentarily when the banner is actioned and the new property\n  // has been saved, but the notification hasn't been dismissed / removed from the\n  // queue yet. There is also a rare issue reported where hasMismatchedGoogleTagID\n  // is set to true, but the new property is the same as the current one. This will\n  // result in a perpetual loading banner on the screen if we returned the loading\n  // bar. So it is safer to return null, as eventually, the syncGoogleTag action\n  // will be called within an hour and reset this correctly.\n  if ((currentAnalyticsProperty === null || currentAnalyticsProperty === void 0 ? void 0 : currentAnalyticsProperty._id) && (newAnalyticsProperty === null || newAnalyticsProperty === void 0 ? void 0 : newAnalyticsProperty._id) && currentAnalyticsProperty._id === newAnalyticsProperty._id) {\n    return null;\n  }\n  if (newAnalyticsProperty) {\n    return /*#__PURE__*/React.createElement(Notification, null, /*#__PURE__*/React.createElement(_js_googlesitekit_notifications_components_layout_BannerNotification__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      notificationID: id,\n      type: _js_googlesitekit_notifications_components_layout_BannerNotification__WEBPACK_IMPORTED_MODULE_10__[\"TYPES\"].WARNING,\n      title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])(\"Update Site Kit's Analytics configuration to continue seeing Analytics data on the dashboard\", 'google-site-kit'),\n      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: 1: Current GA4 property name. 2: Current GA4 property ID. 3: Newly linked GA4 property name. 4: Newly linked GA4 property ID. */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('The Google Tag on your site is no longer associated with your current Google Analytics property \"%1$s (%2$s)\". It is now recording metrics to another Google Analytics property \"%3$s (%4$s)\". If you want to continue seeing Analytics data in the Site Kit dashboard, we suggest you update Site Kit’s Google Analytics configuration to show data for the property used in your Google Tag.', 'google-site-kit'), currentAnalyticsProperty.displayName, currentAnalyticsProperty._id, newAnalyticsProperty.displayName, newAnalyticsProperty._id),\n      ctaButton: {\n        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Use new property', 'google-site-kit'),\n        onClick: updateToNewAnalyticsConfig,\n        inProgress: isDoingSubmitChanges,\n        dismissOnClick: true,\n        dismissOptions: {\n          expiresInSeconds: 1 // Expire the dismissal almost instantly so that the notification can be shown again if there is another mismatch in the future.\n        }\n      },\n      dismissButton: {\n        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Keep existing property', 'google-site-kit'),\n        onClick: updateGoogleTagConfig,\n        dismissOptions: {\n          expiresInSeconds: 1 // Expire the dismissal almost instantly so that the notification can be shown again if there is another mismatch in the future.\n        }\n      }\n    }));\n  }\n  if (newGoogleTagID) {\n    return /*#__PURE__*/React.createElement(Notification, null, /*#__PURE__*/React.createElement(_js_googlesitekit_notifications_components_layout_BannerNotification__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      notificationID: id,\n      type: _js_googlesitekit_notifications_components_layout_BannerNotification__WEBPACK_IMPORTED_MODULE_10__[\"TYPES\"].WARNING,\n      title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Your Google tag configuration has changed', 'google-site-kit'),\n      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: 1: Currently set Google Tag ID. 2: Newly linked Google Tag ID. 3: Current GA4 property name. 4: Current GA4 property ID. */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('The Google tag for your Google Analytics configuration has changed from %1$s to %2$s. To keep using your current Google Analytics property \"%3$s (%4$s)\", you need to configure Site Kit to place the new Google tag %2$s instead.', 'google-site-kit'), currentAnalyticsConfig.googleTagID, newGoogleTagID, currentAnalyticsProperty.displayName, currentAnalyticsProperty._id),\n      ctaButton: {\n        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: Newly linked Google Tag ID. */\n        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Update Google tag to %s', 'google-site-kit'), newGoogleTagID),\n        onClick: updateGoogleTagConfig,\n        dismissOnClick: true,\n        dismissOptions: {\n          expiresInSeconds: 1 // Expire the dismissal almost instantly so that the notification can be shown again if there is another mismatch in the future.\n        }\n      }\n    }));\n  }\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/modules/analytics-4/components/notifications/GoogleTagIDMismatchNotification.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/notifications/WebDataStreamNotAvailableNotification.js":
/*!**************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/notifications/WebDataStreamNotAvailableNotification.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WebDataStreamNotAvailableNotification; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_notifications_components_layout_BannerNotification__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/notifications/components/layout/BannerNotification */ \"./js/googlesitekit/notifications/components/layout/BannerNotification.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.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/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n\n/**\n * WebDataStreamNotAvailableNotification component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction WebDataStreamNotAvailableNotification(_ref) {\n  var id = _ref.id,\n    Notification = _ref.Notification;\n  var measurementID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getMeasurementID();\n  });\n  var analyticsSettingsEditURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getModuleSettingsEditURL(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]),\n    setIsWebDataStreamUnavailable = _useDispatch.setIsWebDataStreamUnavailable;\n  function resetWebDataStreamAvailability() {\n    // Reset the web data stream availability by setting its value to FALSE.\n    // This means that the corresponding transient will be deleted on backend.\n    setIsWebDataStreamUnavailable(false);\n  }\n  var isNavigatingToSettingsEditURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_LOCATION\"]).isNavigatingTo(analyticsSettingsEditURL);\n  });\n  return /*#__PURE__*/React.createElement(Notification, null, /*#__PURE__*/React.createElement(_js_googlesitekit_notifications_components_layout_BannerNotification__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    notificationID: id,\n    type: _js_googlesitekit_notifications_components_layout_BannerNotification__WEBPACK_IMPORTED_MODULE_3__[\"TYPES\"].WARNING,\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Your Analytics configuration has changed', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %1$s: Google Analytics Measurement ID. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('The previously selected web data stream with measurement ID %1$s is no longer available. Please select a new web data stream to continue collecting data with Google Analytics.', 'google-site-kit'), measurementID),\n    ctaButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Update Analytics settings', 'google-site-kit'),\n      href: analyticsSettingsEditURL,\n      disabled: isNavigatingToSettingsEditURL,\n      onClick: resetWebDataStreamAvailability\n    },\n    dismissButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Maybe later', 'google-site-kit'),\n      onClick: resetWebDataStreamAvailability,\n      dismissOptions: {\n        expiresInSeconds: _js_util__WEBPACK_IMPORTED_MODULE_7__[\"MINUTE_IN_SECONDS\"] * 55\n      }\n    }\n  }));\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/modules/analytics-4/components/notifications/WebDataStreamNotAvailableNotification.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/notifications/index.js":
/*!******************************************************************!*\
  !*** ./js/modules/analytics-4/components/notifications/index.js ***!
  \******************************************************************/
/*! exports provided: GoogleTagIDMismatchNotification, WebDataStreamNotAvailableNotification */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _GoogleTagIDMismatchNotification__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GoogleTagIDMismatchNotification */ \"./js/modules/analytics-4/components/notifications/GoogleTagIDMismatchNotification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GoogleTagIDMismatchNotification\", function() { return _GoogleTagIDMismatchNotification__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _WebDataStreamNotAvailableNotification__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./WebDataStreamNotAvailableNotification */ \"./js/modules/analytics-4/components/notifications/WebDataStreamNotAvailableNotification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WebDataStreamNotAvailableNotification\", function() { return _WebDataStreamNotAvailableNotification__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/**\n * Analytics Notification components.\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\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2luZGV4LmpzP2VkMTIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBbmFseXRpY3MgTm90aWZpY2F0aW9uIGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJ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QTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/notifications/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/AnalyticsSettingsNotice.js":
/*!*******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/AnalyticsSettingsNotice.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AnalyticsSettingsNotice; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n/**\n * Analytics 4 Settings Notice component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction AnalyticsSettingsNotice(_ref) {\n  var _module$owner;\n  var hasModuleAccess = _ref.hasModuleAccess;\n  var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModule(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var formattedOwnerName = (module === null || module === void 0 ? void 0 : (_module$owner = module.owner) === null || _module$owner === void 0 ? void 0 : _module$owner.login) ? \"<strong>\".concat(module.owner.login, \"</strong>\") : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Another admin', 'google-site-kit');\n  if (!hasModuleAccess) {\n    return /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"].TYPES.WARNING,\n      className: \"googlesitekit-analytics-settings-notice\",\n      description: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: module owner's name */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s configured Analytics and you don’t have access to its configured property. Contact them to share access or change the configured property.', 'google-site-kit'), formattedOwnerName), {\n        strong: /*#__PURE__*/React.createElement(\"strong\", null)\n      })\n    });\n  }\n  return null;\n}\nAnalyticsSettingsNotice.propTypes = {\n  hasModuleAccess: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvc2V0dGluZ3MvQW5hbHl0aWNzU2V0dGluZ3NOb3RpY2UuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvc2V0dGluZ3MvQW5hbHl0aWNzU2V0dGluZ3NOb3RpY2UuanM/NjRmNSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFuYWx5dGljcyA0IFNldHRpbmdzIE5vdGljZSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29n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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFHQTtBQUlBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFHQTtBQU9BO0FBQ0E7QUFDQTtBQUdBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/settings/AnalyticsSettingsNotice.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/OptionalSettingsView.js":
/*!****************************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/OptionalSettingsView.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return OptionalSettingsView; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/DisplaySetting */ \"./js/components/DisplaySetting.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common_TrackingExclusionSwitches__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common/TrackingExclusionSwitches */ \"./js/modules/analytics-4/components/common/TrackingExclusionSwitches.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * Optional Settings View component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction OptionalSettingsView() {\n  var useSnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getUseSnippet();\n  });\n  var adsConversionIDMigratedAtMs = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getAdsConversionIDMigratedAtMs();\n  });\n  var trackingDisabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getTrackingDisabled() || [];\n  });\n  var adsConversionID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getAdsConversionID();\n  });\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-items\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Excluded from Analytics', 'google-site-kit')), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, !!trackingDisabled.length && trackingDisabled.map(function (exclusion) {\n    return _js_modules_analytics_4_components_common_TrackingExclusionSwitches__WEBPACK_IMPORTED_MODULE_5__[\"trackingExclusionLabels\"][exclusion];\n  }).join(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"_x\"])(', ', 'list separator', 'google-site-kit')), !trackingDisabled.length && Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Analytics is currently enabled for all visitors', 'google-site-kit')))), useSnippet && !adsConversionIDMigratedAtMs && !!adsConversionID && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-items\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Ads Conversion ID', 'google-site-kit')), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, !!adsConversionID && /*#__PURE__*/React.createElement(_js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    value: adsConversionID\n  }), !adsConversionID && Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('None', 'google-site-kit')))));\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/modules/analytics-4/components/settings/OptionalSettingsView.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/PropertyOrWebDataStreamNotAvailableError.js":
/*!************************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/PropertyOrWebDataStreamNotAvailableError.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return PropertyOrWebDataStreamNotAvailableError; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/ErrorNotice */ \"./js/components/ErrorNotice.js\");\n\n/**\n * PropertyOrWebDataStreamNotAvailableError component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction PropertyOrWebDataStreamNotAvailableError(props) {\n  var hasModuleAccess = props.hasModuleAccess,\n    isDisabled = props.isDisabled;\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  });\n  var measurementID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getMeasurementID();\n  });\n  var properties = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return hasModuleAccess && !isDisabled ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getPropertySummaries(accountID) : [];\n  });\n  var finishedSelectingAccount = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).hasFinishedSelectingAccount();\n  });\n  var webDataStreams = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_5__[\"isValidPropertyID\"])(propertyID) && hasModuleAccess ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getWebDataStreams(propertyID) : [];\n  });\n  var getWebDataStreamsError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getWebDataStreams', [propertyID]);\n  });\n  var getPropertiesError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getAccountSummaries', []);\n  });\n  if (!hasModuleAccess || isDisabled || properties === undefined || webDataStreams === undefined || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_5__[\"isValidPropertyID\"])(propertyID) || finishedSelectingAccount === false) {\n    return null;\n  }\n  var propertyAvailable = properties.some(function (_ref) {\n    var _id = _ref._id;\n    return _id === propertyID;\n  });\n  if (propertyAvailable && measurementID && !getWebDataStreamsError && !webDataStreams.some(function (_ref2) {\n    var webStreamData = _ref2.webStreamData;\n    return (\n      // eslint-disable-next-line sitekit/acronym-case\n      webStreamData.measurementId === measurementID\n    );\n  })) {\n    return /*#__PURE__*/React.createElement(_js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: 1: Google Analytics Measurement ID. */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('The previously selected web data stream with measurement ID %1$s is no longer available. Please select a new web data stream to continue collecting data with Google Analytics.', 'google-site-kit'), measurementID),\n      skipRetryMessage: true\n    });\n  }\n  if (!propertyAvailable && !getPropertiesError) {\n    return /*#__PURE__*/React.createElement(_js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: 1: Google Analytics Property ID. */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('The previously selected property with ID %1$s is no longer available. Please select a new property to continue collecting data with Google Analytics.', 'google-site-kit'), propertyID),\n      skipRetryMessage: true\n    });\n  }\n  return null;\n}\nPropertyOrWebDataStreamNotAvailableError.propTypes = {\n  hasModuleAccess: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  isDisabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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/modules/analytics-4/components/settings/PropertyOrWebDataStreamNotAvailableError.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/SettingsControls.js":
/*!************************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/SettingsControls.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SettingsControls; });\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 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 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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _SettingsUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SettingsUseSnippetSwitch */ \"./js/modules/analytics-4/components/settings/SettingsUseSnippetSwitch.js\");\n/* harmony import */ var _js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _AnalyticsSettingsNotice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AnalyticsSettingsNotice */ \"./js/modules/analytics-4/components/settings/AnalyticsSettingsNotice.js\");\n/* harmony import */ var _PropertyOrWebDataStreamNotAvailableError__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./PropertyOrWebDataStreamNotAvailableError */ \"./js/modules/analytics-4/components/settings/PropertyOrWebDataStreamNotAvailableError.js\");\n\n/**\n * Analytics 4 Settings controls.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction SettingsControls(props) {\n  var hasModuleAccess = props.hasModuleAccess;\n  var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  });\n  var webDataStreamID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamID();\n  });\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__fields-group\"\n  }, /*#__PURE__*/React.createElement(_js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    moduleSlug: \"analytics-4\",\n    storeName: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]\n  }), /*#__PURE__*/React.createElement(_PropertyOrWebDataStreamNotAvailableError__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    hasModuleAccess: hasModuleAccess,\n    isDisabled: !propertyID\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs\"\n  }, /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_4__[\"AccountSelect\"], {\n    hasModuleAccess: hasModuleAccess\n  }), /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_4__[\"PropertySelect\"], {\n    hasModuleAccess: hasModuleAccess,\n    isDisabled: !propertyID\n  }), /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_4__[\"WebDataStreamSelect\"], {\n    hasModuleAccess: hasModuleAccess,\n    isDisabled: !propertyID\n  })), webDataStreamID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"WEBDATASTREAM_CREATE\"] && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline\"\n  }, /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_4__[\"WebDataStreamNameInput\"], null)), /*#__PURE__*/React.createElement(_AnalyticsSettingsNotice__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    hasModuleAccess: hasModuleAccess,\n    className: \"googlesitekit-margin-top-0\"\n  }), propertyID && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_SettingsUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null)));\n}\nSettingsControls.propTypes = {\n  hasModuleAccess: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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/modules/analytics-4/components/settings/SettingsControls.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/SettingsEdit.js":
/*!********************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/SettingsEdit.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SettingsEdit; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_hooks_useExistingTagEffect__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useExistingTagEffect */ \"./js/modules/analytics-4/hooks/useExistingTagEffect.js\");\n/* harmony import */ var _SettingsForm__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SettingsForm */ \"./js/modules/analytics-4/components/settings/SettingsForm.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n\n/**\n * Analytics 4 Settings Edit component.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction SettingsEdit() {\n  var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries();\n  }) || [];\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var isDoingSubmitChanges = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).isDoingSubmitChanges();\n  });\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getAccountSummaries');\n  });\n  var usingProxy = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).isUsingProxy();\n  });\n  var hasModuleAccess = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    var _select = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_MODULES\"]),\n      hasModuleOwnershipOrAccess = _select.hasModuleOwnershipOrAccess,\n      getErrorForAction = _select.getErrorForAction;\n    var hasAccess = hasModuleOwnershipOrAccess(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULE_SLUG_ANALYTICS_4\"]);\n    if (hasAccess) {\n      return true;\n    }\n    var checkAccessError = getErrorForAction('checkModuleAccess', [_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULE_SLUG_ANALYTICS_4\"]]);\n\n    // Return early if request is not completed yet.\n    if (undefined === hasAccess && !checkAccessError) {\n      return undefined;\n    }\n\n    // Return false if GA4 is connected and access is concretely missing.\n    if (false === hasAccess) {\n      return false;\n    }\n    if ('module_not_connected' === (checkAccessError === null || checkAccessError === void 0 ? void 0 : checkAccessError.code)) {\n      return true;\n    }\n\n    // For any other error or case, the user does not have access to GA4.\n    return false;\n  });\n  Object(_js_modules_analytics_4_hooks_useExistingTagEffect__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n  var isCreateAccount = _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"ACCOUNT_CREATE\"] === accountID;\n  var viewComponent;\n  // Here we also check for `hasResolvedAccounts` to prevent showing a different case below\n  // when the component initially loads and has yet to start fetching accounts.\n  if (isDoingSubmitChanges || !hasResolvedAccounts || hasModuleAccess === undefined) {\n    viewComponent = /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"ProgressBar\"], null);\n  } else if (!accounts.length || isCreateAccount) {\n    viewComponent = usingProxy ? /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__[\"AccountCreate\"], null) : /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__[\"AccountCreateLegacy\"], null);\n  } else {\n    viewComponent = /*#__PURE__*/React.createElement(_SettingsForm__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      hasModuleAccess: hasModuleAccess\n    });\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module googlesitekit-setup-module--analytics\"\n  }, viewComponent);\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/modules/analytics-4/components/settings/SettingsEdit.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/SettingsEnhancedMeasurementSwitch.js":
/*!*****************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/SettingsEnhancedMeasurementSwitch.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SettingsEnhancedMeasurementSwitch; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common_EnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common/EnhancedMeasurementSwitch */ \"./js/modules/analytics-4/components/common/EnhancedMeasurementSwitch.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n/**\n * SettingsEnhancedMeasurementSwitch component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction SettingsEnhancedMeasurementSwitch(_ref) {\n  var hasModuleAccess = _ref.hasModuleAccess;\n  var isEnhancedMeasurementEnabled = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENHANCED_MEASUREMENT_FORM\"], _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENHANCED_MEASUREMENT_ENABLED\"]);\n  var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  });\n  var webDataStreamID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamID();\n  });\n  var isLoadingPropertySummaries = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).isLoadingPropertySummaries();\n  });\n  var isLoadingWebDataStreams = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).isLoadingWebDataStreams({\n      hasModuleAccess: hasModuleAccess\n    });\n  });\n  var isEnhancedMeasurementStreamEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (isLoadingPropertySummaries || isLoadingWebDataStreams) {\n      return undefined;\n    }\n    if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertyID\"])(propertyID) || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamID\"])(webDataStreamID)) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).isEnhancedMeasurementStreamEnabled(propertyID, webDataStreamID);\n  });\n  var isEnhancedMeasurementAlreadyEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (isLoadingPropertySummaries || isLoadingWebDataStreams || isEnhancedMeasurementStreamEnabled === undefined) {\n      return undefined;\n    }\n    if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertyID\"])(propertyID) || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamID\"])(webDataStreamID)) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).isEnhancedMeasurementStreamAlreadyEnabled(propertyID, webDataStreamID);\n  });\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertySelection\"])(propertyID) || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamSelection\"])(webDataStreamID) || isLoadingPropertySummaries || isLoadingWebDataStreams) {\n      return true;\n    }\n    if (propertyID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"PROPERTY_CREATE\"] || webDataStreamID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"WEBDATASTREAM_CREATE\"]) {\n      return false;\n    }\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getEnhancedMeasurementSettings', [propertyID, webDataStreamID]) || !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('isEnhancedMeasurementStreamAlreadyEnabled', [propertyID, webDataStreamID]);\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n    setEnhancedMeasurementStreamEnabled = _useDispatch2.setEnhancedMeasurementStreamEnabled;\n  var initialValues = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useRef\"])({\n    isEnhancedMeasurementEnabled: isEnhancedMeasurementEnabled,\n    propertyID: propertyID,\n    webDataStreamID: webDataStreamID\n  });\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    if (initialValues.current.isEnhancedMeasurementEnabled !== undefined && initialValues.current.webDataStreamID === webDataStreamID && initialValues.current.propertyID === propertyID) {\n      return;\n    }\n    if (isEnhancedMeasurementStreamEnabled === undefined || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertySelection\"])(propertyID) || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamSelection\"])(webDataStreamID)) {\n      return;\n    }\n\n    // Here we update the form value in order to toggle the switch in `EnhancedMeasurementSwitch`,\n    if (propertyID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"PROPERTY_CREATE\"] || webDataStreamID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"WEBDATASTREAM_CREATE\"]) {\n      setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENHANCED_MEASUREMENT_FORM\"], _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENHANCED_MEASUREMENT_ENABLED\"], true));\n    } else {\n      setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENHANCED_MEASUREMENT_FORM\"], _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENHANCED_MEASUREMENT_ENABLED\"], isEnhancedMeasurementStreamEnabled));\n    }\n  }, [isEnhancedMeasurementStreamEnabled, propertyID, setValues, webDataStreamID]);\n  return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common_EnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    disabled: !hasModuleAccess,\n    loading: isLoading,\n    isEnhancedMeasurementAlreadyEnabled: isEnhancedMeasurementAlreadyEnabled,\n    onClick: function onClick() {\n      if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertyID\"])(propertyID) || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamID\"])(webDataStreamID)) {\n        return;\n      }\n\n      // Here we update the enhanced measurement `streamEnabled` setting to ensure `validateCanSubmitChanges()` can detect\n      // that the setting has changed via its call to `haveEnhancedMeasurementSettingsChanged()`.\n      setEnhancedMeasurementStreamEnabled({\n        propertyID: propertyID,\n        webDataStreamID: webDataStreamID,\n        enabled: !isEnhancedMeasurementStreamEnabled\n      });\n    },\n    showTick: true\n  });\n}\nSettingsEnhancedMeasurementSwitch.propTypes = {\n  hasModuleAccess: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool\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/modules/analytics-4/components/settings/SettingsEnhancedMeasurementSwitch.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/SettingsForm.js":
/*!********************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/SettingsForm.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SettingsForm; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _SettingsControls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SettingsControls */ \"./js/modules/analytics-4/components/settings/SettingsControls.js\");\n/* harmony import */ var _js_components_conversion_tracking_ConversionTrackingToggle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/conversion-tracking/ConversionTrackingToggle */ \"./js/components/conversion-tracking/ConversionTrackingToggle.js\");\n/* harmony import */ var _js_components_settings_EntityOwnershipChangeNotice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/settings/EntityOwnershipChangeNotice */ \"./js/components/settings/EntityOwnershipChangeNotice.js\");\n/* harmony import */ var _js_components_google_tag_gateway_GoogleTagGatewayToggle__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/google-tag-gateway/GoogleTagGatewayToggle */ \"./js/components/google-tag-gateway/GoogleTagGatewayToggle.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_settings_SettingsGroup__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/settings/SettingsGroup */ \"./js/components/settings/SettingsGroup.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_hooks_useFeature__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/hooks/useFeature */ \"./js/hooks/useFeature.js\");\n/* harmony import */ var _SettingsEnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./SettingsEnhancedMeasurementSwitch */ \"./js/modules/analytics-4/components/settings/SettingsEnhancedMeasurementSwitch.js\");\n\n/**\n * Analytics 4 Settings form.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction SettingsForm(_ref) {\n  var hasModuleAccess = _ref.hasModuleAccess;\n  var gtgEnabled = Object(_js_hooks_useFeature__WEBPACK_IMPORTED_MODULE_15__[\"useFeature\"])('googleTagGateway');\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var conversionTrackingDocumentationURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getDocumentationLinkURL('plugin-conversion-tracking');\n  });\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_SettingsControls__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    hasModuleAccess: hasModuleAccess\n  }), Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_14__[\"isValidAccountID\"])(accountID) && /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_4__[\"TrackingExclusionSwitches\"], null), hasModuleAccess && /*#__PURE__*/React.createElement(_js_components_settings_EntityOwnershipChangeNotice__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    slug: [_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"]]\n  }), /*#__PURE__*/React.createElement(_js_components_settings_SettingsGroup__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Improve your measurement', 'google-site-kit')\n  }, /*#__PURE__*/React.createElement(_SettingsEnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    hasModuleAccess: hasModuleAccess\n  }), /*#__PURE__*/React.createElement(_js_components_conversion_tracking_ConversionTrackingToggle__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('To track the performance of your campaigns, Site Kit will enable plugin conversion tracking. <a>Learn more</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      href: conversionTrackingDocumentationURL,\n      \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Learn more about conversion tracking', 'google-site-kit'),\n      external: true\n    })\n  })), gtgEnabled && /*#__PURE__*/React.createElement(_js_components_google_tag_gateway_GoogleTagGatewayToggle__WEBPACK_IMPORTED_MODULE_11__[\"default\"], null)));\n}\nSettingsForm.propTypes = {\n  hasModuleAccess: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\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/modules/analytics-4/components/settings/SettingsForm.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/SettingsUseSnippetSwitch.js":
/*!********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/SettingsUseSnippetSwitch.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SettingsUseSnippetSwitch; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common_UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common/UseSnippetSwitch */ \"./js/modules/analytics-4/components/common/UseSnippetSwitch.js\");\n\n/**\n * GA4 Settings Use Snippet Switch component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction SettingsUseSnippetSwitch() {\n  var useSnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getUseSnippet();\n  });\n  var existingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getExistingTag();\n  });\n  var measurementID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getMeasurementID();\n  });\n  var description;\n  if (existingTag) {\n    description = existingTag === measurementID ? /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: existing tag ID */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('A tag %s for the selected property already exists on the site', 'google-site-kit'), existingTag)), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Consider removing the existing tag to avoid loading both tags on your site', 'google-site-kit'))) : /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: existing tag ID */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('An existing tag %s was found on the page', 'google-site-kit'), existingTag)), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('If you prefer to collect data using that existing tag, please select the corresponding account and property above', 'google-site-kit')));\n  } else {\n    description = useSnippet ? /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Site Kit will add the code automatically', 'google-site-kit')) : /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Site Kit will not add the code to your site', 'google-site-kit'));\n  }\n  return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common_UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    description: description\n  });\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/modules/analytics-4/components/settings/SettingsUseSnippetSwitch.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/SettingsView.js":
/*!********************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/SettingsView.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SettingsView; });\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/* harmony import */ var _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */ \"../node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js\");\n/* harmony import */ var _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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/* 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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _OptionalSettingsView__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./OptionalSettingsView */ \"./js/modules/analytics-4/components/settings/OptionalSettingsView.js\");\n/* harmony import */ var _js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/DisplaySetting */ \"./js/components/DisplaySetting.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/VisuallyHidden */ \"./js/components/VisuallyHidden.js\");\n/* harmony import */ var _js_util_escape_uri__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/escape-uri */ \"./js/util/escape-uri.js\");\n/* harmony import */ var _js_hooks_useFeature__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/hooks/useFeature */ \"./js/hooks/useFeature.js\");\n/* harmony import */ var _js_components_settings_SettingsStatuses__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/settings/SettingsStatuses */ \"./js/components/settings/SettingsStatuses.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n\n\nfunction _templateObject() {\n  var data = _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_1___default()([\"/a\", \"p\", \"/admin/account/settings\"]);\n  _templateObject = function _templateObject() {\n    return data;\n  };\n  return data;\n}\n/**\n * Analytics Settings View component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction SettingsView() {\n  var gtgEnabled = Object(_js_hooks_useFeature__WEBPACK_IMPORTED_MODULE_12__[\"useFeature\"])('googleTagGateway');\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  });\n  var measurementID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getMeasurementID();\n  });\n  var googleTagID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getGoogleTagID();\n  });\n  var useSnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getUseSnippet();\n  });\n  var editAccountSettingsURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getServiceURL({\n      path: Object(_js_util_escape_uri__WEBPACK_IMPORTED_MODULE_11__[\"escapeURI\"])(_templateObject(), accountID, propertyID)\n    });\n  });\n  var editDataStreamSettingsURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getServiceEntityAccessURL();\n  });\n  var webDataStreamID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamID();\n  });\n  var isEnhancedMeasurementStreamEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_14__[\"isValidPropertyID\"])(propertyID) || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_14__[\"isValidWebDataStreamID\"])(webDataStreamID)) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).isEnhancedMeasurementStreamEnabled(propertyID, webDataStreamID);\n  });\n  var isConversionTrackingEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_SITE\"]).isConversionTrackingEnabled();\n  });\n  var isGTGEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    if (!gtgEnabled) {\n      return false;\n    }\n    var _select = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_SITE\"]),\n      isGoogleTagGatewayEnabled = _select.isGoogleTagGatewayEnabled,\n      isGTGHealthy = _select.isGTGHealthy,\n      isScriptAccessEnabled = _select.isScriptAccessEnabled;\n    return isGoogleTagGatewayEnabled() && isGTGHealthy() && isScriptAccessEnabled();\n  });\n  if (!propertyID || propertyID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"PROPERTY_CREATE\"]) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module googlesitekit-setup-module--analytics\"\n  }, /*#__PURE__*/React.createElement(_js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    moduleSlug: \"analytics-4\",\n    storeName: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-items\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Account', 'google-site-kit')), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, /*#__PURE__*/React.createElement(_js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    value: accountID\n  }))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only\"\n  }, /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny\"\n  }, /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    href: editAccountSettingsURL,\n    external: true\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Edit <VisuallyHidden>account </VisuallyHidden>in Analytics', 'google-site-kit'), {\n    VisuallyHidden: /*#__PURE__*/React.createElement(_js_components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_10__[\"default\"], null)\n  }))))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-items\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Property', 'google-site-kit')), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, /*#__PURE__*/React.createElement(_js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    value: propertyID\n  }))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('<VisuallyHidden>Google Analytics</VisuallyHidden> Measurement ID', 'google-site-kit'), {\n    VisuallyHidden: /*#__PURE__*/React.createElement(_js_components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_10__[\"default\"], null)\n  })), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, /*#__PURE__*/React.createElement(_js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    value: measurementID\n  }))), googleTagID && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Google Tag ID', 'google-site-kit')), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, /*#__PURE__*/React.createElement(_js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    value: googleTagID\n  }))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only\"\n  }, /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny\"\n  }, /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    href: editDataStreamSettingsURL,\n    external: true\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Edit <VisuallyHidden>web data stream </VisuallyHidden>in Analytics', 'google-site-kit'), {\n    VisuallyHidden: /*#__PURE__*/React.createElement(_js_components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_10__[\"default\"], null)\n  }))))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-items\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Code Snippet', 'google-site-kit')), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, useSnippet && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Snippet is inserted', 'google-site-kit')), useSnippet === false && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Snippet is not inserted', 'google-site-kit')), useSnippet === undefined && _js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_8__[\"BLANK_SPACE\"]))), /*#__PURE__*/React.createElement(_OptionalSettingsView__WEBPACK_IMPORTED_MODULE_6__[\"default\"], null), /*#__PURE__*/React.createElement(_js_components_settings_SettingsStatuses__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    statuses: [{\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Enhanced Measurement', 'google-site-kit'),\n      status: isEnhancedMeasurementStreamEnabled\n    }, {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Plugin conversion tracking', 'google-site-kit'),\n      status: isConversionTrackingEnabled\n    }].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(gtgEnabled ? [{\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Google tag gateway for advertisers', 'google-site-kit'),\n      status: isGTGEnabled\n    }] : []))\n  }));\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/modules/analytics-4/components/settings/SettingsView.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/settings/index.js":
/*!*************************************************************!*\
  !*** ./js/modules/analytics-4/components/settings/index.js ***!
  \*************************************************************/
/*! exports provided: AnalyticsSettingsNotice, OptionalSettingsView, PropertyOrWebDataStreamNotAvailableError, SettingsControls, SettingsEdit, SettingsEnhancedMeasurementSwitch, SettingsForm, SettingsUseSnippetSwitch, SettingsView */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AnalyticsSettingsNotice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AnalyticsSettingsNotice */ \"./js/modules/analytics-4/components/settings/AnalyticsSettingsNotice.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AnalyticsSettingsNotice\", function() { return _AnalyticsSettingsNotice__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _OptionalSettingsView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OptionalSettingsView */ \"./js/modules/analytics-4/components/settings/OptionalSettingsView.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"OptionalSettingsView\", function() { return _OptionalSettingsView__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _PropertyOrWebDataStreamNotAvailableError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./PropertyOrWebDataStreamNotAvailableError */ \"./js/modules/analytics-4/components/settings/PropertyOrWebDataStreamNotAvailableError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PropertyOrWebDataStreamNotAvailableError\", function() { return _PropertyOrWebDataStreamNotAvailableError__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _SettingsControls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SettingsControls */ \"./js/modules/analytics-4/components/settings/SettingsControls.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsControls\", function() { return _SettingsControls__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _SettingsEdit__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SettingsEdit */ \"./js/modules/analytics-4/components/settings/SettingsEdit.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsEdit\", function() { return _SettingsEdit__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _SettingsEnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SettingsEnhancedMeasurementSwitch */ \"./js/modules/analytics-4/components/settings/SettingsEnhancedMeasurementSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsEnhancedMeasurementSwitch\", function() { return _SettingsEnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _SettingsForm__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SettingsForm */ \"./js/modules/analytics-4/components/settings/SettingsForm.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsForm\", function() { return _SettingsForm__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _SettingsUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SettingsUseSnippetSwitch */ \"./js/modules/analytics-4/components/settings/SettingsUseSnippetSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsUseSnippetSwitch\", function() { return _SettingsUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _SettingsView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SettingsView */ \"./js/modules/analytics-4/components/settings/SettingsView.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsView\", function() { return _SettingsView__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n/**\n * GA4 settings components.\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\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvc2V0dGluZ3MvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvc2V0dGluZ3MvaW5kZXguanM/NDU3OCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdBNCBzZXR0aW5ncyBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ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0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/settings/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/setup/SetupEnhancedMeasurementSwitch.js":
/*!***********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/setup/SetupEnhancedMeasurementSwitch.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SetupEnhancedMeasurementSwitch; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common_EnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common/EnhancedMeasurementSwitch */ \"./js/modules/analytics-4/components/common/EnhancedMeasurementSwitch.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n/**\n * SetupEnhancedMeasurementSwitch component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction SetupEnhancedMeasurementSwitch() {\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  });\n  var webDataStreamID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamID();\n  });\n  var isLoadingPropertySummaries = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).isLoadingPropertySummaries();\n  });\n  var isLoadingWebDataStreams = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).isLoadingWebDataStreams({\n      hasModuleAccess: true\n    });\n  });\n  var isEnhancedMeasurementAlreadyEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    if (isLoadingPropertySummaries || isLoadingWebDataStreams) {\n      return undefined;\n    }\n    if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidPropertyID\"])(propertyID) || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidWebDataStreamID\"])(webDataStreamID)) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).isEnhancedMeasurementStreamAlreadyEnabled(propertyID, webDataStreamID);\n  });\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidPropertySelection\"])(propertyID) || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidWebDataStreamSelection\"])(webDataStreamID) || isLoadingPropertySummaries || isLoadingWebDataStreams) {\n      return true;\n    }\n    if (propertyID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"PROPERTY_CREATE\"] || webDataStreamID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"WEBDATASTREAM_CREATE\"]) {\n      return false;\n    }\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('isEnhancedMeasurementStreamAlreadyEnabled', [propertyID, webDataStreamID]);\n  });\n  var isAutoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_SETUP\"], 'autoSubmit');\n  var isEnhancedMeasurementEnabled = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENHANCED_MEASUREMENT_FORM\"], _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENHANCED_MEASUREMENT_ENABLED\"]);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    if (!isAutoSubmit && isEnhancedMeasurementEnabled === undefined) {\n      setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENHANCED_MEASUREMENT_FORM\"], _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENHANCED_MEASUREMENT_ENABLED\"], true));\n    }\n  }, [isAutoSubmit, isEnhancedMeasurementEnabled, setValues]);\n  if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidAccountID\"])(accountID)) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common_EnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    loading: isLoading,\n    isEnhancedMeasurementAlreadyEnabled: isEnhancedMeasurementAlreadyEnabled\n  });\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/modules/analytics-4/components/setup/SetupEnhancedMeasurementSwitch.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/setup/SetupForm.js":
/*!**************************************************************!*\
  !*** ./js/modules/analytics-4/components/setup/SetupForm.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SetupForm; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/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_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _SetupFormFields__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./SetupFormFields */ \"./js/modules/analytics-4/components/setup/SetupFormFields.js\");\n/* harmony import */ var _js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_conversion_tracking_SetupEnhancedConversionTrackingNotice__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/components/conversion-tracking/SetupEnhancedConversionTrackingNotice */ \"./js/components/conversion-tracking/SetupEnhancedConversionTrackingNotice.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n\n/**\n * Analytics Setup form.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction SetupForm(_ref) {\n  var finishSetup = _ref.finishSetup;\n  var hasEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"EDIT_SCOPE\"]);\n  });\n  var autoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_18__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_SETUP\"], 'autoSubmit');\n  var canSubmitChanges = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).canSubmitChanges();\n  });\n  var isSaving = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isDoingSubmitChanges() || select(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_LOCATION\"]).isNavigating();\n  });\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_14__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]),\n    submitChanges = _useDispatch2.submitChanges;\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_16__[\"CORE_SITE\"]),\n    setConversionTrackingEnabled = _useDispatch3.setConversionTrackingEnabled,\n    saveConversionTrackingSettings = _useDispatch3.saveConversionTrackingSettings;\n  var isEnhancedMeasurementEnabled = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_18__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ENHANCED_MEASUREMENT_FORM\"], _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ENHANCED_MEASUREMENT_ENABLED\"]);\n  var submitForm = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(/*#__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(event) {\n      var _yield$submitChanges, 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              event.preventDefault();\n              // Disable autoSubmit unconditionally to prevent\n              // automatic invocation more than once.\n              setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_SETUP\"], {\n                autoSubmit: false\n              });\n              _context.next = 4;\n              return submitChanges();\n            case 4:\n              _yield$submitChanges = _context.sent;\n              error = _yield$submitChanges.error;\n              if (Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_11__[\"isPermissionScopeError\"])(error)) {\n                setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_SETUP\"], {\n                  autoSubmit: true\n                });\n              }\n              if (error) {\n                _context.next = 15;\n                break;\n              }\n              setConversionTrackingEnabled(true);\n              _context.next = 11;\n              return saveConversionTrackingSettings();\n            case 11:\n              if (!(isEnhancedMeasurementEnabled === true)) {\n                _context.next = 14;\n                break;\n              }\n              _context.next = 14;\n              return Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"trackEvent\"])(\"\".concat(viewContext, \"_analytics\"), 'ga4_setup_enhanced_measurement_enabled');\n            case 14:\n              finishSetup();\n            case 15:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return function (_x) {\n      return _ref2.apply(this, arguments);\n    };\n  }(), [finishSetup, isEnhancedMeasurementEnabled, setConversionTrackingEnabled, saveConversionTrackingSettings, setValues, submitChanges, viewContext]);\n\n  // If the user lands back on this component with autoSubmit and the edit scope,\n  // resubmit the form.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    if (autoSubmit && hasEditScope) {\n      submitForm({\n        preventDefault: function preventDefault() {}\n      });\n    }\n  }, [hasEditScope, autoSubmit, submitForm]);\n  return /*#__PURE__*/React.createElement(\"form\", {\n    className: \"googlesitekit-analytics-setup__form\",\n    onSubmit: submitForm\n  }, /*#__PURE__*/React.createElement(_js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    moduleSlug: \"analytics-4\",\n    storeName: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]\n  }), /*#__PURE__*/React.createElement(_SetupFormFields__WEBPACK_IMPORTED_MODULE_12__[\"default\"], null), /*#__PURE__*/React.createElement(_js_components_conversion_tracking_SetupEnhancedConversionTrackingNotice__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n    message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('To track how visitors interact with your site, Site Kit will enable plugin conversion tracking. You can always disable it in settings.', 'google-site-kit')\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__action\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"SpinnerButton\"], {\n    disabled: !canSubmitChanges || isSaving,\n    isSaving: isSaving\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Complete setup', 'google-site-kit'))));\n}\nSetupForm.propTypes = {\n  finishSetup: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func\n};\nSetupForm.defaultProps = {\n  finishSetup: function finishSetup() {}\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/modules/analytics-4/components/setup/SetupForm.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/setup/SetupFormFields.js":
/*!********************************************************************!*\
  !*** ./js/modules/analytics-4/components/setup/SetupFormFields.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SetupFormFields; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _SetupEnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SetupEnhancedMeasurementSwitch */ \"./js/modules/analytics-4/components/setup/SetupEnhancedMeasurementSwitch.js\");\n/* harmony import */ var _SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SetupUseSnippetSwitch */ \"./js/modules/analytics-4/components/setup/SetupUseSnippetSwitch.js\");\n\n\n/**\n * SetupFormFields component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction SetupFormFields() {\n  var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries();\n  }) || [];\n  var hasExistingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).hasExistingTag();\n  });\n  var existingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getExistingTag();\n  });\n  var measurementID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getMeasurementID();\n  });\n  var webDataStreamID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamID();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]),\n    setUseSnippet = _useDispatch2.setUseSnippet;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    if (hasExistingTag) {\n      setUseSnippet(existingTag !== measurementID);\n    }\n  }, [setUseSnippet, hasExistingTag, existingTag, measurementID]);\n  var resetEnhancedMeasurementSetting = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENHANCED_MEASUREMENT_FORM\"], _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENHANCED_MEASUREMENT_ENABLED\"], true));\n  }, [setValues]);\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, !!accounts.length && /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-margin-bottom-0\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Please select the account information below. You can change this later in your settings.', 'google-site-kit')), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs\"\n  }, /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_6__[\"AccountSelect\"], {\n    onChange: resetEnhancedMeasurementSetting\n  }), /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_6__[\"PropertySelect\"], {\n    onChange: resetEnhancedMeasurementSetting,\n    hasModuleAccess: true\n  }), /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_6__[\"WebDataStreamSelect\"], {\n    onChange: resetEnhancedMeasurementSetting,\n    hasModuleAccess: true\n  })), webDataStreamID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"WEBDATASTREAM_CREATE\"] && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline\"\n  }, /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_6__[\"WebDataStreamNameInput\"], null)), hasExistingTag && /*#__PURE__*/React.createElement(_SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_8__[\"default\"], null), /*#__PURE__*/React.createElement(_SetupEnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null));\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/modules/analytics-4/components/setup/SetupFormFields.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/setup/SetupMain.js":
/*!**************************************************************!*\
  !*** ./js/modules/analytics-4/components/setup/SetupMain.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SetupMain; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _svg_graphics_analytics_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/svg/graphics/analytics.svg */ \"./svg/graphics/analytics.svg\");\n/* harmony import */ var _SetupForm__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./SetupForm */ \"./js/modules/analytics-4/components/setup/SetupForm.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_hooks_useExistingTagEffect__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useExistingTagEffect */ \"./js/modules/analytics-4/hooks/useExistingTagEffect.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n\n\n\n/**\n * Analytics Main setup component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction SetupMain(_ref) {\n  var finishSetup = _ref.finishSetup;\n  var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries();\n  });\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n  });\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getAccountSummaries');\n  });\n  var usingProxy = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_SITE\"]).isUsingProxy();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]),\n    setAccountID = _useDispatch.setAccountID;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]),\n    findMatchedAccount = _useDispatch2.findMatchedAccount,\n    matchAndSelectProperty = _useDispatch2.matchAndSelectProperty;\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    isMatchedAccount = _useState2[0],\n    setIsMatchedAccount = _useState2[1];\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (!accounts) {\n      return;\n    }\n    function fetchMatchedAccount() {\n      return _fetchMatchedAccount.apply(this, arguments);\n    }\n    function _fetchMatchedAccount() {\n      _fetchMatchedAccount = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\n        var matchedAccount;\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                setIsMatchedAccount(true);\n                _context.next = 3;\n                return findMatchedAccount();\n              case 3:\n                matchedAccount = _context.sent;\n                setIsMatchedAccount(false);\n                if (matchedAccount) {\n                  setAccountID(matchedAccount._id);\n                  matchAndSelectProperty(matchedAccount._id);\n                }\n              case 6:\n              case \"end\":\n                return _context.stop();\n            }\n          }\n        }, _callee);\n      }));\n      return _fetchMatchedAccount.apply(this, arguments);\n    }\n    if (!accountID) {\n      fetchMatchedAccount();\n    }\n  }, [findMatchedAccount, accounts, setAccountID, accountID, matchAndSelectProperty]);\n\n  // Set the accountID and containerID if there is an existing tag.\n  Object(_js_modules_analytics_4_hooks_useExistingTagEffect__WEBPACK_IMPORTED_MODULE_12__[\"default\"])();\n  var isCreateAccount = _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"ACCOUNT_CREATE\"] === accountID;\n  var viewComponent;\n  // Here we also check for `hasResolvedAccounts` to prevent showing a different case below\n  // when the component initially loads and has yet to start fetching accounts.\n  if (!hasResolvedAccounts || isMatchedAccount) {\n    viewComponent = /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"ProgressBar\"], null);\n  } else if (isCreateAccount || Array.isArray(accounts) && !accounts.length) {\n    viewComponent = usingProxy ? /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_13__[\"AccountCreate\"], null) : /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_13__[\"AccountCreateLegacy\"], null);\n  } else {\n    viewComponent = /*#__PURE__*/React.createElement(_SetupForm__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n      finishSetup: finishSetup\n    });\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module googlesitekit-setup-module--analytics\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__step\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__logo\"\n  }, /*#__PURE__*/React.createElement(_svg_graphics_analytics_svg__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    width: \"40\",\n    height: \"40\"\n  })), /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    as: \"h3\",\n    className: \"googlesitekit-setup-module__title\",\n    size: \"small\",\n    type: \"headline\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"_x\"])('Analytics', 'Service name', 'google-site-kit'))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__step\"\n  }, viewComponent));\n}\nSetupMain.propTypes = {\n  finishSetup: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func\n};\nSetupMain.defaultProps = {\n  finishSetup: function finishSetup() {}\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/modules/analytics-4/components/setup/SetupMain.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/setup/SetupUseSnippetSwitch.js":
/*!**************************************************************************!*\
  !*** ./js/modules/analytics-4/components/setup/SetupUseSnippetSwitch.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return SetupUseSnippetSwitch; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common_UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common/UseSnippetSwitch */ \"./js/modules/analytics-4/components/common/UseSnippetSwitch.js\");\n\n/**\n * GA4 Setup Use Snippet Switch component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction SetupUseSnippetSwitch() {\n  var existingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getExistingTag();\n  });\n  var measurementID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getMeasurementID();\n  });\n  var description = existingTag === measurementID ? /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: existing tag ID */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('A tag %s for the selected property already exists on the site', 'google-site-kit'), existingTag)), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Consider removing the existing tag to avoid loading both tags on your site', 'google-site-kit'))) : /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: existing tag ID */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('An existing tag %s was found on the page', 'google-site-kit'), existingTag)), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('If you prefer to collect data using that existing Analytics tag, please select the corresponding account and property above', 'google-site-kit')));\n  return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_common_UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    description: description\n  });\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[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x0J2dvb2dsZS1zaXRlLWtpdCdcblx0XHRcdFx0XHRcdCksXG5cdFx0XHRcdFx0XHRleGlzdGluZ1RhZ1xuXHRcdFx0XHRcdCkgfVxuXHRcdFx0XHQ8L1A+XG5cdFx0XHRcdDxQPlxuXHRcdFx0XHRcdHsgX18oXG5cdFx0XHRcdFx0XHQnSWYgeW91IHByZWZlciB0byBjb2xsZWN0IGRhdGEgdXNpbmcgdGhhdCBleGlzdGluZyBBbmFseXRpY3MgdGFnLCBwbGVhc2Ugc2VsZWN0IHRoZSBjb3JyZXNwb25kaW5nIGFjY291bnQgYW5kIHByb3BlcnR5IGFib3ZlJyxcblx0XHRcdFx0XHRcdCdnb29nbGUtc2l0ZS1raXQnXG5cdFx0XHRcdFx0KSB9XG5cdFx0XHRcdDwvUD5cblx0XHRcdDwvRnJhZ21lbnQ+XG5cdFx0KTtcblxuXHRyZXR1cm4gPFVzZVNuaXBwZXRTd2l0Y2ggZGVzY3JpcHRpb249eyBkZXNjcmlwdGlvbiB9IC8+O1xufVxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFHQTtBQU1BO0FBbUJBO0FBZ0JBO0FBQUE7QUFBQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/setup/SetupUseSnippetSwitch.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/setup/index.js":
/*!**********************************************************!*\
  !*** ./js/modules/analytics-4/components/setup/index.js ***!
  \**********************************************************/
/*! exports provided: SetupEnhancedMeasurementSwitch, SetupUseSnippetSwitch, SetupFormFields, SetupForm, SetupMain */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _SetupEnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SetupEnhancedMeasurementSwitch */ \"./js/modules/analytics-4/components/setup/SetupEnhancedMeasurementSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupEnhancedMeasurementSwitch\", function() { return _SetupEnhancedMeasurementSwitch__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SetupUseSnippetSwitch */ \"./js/modules/analytics-4/components/setup/SetupUseSnippetSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupUseSnippetSwitch\", function() { return _SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _SetupFormFields__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SetupFormFields */ \"./js/modules/analytics-4/components/setup/SetupFormFields.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupFormFields\", function() { return _SetupFormFields__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _SetupForm__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SetupForm */ \"./js/modules/analytics-4/components/setup/SetupForm.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupForm\", function() { return _SetupForm__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _SetupMain__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SetupMain */ \"./js/modules/analytics-4/components/setup/SetupMain.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupMain\", function() { return _SetupMain__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/**\n * GA4 setup components.\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\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvc2V0dXAvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvc2V0dXAvaW5kZXguanM/M2FhNiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdBNCBzZXR1cCBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93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O0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/setup/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/util/whenHasChangedConversionEvents.js":
/*!**********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/util/whenHasChangedConversionEvents.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return whenHasChangedConversionEvents; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n\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\n/**\n * Internal dependencies\n */\n\n\n\n/**\n * Higher-Order Component to render wrapped components when changed conversion events are detected.\n *\n * @since 1.150.0\n *\n * @return {Function} Enhancing function.\n */\nfunction whenHasChangedConversionEvents() {\n  return function (WrappedComponent) {\n    function WhenHasChangedConversionEvents(props) {\n      var hasChangedConversionEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n        var _select = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_ANALYTICS_4\"]),\n          hasNewConversionReportingEvents = _select.hasNewConversionReportingEvents,\n          hasLostConversionReportingEvents = _select.hasLostConversionReportingEvents;\n        return hasNewConversionReportingEvents() || hasLostConversionReportingEvents();\n      }, []);\n      if (hasChangedConversionEvents) {\n        return /*#__PURE__*/React.createElement(WrappedComponent, props);\n      }\n      var _props$WidgetNull = props.WidgetNull,\n        WidgetNull = _props$WidgetNull === void 0 ? null : _props$WidgetNull;\n      return WidgetNull && /*#__PURE__*/React.createElement(WidgetNull, null);\n    }\n    WhenHasChangedConversionEvents.displayName = \"WhenHasChangedConversionEvents(\".concat(WrappedComponent.displayName || WrappedComponent.name || 'Component', \")\");\n    return WhenHasChangedConversionEvents;\n  };\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvdXRpbC93aGVuSGFzQ2hhbmdlZENvbnZlcnNpb25FdmVudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1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components/widgets/ConnectGA4CTATileWidget.js":
/*!******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ConnectGA4CTATileWidget; });\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 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 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 _js_components_KeyMetrics_ConnectModuleCTATile__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/KeyMetrics/ConnectModuleCTATile */ \"./js/components/KeyMetrics/ConnectModuleCTATile.js\");\n/* harmony import */ var _js_googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/widgets/hooks/useWidgetStateEffect */ \"./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_Null__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/Null */ \"./js/components/Null.js\");\n\n/**\n * ConnectGA4CTATileWidget component.\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\n\n\nvar metadata = {\n  moduleSlug: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"]\n};\nfunction ConnectGA4CTATileWidget(_ref) {\n  var Widget = _ref.Widget,\n    widgetSlug = _ref.widgetSlug;\n  var ga4DependantKeyMetrics = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    var keyMetrics = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getKeyMetrics();\n    if (!keyMetrics) {\n      return [];\n    }\n    return keyMetrics.filter(function (keyMetric) {\n      return _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"keyMetricsGA4Widgets\"].includes(keyMetric);\n    }).length;\n  });\n\n  // Only render the CTA if there are 3 or fewer GA4-dependent key metrics tiles.\n  // Otherwise, render `Null` to hide the CTA.\n  // If there are four GA4-dependent key metrics tiles, the `ConnectGA4CTAWidget` will be rendered instead.\n  var ConnectModuleCTAComponent = ga4DependantKeyMetrics > 3 ? _js_components_Null__WEBPACK_IMPORTED_MODULE_7__[\"default\"] : _js_components_KeyMetrics_ConnectModuleCTATile__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n  Object(_js_googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(widgetSlug, ConnectModuleCTAComponent, metadata);\n\n  // Note that we need to render the `Widget` component as a wrapper here so this component will display\n  // correctly when used as a `FallbackComponent` for the `whenActive` HOC. Conversely, when `ConnectModuleCTATile`\n  // is rendered as an `OverrideComponent` in `WidgetRenderer` (as a result of multiple adjacent widgets rendering\n  // this component and thus sharing the same state), it is wrapped with a `Widget` component - the net\n  // result being the ConnectModuleCTATile is correctly wrapped in a `Widget` in both cases.\n  return /*#__PURE__*/React.createElement(Widget, null, /*#__PURE__*/React.createElement(_js_components_KeyMetrics_ConnectModuleCTATile__WEBPACK_IMPORTED_MODULE_3__[\"default\"], metadata));\n}\nConnectGA4CTATileWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired,\n  widgetSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\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/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/ConnectGA4CTAWidget.js":
/*!**************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/ConnectGA4CTAWidget.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ConnectGA4CTAWidget; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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/* 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_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/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_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/widgets/datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/widgets/default-areas */ \"./js/googlesitekit/widgets/default-areas.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_hooks_useActivateModuleCallback__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/hooks/useActivateModuleCallback */ \"./js/hooks/useActivateModuleCallback.js\");\n/* harmony import */ var _js_hooks_useCompleteModuleActivationCallback__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/hooks/useCompleteModuleActivationCallback */ \"./js/hooks/useCompleteModuleActivationCallback.js\");\n/* harmony import */ var _js_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/hooks/useDebounce */ \"./js/hooks/useDebounce.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_Banner__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/components/Banner */ \"./js/components/Banner/index.js\");\n/* harmony import */ var _svg_graphics_banner_conversions_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/svg/graphics/banner-conversions-setup-cta.svg?url */ \"./svg/graphics/banner-conversions-setup-cta.svg?url\");\n/* harmony import */ var _svg_graphics_banner_conversions_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/svg/graphics/banner-conversions-setup-cta-mobile.svg?url */ \"./svg/graphics/banner-conversions-setup-cta-mobile.svg?url\");\n\n\n/**\n * ConnectGA4CTA component.\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 * WordPress dependencies\n */\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\nfunction ConnectGA4CTAWidget(_ref) {\n  var Widget = _ref.Widget,\n    WidgetNull = _ref.WidgetNull;\n  var trackingRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useRef\"])();\n  var ga4DependantKeyMetrics = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var keyMetrics = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getKeyMetrics();\n    var widgets = select(_js_googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_WIDGETS\"]).getWidgets(_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_8__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]);\n    if (!keyMetrics || !widgets) {\n      return [];\n    }\n    return widgets.filter(function (_ref2) {\n      var slug = _ref2.slug,\n        modules = _ref2.modules;\n      return keyMetrics.includes(slug) && modules.includes(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__[\"MODULE_SLUG_ANALYTICS_4\"]);\n    });\n  });\n  var isAnalyticsActive = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_MODULES\"]).isModuleActive(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var isNavigatingToReauthURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var adminReauthURL = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getAdminReauthURL();\n    if (!adminReauthURL) {\n      return false;\n    }\n    return select(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_LOCATION\"]).isNavigatingTo(adminReauthURL);\n  });\n  var isActivatingAnalytics = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_MODULES\"]).isFetchingSetModuleActivation(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__[\"MODULE_SLUG_ANALYTICS_4\"], true);\n  });\n  var connectGA4URL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_SITE\"]).getModuleSettingsEditURL(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var isNavigatingToGA4URL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_LOCATION\"]).isNavigatingTo(connectGA4URL);\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]),\n    dismissItem = _useDispatch.dismissItem;\n  var activateAnalytics = Object(_js_hooks_useActivateModuleCallback__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  var completeAnalyticsActivation = Object(_js_hooks_useCompleteModuleActivationCallback__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  var handleCTAClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function () {\n    if (isAnalyticsActive) {\n      return completeAnalyticsActivation();\n    }\n    activateAnalytics();\n    return null;\n  }, [activateAnalytics, completeAnalyticsActivation, isAnalyticsActive]);\n  var intersectionEntry = Object(react_use__WEBPACK_IMPORTED_MODULE_2__[\"useIntersection\"])(trackingRef, {\n    threshold: 0.25\n  });\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n    hasBeenInView = _useState2[0],\n    setHasBeenInView = _useState2[1];\n  var inView = !!(intersectionEntry === null || intersectionEntry === void 0 ? void 0 : intersectionEntry.intersectionRatio);\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]),\n    triggerSurvey = _useDispatch2.triggerSurvey;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    if (!inView || hasBeenInView) {\n      return;\n    }\n    triggerSurvey('view_kmw_setup_cta', {\n      ttl: _js_util__WEBPACK_IMPORTED_MODULE_12__[\"WEEK_IN_SECONDS\"]\n    });\n    setHasBeenInView(true);\n  }, [inView, hasBeenInView, triggerSurvey]);\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(false),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState3, 2),\n    inProgress = _useState4[0],\n    setInProgress = _useState4[1];\n  /*\n   * Using debounce here because the spinner has to render across two separate calls.\n   * Rather than risk it flickering on and off in between the activation call completing and\n   * the navigate call starting, we will just set a debounce to keep the spinner for 3 seconds.\n   */\n  var debouncedSetInProgress = Object(_js_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_16__[\"useDebounce\"])(setInProgress, 3000);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n    if (isActivatingAnalytics || isNavigatingToReauthURL || isNavigatingToGA4URL) {\n      setInProgress(true);\n    } else {\n      debouncedSetInProgress(false);\n    }\n  }, [isActivatingAnalytics, isNavigatingToReauthURL, debouncedSetInProgress, isNavigatingToGA4URL]);\n  var isDismissed = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).isItemDismissed(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__[\"KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY\"]);\n  });\n  if (isDismissed !== false || ga4DependantKeyMetrics.length < 4) {\n    return /*#__PURE__*/React.createElement(WidgetNull, null);\n  }\n  return /*#__PURE__*/React.createElement(Widget, {\n    noPadding: true\n  }, /*#__PURE__*/React.createElement(_js_components_Banner__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n    ref: trackingRef,\n    className: \"googlesitekit-banner--setup-cta googlesitekit-km-connect-ga4-cta\",\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Analytics is disconnected', 'google-site-kit'),\n    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Metrics cannot be displayed without Analytics', 'google-site-kit'),\n    ctaButton: {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Connect Analytics', 'google-site-kit'),\n      onClick: handleCTAClick,\n      disabled: inProgress,\n      inProgress: inProgress\n    },\n    svg: {\n      desktop: _svg_graphics_banner_conversions_setup_cta_svg_url__WEBPACK_IMPORTED_MODULE_19__[\"default\"],\n      mobile: _svg_graphics_banner_conversions_setup_cta_mobile_svg_url__WEBPACK_IMPORTED_MODULE_20__[\"default\"],\n      verticalPosition: 'top'\n    },\n    footer: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      onClick: function onClick() {\n        return dismissItem(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_13__[\"KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY\"]);\n      }\n    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Maybe later', 'google-site-kit'))\n  }));\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/modules/analytics-4/components/widgets/ConnectGA4CTAWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/ConversionReportingNotificationCTAWidget.js":
/*!***********************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/ConversionReportingNotificationCTAWidget.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 _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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/KeyMetrics/constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/KeyMetrics/utils */ \"./js/components/KeyMetrics/utils.js\");\n/* harmony import */ var _js_components_KeyMetrics_ConversionReportingDashboardSubtleNotification__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/components/KeyMetrics/ConversionReportingDashboardSubtleNotification */ \"./js/components/KeyMetrics/ConversionReportingDashboardSubtleNotification.js\");\n/* harmony import */ var _js_components_KeyMetrics_LostEventsSubtleNotification__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/components/KeyMetrics/LostEventsSubtleNotification */ \"./js/components/KeyMetrics/LostEventsSubtleNotification.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_components_KeyMetrics_hooks_useDisplayNewEventsCalloutForTailoredMetrics__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForTailoredMetrics */ \"./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForTailoredMetrics.js\");\n/* harmony import */ var _js_components_KeyMetrics_hooks_useDisplayNewEventsCalloutForUserPickedMetrics__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForUserPickedMetrics */ \"./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForUserPickedMetrics.js\");\n/* harmony import */ var _js_components_KeyMetrics_hooks_useDisplayNewEventsCalloutAfterInitialDetection__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutAfterInitialDetection */ \"./js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutAfterInitialDetection.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_modules_analytics_4_components_util_whenHasChangedConversionEvents__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @/js/modules/analytics-4/components/util/whenHasChangedConversionEvents */ \"./js/modules/analytics-4/components/util/whenHasChangedConversionEvents.js\");\n\n\n\n\n/**\n * ConversionReportingNotificationCTAWidget component.\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\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\nfunction ConversionReportingNotificationCTAWidget(_ref) {\n  var Widget = _ref.Widget,\n    WidgetNull = _ref.WidgetNull;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_18__[\"default\"])();\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    isSaving = _useState2[0],\n    setIsSaving = _useState2[1];\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState3, 2),\n    isViewed = _useState4[0],\n    setIsViewed = _useState4[1];\n  var trackDismissalRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useRef\"])(true);\n  var conversionReportingNotificationRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useRef\"])();\n  var intersectionEntry = Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useIntersection\"])(conversionReportingNotificationRef, {\n    threshold: 0.25\n  });\n  var inView = !!(intersectionEntry === null || intersectionEntry === void 0 ? void 0 : intersectionEntry.intersectionRatio);\n  var haveLostConversionEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).haveLostEventsForCurrentMetrics();\n  });\n  var newConversionEventsLastUpdateAt = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getNewConversionEventsLastUpdateAt();\n  });\n  var lostConversionEventsLastUpdateAt = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getLostConversionEventsLastUpdateAt();\n  });\n  var haveNewConversionEventsAfterDismiss = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]).haveNewConversionEventsAfterDismiss(newConversionEventsLastUpdateAt);\n  });\n  var haveLostConversionEventsAfterDismiss = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]).haveLostConversionEventsAfterDismiss(lostConversionEventsLastUpdateAt);\n  });\n\n  // Initial callout is surfaced to the users with tailored metrics, if detectedEvents setting\n  // has a conversion event associated with the ACR key metrics matching the current site purpose answer.\n  // If new ACR key metrics that can be added are found using haveConversionReportingEventsForTailoredMetrics,\n  // and have not been already included, which is determined by includeConversionEvents user input setting, callout banner should be displayed.\n  var shouldShowInitialCalloutForTailoredMetrics = Object(_js_components_KeyMetrics_hooks_useDisplayNewEventsCalloutForTailoredMetrics__WEBPACK_IMPORTED_MODULE_19__[\"default\"])(haveNewConversionEventsAfterDismiss);\n\n  // If users have set up key metrics manually and ACR events are detected,\n  // we display the same callout banner, with a different call to action\n  // \"Select metrics\" which opens the metric selection panel.\n  var shouldShowCalloutForUserPickedMetrics = Object(_js_components_KeyMetrics_hooks_useDisplayNewEventsCalloutForUserPickedMetrics__WEBPACK_IMPORTED_MODULE_20__[\"default\"])(haveNewConversionEventsAfterDismiss);\n\n  // If new events have been detected after initial set of events, we display\n  // the same callout banner, with a different call to action \"View metrics\"\n  // which opens the metric selection panel.\n  var shouldShowCalloutForNewEvents = Object(_js_components_KeyMetrics_hooks_useDisplayNewEventsCalloutAfterInitialDetection__WEBPACK_IMPORTED_MODULE_21__[\"default\"])(haveNewConversionEventsAfterDismiss);\n  var shouldShowCalloutForLostEvents = haveLostConversionEvents && haveLostConversionEventsAfterDismiss;\n  var userPickedMetrics = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]).getUserPickedMetrics();\n  });\n\n  // Build a common object to use as the first argument in conversionReportingDetectedEventsTracking().\n  var conversionReportingDetectedEventsTrackingArgs = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useMemo\"])(function () {\n    return {\n      shouldShowInitialCalloutForTailoredMetrics: shouldShowInitialCalloutForTailoredMetrics,\n      shouldShowCalloutForUserPickedMetrics: shouldShowCalloutForUserPickedMetrics,\n      shouldShowCalloutForNewEvents: shouldShowCalloutForNewEvents,\n      userPickedMetrics: userPickedMetrics\n    };\n  }, [shouldShowInitialCalloutForTailoredMetrics, shouldShowCalloutForUserPickedMetrics, shouldShowCalloutForNewEvents, userPickedMetrics]);\n  var isSavingConversionReportingSettings = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]).isSavingConversionReportingSettings();\n  });\n  var isSavingKeyMetricsSettings = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]).isSavingKeyMetricsSettings();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]),\n    saveConversionReportingSettings = _useDispatch.saveConversionReportingSettings;\n  var dismissCallout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__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(eventType) {\n      var timestamp, conversionReportingSettings;\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              // Dismissed callout settings times should rely on real times, not the reference date,\n              // so the timestamps are consistent even when changing the reference dates when developing/testing.\n              timestamp = Math.round(Date.now() / 1000); // eslint-disable-line sitekit/no-direct-date\n              conversionReportingSettings = {\n                newEventsCalloutDismissedAt: timestamp\n              };\n              if (eventType === 'lostEvents') {\n                conversionReportingSettings.lostEventsCalloutDismissedAt = timestamp;\n\n                // Handle internal tracking for lost events banner dismissal.\n                if (trackDismissalRef.current) {\n                  Object(_js_util__WEBPACK_IMPORTED_MODULE_22__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw-lost-conversion-events-detected-notification\"), 'dismiss_notification', 'conversion_reporting');\n                }\n              } else if (trackDismissalRef.current) {\n                // Handle internal tracking.\n                Object(_js_components_KeyMetrics_utils__WEBPACK_IMPORTED_MODULE_14__[\"conversionReportingDetectedEventsTracking\"])(conversionReportingDetectedEventsTrackingArgs, viewContext, 'dismiss_notification');\n              }\n              _context.next = 5;\n              return saveConversionReportingSettings(conversionReportingSettings);\n            case 5:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return function (_x) {\n      return _ref2.apply(this, arguments);\n    };\n  }(), [viewContext, conversionReportingDetectedEventsTrackingArgs, saveConversionReportingSettings]);\n  var userInputPurposeConversionEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getUserInputPurposeConversionEvents();\n  });\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]),\n    setUserInputSetting = _useDispatch2.setUserInputSetting,\n    saveUserInputSettings = _useDispatch2.saveUserInputSettings;\n  var handleAddMetricsClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(function () {\n    if (shouldShowInitialCalloutForTailoredMetrics) {\n      setIsSaving(true);\n      setUserInputSetting('includeConversionEvents', userInputPurposeConversionEvents);\n      saveUserInputSettings();\n      setIsSaving(false);\n    }\n\n    // Handle internal tracking.\n    Object(_js_components_KeyMetrics_utils__WEBPACK_IMPORTED_MODULE_14__[\"conversionReportingDetectedEventsTracking\"])(conversionReportingDetectedEventsTrackingArgs, viewContext, 'confirm_add_new_conversion_metrics');\n    trackDismissalRef.current = false;\n    dismissCallout();\n  }, [setUserInputSetting, saveUserInputSettings, dismissCallout, userInputPurposeConversionEvents, shouldShowInitialCalloutForTailoredMetrics, viewContext, conversionReportingDetectedEventsTrackingArgs]);\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_UI\"]),\n    setValue = _useDispatch3.setValue;\n  var handleSelectMetricsClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(function () {\n    var clickContext = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    trackDismissalRef.current = false;\n    setValue(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_13__[\"KEY_METRICS_SELECTION_PANEL_OPENED_KEY\"], true);\n\n    // Handle internal tracking of lost events variant.\n    if ('lostEvents' === clickContext) {\n      if (shouldShowCalloutForLostEvents) {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_22__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw-lost-conversion-events-detected-notification\"), 'confirm_get_select_metrics', 'conversion_reporting');\n      }\n      return;\n    }\n    if (!shouldShowCalloutForNewEvents) {\n      // Handle internal tracking for initial events detection - manually selected KMW.\n      Object(_js_components_KeyMetrics_utils__WEBPACK_IMPORTED_MODULE_14__[\"conversionReportingDetectedEventsTracking\"])(conversionReportingDetectedEventsTrackingArgs, viewContext, 'confirm_select_new_conversion_metrics');\n    }\n    if (shouldShowCalloutForNewEvents) {\n      // Handle internal tracking for new events detection - after initial events were detected.\n      Object(_js_components_KeyMetrics_utils__WEBPACK_IMPORTED_MODULE_14__[\"conversionReportingDetectedEventsTracking\"])(conversionReportingDetectedEventsTrackingArgs, viewContext, 'confirm_view_new_conversion_metrics');\n    }\n  }, [viewContext, conversionReportingDetectedEventsTrackingArgs, setValue, shouldShowCalloutForLostEvents, shouldShowCalloutForNewEvents]);\n  var isSelectionPanelOpen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_UI\"]).getValue(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_13__[\"KEY_METRICS_SELECTION_PANEL_OPENED_KEY\"]);\n  });\n  var prevIsSelectionPanelOpen = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__[\"usePrevious\"])(isSelectionPanelOpen);\n\n  // Handle dismiss of new events callout on opening of the selection panel.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (!prevIsSelectionPanelOpen && isSelectionPanelOpen && (\n    // Dismiss the new events callout if shouldShowCalloutForNewEvents is true\n    // and settings are not being saved. This prevents duplicate requests, as after\n    // the first call, the settings enter the saving state. Once saving is complete,\n    // shouldShowCalloutForNewEvents will no longer be true.\n    !isSavingConversionReportingSettings && (shouldShowCalloutForNewEvents || shouldShowCalloutForUserPickedMetrics) ||\n    // shouldShowInitialCalloutForTailoredMetrics is more specific because the \"Add metrics\"\n    // CTA does not open the panel; it directly adds metrics. We want to dismiss this callout\n    // only when the user opens the selection panel and saves their metrics selection. This marks\n    // the transition to manual selection, after which this callout should no longer be shown.\n    shouldShowInitialCalloutForTailoredMetrics && isSavingKeyMetricsSettings)) {\n      dismissCallout();\n    }\n  }, [isSelectionPanelOpen, prevIsSelectionPanelOpen, shouldShowCalloutForNewEvents, shouldShowCalloutForUserPickedMetrics, shouldShowInitialCalloutForTailoredMetrics, isSavingConversionReportingSettings, isSavingKeyMetricsSettings, dismissCallout]);\n\n  // Handle dismiss of lost events callout on opening of the selection panel.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (!prevIsSelectionPanelOpen && isSelectionPanelOpen && shouldShowCalloutForLostEvents && !isSavingConversionReportingSettings) {\n      dismissCallout('lostEvents');\n    }\n  }, [isSelectionPanelOpen, prevIsSelectionPanelOpen, isSavingConversionReportingSettings, shouldShowCalloutForLostEvents, dismissCallout]);\n\n  // Track when the notification is viewed.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (!isViewed && inView) {\n      // Handle internal tracking.\n      Object(_js_components_KeyMetrics_utils__WEBPACK_IMPORTED_MODULE_14__[\"conversionReportingDetectedEventsTracking\"])(conversionReportingDetectedEventsTrackingArgs, viewContext, 'view_notification');\n\n      // Handle internal tracking for lost events banner.\n      if (shouldShowCalloutForLostEvents) {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_22__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw-lost-conversion-events-detected-notification\"), 'view_notification', 'conversion_reporting');\n      }\n      setIsViewed(true);\n    }\n  }, [isViewed, inView, viewContext, conversionReportingDetectedEventsTrackingArgs, shouldShowCalloutForLostEvents]);\n  var documentationURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_8__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_23__[\"CORE_SITE\"]).getDocumentationLinkURL('key-metrics');\n  });\n  if (!shouldShowInitialCalloutForTailoredMetrics && !shouldShowCalloutForLostEvents && !shouldShowCalloutForUserPickedMetrics && !shouldShowCalloutForNewEvents) {\n    return /*#__PURE__*/React.createElement(WidgetNull, null);\n  }\n  var description = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('We’ve extended your metrics selection with metrics that aren’t available by default in Analytics. Add them to your dashboard to get a better understanding of how users interact with your site. <a>Learn more</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_24__[\"default\"], {\n      href: documentationURL,\n      \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Learn more about advanced conversion reporting', 'google-site-kit'),\n      external: true\n    })\n  });\n  var ctaLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Select metrics', 'google-site-kit');\n  var dismissCTALabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Maybe later', 'google-site-kit');\n  if (shouldShowInitialCalloutForTailoredMetrics) {\n    ctaLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Add metrics', 'google-site-kit');\n  }\n  if (shouldShowCalloutForNewEvents) {\n    description = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('We’ve extended your metrics selection based on your website events', 'google-site-kit');\n    ctaLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('View metrics', 'google-site-kit');\n    dismissCTALabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('Got it', 'google-site-kit');\n  }\n  return /*#__PURE__*/React.createElement(Widget, {\n    ref: conversionReportingNotificationRef,\n    noPadding: true,\n    fullWidth: true\n  }, shouldShowCalloutForLostEvents && /*#__PURE__*/React.createElement(_js_components_KeyMetrics_LostEventsSubtleNotification__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    onSelectMetricsCallback: function onSelectMetricsCallback() {\n      handleSelectMetricsClick('lostEvents');\n    },\n    onDismissCallback: function onDismissCallback() {\n      return dismissCallout('lostEvents');\n    }\n  }), (shouldShowInitialCalloutForTailoredMetrics || shouldShowCalloutForUserPickedMetrics || shouldShowCalloutForNewEvents) && /*#__PURE__*/React.createElement(_js_components_KeyMetrics_ConversionReportingDashboardSubtleNotification__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    description: description,\n    ctaLabel: ctaLabel,\n    dismissCTALabel: dismissCTALabel,\n    handleCTAClick: shouldShowInitialCalloutForTailoredMetrics ? handleAddMetricsClick : handleSelectMetricsClick,\n    isSaving: isSaving,\n    onDismiss: dismissCallout\n  }));\n}\nConversionReportingNotificationCTAWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType.isRequired,\n  WidgetNull: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__[\"compose\"])(Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_17__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"]\n}), Object(_js_modules_analytics_4_components_util_whenHasChangedConversionEvents__WEBPACK_IMPORTED_MODULE_25__[\"default\"])())(ConversionReportingNotificationCTAWidget));\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/modules/analytics-4/components/widgets/ConversionReportingNotificationCTAWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/EngagedTrafficSourceWidget.js":
/*!*********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/EngagedTrafficSourceWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.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_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 * EngagedTrafficSourceWidget component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction EngagedTrafficSourceWidget(props) {\n  var _rows$filter$, _rows$filter$$dimensi, _rows$filter$2, _rows$filter$2$metric, _rows$filter$2$metric2, _totals$filter$, _totals$filter$$metri, _totals$filter$$metri2, _rows$filter$3, _rows$filter$3$metric, _rows$filter$3$metric2, _totals$filter$2, _totals$filter$2$metr, _totals$filter$2$metr2;\n  var Widget = props.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['sessionDefaultChannelGroup'],\n    metrics: [{\n      name: 'engagedSessions'\n    }],\n    orderBy: 'engagedSessions',\n    limit: 1,\n    reportID: 'analytics-4_engaged-traffic-source-widget_widget_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]);\n  });\n  var _ref = report || {},\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows,\n    _ref$totals = _ref.totals,\n    totals = _ref$totals === void 0 ? [] : _ref$totals;\n  function makeFilter(dateRange, dimensionIndex) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(row, \"dimensionValues.\".concat(dimensionIndex, \".value\")) === dateRange;\n    };\n  }\n  var topTrafficSource = ((_rows$filter$ = rows.filter(makeFilter('date_range_0', 1))[0]) === null || _rows$filter$ === void 0 ? void 0 : (_rows$filter$$dimensi = _rows$filter$.dimensionValues) === null || _rows$filter$$dimensi === void 0 ? void 0 : _rows$filter$$dimensi[0].value) || '-';\n  var currentEngagedSessions = parseFloat((_rows$filter$2 = rows.filter(makeFilter('date_range_0', 1))[0]) === null || _rows$filter$2 === void 0 ? void 0 : (_rows$filter$2$metric = _rows$filter$2.metricValues) === null || _rows$filter$2$metric === void 0 ? void 0 : (_rows$filter$2$metric2 = _rows$filter$2$metric[0]) === null || _rows$filter$2$metric2 === void 0 ? void 0 : _rows$filter$2$metric2.value) || 0;\n  var currentTotalEngagedSessions = parseFloat((_totals$filter$ = totals.filter(makeFilter('date_range_0', 1))[0]) === null || _totals$filter$ === void 0 ? void 0 : (_totals$filter$$metri = _totals$filter$.metricValues) === null || _totals$filter$$metri === void 0 ? void 0 : (_totals$filter$$metri2 = _totals$filter$$metri[0]) === null || _totals$filter$$metri2 === void 0 ? void 0 : _totals$filter$$metri2.value) || 0;\n  var currentEngagedSessionsRate = currentEngagedSessions / currentTotalEngagedSessions || 0;\n  var previousEngagedSessions = parseFloat((_rows$filter$3 = rows.filter(makeFilter('date_range_1', 1))[0]) === null || _rows$filter$3 === void 0 ? void 0 : (_rows$filter$3$metric = _rows$filter$3.metricValues) === null || _rows$filter$3$metric === void 0 ? void 0 : (_rows$filter$3$metric2 = _rows$filter$3$metric[0]) === null || _rows$filter$3$metric2 === void 0 ? void 0 : _rows$filter$3$metric2.value) || 0;\n  var previousTotalEngagedSessions = parseFloat((_totals$filter$2 = totals.filter(makeFilter('date_range_1', 1))[0]) === null || _totals$filter$2 === void 0 ? void 0 : (_totals$filter$2$metr = _totals$filter$2.metricValues) === null || _totals$filter$2$metr === void 0 ? void 0 : (_totals$filter$2$metr2 = _totals$filter$2$metr[0]) === null || _totals$filter$2$metr2 === void 0 ? void 0 : _totals$filter$2$metr2.value) || 0;\n  var previousEngagedSessionsRate = previousEngagedSessions / previousTotalEngagedSessions || 0;\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__[\"MetricTileText\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE\"],\n    metricValue: topTrafficSource,\n    metricValueFormat: format,\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: 1. Percentage of total engaged sessions. 2: Total number of engaged sessions. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('%1$s of %2$s engaged sessions', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(currentEngagedSessionsRate, format), Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(currentTotalEngagedSessions, {\n      style: 'decimal'\n    })),\n    previousValue: previousEngagedSessionsRate,\n    currentValue: currentEngagedSessionsRate,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nEngagedTrafficSourceWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_12__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n})(EngagedTrafficSourceWidget));\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/modules/analytics-4/components/widgets/EngagedTrafficSourceWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/LeastEngagingPagesWidget.js":
/*!*******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/LeastEngagingPagesWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.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_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 * LeastEngagingPagesWidget component.\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\n\n\n\n\n\n\n\n\nfunction LeastEngagingPagesWidget(props) {\n  var _pageViewsReport$rows, _pageViewsReport$rows2, _pageViewsReport$rows3, _pageViewsReport$rows4;\n  var Widget = props.Widget;\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__[\"default\"])();\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var pageViewsReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath'],\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    reportID: 'analytics-4_least-engaging-pages-widget_widget_pageViewsReportOptions'\n  });\n  var pageViewsReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getReport(pageViewsReportOptions);\n  }, [pageViewsReportOptions]);\n  var medianIndex = parseInt((pageViewsReport === null || pageViewsReport === void 0 ? void 0 : pageViewsReport.rowCount) / 2, 10);\n  var medianPageViews = parseInt(pageViewsReport === null || pageViewsReport === void 0 ? void 0 : (_pageViewsReport$rows = pageViewsReport.rows) === null || _pageViewsReport$rows === void 0 ? void 0 : (_pageViewsReport$rows2 = _pageViewsReport$rows[medianIndex]) === null || _pageViewsReport$rows2 === void 0 ? void 0 : (_pageViewsReport$rows3 = _pageViewsReport$rows2.metricValues) === null || _pageViewsReport$rows3 === void 0 ? void 0 : (_pageViewsReport$rows4 = _pageViewsReport$rows3[0]) === null || _pageViewsReport$rows4 === void 0 ? void 0 : _pageViewsReport$rows4.value, 10) || 0;\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath'],\n    metrics: ['bounceRate', 'screenPageViews'],\n    orderby: [{\n      metric: {\n        metricName: 'bounceRate'\n      },\n      desc: true\n    }, {\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    metricFilters: {\n      screenPageViews: {\n        operation: 'GREATER_THAN_OR_EQUAL',\n        value: {\n          int64Value: medianPageViews\n        }\n      }\n    },\n    limit: 3,\n    reportID: 'analytics-4_least-engaging-pages-widget_widget_reportOptions'\n  });\n  var loadedPageViewsReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [pageViewsReportOptions]);\n  });\n  var pageViewsReportError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [pageViewsReportOptions]);\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    if (!loadedPageViewsReport) {\n      return undefined;\n    }\n    if (pageViewsReportError) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [loadedPageViewsReport, pageViewsReportError, reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    var reportError = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n    if (pageViewsReportError && reportError) {\n      return [pageViewsReportError, reportError];\n    }\n    return pageViewsReportError || reportError || undefined;\n  });\n  var titles = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return !error ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getPageTitles(report, reportOptions) : undefined;\n  }, [error, report, reportOptions]);\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]) || titles === undefined || !loadedPageViewsReport;\n  });\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  var _ref = report || {},\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows;\n  var columns = [{\n    field: 'dimensionValues.0.value',\n    Component: function Component(_ref2) {\n      var fieldValue = _ref2.fieldValue;\n      var url = fieldValue;\n      var title = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__[\"decodeAmpersand\"])(titles[url]);\n      // Utilizing `useSelect` inside the component rather than\n      // returning its direct value to the `columns` array.\n      // This pattern ensures that the component re-renders correctly based on changes in state,\n      // preventing potential issues with stale or out-of-sync data.\n      // Note: This pattern is replicated in a few other spots within our codebase.\n      var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n        return !viewOnlyDashboard ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n          filters: {\n            unifiedPagePathScreen: url\n          },\n          dates: dates\n        }) : null;\n      });\n      if (viewOnlyDashboard) {\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTablePlainText\"], {\n          content: title\n        });\n      }\n      return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n        href: serviceURL,\n        title: title,\n        external: true,\n        hideExternalIndicator: true\n      }, title);\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(fieldValue, format));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"KM_ANALYTICS_LEAST_ENGAGING_PAGES\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nLeastEngagingPagesWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(LeastEngagingPagesWidget));\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/modules/analytics-4/components/widgets/LeastEngagingPagesWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/MostEngagingPagesWidget.js":
/*!******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/MostEngagingPagesWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.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_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 * MostEngagingPagesWidget component.\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\n\n\n\n\n\n\n\n\nfunction MostEngagingPagesWidget(props) {\n  var _pageViewsReport$tota, _pageViewsReport$tota2, _pageViewsReport$tota3, _pageViewsReport$tota4;\n  var Widget = props.Widget;\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_12__[\"default\"])();\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var pageViewsReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath'],\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    limit: 1,\n    reportID: 'analytics-4_most-engaging-pages-widget_widget_pageViewsReportOptions'\n  });\n  var pageViewsReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getReport(pageViewsReportOptions);\n  }, [pageViewsReportOptions]);\n  var averagePageViews = Math.round((pageViewsReport === null || pageViewsReport === void 0 ? void 0 : (_pageViewsReport$tota = pageViewsReport.totals) === null || _pageViewsReport$tota === void 0 ? void 0 : (_pageViewsReport$tota2 = _pageViewsReport$tota[0]) === null || _pageViewsReport$tota2 === void 0 ? void 0 : (_pageViewsReport$tota3 = _pageViewsReport$tota2.metricValues) === null || _pageViewsReport$tota3 === void 0 ? void 0 : (_pageViewsReport$tota4 = _pageViewsReport$tota3[0]) === null || _pageViewsReport$tota4 === void 0 ? void 0 : _pageViewsReport$tota4.value) / (pageViewsReport === null || pageViewsReport === void 0 ? void 0 : pageViewsReport.rowCount)) || 0;\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath'],\n    metrics: ['engagementRate', 'screenPageViews'],\n    orderby: [{\n      metric: {\n        metricName: 'engagementRate'\n      },\n      desc: true\n    }, {\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    metricFilters: {\n      screenPageViews: {\n        filterType: 'numericFilter',\n        operation: 'GREATER_THAN_OR_EQUAL',\n        value: {\n          int64Value: averagePageViews\n        }\n      }\n    },\n    limit: 3,\n    reportID: 'analytics-4_most-engaging-pages-widget_widget_reportOptions'\n  });\n  var pageViewsReportErrors = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [pageViewsReportOptions]);\n  });\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    var reportOptionsErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n    if (pageViewsReportErrors && reportOptionsErrors) {\n      return [pageViewsReportErrors, reportOptionsErrors];\n    }\n    return pageViewsReportErrors || reportOptionsErrors || undefined;\n  });\n  var hasFinishedResolvingPageViewReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [pageViewsReportOptions]);\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    if (!hasFinishedResolvingPageViewReport) {\n      return undefined;\n    }\n    if (pageViewsReportErrors) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [hasFinishedResolvingPageViewReport, pageViewsReportErrors, reportOptions]);\n  var titles = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return !error ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getPageTitles(report, reportOptions) : undefined;\n  }, [error, report, reportOptions]);\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]) || !hasFinishedResolvingPageViewReport || titles === undefined;\n  });\n  var _ref = report || {},\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows;\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  var columns = [{\n    field: 'dimensionValues.0.value',\n    Component: function Component(_ref2) {\n      var fieldValue = _ref2.fieldValue;\n      var url = fieldValue;\n      var title = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__[\"decodeAmpersand\"])(titles[url]);\n      // Utilizing `useSelect` inside the component rather than\n      // returning its direct value to the `columns` array.\n      // This pattern ensures that the component re-renders correctly based on changes in state,\n      // preventing potential issues with stale or out-of-sync data.\n      // Note: This pattern is replicated in a few other spots within our codebase.\n      var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n        return !viewOnlyDashboard ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n          filters: {\n            unifiedPagePathScreen: url\n          },\n          dates: dates\n        }) : null;\n      });\n      if (viewOnlyDashboard) {\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTablePlainText\"], {\n          content: title\n        });\n      }\n      return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n        href: serviceURL,\n        title: title,\n        external: true,\n        hideExternalIndicator: true\n      }, title);\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"numFmt\"])(fieldValue, format));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"KM_ANALYTICS_MOST_ENGAGING_PAGES\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nMostEngagingPagesWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_10__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n})(MostEngagingPagesWidget));\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/modules/analytics-4/components/widgets/MostEngagingPagesWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/NewVisitorsWidget.js":
/*!************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/NewVisitorsWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_i18n__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/i18n */ \"./js/util/i18n.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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_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 * NewVisitorsWidget component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction NewVisitorsWidget(_ref) {\n  var _rows$find, _rows$find$metricValu, _rows$find$metricValu2, _totals$, _totals$$metricValues, _totals$$metricValues2, _totals$2, _totals$2$metricValue, _totals$2$metricValue2;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['newVsReturning'],\n    metrics: [{\n      name: 'activeUsers'\n    }],\n    reportID: 'analytics-4_new-visitors-widget_widget_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]);\n  });\n  var _ref2 = report || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows,\n    _ref2$totals = _ref2.totals,\n    totals = _ref2$totals === void 0 ? [] : _ref2$totals;\n  function makeFind(dateRange) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(row, 'dimensionValues.0.value') === 'new' && Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(row, 'dimensionValues.1.value') === dateRange;\n    };\n  }\n  var newVisitors = ((_rows$find = rows.find(makeFind('date_range_0'))) === null || _rows$find === void 0 ? void 0 : (_rows$find$metricValu = _rows$find.metricValues) === null || _rows$find$metricValu === void 0 ? void 0 : (_rows$find$metricValu2 = _rows$find$metricValu[0]) === null || _rows$find$metricValu2 === void 0 ? void 0 : _rows$find$metricValu2.value) || 0;\n  var total = Number((_totals$ = totals[0]) === null || _totals$ === void 0 ? void 0 : (_totals$$metricValues = _totals$.metricValues) === null || _totals$$metricValues === void 0 ? void 0 : (_totals$$metricValues2 = _totals$$metricValues[0]) === null || _totals$$metricValues2 === void 0 ? void 0 : _totals$$metricValues2.value) || 0;\n  var prevTotal = Number((_totals$2 = totals[1]) === null || _totals$2 === void 0 ? void 0 : (_totals$2$metricValue = _totals$2.metricValues) === null || _totals$2$metricValue === void 0 ? void 0 : (_totals$2$metricValue2 = _totals$2$metricValue[0]) === null || _totals$2$metricValue2 === void 0 ? void 0 : _totals$2$metricValue2.value) || 0;\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__[\"MetricTileNumeric\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_NEW_VISITORS\"],\n    metricValue: newVisitors,\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %d: Number of total visitors visiting the site. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('of %s total visitors', 'google-site-kit'), Object(_js_util_i18n__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(total, {\n      style: 'decimal'\n    })),\n    previousValue: prevTotal,\n    currentValue: total,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nNewVisitorsWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(NewVisitorsWidget));\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/modules/analytics-4/components/widgets/NewVisitorsWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/PagesPerVisitWidget.js":
/*!**************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/PagesPerVisitWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_i18n__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/i18n */ \"./js/util/i18n.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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_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 * PagesPerVisitWidget component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction PagesPerVisitWidget(_ref) {\n  var _rows$find, _rows$find$metricValu, _rows$find$metricValu2, _rows$find2, _rows$find2$metricVal, _rows$find2$metricVal2, _rows$find3, _rows$find3$metricVal, _rows$find3$metricVal2;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    metrics: [{\n      name: 'screenPageViewsPerSession'\n    }, {\n      name: 'screenPageViews'\n    }],\n    reportID: 'analytics-4_pages-per-visit-widget_widget_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]);\n  });\n  var _ref2 = report || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  function makeFind(dateRange) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(row, 'dimensionValues.0.value') === dateRange;\n    };\n  }\n  var currentPagesPerVisit = Number((_rows$find = rows.find(makeFind('date_range_0'))) === null || _rows$find === void 0 ? void 0 : (_rows$find$metricValu = _rows$find.metricValues) === null || _rows$find$metricValu === void 0 ? void 0 : (_rows$find$metricValu2 = _rows$find$metricValu[0]) === null || _rows$find$metricValu2 === void 0 ? void 0 : _rows$find$metricValu2.value) || 0;\n  var previousPagesPerVisit = Number((_rows$find2 = rows.find(makeFind('date_range_1'))) === null || _rows$find2 === void 0 ? void 0 : (_rows$find2$metricVal = _rows$find2.metricValues) === null || _rows$find2$metricVal === void 0 ? void 0 : (_rows$find2$metricVal2 = _rows$find2$metricVal[0]) === null || _rows$find2$metricVal2 === void 0 ? void 0 : _rows$find2$metricVal2.value) || 0;\n  var currentTotalPageViews = Number((_rows$find3 = rows.find(makeFind('date_range_0'))) === null || _rows$find3 === void 0 ? void 0 : (_rows$find3$metricVal = _rows$find3.metricValues) === null || _rows$find3$metricVal === void 0 ? void 0 : (_rows$find3$metricVal2 = _rows$find3$metricVal[1]) === null || _rows$find3$metricVal2 === void 0 ? void 0 : _rows$find3$metricVal2.value) || 0;\n  var format = {\n    style: 'decimal',\n    maximumFractionDigits: 2\n  };\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__[\"MetricTileNumeric\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_PAGES_PER_VISIT\"],\n    metricValue: currentPagesPerVisit,\n    metricValueFormat: format,\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %s: Number of total page views. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('%s page views', 'google-site-kit'), Object(_js_util_i18n__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(currentTotalPageViews, {\n      style: 'decimal'\n    })),\n    previousValue: previousPagesPerVisit,\n    currentValue: currentPagesPerVisit,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nPagesPerVisitWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(PagesPerVisitWidget));\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/modules/analytics-4/components/widgets/PagesPerVisitWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/PopularAuthorsWidget.js":
/*!***************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/PopularAuthorsWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_withCustomDimensions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/withCustomDimensions */ \"./js/modules/analytics-4/utils/withCustomDimensions.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.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_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 * PopularAuthorsWidget component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Gets the report options for the Popular Authors widget.\n *\n * @since 1.113.0\n *\n * @param {Function} select Data store 'select' function.\n * @return {Object} The report options.\n */\nfunction getPopularAuthorsWidgetReportOptions(select) {\n  var dates = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getDateRangeDates({\n    offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"DATE_RANGE_OFFSET\"]\n  });\n  return _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['customEvent:googlesitekit_post_author'],\n    dimensionFilters: {\n      // Make sure that we select only rows without (not set) records.\n      'customEvent:googlesitekit_post_author': {\n        filterType: 'emptyFilter',\n        notExpression: true\n      }\n    },\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_popular-authors-widget_widget_reportOptions'\n  });\n}\nfunction PopularAuthorsWidget(props) {\n  var Widget = props.Widget;\n  var reportOptions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(getPopularAuthorsWidgetReportOptions);\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]);\n  });\n  var _ref = report || {},\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows;\n  var columns = [{\n    field: 'dimensionValues.0.value',\n    Component: function Component(_ref2) {\n      var fieldValue = _ref2.fieldValue;\n      return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_8__[\"MetricTileTablePlainText\"], {\n        content: fieldValue\n      });\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_8__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"KM_ANALYTICS_POPULAR_AUTHORS\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nPopularAuthorsWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__[\"compose\"])(Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n}), Object(_js_modules_analytics_4_utils_withCustomDimensions__WEBPACK_IMPORTED_MODULE_10__[\"default\"])({\n  reportOptions: getPopularAuthorsWidgetReportOptions\n}))(PopularAuthorsWidget));\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/modules/analytics-4/components/widgets/PopularAuthorsWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/PopularContentWidget.js":
/*!***************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/PopularContentWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.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_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 * PopularContentWidget component.\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\n\n\n\n\n\n\n\n\nfunction PopularContentWidget(props) {\n  var Widget = props.Widget;\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__[\"default\"])();\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath'],\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_popular-content-widget_widget_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var titles = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return !error ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getPageTitles(report, reportOptions) : undefined;\n  }, [error, report, reportOptions]);\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]) || titles === undefined;\n  });\n  var _ref = report || {},\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows;\n  var columns = [{\n    field: 'dimensionValues.0.value',\n    Component: function Component(_ref2) {\n      var fieldValue = _ref2.fieldValue;\n      var url = fieldValue;\n      var title = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__[\"decodeAmpersand\"])(titles[url]);\n      // Utilizing `useSelect` inside the component rather than\n      // returning its direct value to the `columns` array.\n      // This pattern ensures that the component re-renders correctly based on changes in state,\n      // preventing potential issues with stale or out-of-sync data.\n      // Note: This pattern is replicated in a few other spots within our codebase.\n      var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n        return !viewOnlyDashboard ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n          filters: {\n            unifiedPagePathScreen: url\n          },\n          dates: dates\n        }) : null;\n      });\n      if (viewOnlyDashboard) {\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTablePlainText\"], {\n          content: title\n        });\n      }\n      return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n        href: serviceURL,\n        title: title,\n        external: true,\n        hideExternalIndicator: true\n      }, title);\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"KM_ANALYTICS_POPULAR_CONTENT\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nPopularContentWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(PopularContentWidget));\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/modules/analytics-4/components/widgets/PopularContentWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/PopularProductsWidget.js":
/*!****************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/PopularProductsWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\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/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/KeyMetrics/constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_withCustomDimensions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/withCustomDimensions */ \"./js/modules/analytics-4/utils/withCustomDimensions.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.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 * PopularProductsWidget component.\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 * WordPress dependencies\n */\n\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 * Gets the report options for the Popular Products widget.\n *\n * @since 1.127.0\n *\n * @param {Function} select Data store 'select' function.\n * @return {Object} The report options.\n */\nfunction getPopularProductsWidgetReportOptions(select) {\n  var dates = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getDateRangeDates({\n    offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"DATE_RANGE_OFFSET\"]\n  });\n  var productPostType = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getProductPostType();\n  return _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath'],\n    dimensionFilters: {\n      'customEvent:googlesitekit_post_type': {\n        filterType: 'stringFilter',\n        matchType: 'EXACT',\n        value: productPostType\n      }\n    },\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_popular-products-widget_widget_reportOptions'\n  });\n}\nfunction PopularProductsWidget(props) {\n  var Widget = props.Widget,\n    WidgetNull = props.WidgetNull;\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_18__[\"default\"])();\n  var productPostType = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getProductPostType();\n  });\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_UI\"]),\n    setValue = _useDispatch.setValue;\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useState\"])(true),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n    showTooltip = _useState2[0],\n    setShowTooltip = _useState2[1];\n  var openMetricsSelectionPanel = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useCallback\"])(function () {\n    // Hide the tooltip so it doesn't remain visible, above the panel we're\n    // opening.\n    setShowTooltip(false);\n\n    // Open the panel.\n    setValue(_js_components_KeyMetrics_constants__WEBPACK_IMPORTED_MODULE_12__[\"KEY_METRICS_SELECTION_PANEL_OPENED_KEY\"], true);\n\n    // Wait for the panel to be open before we re-enable the tooltip.\n    // This prevents it from appearing above the slide-out panel, see:\n    // https://github.com/google/site-kit-wp/issues/7060#issuecomment-1664827831\n    setTimeout(function () {\n      setShowTooltip(true);\n    }, 0);\n  }, [setValue]);\n  var reportOptions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(getPopularProductsWidgetReportOptions);\n  var isPopularProductsWidgetActive = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"KM_ANALYTICS_POPULAR_PRODUCTS\"]);\n  });\n  var showWidget = isPopularProductsWidgetActive || productPostType;\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useInViewSelect\"])(function (select) {\n    return showWidget ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions) : undefined;\n  }, [showWidget, reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var titles = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useInViewSelect\"])(function (select) {\n    return !error && report ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getPageTitles(report, reportOptions) : undefined;\n  }, [error, report, reportOptions]);\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return showWidget ? !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]) || titles === undefined : undefined;\n  });\n  var _ref = report || {},\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows;\n  var columns = [{\n    field: 'dimensionValues.0.value',\n    Component: function Component(_ref2) {\n      var fieldValue = _ref2.fieldValue;\n      var url = fieldValue;\n      var title = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_20__[\"decodeAmpersand\"])(titles[url]);\n      // Utilizing `useSelect` inside the component rather than\n      // returning its direct value to the `columns` array.\n      // This pattern ensures that the component re-renders correctly based on changes in state,\n      // preventing potential issues with stale or out-of-sync data.\n      // Note: This pattern is replicated in a few other spots within our codebase.\n      var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n        return !viewOnlyDashboard ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n          filters: {\n            unifiedPagePathScreen: url\n          },\n          dates: dates\n        }) : null;\n      });\n      if (viewOnlyDashboard) {\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_13__[\"MetricTileTablePlainText\"], {\n          content: title\n        });\n      }\n      return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n        href: serviceURL,\n        title: title,\n        external: true,\n        hideExternalIndicator: true\n      }, title);\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  if (!showWidget) {\n    return /*#__PURE__*/React.createElement(WidgetNull, null);\n  }\n  var infoTooltip = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Products on your site which visitors viewed the most. Site Kit detected these are your product pages. If this is inaccurate, you can <a>replace</a> this with another metric', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n      onClick: openMetricsSelectionPanel\n    })\n  });\n  var zeroStateMessage = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Analytics doesn’t have data for your site’s products yet', 'google-site-kit');\n  if (!productPostType && isPopularProductsWidgetActive) {\n    zeroStateMessage = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('No product posts currently detected on your site. This metric applies only to sites with product posts.', 'google-site-kit');\n  }\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_13__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"KM_ANALYTICS_POPULAR_PRODUCTS\"],\n    loading: loading,\n    rows: rows,\n    columns: columns\n    // Instead of sourcing the infoTooltip from KEY_METRICS_WIDGETS,\n    // this widget provides it directly to the MetricTileTable component.\n    // This is to accommodate a link behavior within the tooltip when the Metrics Selection Panel is open.\n    ,\n    infoTooltip: showTooltip ? infoTooltip : null,\n    ZeroState: function ZeroState() {\n      return /*#__PURE__*/React.createElement(\"span\", null, zeroStateMessage);\n    },\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nPopularProductsWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired,\n  WidgetNull: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__[\"compose\"])(Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_16__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_17__[\"default\"]\n}), Object(_js_modules_analytics_4_utils_withCustomDimensions__WEBPACK_IMPORTED_MODULE_19__[\"default\"])({\n  reportOptions: getPopularProductsWidgetReportOptions\n}))(PopularProductsWidget));\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/modules/analytics-4/components/widgets/PopularProductsWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/ReturningVisitorsWidget.js":
/*!******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/ReturningVisitorsWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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_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 * ReturningVisitorsWidget component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction ReturningVisitorsWidget(_ref) {\n  var _rows$find, _rows$find$metricValu, _rows$find$metricValu2, _totals$, _totals$$metricValues, _totals$$metricValues2, _rows$find2, _rows$find2$metricVal, _rows$find2$metricVal2, _totals$2, _totals$2$metricValue, _totals$2$metricValue2;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['newVsReturning'],\n    metrics: [{\n      name: 'activeUsers'\n    }],\n    reportID: 'analytics-4_returning-visitors-widget_widget_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]);\n  });\n  var _ref2 = report || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows,\n    _ref2$totals = _ref2.totals,\n    totals = _ref2$totals === void 0 ? [] : _ref2$totals;\n  function makeFind(dateRange) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(row, 'dimensionValues.0.value') === 'returning' && Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(row, 'dimensionValues.1.value') === dateRange;\n    };\n  }\n  var returning = ((_rows$find = rows.find(makeFind('date_range_0'))) === null || _rows$find === void 0 ? void 0 : (_rows$find$metricValu = _rows$find.metricValues) === null || _rows$find$metricValu === void 0 ? void 0 : (_rows$find$metricValu2 = _rows$find$metricValu[0]) === null || _rows$find$metricValu2 === void 0 ? void 0 : _rows$find$metricValu2.value) || 0;\n  var total = ((_totals$ = totals[0]) === null || _totals$ === void 0 ? void 0 : (_totals$$metricValues = _totals$.metricValues) === null || _totals$$metricValues === void 0 ? void 0 : (_totals$$metricValues2 = _totals$$metricValues[0]) === null || _totals$$metricValues2 === void 0 ? void 0 : _totals$$metricValues2.value) || 0;\n  var prevReturning = ((_rows$find2 = rows.find(makeFind('date_range_1'))) === null || _rows$find2 === void 0 ? void 0 : (_rows$find2$metricVal = _rows$find2.metricValues) === null || _rows$find2$metricVal === void 0 ? void 0 : (_rows$find2$metricVal2 = _rows$find2$metricVal[0]) === null || _rows$find2$metricVal2 === void 0 ? void 0 : _rows$find2$metricVal2.value) || 0;\n  var prevTotal = ((_totals$2 = totals[1]) === null || _totals$2 === void 0 ? void 0 : (_totals$2$metricValue = _totals$2.metricValues) === null || _totals$2$metricValue === void 0 ? void 0 : (_totals$2$metricValue2 = _totals$2$metricValue[0]) === null || _totals$2$metricValue2 === void 0 ? void 0 : _totals$2$metricValue2.value) || 0;\n  var currentPercentage = total > 0 ? returning / total : 0;\n  var prevPercentage = prevTotal > 0 ? prevReturning / prevTotal : 0;\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__[\"MetricTileNumeric\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_RETURNING_VISITORS\"],\n    metricValue: currentPercentage,\n    metricValueFormat: format,\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %d: Number of total visitors visiting the site. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('of %s total visitors', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(total, {\n      style: 'decimal'\n    })),\n    previousValue: prevPercentage,\n    currentValue: currentPercentage,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nReturningVisitorsWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(ReturningVisitorsWidget));\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/modules/analytics-4/components/widgets/ReturningVisitorsWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopCategoriesWidget.js":
/*!**************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopCategoriesWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/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 _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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/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_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_withCustomDimensions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/withCustomDimensions */ \"./js/modules/analytics-4/utils/withCustomDimensions.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.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 * TopCategoriesWidget component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Gets the report options for the Top Categories widget.\n *\n * @since 1.113.0\n *\n * @param {Function} select Data store 'select' function.\n * @return {Object} The report options.\n */\nfunction getReportOptions(select) {\n  var dates = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n    offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"]\n  });\n  return _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['customEvent:googlesitekit_post_categories'],\n    dimensionFilters: {\n      // Make sure that we select only rows without (not set) records.\n      'customEvent:googlesitekit_post_categories': {\n        filterType: 'emptyFilter',\n        notExpression: true\n      }\n    },\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_top-categories-widget_widget_reportOptions'\n  });\n}\nfunction TopCategoriesWidget(_ref) {\n  var Widget = _ref.Widget;\n  var topCategoriesReportOptions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(getReportOptions);\n  var topCategoriesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(topCategoriesReportOptions);\n  }, [topCategoriesReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [topCategoriesReportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [topCategoriesReportOptions]);\n  });\n  var _ref2 = topCategoriesReport || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var columns = [{\n    field: 'dimensionValues',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      var _fieldValue = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(fieldValue, 1),\n        categories = _fieldValue[0];\n      var categoriesList = typeof (categories === null || categories === void 0 ? void 0 : categories.value) === 'string' ? Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_15__[\"splitCategories\"])(categories.value) : [];\n      var categoriesString = Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"listFormat\"])(\n      // All values _must_ be a string or format will throw an error.\n      categoriesList.map(String), {\n        style: 'narrow'\n      });\n      return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_11__[\"MetricTileTablePlainText\"], {\n        content: categoriesString\n      });\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref4) {\n      var fieldValue = _ref4.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_11__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_TOP_CATEGORIES\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_10__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopCategoriesWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__[\"compose\"])(Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_12__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_14__[\"default\"]\n}), Object(_js_modules_analytics_4_utils_withCustomDimensions__WEBPACK_IMPORTED_MODULE_13__[\"default\"])({\n  reportOptions: getReportOptions\n}))(TopCategoriesWidget));\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/modules/analytics-4/components/widgets/TopCategoriesWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopCitiesDrivingAddToCartWidget.js":
/*!**************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopCitiesDrivingAddToCartWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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 * TopCitiesDrivingAddToCartWidget component.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction TopCitiesDrivingAddToCartWidget(_ref) {\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var detectedEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n  });\n  var hasRequiredEvent = detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes('add_to_cart');\n  var topCitiesReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['city'],\n    dimensionFilters: {\n      city: {\n        filterType: 'emptyFilter',\n        notExpression: true\n      }\n    },\n    metrics: [{\n      name: 'addToCarts'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'addToCarts'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_top-cities-driving-add-to-cart-widget_widget_topCitiesReportOptions'\n  });\n  var topCitiesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return hasRequiredEvent ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getReport(topCitiesReportOptions) : undefined;\n  }, [topCitiesReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [topCitiesReportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return hasRequiredEvent ? !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [topCitiesReportOptions]) : undefined;\n  });\n  var _ref2 = topCitiesReport || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var columns = [{\n    field: 'dimensionValues',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      var _fieldValue = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(fieldValue, 1),\n        title = _fieldValue[0];\n      return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTablePlainText\"], {\n        content: title.value\n      });\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref4) {\n      var fieldValue = _ref4.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopCitiesDrivingAddToCartWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopCitiesDrivingAddToCartWidget));\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/modules/analytics-4/components/widgets/TopCitiesDrivingAddToCartWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopCitiesDrivingLeadsWidget.js":
/*!**********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopCitiesDrivingLeadsWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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 * TopCitiesDrivingLeadsWidget component.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction TopCitiesDrivingLeadsWidget(_ref) {\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var detectedEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n  });\n  var eventNames = [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD].filter(function (item) {\n    return detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes(item);\n  });\n  if (eventNames.includes(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM) && eventNames.includes(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"ENUM_CONVERSION_EVENTS\"].CONTACT)) {\n    eventNames.splice(eventNames.indexOf(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"ENUM_CONVERSION_EVENTS\"].CONTACT), 1);\n  }\n  var topCitiesReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['city', 'eventName'],\n    dimensionFilters: {\n      eventName: {\n        filterType: 'inListFilter',\n        value: eventNames\n      },\n      city: {\n        filterType: 'emptyFilter',\n        notExpression: true\n      }\n    },\n    metrics: [{\n      name: 'eventCount'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'eventCount'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_top-cities-driving-leads-widget_widget_topCitiesReportOptions'\n  });\n  var topCitiesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return (eventNames === null || eventNames === void 0 ? void 0 : eventNames.length) ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getReport(topCitiesReportOptions) : undefined;\n  }, [eventNames, topCitiesReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [topCitiesReportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return (eventNames === null || eventNames === void 0 ? void 0 : eventNames.length) ? !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [topCitiesReportOptions]) : undefined;\n  });\n  var _ref2 = topCitiesReport || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var columns = [{\n    field: 'dimensionValues',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      var _fieldValue = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(fieldValue, 1),\n        title = _fieldValue[0];\n      return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTablePlainText\"], {\n        content: title.value\n      });\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref4) {\n      var fieldValue = _ref4.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopCitiesDrivingLeadsWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopCitiesDrivingLeadsWidget));\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/modules/analytics-4/components/widgets/TopCitiesDrivingLeadsWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopCitiesDrivingPurchasesWidget.js":
/*!**************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopCitiesDrivingPurchasesWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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 * TopCitiesDrivingPurchasesWidget component.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction TopCitiesDrivingPurchasesWidget(_ref) {\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var detectedEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n  });\n  var hasDetectedEvent = detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes('purchase');\n  var topCitiesReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['city'],\n    dimensionFilters: {\n      city: {\n        filterType: 'emptyFilter',\n        notExpression: true\n      }\n    },\n    metrics: [{\n      name: 'ecommercePurchases'\n    }],\n    metricFilters: {\n      ecommercePurchases: {\n        operation: 'GREATER_THAN',\n        value: {\n          int64Value: 0\n        }\n      }\n    },\n    orderby: [{\n      metric: {\n        metricName: 'ecommercePurchases'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_top-cities-driving-purchases-widget_widget_topCitiesReportOptions'\n  });\n  var topCitiesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return hasDetectedEvent ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getReport(topCitiesReportOptions) : undefined;\n  }, [hasDetectedEvent, topCitiesReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [topCitiesReportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return hasDetectedEvent ? !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [topCitiesReportOptions]) : undefined;\n  });\n  var _ref2 = topCitiesReport || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var columns = [{\n    field: 'dimensionValues',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      var _fieldValue = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(fieldValue, 1),\n        title = _fieldValue[0];\n      return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTablePlainText\"], {\n        content: title.value\n      });\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref4) {\n      var fieldValue = _ref4.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopCitiesDrivingPurchasesWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopCitiesDrivingPurchasesWidget));\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/modules/analytics-4/components/widgets/TopCitiesDrivingPurchasesWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopCitiesWidget.js":
/*!**********************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopCitiesWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_report_rows_with_set_values__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/report-rows-with-set-values */ \"./js/modules/analytics-4/utils/report-rows-with-set-values.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 * TopCitiesWidget component.\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\n\n\n\n\n\n\nfunction TopCitiesWidget(_ref) {\n  var _totals$, _totals$$metricValues, _totals$$metricValues2;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var topCitiesReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['city'],\n    metrics: [{\n      name: 'totalUsers'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'totalUsers'\n      },\n      desc: true\n    }],\n    limit: 4,\n    reportID: 'analytics-4_top-cities-widget_widget_topCitiesReportOptions'\n  });\n  var topCitiesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getReport(topCitiesReportOptions);\n  }, [topCitiesReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [topCitiesReportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [topCitiesReportOptions]);\n  });\n  var _ref2 = topCitiesReport || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows,\n    _ref2$totals = _ref2.totals,\n    totals = _ref2$totals === void 0 ? [] : _ref2$totals;\n  var totalUsers = (_totals$ = totals[0]) === null || _totals$ === void 0 ? void 0 : (_totals$$metricValues = _totals$.metricValues) === null || _totals$$metricValues === void 0 ? void 0 : (_totals$$metricValues2 = _totals$$metricValues[0]) === null || _totals$$metricValues2 === void 0 ? void 0 : _totals$$metricValues2.value;\n  var columns = [{\n    field: 'dimensionValues',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      var _fieldValue = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(fieldValue, 1),\n        title = _fieldValue[0];\n      return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTablePlainText\"], {\n        content: title.value\n      });\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref4) {\n      var fieldValue = _ref4.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(fieldValue / totalUsers, {\n        style: 'percent',\n        maximumFractionDigits: 1\n      }));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"KM_ANALYTICS_TOP_CITIES\"],\n    loading: loading,\n    rows: Object(_js_modules_analytics_4_utils_report_rows_with_set_values__WEBPACK_IMPORTED_MODULE_13__[\"reportRowsWithSetValues\"])(rows),\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopCitiesWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopCitiesWidget));\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/modules/analytics-4/components/widgets/TopCitiesWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopConvertingTrafficSourceWidget.js":
/*!***************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopConvertingTrafficSourceWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_hooks_useInViewSelect__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useInViewSelect */ \"./js/hooks/useInViewSelect.js\");\n/* harmony import */ var _js_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/KeyMetrics/MetricTileText */ \"./js/components/KeyMetrics/MetricTileText.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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 * TopConvertingTrafficSourceWidget component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction TopConvertingTrafficSourceWidget(_ref) {\n  var _currentRow$dimension, _currentRow$metricVal, _previousRow$metricVa;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['sessionDefaultChannelGroup'],\n    metrics: [{\n      name: 'sessionKeyEventRate'\n    }],\n    limit: 1,\n    orderBy: 'sessionKeyEventRate',\n    reportID: 'analytics-4_top-converting-traffic-source-widget_widget_reportOptions'\n  });\n  var report = Object(_js_hooks_useInViewSelect__WEBPACK_IMPORTED_MODULE_9__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]);\n  });\n  function getRowForDateRange(dateRange) {\n    if (!(report === null || report === void 0 ? void 0 : report.rows)) {\n      return null;\n    }\n\n    // Filter the report to get only rows that match the given date range.\n    var rows = report.rows.filter(function (_ref2) {\n      var _ref2$dimensionValues = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref2.dimensionValues, 2),\n        dateValue = _ref2$dimensionValues[1];\n      return dateValue.value === dateRange;\n    });\n\n    // As the report is limited to 1 row per date range, return the first row.\n    return rows[0];\n  }\n  var currentRow = getRowForDateRange('date_range_0');\n  var previousRow = getRowForDateRange('date_range_1');\n  var topChannelGroup = (currentRow === null || currentRow === void 0 ? void 0 : (_currentRow$dimension = currentRow.dimensionValues) === null || _currentRow$dimension === void 0 ? void 0 : _currentRow$dimension[0].value) || '-';\n  var topKeyEventRate = parseFloat((currentRow === null || currentRow === void 0 ? void 0 : (_currentRow$metricVal = currentRow.metricValues) === null || _currentRow$metricVal === void 0 ? void 0 : _currentRow$metricVal[0].value) || '0');\n  var previousTopKeyEventRate = parseFloat((previousRow === null || previousRow === void 0 ? void 0 : (_previousRow$metricVa = previousRow.metricValues) === null || _previousRow$metricVa === void 0 ? void 0 : _previousRow$metricVa[0].value) || '0');\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE\"],\n    metricValue: topChannelGroup,\n    metricValueFormat: format,\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %d: Percentage of visits that led to key events. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('%s of visits led to key events', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_11__[\"numFmt\"])(topKeyEventRate, format)),\n    previousValue: previousTopKeyEventRate,\n    currentValue: topKeyEventRate,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopConvertingTrafficSourceWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_12__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_13__[\"default\"]\n})(TopConvertingTrafficSourceWidget));\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/modules/analytics-4/components/widgets/TopConvertingTrafficSourceWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopCountriesWidget.js":
/*!*************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopCountriesWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_report_rows_with_set_values__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/report-rows-with-set-values */ \"./js/modules/analytics-4/utils/report-rows-with-set-values.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 * TopCountriesWidget component.\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\n\n\n\n\n\n\nfunction TopCountriesWidget(_ref) {\n  var _totals$, _totals$$metricValues, _totals$$metricValues2;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var topCountriesReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['country'],\n    metrics: [{\n      name: 'totalUsers'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'totalUsers'\n      },\n      desc: true\n    }],\n    limit: 4,\n    reportID: 'analytics-4_top-countries-widget_widget_topCountriesReportOptions'\n  });\n  var topCountriesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getReport(topCountriesReportOptions);\n  }, [topCountriesReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [topCountriesReportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [topCountriesReportOptions]);\n  });\n  var _ref2 = topCountriesReport || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows,\n    _ref2$totals = _ref2.totals,\n    totals = _ref2$totals === void 0 ? [] : _ref2$totals;\n  var totalUsers = (_totals$ = totals[0]) === null || _totals$ === void 0 ? void 0 : (_totals$$metricValues = _totals$.metricValues) === null || _totals$$metricValues === void 0 ? void 0 : (_totals$$metricValues2 = _totals$$metricValues[0]) === null || _totals$$metricValues2 === void 0 ? void 0 : _totals$$metricValues2.value;\n  var columns = [{\n    field: 'dimensionValues',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      var _fieldValue = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(fieldValue, 1),\n        title = _fieldValue[0];\n      return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTablePlainText\"], {\n        content: title.value\n      });\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref4) {\n      var fieldValue = _ref4.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(fieldValue / totalUsers, {\n        style: 'percent',\n        maximumFractionDigits: 1\n      }));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"KM_ANALYTICS_TOP_COUNTRIES\"],\n    loading: loading,\n    rows: Object(_js_modules_analytics_4_utils_report_rows_with_set_values__WEBPACK_IMPORTED_MODULE_13__[\"reportRowsWithSetValues\"])(rows),\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_8__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopCountriesWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopCountriesWidget));\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/modules/analytics-4/components/widgets/TopCountriesWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopDeviceDrivingPurchasesWidget.js":
/*!**************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopDeviceDrivingPurchasesWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/KeyMetrics/MetricTileText */ \"./js/components/KeyMetrics/MetricTileText.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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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_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 * TopDeviceDrivingPurchases component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction TopDeviceDrivingPurchases(_ref) {\n  var _totalPurchasesReport, _totalPurchasesReport2, _totalPurchasesReport3, _totalPurchasesReport4, _totalPurchasesReport5, _totalPurchasesReport6, _totalPurchasesReport7, _totalPurchasesReport8, _deviceReportRows$fil, _deviceReportRows$fil2, _totalPurchasesReport9, _totalPurchasesReport10, _totalPurchasesReport11, _deviceReportRows$fil3, _deviceReportRows$fil4, _deviceReportRows$fil5, _totalPurchasesReport12, _totalPurchasesReport13, _totalPurchasesReport14, _deviceReportRows$fil6, _deviceReportRows$fil7, _deviceReportRows$fil8;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var detectedEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n  });\n  var hasDetectedEvent = detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes('purchase');\n  var totalPurchasesReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    metrics: [{\n      name: 'ecommercePurchases'\n    }],\n    reportID: 'analytics-4_top-device-driving-purchases-widget_widget_totalPurchasesReportOptions'\n  });\n  var deviceReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['deviceCategory'],\n    metrics: [{\n      name: 'ecommercePurchases'\n    }],\n    limit: 1,\n    orderBy: 'ecommercePurchases',\n    reportID: 'analytics-4_top-device-driving-purchases-widget_widget_deviceReportOptions'\n  });\n  var totalPurchasesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return hasDetectedEvent ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(totalPurchasesReportOptions) : undefined;\n  }, [hasDetectedEvent, totalPurchasesReportOptions]);\n\n  // ecommercePurchases metric will always be assigned a value, unlike most\n  // other metrics, where rows would be empty if there is no data, ecommercePurchases\n  // will assign value `0` for each date range if there is no event data. So we need\n  // to verify that value is non-zero for one of the rows, to allow report request for\n  // traffic source. Otherwise zero data will be incorrectly displayed, showing zero for\n  // purchases and comparison, but still include the traffic source.\n  var hasPurchases = (totalPurchasesReport === null || totalPurchasesReport === void 0 ? void 0 : totalPurchasesReport.rows) ? (totalPurchasesReport === null || totalPurchasesReport === void 0 ? void 0 : (_totalPurchasesReport = totalPurchasesReport.rows) === null || _totalPurchasesReport === void 0 ? void 0 : (_totalPurchasesReport2 = _totalPurchasesReport[0]) === null || _totalPurchasesReport2 === void 0 ? void 0 : (_totalPurchasesReport3 = _totalPurchasesReport2.metricValues) === null || _totalPurchasesReport3 === void 0 ? void 0 : (_totalPurchasesReport4 = _totalPurchasesReport3[0]) === null || _totalPurchasesReport4 === void 0 ? void 0 : _totalPurchasesReport4.value) > 0 || (totalPurchasesReport === null || totalPurchasesReport === void 0 ? void 0 : (_totalPurchasesReport5 = totalPurchasesReport.rows) === null || _totalPurchasesReport5 === void 0 ? void 0 : (_totalPurchasesReport6 = _totalPurchasesReport5[1]) === null || _totalPurchasesReport6 === void 0 ? void 0 : (_totalPurchasesReport7 = _totalPurchasesReport6.metricValues) === null || _totalPurchasesReport7 === void 0 ? void 0 : (_totalPurchasesReport8 = _totalPurchasesReport7[0]) === null || _totalPurchasesReport8 === void 0 ? void 0 : _totalPurchasesReport8.value) > 0 : false;\n  var deviceReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return hasDetectedEvent && hasPurchases ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(deviceReportOptions) : undefined;\n  }, [hasPurchases, hasDetectedEvent, deviceReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var deviceReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [deviceReportOptions]);\n    var totalPurchasesReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [totalPurchasesReportOptions]);\n    if (deviceReportErrors && totalPurchasesReportErrors) {\n      return [deviceReportErrors, totalPurchasesReportErrors];\n    }\n    return deviceReportErrors || totalPurchasesReportErrors || undefined;\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return hasDetectedEvent && hasPurchases ? !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [totalPurchasesReportOptions]) || !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [deviceReportOptions]) : undefined;\n  });\n  function makeFilter(dateRange, dimensionIndex) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_10__[\"get\"])(row, \"dimensionValues.\".concat(dimensionIndex, \".value\")) === dateRange;\n    };\n  }\n\n  // Prevents running a filter on `report.rows` which could be undefined.\n  var _ref2 = totalPurchasesReport || {},\n    _ref2$rows = _ref2.rows,\n    totalPurchasesReportRows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var _ref3 = deviceReport || {},\n    _ref3$rows = _ref3.rows,\n    deviceReportRows = _ref3$rows === void 0 ? [] : _ref3$rows;\n  var topDevice = ((_deviceReportRows$fil = deviceReportRows.filter(makeFilter('date_range_0', 1))[0]) === null || _deviceReportRows$fil === void 0 ? void 0 : (_deviceReportRows$fil2 = _deviceReportRows$fil.dimensionValues) === null || _deviceReportRows$fil2 === void 0 ? void 0 : _deviceReportRows$fil2[0].value) || '-';\n  var currentTotalPurchases = parseInt((_totalPurchasesReport9 = totalPurchasesReportRows.filter(makeFilter('date_range_0', 0))[0]) === null || _totalPurchasesReport9 === void 0 ? void 0 : (_totalPurchasesReport10 = _totalPurchasesReport9.metricValues) === null || _totalPurchasesReport10 === void 0 ? void 0 : (_totalPurchasesReport11 = _totalPurchasesReport10[0]) === null || _totalPurchasesReport11 === void 0 ? void 0 : _totalPurchasesReport11.value, 10) || 0;\n  var currentTopDevicePurchases = parseInt((_deviceReportRows$fil3 = deviceReportRows.filter(makeFilter('date_range_0', 1))[0]) === null || _deviceReportRows$fil3 === void 0 ? void 0 : (_deviceReportRows$fil4 = _deviceReportRows$fil3.metricValues) === null || _deviceReportRows$fil4 === void 0 ? void 0 : (_deviceReportRows$fil5 = _deviceReportRows$fil4[0]) === null || _deviceReportRows$fil5 === void 0 ? void 0 : _deviceReportRows$fil5.value, 10) || 0;\n  var relativeCurrentTopDevicePurchases = currentTotalPurchases ? currentTopDevicePurchases / currentTotalPurchases : 0;\n  var previousTotalPurchases = parseInt((_totalPurchasesReport12 = totalPurchasesReportRows.filter(makeFilter('date_range_1', 0))[0]) === null || _totalPurchasesReport12 === void 0 ? void 0 : (_totalPurchasesReport13 = _totalPurchasesReport12.metricValues) === null || _totalPurchasesReport13 === void 0 ? void 0 : (_totalPurchasesReport14 = _totalPurchasesReport13[0]) === null || _totalPurchasesReport14 === void 0 ? void 0 : _totalPurchasesReport14.value, 10) || 0;\n  var previousTopDevicePurchases = parseInt((_deviceReportRows$fil6 = deviceReportRows.filter(makeFilter('date_range_1', 1))[0]) === null || _deviceReportRows$fil6 === void 0 ? void 0 : (_deviceReportRows$fil7 = _deviceReportRows$fil6.metricValues) === null || _deviceReportRows$fil7 === void 0 ? void 0 : (_deviceReportRows$fil8 = _deviceReportRows$fil7[0]) === null || _deviceReportRows$fil8 === void 0 ? void 0 : _deviceReportRows$fil8.value, 10) || 0;\n  var relativePreviousTopDevicePurchases = previousTotalPurchases ? previousTopDevicePurchases / previousTotalPurchases : 0;\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES\"],\n    metricValue: topDevice,\n    metricValueFormat: format,\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %d: Percentage of purchases for the current top device compared to the number of purchases for all devices. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('%s of total purchases', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(relativeCurrentTopDevicePurchases, format)),\n    previousValue: relativePreviousTopDevicePurchases,\n    currentValue: relativeCurrentTopDevicePurchases,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopDeviceDrivingPurchases.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopDeviceDrivingPurchases));\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/modules/analytics-4/components/widgets/TopDeviceDrivingPurchasesWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopPagesDrivingLeadsWidget.js":
/*!*********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopPagesDrivingLeadsWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.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_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 * TopPagesDrivingLeadsWidget component.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\nfunction TopPagesDrivingLeadsWidget(props) {\n  var Widget = props.Widget;\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__[\"default\"])();\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var detectedEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n  });\n  var eventNames = [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD].filter(function (item) {\n    return detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes(item);\n  });\n  if (eventNames.includes(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM) && eventNames.includes(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENUM_CONVERSION_EVENTS\"].CONTACT)) {\n    eventNames.splice(eventNames.indexOf(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ENUM_CONVERSION_EVENTS\"].CONTACT), 1);\n  }\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath', 'eventName'],\n    dimensionFilters: {\n      eventName: {\n        filterType: 'inListFilter',\n        value: eventNames\n      }\n    },\n    metrics: [{\n      name: 'eventCount'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'eventCount'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_top-pages-driving-leads-widget_widget_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return (eventNames === null || eventNames === void 0 ? void 0 : eventNames.length) ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions) : undefined;\n  }, [eventNames, reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var titles = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    if (!(eventNames === null || eventNames === void 0 ? void 0 : eventNames.length) || error) {\n      return undefined;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getPageTitles(report, reportOptions);\n  }, [eventNames, error, report, reportOptions]);\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (!(eventNames === null || eventNames === void 0 ? void 0 : eventNames.length)) {\n      return undefined;\n    }\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]) || titles === undefined;\n  });\n  var _ref = report || {},\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows;\n  var columns = [{\n    field: 'dimensionValues.0.value',\n    Component: function Component(_ref2) {\n      var fieldValue = _ref2.fieldValue;\n      var url = fieldValue;\n      var title = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__[\"decodeAmpersand\"])(titles[url]);\n      // Utilizing `useSelect` inside the component rather than\n      // returning its direct value to the `columns` array.\n      // This pattern ensures that the component re-renders correctly based on changes in state,\n      // preventing potential issues with stale or out-of-sync data.\n      // Note: This pattern is replicated in a few other spots within our codebase.\n      var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n        return !viewOnlyDashboard ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n          filters: {\n            unifiedPagePathScreen: url\n          },\n          dates: dates\n        }) : null;\n      });\n      if (viewOnlyDashboard) {\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTablePlainText\"], {\n          content: title\n        });\n      }\n      return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n        href: serviceURL,\n        title: title,\n        external: true,\n        hideExternalIndicator: true\n      }, title);\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopPagesDrivingLeadsWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopPagesDrivingLeadsWidget));\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/modules/analytics-4/components/widgets/TopPagesDrivingLeadsWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopRecentTrendingPagesWidget.js":
/*!***********************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopRecentTrendingPagesWidget.js ***!
  \***********************************************************************************/
/*! exports provided: getDateRange, getReportOptions, default */
/***/ (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__, \"getDateRange\", function() { return getDateRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getReportOptions\", function() { return getReportOptions; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_withCustomDimensions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/withCustomDimensions */ \"./js/modules/analytics-4/utils/withCustomDimensions.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.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 * TopRecentTrendingPagesWidget component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Returns the date range (eg. the `startDate` and `endDate`) for this widget's\n * reporting options.\n *\n * @since 1.113.0\n * @since 1.132.0 Update the function to receive the reference date instead of the select function.\n *\n * @param {string} referenceDate The reference date.\n * @return {Object} An object containing the `startDate` and `endDate` for a\n * report.\n */\nfunction getDateRange(referenceDate) {\n  var yesterday = Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"getPreviousDate\"])(referenceDate, 1);\n  var threeDaysAgo = Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"getPreviousDate\"])(referenceDate, 3);\n  return {\n    startDate: threeDaysAgo,\n    endDate: yesterday\n  };\n}\n\n/**\n * Generates the report options required for fetching data in\n * `topRecentTrendingPagesWidget`.\n *\n * The function utilizes the dates from the last three days to\n * prepare the filter and structure required for the report.\n *\n * This is defined as a function outside the component so that both\n * the component and the higher-order-component (`withCustomDimensions`)\n * can use it.\n *\n * @since 1.113.0\n * @since 1.132.0 Update the function to receive the reference date instead of the select function.\n *\n * @param {string} referenceDate The reference date.\n * @return {Object} The report options containing dimensions, filters,\n * metrics, and other parameters.\n */\nfunction getReportOptions(referenceDate) {\n  var yesterday = Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"getPreviousDate\"])(referenceDate, 1);\n  var twoDaysAgo = Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"getPreviousDate\"])(referenceDate, 2);\n  var threeDaysAgo = Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"getPreviousDate\"])(referenceDate, 3);\n  var dates = getDateRange(referenceDate);\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath'],\n    dimensionFilters: {\n      'customEvent:googlesitekit_post_date': {\n        filterType: 'inListFilter',\n        value: [yesterday.replace(/-/g, ''), twoDaysAgo.replace(/-/g, ''), threeDaysAgo.replace(/-/g, '')]\n      }\n    },\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_top-recent-trending-pages-widget_widget_reportOptions'\n  });\n  return reportOptions;\n}\nfunction CustomZeroDataMessage() {\n  return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('No data to display: either no pages were published in the last three days, or they haven’t received any visitors yet', 'google-site-kit');\n}\nfunction TopRecentTrendingPagesWidget(_ref) {\n  var Widget = _ref.Widget;\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_14__[\"default\"])();\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n      var referenceDate = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_16__[\"CORE_USER\"]).getReferenceDate();\n      return [getDateRange(referenceDate), getReportOptions(referenceDate)];\n    }),\n    _useSelect2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useSelect, 2),\n    dates = _useSelect2[0],\n    reportOptions = _useSelect2[1];\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var titles = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useInViewSelect\"])(function (select) {\n    return !error && report ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPageTitles(report, reportOptions) : undefined;\n  }, [error, report, reportOptions]);\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]) || titles === undefined;\n  });\n  var _ref2 = report || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var columns = [{\n    field: 'dimensionValues.0.value',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      var url = fieldValue;\n      var title = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_17__[\"decodeAmpersand\"])(titles[url]);\n      // Utilizing `useSelect` inside the component rather than\n      // returning its direct value to the `columns` array.\n      // This pattern ensures that the component re-renders correctly based on changes in state,\n      // preventing potential issues with stale or out-of-sync data.\n      // Note: This pattern is replicated in a few other spots within our codebase.\n      var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n        return !viewOnlyDashboard ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n          filters: {\n            unifiedPagePathScreen: url\n          },\n          dates: dates\n        }) : null;\n      });\n      if (viewOnlyDashboard) {\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_11__[\"MetricTileTablePlainText\"], {\n          content: title\n        });\n      }\n      return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n        href: serviceURL,\n        title: title,\n        external: true,\n        hideExternalIndicator: true\n      }, title);\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref4) {\n      var fieldValue = _ref4.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_11__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_16__[\"KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: CustomZeroDataMessage,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopRecentTrendingPagesWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__[\"compose\"])(Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_12__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_13__[\"default\"]\n}), Object(_js_modules_analytics_4_utils_withCustomDimensions__WEBPACK_IMPORTED_MODULE_15__[\"default\"])({\n  reportOptions: function reportOptions(select) {\n    return getReportOptions(select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_16__[\"CORE_USER\"]).getReferenceDate());\n  }\n}))(TopRecentTrendingPagesWidget));\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/modules/analytics-4/components/widgets/TopRecentTrendingPagesWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopReturningVisitorPages.js":
/*!*******************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopReturningVisitorPages.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.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_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 * TopReturningVisitorPages component.\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\n\n\n\n\n\n\n\n\nfunction TopReturningVisitorPages(props) {\n  var Widget = props.Widget;\n  var viewOnlyDashboard = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__[\"default\"])();\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"DATE_RANGE_OFFSET\"]\n    });\n  });\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['pagePath'],\n    dimensionFilters: {\n      newVsReturning: 'returning'\n    },\n    metrics: [{\n      name: 'activeUsers'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'activeUsers'\n      },\n      desc: true\n    }],\n    limit: 3,\n    keepEmptyRows: false,\n    reportID: 'analytics-4_top-returning-visitor-pages-widget_widget_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var titles = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useInViewSelect\"])(function (select) {\n    return !error ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getPageTitles(report, reportOptions) : undefined;\n  }, [error, report, reportOptions]);\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]) || titles === undefined;\n  });\n  var _ref = report || {},\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows;\n  var columns = [{\n    field: 'dimensionValues.0.value',\n    Component: function Component(_ref2) {\n      var fieldValue = _ref2.fieldValue;\n      var url = fieldValue;\n      var title = Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_14__[\"decodeAmpersand\"])(titles[url]);\n      // Utilizing `useSelect` inside the component rather than\n      // returning its direct value to the `columns` array.\n      // This pattern ensures that the component re-renders correctly based on changes in state,\n      // preventing potential issues with stale or out-of-sync data.\n      // Note: This pattern is replicated in a few other spots within our codebase.\n      var serviceURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n        return !viewOnlyDashboard ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getServiceReportURL('all-pages-and-screens', {\n          filters: {\n            unifiedPagePathScreen: url\n          },\n          dates: dates\n        }) : null;\n      });\n      if (viewOnlyDashboard) {\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTablePlainText\"], {\n          content: title\n        });\n      }\n      return /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n        href: serviceURL,\n        title: title,\n        external: true,\n        hideExternalIndicator: true\n      }, title);\n    }\n  }, {\n    field: 'metricValues.0.value',\n    Component: function Component(_ref3) {\n      var fieldValue = _ref3.fieldValue;\n      return /*#__PURE__*/React.createElement(\"strong\", null, Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(fieldValue));\n    }\n  }];\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__[\"MetricTileTable\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES\"],\n    loading: loading,\n    rows: rows,\n    columns: columns,\n    ZeroState: _js_modules_analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__[\"ZeroDataMessage\"],\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopReturningVisitorPages.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopReturningVisitorPages));\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/modules/analytics-4/components/widgets/TopReturningVisitorPages.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingAddToCartWidget.js":
/*!*********************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingAddToCartWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/KeyMetrics/MetricTileText */ \"./js/components/KeyMetrics/MetricTileText.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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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_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 * TopTrafficSourceDrivingAddToCartWidget component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction TopTrafficSourceDrivingAddToCartWidget(_ref) {\n  var _trafficSourceReportR, _trafficSourceReportR2, _totalAddToCartReport, _totalAddToCartReport2, _totalAddToCartReport3, _trafficSourceReportR3, _trafficSourceReportR4, _trafficSourceReportR5, _totalAddToCartReport4, _totalAddToCartReport5, _totalAddToCartReport6, _trafficSourceReportR6, _trafficSourceReportR7, _trafficSourceReportR8;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var detectedEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n  });\n  var hasDetectedEvent = detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ENUM_CONVERSION_EVENTS\"].ADD_TO_CART);\n  var totalAddToCartReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    metrics: [{\n      name: 'addToCarts'\n    }],\n    reportID: 'analytics-4_top-traffic-source-driving-add-to-cart-widget_widget_totalAddToCartReportOptions'\n  });\n  var trafficSourceReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['sessionDefaultChannelGroup'],\n    metrics: [{\n      name: 'addToCarts'\n    }],\n    limit: 1,\n    orderBy: 'addToCarts',\n    reportID: 'analytics-4_top-traffic-source-driving-add-to-cart-widget_widget_trafficSourceReportOptions'\n  });\n  var totalAddToCartReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return hasDetectedEvent ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(totalAddToCartReportOptions) : undefined;\n  }, [hasDetectedEvent, totalAddToCartReportOptions]);\n  var trafficSourceReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return hasDetectedEvent ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(trafficSourceReportOptions) : undefined;\n  }, [hasDetectedEvent, trafficSourceReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var trafficSourceReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [trafficSourceReportOptions]);\n    var totalAddToCartReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [totalAddToCartReportOptions]);\n    if (trafficSourceReportErrors && totalAddToCartReportErrors) {\n      return [trafficSourceReportErrors, totalAddToCartReportErrors];\n    }\n    return trafficSourceReportErrors || totalAddToCartReportErrors || undefined;\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return hasDetectedEvent ? !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [totalAddToCartReportOptions]) || !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [trafficSourceReportOptions]) : undefined;\n  });\n  function makeFilter(dateRange, dimensionIndex) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_10__[\"get\"])(row, \"dimensionValues.\".concat(dimensionIndex, \".value\")) === dateRange;\n    };\n  }\n\n  // Prevents running a filter on `report.rows` which could be undefined.\n  var _ref2 = totalAddToCartReport || {},\n    _ref2$rows = _ref2.rows,\n    totalAddToCartReportRows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var _ref3 = trafficSourceReport || {},\n    _ref3$rows = _ref3.rows,\n    trafficSourceReportRows = _ref3$rows === void 0 ? [] : _ref3$rows;\n  var topTrafficSource = ((_trafficSourceReportR = trafficSourceReportRows.filter(makeFilter('date_range_0', 1))[0]) === null || _trafficSourceReportR === void 0 ? void 0 : (_trafficSourceReportR2 = _trafficSourceReportR.dimensionValues) === null || _trafficSourceReportR2 === void 0 ? void 0 : _trafficSourceReportR2[0].value) || '-';\n  var currentTotalAddToCart = parseInt((_totalAddToCartReport = totalAddToCartReportRows.filter(makeFilter('date_range_0', 0))[0]) === null || _totalAddToCartReport === void 0 ? void 0 : (_totalAddToCartReport2 = _totalAddToCartReport.metricValues) === null || _totalAddToCartReport2 === void 0 ? void 0 : (_totalAddToCartReport3 = _totalAddToCartReport2[0]) === null || _totalAddToCartReport3 === void 0 ? void 0 : _totalAddToCartReport3.value, 10) || 0;\n  var currentTopTrafficSourceAddToCart = parseInt((_trafficSourceReportR3 = trafficSourceReportRows.filter(makeFilter('date_range_0', 1))[0]) === null || _trafficSourceReportR3 === void 0 ? void 0 : (_trafficSourceReportR4 = _trafficSourceReportR3.metricValues) === null || _trafficSourceReportR4 === void 0 ? void 0 : (_trafficSourceReportR5 = _trafficSourceReportR4[0]) === null || _trafficSourceReportR5 === void 0 ? void 0 : _trafficSourceReportR5.value, 10) || 0;\n  var relativeCurrentTopTrafficSourceAddToCart = currentTotalAddToCart ? currentTopTrafficSourceAddToCart / currentTotalAddToCart : 0;\n  var previousTotalAddToCart = parseInt((_totalAddToCartReport4 = totalAddToCartReportRows.filter(makeFilter('date_range_1', 0))[0]) === null || _totalAddToCartReport4 === void 0 ? void 0 : (_totalAddToCartReport5 = _totalAddToCartReport4.metricValues) === null || _totalAddToCartReport5 === void 0 ? void 0 : (_totalAddToCartReport6 = _totalAddToCartReport5[0]) === null || _totalAddToCartReport6 === void 0 ? void 0 : _totalAddToCartReport6.value, 10) || 0;\n  var previousTopTrafficSourceAddToCart = parseInt((_trafficSourceReportR6 = trafficSourceReportRows.filter(makeFilter('date_range_1', 1))[0]) === null || _trafficSourceReportR6 === void 0 ? void 0 : (_trafficSourceReportR7 = _trafficSourceReportR6.metricValues) === null || _trafficSourceReportR7 === void 0 ? void 0 : (_trafficSourceReportR8 = _trafficSourceReportR7[0]) === null || _trafficSourceReportR8 === void 0 ? void 0 : _trafficSourceReportR8.value, 10) || 0;\n  var relativePreviousTopTrafficSourceAddToCart = previousTotalAddToCart ? previousTopTrafficSourceAddToCart / previousTotalAddToCart : 0;\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART\"],\n    metricValue: topTrafficSource,\n    metricValueFormat: format,\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: Percentage of add to carts for the current top traffic source compared to the number of total add to carts for all traffic sources. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('%s of total add to carts', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(relativeCurrentTopTrafficSourceAddToCart, format)),\n    previousValue: relativePreviousTopTrafficSourceAddToCart,\n    currentValue: relativeCurrentTopTrafficSourceAddToCart,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopTrafficSourceDrivingAddToCartWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopTrafficSourceDrivingAddToCartWidget));\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/modules/analytics-4/components/widgets/TopTrafficSourceDrivingAddToCartWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingLeadsWidget.js":
/*!*****************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingLeadsWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/KeyMetrics/MetricTileText */ \"./js/components/KeyMetrics/MetricTileText.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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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_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 * TopTrafficSourceDrivingLeadsWidget component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction getDateRangeIndex(reportRows, dateRangeSlug) {\n  for (var rowIndex = 0; rowIndex < reportRows.length; rowIndex++) {\n    var _reportRows$rowIndex;\n    var dimensionValues = reportRows === null || reportRows === void 0 ? void 0 : (_reportRows$rowIndex = reportRows[rowIndex]) === null || _reportRows$rowIndex === void 0 ? void 0 : _reportRows$rowIndex.dimensionValues;\n    var dimensionIndex = dimensionValues.findIndex(function (dimensionValue) {\n      return dimensionValue.value === dateRangeSlug;\n    });\n    if (dimensionIndex !== -1) {\n      return dimensionIndex;\n    }\n  }\n  return 0;\n}\nfunction TopTrafficSourceDrivingLeadsWidget(_ref) {\n  var _trafficSourceReportR, _trafficSourceReportR2, _totalLeadsReportRows, _totalLeadsReportRows2, _totalLeadsReportRows3, _trafficSourceReportR3, _trafficSourceReportR4, _trafficSourceReportR5, _totalLeadsReportRows4, _totalLeadsReportRows5, _totalLeadsReportRows6, _trafficSourceReportR6, _trafficSourceReportR7, _trafficSourceReportR8;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var detectedEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n  });\n  var eventNames = [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ENUM_CONVERSION_EVENTS\"].CONTACT, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ENUM_CONVERSION_EVENTS\"].GENERATE_LEAD].filter(function (item) {\n    return detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes(item);\n  });\n  if (eventNames.includes(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ENUM_CONVERSION_EVENTS\"].SUBMIT_LEAD_FORM) && eventNames.includes(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ENUM_CONVERSION_EVENTS\"].CONTACT)) {\n    eventNames.splice(eventNames.indexOf(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ENUM_CONVERSION_EVENTS\"].CONTACT), 1);\n  }\n  var totalLeadsReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    metrics: [{\n      name: 'eventCount'\n    }],\n    dimensions: ['eventName'],\n    dimensionFilters: {\n      eventName: {\n        filterType: 'inListFilter',\n        value: eventNames\n      }\n    },\n    reportID: 'analytics-4_top-traffic-source-driving-leads-widget_widget_totalLeadsReportOptions'\n  });\n  var trafficSourceReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['sessionDefaultChannelGroup', 'eventName'],\n    dimensionFilters: {\n      eventName: {\n        filterType: 'inListFilter',\n        value: eventNames\n      }\n    },\n    metrics: [{\n      name: 'eventCount'\n    }],\n    limit: 1,\n    orderBy: 'eventCount',\n    reportID: 'analytics-4_top-traffic-source-driving-leads-widget_widget_trafficSourceReportOptions'\n  });\n  var totalLeadsReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return eventNames.length ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(totalLeadsReportOptions) : undefined;\n  }, [eventNames, totalLeadsReportOptions]);\n  var trafficSourceReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return eventNames.length ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(trafficSourceReportOptions) : undefined;\n  }, [eventNames, trafficSourceReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var trafficSourceReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [trafficSourceReportOptions]);\n    var totalLeadsReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [totalLeadsReportOptions]);\n    if (trafficSourceReportErrors && totalLeadsReportErrors) {\n      return [trafficSourceReportErrors, totalLeadsReportErrors];\n    }\n    return trafficSourceReportErrors || totalLeadsReportErrors || undefined;\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    if (!eventNames.length) {\n      return undefined;\n    }\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [totalLeadsReportOptions]) || !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [trafficSourceReportOptions]);\n  });\n  function makeFilter(dateRange, dimensionIndex) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_10__[\"get\"])(row, \"dimensionValues.\".concat(dimensionIndex, \".value\")) === dateRange;\n    };\n  }\n\n  // Prevents running a filter on `report.rows` which could be undefined.\n  var _ref2 = totalLeadsReport || {},\n    _ref2$rows = _ref2.rows,\n    totalLeadsReportRows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var _ref3 = trafficSourceReport || {},\n    _ref3$rows = _ref3.rows,\n    trafficSourceReportRows = _ref3$rows === void 0 ? [] : _ref3$rows;\n  var topTrafficSourceDateRangeIndex = getDateRangeIndex(trafficSourceReportRows, 'date_range_0');\n  var topTrafficSource = ((_trafficSourceReportR = trafficSourceReportRows.filter(makeFilter('date_range_0', topTrafficSourceDateRangeIndex))[0]) === null || _trafficSourceReportR === void 0 ? void 0 : (_trafficSourceReportR2 = _trafficSourceReportR.dimensionValues) === null || _trafficSourceReportR2 === void 0 ? void 0 : _trafficSourceReportR2[0].value) || '-';\n  var currentTotalLeadsDateRangeIndex = getDateRangeIndex(totalLeadsReportRows, 'date_range_0');\n  var currentTotalLeads = parseInt((_totalLeadsReportRows = totalLeadsReportRows.filter(makeFilter('date_range_0', currentTotalLeadsDateRangeIndex))[0]) === null || _totalLeadsReportRows === void 0 ? void 0 : (_totalLeadsReportRows2 = _totalLeadsReportRows.metricValues) === null || _totalLeadsReportRows2 === void 0 ? void 0 : (_totalLeadsReportRows3 = _totalLeadsReportRows2[0]) === null || _totalLeadsReportRows3 === void 0 ? void 0 : _totalLeadsReportRows3.value, 10) || 0;\n  var currentTopTrafficSourceLeadsDateRangeIndex = getDateRangeIndex(trafficSourceReportRows, 'date_range_0');\n  var currentTopTrafficSourceLeads = parseInt((_trafficSourceReportR3 = trafficSourceReportRows.filter(makeFilter('date_range_0', currentTopTrafficSourceLeadsDateRangeIndex))[0]) === null || _trafficSourceReportR3 === void 0 ? void 0 : (_trafficSourceReportR4 = _trafficSourceReportR3.metricValues) === null || _trafficSourceReportR4 === void 0 ? void 0 : (_trafficSourceReportR5 = _trafficSourceReportR4[0]) === null || _trafficSourceReportR5 === void 0 ? void 0 : _trafficSourceReportR5.value, 10) || 0;\n  var relativeCurrentTopTrafficSourceUsers = currentTotalLeads ? currentTopTrafficSourceLeads / currentTotalLeads : 0;\n  var previousTotalLeadsDateRangeIndex = getDateRangeIndex(totalLeadsReportRows, 'date_range_1');\n  var previousTotalLeads = parseInt((_totalLeadsReportRows4 = totalLeadsReportRows.filter(makeFilter('date_range_1', previousTotalLeadsDateRangeIndex))[0]) === null || _totalLeadsReportRows4 === void 0 ? void 0 : (_totalLeadsReportRows5 = _totalLeadsReportRows4.metricValues) === null || _totalLeadsReportRows5 === void 0 ? void 0 : (_totalLeadsReportRows6 = _totalLeadsReportRows5[0]) === null || _totalLeadsReportRows6 === void 0 ? void 0 : _totalLeadsReportRows6.value, 10) || 0;\n  var previousTopTrafficSourceUsersDateRangeIndex = getDateRangeIndex(trafficSourceReportRows, 'date_range_1');\n  var previousTopTrafficSourceUsers = parseInt((_trafficSourceReportR6 = trafficSourceReportRows.filter(makeFilter('date_range_1', previousTopTrafficSourceUsersDateRangeIndex))[0]) === null || _trafficSourceReportR6 === void 0 ? void 0 : (_trafficSourceReportR7 = _trafficSourceReportR6.metricValues) === null || _trafficSourceReportR7 === void 0 ? void 0 : (_trafficSourceReportR8 = _trafficSourceReportR7[0]) === null || _trafficSourceReportR8 === void 0 ? void 0 : _trafficSourceReportR8.value, 10) || 0;\n  var relativePreviousTopTrafficSourceUsers = previousTotalLeads ? previousTopTrafficSourceUsers / previousTotalLeads : 0;\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS\"],\n    metricValue: topTrafficSource,\n    metricValueFormat: format,\n    subText:\n    // eslint-disable-next-line @wordpress/valid-sprintf\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %d: Percentage of leads for the current top traffic source compared to the number of total leads for all traffic sources. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('%s of total leads', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(relativeCurrentTopTrafficSourceUsers, format)),\n    previousValue: relativePreviousTopTrafficSourceUsers,\n    currentValue: relativeCurrentTopTrafficSourceUsers,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopTrafficSourceDrivingLeadsWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopTrafficSourceDrivingLeadsWidget));\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/modules/analytics-4/components/widgets/TopTrafficSourceDrivingLeadsWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingPurchasesWidget.js":
/*!*********************************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingPurchasesWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/KeyMetrics/MetricTileText */ \"./js/components/KeyMetrics/MetricTileText.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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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_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 * TopTrafficSourceDrivingPurchasesWidget component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction TopTrafficSourceDrivingPurchasesWidget(_ref) {\n  var _totalPurchasesReport, _totalPurchasesReport2, _totalPurchasesReport3, _totalPurchasesReport4, _totalPurchasesReport5, _totalPurchasesReport6, _totalPurchasesReport7, _totalPurchasesReport8, _trafficSourceReportR, _trafficSourceReportR2, _totalPurchasesReport9, _totalPurchasesReport10, _totalPurchasesReport11, _trafficSourceReportR3, _trafficSourceReportR4, _trafficSourceReportR5, _totalPurchasesReport12, _totalPurchasesReport13, _totalPurchasesReport14, _trafficSourceReportR6, _trafficSourceReportR7, _trafficSourceReportR8;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var detectedEvents = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n  });\n  var hasDetectedEvent = detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes('purchase');\n  var totalPurchasesReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    metrics: [{\n      name: 'ecommercePurchases'\n    }],\n    reportID: 'analytics-4_top-traffic-source-driving-purchases-widget_widget_totalPurchasesReportOptions'\n  });\n  var trafficSourceReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['sessionDefaultChannelGroup'],\n    metrics: [{\n      name: 'ecommercePurchases'\n    }],\n    limit: 1,\n    orderBy: 'ecommercePurchases',\n    reportID: 'analytics-4_top-traffic-source-driving-purchases-widget_widget_trafficSourceReportOptions'\n  });\n  var totalPurchasesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return hasDetectedEvent ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(totalPurchasesReportOptions) : undefined;\n  }, [hasDetectedEvent, totalPurchasesReportOptions]);\n  // ecommercePurchases metric will always be assigned a value, unlike most\n  // other metrics, where rows would be empty if there is no data, ecommercePurchases\n  // will assign value `0` for each date range if there is no event data. So we need\n  // to verify that value is non-zero for one of the rows, to allow report request for\n  // traffic source. Otherwise zero data will be incorrectly displayed, showing zero for\n  // purchases and comparison, but still include the traffic source.\n  var hasPurchases = (totalPurchasesReport === null || totalPurchasesReport === void 0 ? void 0 : totalPurchasesReport.rows) ? (totalPurchasesReport === null || totalPurchasesReport === void 0 ? void 0 : (_totalPurchasesReport = totalPurchasesReport.rows) === null || _totalPurchasesReport === void 0 ? void 0 : (_totalPurchasesReport2 = _totalPurchasesReport[0]) === null || _totalPurchasesReport2 === void 0 ? void 0 : (_totalPurchasesReport3 = _totalPurchasesReport2.metricValues) === null || _totalPurchasesReport3 === void 0 ? void 0 : (_totalPurchasesReport4 = _totalPurchasesReport3[0]) === null || _totalPurchasesReport4 === void 0 ? void 0 : _totalPurchasesReport4.value) > 0 || (totalPurchasesReport === null || totalPurchasesReport === void 0 ? void 0 : (_totalPurchasesReport5 = totalPurchasesReport.rows) === null || _totalPurchasesReport5 === void 0 ? void 0 : (_totalPurchasesReport6 = _totalPurchasesReport5[1]) === null || _totalPurchasesReport6 === void 0 ? void 0 : (_totalPurchasesReport7 = _totalPurchasesReport6.metricValues) === null || _totalPurchasesReport7 === void 0 ? void 0 : (_totalPurchasesReport8 = _totalPurchasesReport7[0]) === null || _totalPurchasesReport8 === void 0 ? void 0 : _totalPurchasesReport8.value) > 0 : false;\n  var trafficSourceReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return hasDetectedEvent && hasPurchases ? select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(trafficSourceReportOptions) : undefined;\n  }, [hasDetectedEvent, hasPurchases, trafficSourceReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var trafficSourceReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [trafficSourceReportOptions]);\n    var totalPurchasesReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [totalPurchasesReportOptions]);\n    if (trafficSourceReportErrors && totalPurchasesReportErrors) {\n      return [trafficSourceReportErrors, totalPurchasesReportErrors];\n    }\n    return trafficSourceReportErrors || totalPurchasesReportErrors || undefined;\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return hasDetectedEvent ? !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [totalPurchasesReportOptions]) || !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [trafficSourceReportOptions]) && hasPurchases : undefined;\n  });\n  function makeFilter(dateRange, dimensionIndex) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_10__[\"get\"])(row, \"dimensionValues.\".concat(dimensionIndex, \".value\")) === dateRange;\n    };\n  }\n\n  // Prevents running a filter on `report.rows` which could be undefined.\n  var _ref2 = totalPurchasesReport || {},\n    _ref2$rows = _ref2.rows,\n    totalPurchasesReportRows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var _ref3 = trafficSourceReport || {},\n    _ref3$rows = _ref3.rows,\n    trafficSourceReportRows = _ref3$rows === void 0 ? [] : _ref3$rows;\n  var topTrafficSource = ((_trafficSourceReportR = trafficSourceReportRows.filter(makeFilter('date_range_0', 1))[0]) === null || _trafficSourceReportR === void 0 ? void 0 : (_trafficSourceReportR2 = _trafficSourceReportR.dimensionValues) === null || _trafficSourceReportR2 === void 0 ? void 0 : _trafficSourceReportR2[0].value) || '-';\n  var currentTotalPurchases = parseInt((_totalPurchasesReport9 = totalPurchasesReportRows.filter(makeFilter('date_range_0', 0))[0]) === null || _totalPurchasesReport9 === void 0 ? void 0 : (_totalPurchasesReport10 = _totalPurchasesReport9.metricValues) === null || _totalPurchasesReport10 === void 0 ? void 0 : (_totalPurchasesReport11 = _totalPurchasesReport10[0]) === null || _totalPurchasesReport11 === void 0 ? void 0 : _totalPurchasesReport11.value, 10) || 0;\n  var currentTopTrafficSourcePurchases = parseInt((_trafficSourceReportR3 = trafficSourceReportRows.filter(makeFilter('date_range_0', 1))[0]) === null || _trafficSourceReportR3 === void 0 ? void 0 : (_trafficSourceReportR4 = _trafficSourceReportR3.metricValues) === null || _trafficSourceReportR4 === void 0 ? void 0 : (_trafficSourceReportR5 = _trafficSourceReportR4[0]) === null || _trafficSourceReportR5 === void 0 ? void 0 : _trafficSourceReportR5.value, 10) || 0;\n  var relativeCurrentTopTrafficSourcePurchases = currentTotalPurchases ? currentTopTrafficSourcePurchases / currentTotalPurchases : 0;\n  var previousTotalPurchases = parseInt((_totalPurchasesReport12 = totalPurchasesReportRows.filter(makeFilter('date_range_1', 0))[0]) === null || _totalPurchasesReport12 === void 0 ? void 0 : (_totalPurchasesReport13 = _totalPurchasesReport12.metricValues) === null || _totalPurchasesReport13 === void 0 ? void 0 : (_totalPurchasesReport14 = _totalPurchasesReport13[0]) === null || _totalPurchasesReport14 === void 0 ? void 0 : _totalPurchasesReport14.value, 10) || 0;\n  var previousTopTrafficSourcePurchases = parseInt((_trafficSourceReportR6 = trafficSourceReportRows.filter(makeFilter('date_range_1', 1))[0]) === null || _trafficSourceReportR6 === void 0 ? void 0 : (_trafficSourceReportR7 = _trafficSourceReportR6.metricValues) === null || _trafficSourceReportR7 === void 0 ? void 0 : (_trafficSourceReportR8 = _trafficSourceReportR7[0]) === null || _trafficSourceReportR8 === void 0 ? void 0 : _trafficSourceReportR8.value, 10) || 0;\n  var relativePreviousTopTrafficSourcePurchases = previousTotalPurchases ? previousTopTrafficSourcePurchases / previousTotalPurchases : 0;\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES\"],\n    metricValue: topTrafficSource,\n    metricValueFormat: format,\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: Percentage of purchases for the current top traffic source compared to the number of total purchases for all traffic sources. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('%s of total purchases', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(relativeCurrentTopTrafficSourcePurchases, format)),\n    previousValue: relativePreviousTopTrafficSourcePurchases,\n    currentValue: relativeCurrentTopTrafficSourcePurchases,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopTrafficSourceDrivingPurchasesWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopTrafficSourceDrivingPurchasesWidget));\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/modules/analytics-4/components/widgets/TopTrafficSourceDrivingPurchasesWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/TopTrafficSourceWidget.js":
/*!*****************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/TopTrafficSourceWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/KeyMetrics/MetricTileText */ \"./js/components/KeyMetrics/MetricTileText.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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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_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 * TopTrafficSourceWidget component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nfunction TopTrafficSourceWidget(_ref) {\n  var _trafficSourceReportR, _trafficSourceReportR2, _totalUsersReportRows, _totalUsersReportRows2, _totalUsersReportRows3, _trafficSourceReportR3, _trafficSourceReportR4, _trafficSourceReportR5, _totalUsersReportRows4, _totalUsersReportRows5, _totalUsersReportRows6, _trafficSourceReportR6, _trafficSourceReportR7, _trafficSourceReportR8;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var totalUsersReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    metrics: [{\n      name: 'totalUsers'\n    }],\n    reportID: 'analytics-4_top-traffic-source-widget_widget_totalUsersReportOptions'\n  });\n  var trafficSourceReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: ['sessionDefaultChannelGroup'],\n    metrics: [{\n      name: 'totalUsers'\n    }],\n    limit: 1,\n    orderBy: 'totalUsers',\n    reportID: 'analytics-4_top-traffic-source-widget_widget_trafficSourceReportOptions'\n  });\n  var totalUsersReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(totalUsersReportOptions);\n  }, [totalUsersReportOptions]);\n  var trafficSourceReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(trafficSourceReportOptions);\n  }, [trafficSourceReportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var trafficSourceReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [trafficSourceReportOptions]);\n    var totalUsersReportErrors = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [totalUsersReportOptions]);\n    if (trafficSourceReportErrors && totalUsersReportErrors) {\n      return [trafficSourceReportErrors, totalUsersReportErrors];\n    }\n    return trafficSourceReportErrors || totalUsersReportErrors || undefined;\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [totalUsersReportOptions]) || !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [trafficSourceReportOptions]);\n  });\n  function makeFilter(dateRange, dimensionIndex) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_10__[\"get\"])(row, \"dimensionValues.\".concat(dimensionIndex, \".value\")) === dateRange;\n    };\n  }\n\n  // Prevents running a filter on `report.rows` which could be undefined.\n  var _ref2 = totalUsersReport || {},\n    _ref2$rows = _ref2.rows,\n    totalUsersReportRows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  var _ref3 = trafficSourceReport || {},\n    _ref3$rows = _ref3.rows,\n    trafficSourceReportRows = _ref3$rows === void 0 ? [] : _ref3$rows;\n  var topTrafficSource = ((_trafficSourceReportR = trafficSourceReportRows.filter(makeFilter('date_range_0', 1))[0]) === null || _trafficSourceReportR === void 0 ? void 0 : (_trafficSourceReportR2 = _trafficSourceReportR.dimensionValues) === null || _trafficSourceReportR2 === void 0 ? void 0 : _trafficSourceReportR2[0].value) || '-';\n  var currentTotalUsers = parseInt((_totalUsersReportRows = totalUsersReportRows.filter(makeFilter('date_range_0', 0))[0]) === null || _totalUsersReportRows === void 0 ? void 0 : (_totalUsersReportRows2 = _totalUsersReportRows.metricValues) === null || _totalUsersReportRows2 === void 0 ? void 0 : (_totalUsersReportRows3 = _totalUsersReportRows2[0]) === null || _totalUsersReportRows3 === void 0 ? void 0 : _totalUsersReportRows3.value, 10) || 0;\n  var currentTopTrafficSourceUsers = parseInt((_trafficSourceReportR3 = trafficSourceReportRows.filter(makeFilter('date_range_0', 1))[0]) === null || _trafficSourceReportR3 === void 0 ? void 0 : (_trafficSourceReportR4 = _trafficSourceReportR3.metricValues) === null || _trafficSourceReportR4 === void 0 ? void 0 : (_trafficSourceReportR5 = _trafficSourceReportR4[0]) === null || _trafficSourceReportR5 === void 0 ? void 0 : _trafficSourceReportR5.value, 10) || 0;\n  var relativeCurrentTopTrafficSourceUsers = currentTotalUsers ? currentTopTrafficSourceUsers / currentTotalUsers : 0;\n  var previousTotalUsers = parseInt((_totalUsersReportRows4 = totalUsersReportRows.filter(makeFilter('date_range_1', 0))[0]) === null || _totalUsersReportRows4 === void 0 ? void 0 : (_totalUsersReportRows5 = _totalUsersReportRows4.metricValues) === null || _totalUsersReportRows5 === void 0 ? void 0 : (_totalUsersReportRows6 = _totalUsersReportRows5[0]) === null || _totalUsersReportRows6 === void 0 ? void 0 : _totalUsersReportRows6.value, 10) || 0;\n  var previousTopTrafficSourceUsers = parseInt((_trafficSourceReportR6 = trafficSourceReportRows.filter(makeFilter('date_range_1', 1))[0]) === null || _trafficSourceReportR6 === void 0 ? void 0 : (_trafficSourceReportR7 = _trafficSourceReportR6.metricValues) === null || _trafficSourceReportR7 === void 0 ? void 0 : (_trafficSourceReportR8 = _trafficSourceReportR7[0]) === null || _trafficSourceReportR8 === void 0 ? void 0 : _trafficSourceReportR8.value, 10) || 0;\n  var relativePreviousTopTrafficSourceUsers = previousTotalUsers ? previousTopTrafficSourceUsers / previousTotalUsers : 0;\n  var format = {\n    style: 'percent',\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  };\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics_MetricTileText__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE\"],\n    metricValue: topTrafficSource,\n    metricValueFormat: format,\n    subText:\n    // eslint-disable-next-line @wordpress/valid-sprintf\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %d: Percentage of users for the current top traffic source compared to the number of total users for all traffic sources. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('%s of total traffic', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_9__[\"numFmt\"])(relativeCurrentTopTrafficSourceUsers, format)),\n    previousValue: relativePreviousTopTrafficSourceUsers,\n    currentValue: relativeCurrentTopTrafficSourceUsers,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nTopTrafficSourceWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(TopTrafficSourceWidget));\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/modules/analytics-4/components/widgets/TopTrafficSourceWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/VisitLengthWidget.js":
/*!************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/VisitLengthWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_i18n__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/i18n */ \"./js/util/i18n.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.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_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 * VisitLengthWidget component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction VisitLengthWidget(_ref) {\n  var _rows$find, _rows$find$metricValu, _rows$find$metricValu2, _rows$find2, _rows$find2$metricVal, _rows$find2$metricVal2, _rows$find3, _rows$find3$metricVal, _rows$find3$metricVal2;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    metrics: [{\n      name: 'averageSessionDuration'\n    }, {\n      name: 'sessions'\n    }],\n    reportID: 'analytics-4_visit-length-widget_widget_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]);\n  });\n  var _ref2 = report || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  function makeFind(dateRange) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(row, 'dimensionValues.0.value') === dateRange;\n    };\n  }\n  var currentVisitLength = Number((_rows$find = rows.find(makeFind('date_range_0'))) === null || _rows$find === void 0 ? void 0 : (_rows$find$metricValu = _rows$find.metricValues) === null || _rows$find$metricValu === void 0 ? void 0 : (_rows$find$metricValu2 = _rows$find$metricValu[0]) === null || _rows$find$metricValu2 === void 0 ? void 0 : _rows$find$metricValu2.value) || 0;\n  var previousVisitLength = Number((_rows$find2 = rows.find(makeFind('date_range_1'))) === null || _rows$find2 === void 0 ? void 0 : (_rows$find2$metricVal = _rows$find2.metricValues) === null || _rows$find2$metricVal === void 0 ? void 0 : (_rows$find2$metricVal2 = _rows$find2$metricVal[0]) === null || _rows$find2$metricVal2 === void 0 ? void 0 : _rows$find2$metricVal2.value) || 0;\n  var currentTotalSessions = Number((_rows$find3 = rows.find(makeFind('date_range_0'))) === null || _rows$find3 === void 0 ? void 0 : (_rows$find3$metricVal = _rows$find3.metricValues) === null || _rows$find3$metricVal === void 0 ? void 0 : (_rows$find3$metricVal2 = _rows$find3$metricVal[1]) === null || _rows$find3$metricVal2 === void 0 ? void 0 : _rows$find3$metricVal2.value) || 0;\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__[\"MetricTileNumeric\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_VISIT_LENGTH\"],\n    metricValue: currentVisitLength,\n    metricValueFormat: \"s\",\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %s: Number of total page views. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('%s total visits', 'google-site-kit'), Object(_js_util_i18n__WEBPACK_IMPORTED_MODULE_10__[\"numFmt\"])(currentTotalSessions, {\n      style: 'decimal'\n    })),\n    previousValue: previousVisitLength,\n    currentValue: currentVisitLength,\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nVisitLengthWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]\n})(VisitLengthWidget));\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/modules/analytics-4/components/widgets/VisitLengthWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/VisitsPerVisitorWidget.js":
/*!*****************************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/VisitsPerVisitorWidget.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 _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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__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/* 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_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_when_active__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.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_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 * VisitsPerVisitorWidget component.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction VisitsPerVisitorWidget(_ref) {\n  var _rows$find, _rows$find$metricValu, _rows$find$metricValu2, _rows$find2, _rows$find2$metricVal, _rows$find2$metricVal2, _rows$find3, _rows$find3$metricVal, _rows$find3$metricVal2;\n  var Widget = _ref.Widget;\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    metrics: [{\n      name: 'sessionsPerUser'\n    }, {\n      name: 'sessions'\n    }],\n    reportID: 'analytics-4_visits-per-visitor-widget_widget_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [reportOptions]);\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var loading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return !select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]);\n  });\n  var _ref2 = report || {},\n    _ref2$rows = _ref2.rows,\n    rows = _ref2$rows === void 0 ? [] : _ref2$rows;\n  function makeFind(dateRange) {\n    return function (row) {\n      return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(row, 'dimensionValues.0.value') === dateRange;\n    };\n  }\n  var currentVisitsPerVisitor = ((_rows$find = rows.find(makeFind('date_range_0'))) === null || _rows$find === void 0 ? void 0 : (_rows$find$metricValu = _rows$find.metricValues) === null || _rows$find$metricValu === void 0 ? void 0 : (_rows$find$metricValu2 = _rows$find$metricValu[0]) === null || _rows$find$metricValu2 === void 0 ? void 0 : _rows$find$metricValu2.value) || 0;\n  var previousVisitsPerVisitor = ((_rows$find2 = rows.find(makeFind('date_range_1'))) === null || _rows$find2 === void 0 ? void 0 : (_rows$find2$metricVal = _rows$find2.metricValues) === null || _rows$find2$metricVal === void 0 ? void 0 : (_rows$find2$metricVal2 = _rows$find2$metricVal[0]) === null || _rows$find2$metricVal2 === void 0 ? void 0 : _rows$find2$metricVal2.value) || 0;\n  var currentTotalSessions = Number((_rows$find3 = rows.find(makeFind('date_range_0'))) === null || _rows$find3 === void 0 ? void 0 : (_rows$find3$metricVal = _rows$find3.metricValues) === null || _rows$find3$metricVal === void 0 ? void 0 : (_rows$find3$metricVal2 = _rows$find3$metricVal[1]) === null || _rows$find3$metricVal2 === void 0 ? void 0 : _rows$find3$metricVal2.value) || 0;\n  return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_9__[\"MetricTileNumeric\"], {\n    Widget: Widget,\n    widgetSlug: _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"KM_ANALYTICS_VISITS_PER_VISITOR\"],\n    metricValue: currentVisitsPerVisitor,\n    subText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"sprintf\"])(/* translators: %d: Number of total visits to the site. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('%s total visits', 'google-site-kit'), Object(_js_util__WEBPACK_IMPORTED_MODULE_12__[\"numFmt\"])(currentTotalSessions, {\n      style: 'decimal'\n    })),\n    previousValue: Number(previousVisitsPerVisitor),\n    currentValue: Number(currentVisitsPerVisitor),\n    loading: loading,\n    error: error,\n    moduleSlug: \"analytics-4\"\n  });\n}\nVisitsPerVisitorWidget.propTypes = {\n  Widget: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_js_util_when_active__WEBPACK_IMPORTED_MODULE_10__[\"default\"])({\n  moduleName: _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"],\n  FallbackComponent: _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n})(VisitsPerVisitorWidget));\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/modules/analytics-4/components/widgets/VisitsPerVisitorWidget.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/components/widgets/index.js":
/*!************************************************************!*\
  !*** ./js/modules/analytics-4/components/widgets/index.js ***!
  \************************************************************/
/*! exports provided: ConnectGA4CTATileWidget, ConnectGA4CTAWidget, ConversionReportingNotificationCTAWidget, EngagedTrafficSourceWidget, LeastEngagingPagesWidget, MostEngagingPagesWidget, NewVisitorsWidget, PopularContentWidget, PopularProductsWidget, ReturningVisitorsWidget, TopCitiesWidget, TopCitiesDrivingLeadsWidget, TopCitiesDrivingAddToCartWidget, TopCitiesDrivingPurchasesWidget, TopDeviceDrivingPurchasesWidget, TopCountriesWidget, TopTrafficSourceWidget, TopTrafficSourceDrivingAddToCartWidget, TopTrafficSourceDrivingLeadsWidget, TopConvertingTrafficSourceWidget, TopTrafficSourceDrivingPurchasesWidget, PagesPerVisitWidget, VisitLengthWidget, TopReturningVisitorPages, VisitsPerVisitorWidget, TopRecentTrendingPagesWidget, TopCategoriesWidget, TopPagesDrivingLeadsWidget, PopularAuthorsWidget */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ConnectGA4CTATileWidget\", function() { return _ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _ConnectGA4CTAWidget__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ConnectGA4CTAWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTAWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ConnectGA4CTAWidget\", function() { return _ConnectGA4CTAWidget__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _ConversionReportingNotificationCTAWidget__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ConversionReportingNotificationCTAWidget */ \"./js/modules/analytics-4/components/widgets/ConversionReportingNotificationCTAWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ConversionReportingNotificationCTAWidget\", function() { return _ConversionReportingNotificationCTAWidget__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _EngagedTrafficSourceWidget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./EngagedTrafficSourceWidget */ \"./js/modules/analytics-4/components/widgets/EngagedTrafficSourceWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EngagedTrafficSourceWidget\", function() { return _EngagedTrafficSourceWidget__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _LeastEngagingPagesWidget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LeastEngagingPagesWidget */ \"./js/modules/analytics-4/components/widgets/LeastEngagingPagesWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LeastEngagingPagesWidget\", function() { return _LeastEngagingPagesWidget__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _MostEngagingPagesWidget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./MostEngagingPagesWidget */ \"./js/modules/analytics-4/components/widgets/MostEngagingPagesWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MostEngagingPagesWidget\", function() { return _MostEngagingPagesWidget__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _NewVisitorsWidget__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./NewVisitorsWidget */ \"./js/modules/analytics-4/components/widgets/NewVisitorsWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"NewVisitorsWidget\", function() { return _NewVisitorsWidget__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _PopularContentWidget__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PopularContentWidget */ \"./js/modules/analytics-4/components/widgets/PopularContentWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PopularContentWidget\", function() { return _PopularContentWidget__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _PopularProductsWidget__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./PopularProductsWidget */ \"./js/modules/analytics-4/components/widgets/PopularProductsWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PopularProductsWidget\", function() { return _PopularProductsWidget__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n/* harmony import */ var _ReturningVisitorsWidget__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ReturningVisitorsWidget */ \"./js/modules/analytics-4/components/widgets/ReturningVisitorsWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ReturningVisitorsWidget\", function() { return _ReturningVisitorsWidget__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; });\n\n/* harmony import */ var _TopCitiesWidget__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./TopCitiesWidget */ \"./js/modules/analytics-4/components/widgets/TopCitiesWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopCitiesWidget\", function() { return _TopCitiesWidget__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; });\n\n/* harmony import */ var _TopCitiesDrivingLeadsWidget__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./TopCitiesDrivingLeadsWidget */ \"./js/modules/analytics-4/components/widgets/TopCitiesDrivingLeadsWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopCitiesDrivingLeadsWidget\", function() { return _TopCitiesDrivingLeadsWidget__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; });\n\n/* harmony import */ var _TopCitiesDrivingAddToCartWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./TopCitiesDrivingAddToCartWidget */ \"./js/modules/analytics-4/components/widgets/TopCitiesDrivingAddToCartWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopCitiesDrivingAddToCartWidget\", function() { return _TopCitiesDrivingAddToCartWidget__WEBPACK_IMPORTED_MODULE_12__[\"default\"]; });\n\n/* harmony import */ var _TopCitiesDrivingPurchasesWidget__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./TopCitiesDrivingPurchasesWidget */ \"./js/modules/analytics-4/components/widgets/TopCitiesDrivingPurchasesWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopCitiesDrivingPurchasesWidget\", function() { return _TopCitiesDrivingPurchasesWidget__WEBPACK_IMPORTED_MODULE_13__[\"default\"]; });\n\n/* harmony import */ var _TopDeviceDrivingPurchasesWidget__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./TopDeviceDrivingPurchasesWidget */ \"./js/modules/analytics-4/components/widgets/TopDeviceDrivingPurchasesWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopDeviceDrivingPurchasesWidget\", function() { return _TopDeviceDrivingPurchasesWidget__WEBPACK_IMPORTED_MODULE_14__[\"default\"]; });\n\n/* harmony import */ var _TopCountriesWidget__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./TopCountriesWidget */ \"./js/modules/analytics-4/components/widgets/TopCountriesWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopCountriesWidget\", function() { return _TopCountriesWidget__WEBPACK_IMPORTED_MODULE_15__[\"default\"]; });\n\n/* harmony import */ var _TopTrafficSourceWidget__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./TopTrafficSourceWidget */ \"./js/modules/analytics-4/components/widgets/TopTrafficSourceWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopTrafficSourceWidget\", function() { return _TopTrafficSourceWidget__WEBPACK_IMPORTED_MODULE_16__[\"default\"]; });\n\n/* harmony import */ var _TopTrafficSourceDrivingAddToCartWidget__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./TopTrafficSourceDrivingAddToCartWidget */ \"./js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingAddToCartWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopTrafficSourceDrivingAddToCartWidget\", function() { return _TopTrafficSourceDrivingAddToCartWidget__WEBPACK_IMPORTED_MODULE_17__[\"default\"]; });\n\n/* harmony import */ var _TopTrafficSourceDrivingLeadsWidget__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./TopTrafficSourceDrivingLeadsWidget */ \"./js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingLeadsWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopTrafficSourceDrivingLeadsWidget\", function() { return _TopTrafficSourceDrivingLeadsWidget__WEBPACK_IMPORTED_MODULE_18__[\"default\"]; });\n\n/* harmony import */ var _TopConvertingTrafficSourceWidget__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./TopConvertingTrafficSourceWidget */ \"./js/modules/analytics-4/components/widgets/TopConvertingTrafficSourceWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopConvertingTrafficSourceWidget\", function() { return _TopConvertingTrafficSourceWidget__WEBPACK_IMPORTED_MODULE_19__[\"default\"]; });\n\n/* harmony import */ var _TopTrafficSourceDrivingPurchasesWidget__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./TopTrafficSourceDrivingPurchasesWidget */ \"./js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingPurchasesWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopTrafficSourceDrivingPurchasesWidget\", function() { return _TopTrafficSourceDrivingPurchasesWidget__WEBPACK_IMPORTED_MODULE_20__[\"default\"]; });\n\n/* harmony import */ var _PagesPerVisitWidget__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./PagesPerVisitWidget */ \"./js/modules/analytics-4/components/widgets/PagesPerVisitWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PagesPerVisitWidget\", function() { return _PagesPerVisitWidget__WEBPACK_IMPORTED_MODULE_21__[\"default\"]; });\n\n/* harmony import */ var _VisitLengthWidget__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./VisitLengthWidget */ \"./js/modules/analytics-4/components/widgets/VisitLengthWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VisitLengthWidget\", function() { return _VisitLengthWidget__WEBPACK_IMPORTED_MODULE_22__[\"default\"]; });\n\n/* harmony import */ var _TopReturningVisitorPages__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./TopReturningVisitorPages */ \"./js/modules/analytics-4/components/widgets/TopReturningVisitorPages.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopReturningVisitorPages\", function() { return _TopReturningVisitorPages__WEBPACK_IMPORTED_MODULE_23__[\"default\"]; });\n\n/* harmony import */ var _VisitsPerVisitorWidget__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./VisitsPerVisitorWidget */ \"./js/modules/analytics-4/components/widgets/VisitsPerVisitorWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VisitsPerVisitorWidget\", function() { return _VisitsPerVisitorWidget__WEBPACK_IMPORTED_MODULE_24__[\"default\"]; });\n\n/* harmony import */ var _TopRecentTrendingPagesWidget__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./TopRecentTrendingPagesWidget */ \"./js/modules/analytics-4/components/widgets/TopRecentTrendingPagesWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopRecentTrendingPagesWidget\", function() { return _TopRecentTrendingPagesWidget__WEBPACK_IMPORTED_MODULE_25__[\"default\"]; });\n\n/* harmony import */ var _TopCategoriesWidget__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./TopCategoriesWidget */ \"./js/modules/analytics-4/components/widgets/TopCategoriesWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopCategoriesWidget\", function() { return _TopCategoriesWidget__WEBPACK_IMPORTED_MODULE_26__[\"default\"]; });\n\n/* harmony import */ var _TopPagesDrivingLeadsWidget__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./TopPagesDrivingLeadsWidget */ \"./js/modules/analytics-4/components/widgets/TopPagesDrivingLeadsWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopPagesDrivingLeadsWidget\", function() { return _TopPagesDrivingLeadsWidget__WEBPACK_IMPORTED_MODULE_27__[\"default\"]; });\n\n/* harmony import */ var _PopularAuthorsWidget__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./PopularAuthorsWidget */ \"./js/modules/analytics-4/components/widgets/PopularAuthorsWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PopularAuthorsWidget\", function() { return _PopularAuthorsWidget__WEBPACK_IMPORTED_MODULE_28__[\"default\"]; });\n\n/**\n * GA4 Key Metrics widget components.\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/components/widgets/index.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29uc3RhbnRzLmpzPzBlZWEiXSw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E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBR0E7QUFFQTtBQUVBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/constants.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/accounts.js":
/*!******************************************************!*\
  !*** ./js/modules/analytics-4/datastore/accounts.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_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 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_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __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_9__ = __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_10__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n/* harmony import */ var _js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_util_case_insensitive_sort__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util/case-insensitive-sort */ \"./js/util/case-insensitive-sort.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_account__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/account */ \"./js/modules/analytics-4/utils/account.js\");\n\n\n/**\n * `modules/analytics-4` data store: accounts.\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\n\n\n\n\n\n\n\nvar receiveError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__[\"actions\"].receiveError,\n  clearError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__[\"actions\"].clearError,\n  clearErrors = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__[\"actions\"].clearErrors;\nvar fetchGetAccountSummariesStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__[\"createFetchStore\"])({\n  baseName: 'getAccountSummaries',\n  controlCallback: function controlCallback(_ref) {\n    var pageToken = _ref.pageToken;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"], 'account-summaries', {\n      pageToken: pageToken\n    }, {\n      useCache: false\n    });\n  },\n  argsToParams: function argsToParams(pageToken) {\n    return {\n      pageToken: pageToken\n    };\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, response) {\n    state.accountSummaries = [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(state.accountSummaries || []), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_analytics_4_utils_account__WEBPACK_IMPORTED_MODULE_14__[\"populateAccountSummaries\"])(response.accountSummaries || [])));\n  })\n});\nvar fetchCreateAccountStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__[\"createFetchStore\"])({\n  baseName: 'createAccount',\n  controlCallback: function controlCallback(_ref2) {\n    var data = _ref2.data;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"], 'create-account-ticket', data);\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(\n  // eslint-disable-next-line sitekit/acronym-case\n  function (state, _ref3) {\n    var accountTicketID = _ref3.accountTicketId;\n    state.accountTicketID = accountTicketID;\n  }),\n  argsToParams: function argsToParams(data) {\n    return {\n      data: data\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      data = _ref4.data;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(data), 'data must be an object.');\n  }\n});\n\n// Actions.\nvar START_SELECTING_ACCOUNT = 'START_SELECTING_ACCOUNT';\nvar FINISH_SELECTING_ACCOUNT = 'FINISH_SELECTING_ACCOUNT';\nvar RESET_ACCOUNT_SUMMARIES = 'RESET_ACCOUNT_SUMMARIES';\nvar RESET_ACCOUNT_SETTINGS = 'RESET_ACCOUNT_SETTINGS';\nvar SORT_ACCOUNT_SUMMARIES = 'SORT_ACCOUNT_SUMMARIES';\nvar baseInitialState = {\n  accountSummaries: undefined,\n  accountTicketID: undefined,\n  finishedSelectingAccount: undefined\n};\nvar baseActions = {\n  /**\n   * Resets the account summaries.\n   *\n   * @since 1.118.0\n   *\n   * @return {Object} Redux-style action.\n   */\n  resetAccountSummaries: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function resetAccountSummaries() {\n    var _yield$commonActions$, dispatch;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function resetAccountSummaries$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context.sent;\n            dispatch = _yield$commonActions$.dispatch;\n            _context.next = 6;\n            return {\n              payload: {},\n              type: RESET_ACCOUNT_SUMMARIES\n            };\n          case 6:\n            return _context.abrupt(\"return\", dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).invalidateResolutionForStoreSelector('getAccountSummaries'));\n          case 7:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, resetAccountSummaries);\n  }),\n  /**\n   * Resets the account settings.\n   *\n   * @since 1.138.0\n   *\n   * @return {Object} Redux-style action.\n   */\n  resetAccountSettings: function resetAccountSettings() {\n    return {\n      payload: {},\n      type: RESET_ACCOUNT_SETTINGS\n    };\n  },\n  /**\n   * Creates a new Analytics (GA4) account.\n   *\n   * @since 1.98.0\n   *\n   * @return {Object} Object with `response` and `error`.\n   */\n  createAccount: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function createAccount() {\n    var registry, _registry$select, getValue, data, _yield$fetchCreateAcc, response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function createAccount$(_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            registry = _context2.sent;\n            _registry$select = registry.select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]), getValue = _registry$select.getValue;\n            data = {\n              displayName: getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'accountName'),\n              propertyName: getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'propertyName'),\n              dataStreamName: getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'dataStreamName'),\n              timezone: getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'timezone'),\n              regionCode: getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'countryCode'),\n              enhancedMeasurementStreamEnabled: getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], _constants__WEBPACK_IMPORTED_MODULE_7__[\"ENHANCED_MEASUREMENT_ENABLED\"])\n            };\n            _context2.next = 7;\n            return clearError('createAccount', []);\n          case 7:\n            _context2.next = 9;\n            return fetchCreateAccountStore.actions.fetchCreateAccount(data);\n          case 9:\n            _yield$fetchCreateAcc = _context2.sent;\n            response = _yield$fetchCreateAcc.response;\n            error = _yield$fetchCreateAcc.error;\n            if (!error) {\n              _context2.next = 15;\n              break;\n            }\n            _context2.next = 15;\n            return receiveError(error, 'createAccount', []);\n          case 15:\n            return _context2.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 16:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, createAccount);\n  }),\n  /**\n   * Sets the given account in the store.\n   *\n   * @since 1.119.0\n   *\n   * @param {string} accountID Analytics account ID.\n   * @return {Object} A generator function.\n   */\n  selectAccount: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_11__[\"createValidatedAction\"])(function (accountID) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__[\"isValidAccountSelection\"])(accountID), 'A valid accountID is required to select.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(accountID) {\n    var registry, finishSelectingAccountAction;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context3.sent;\n            finishSelectingAccountAction = {\n              type: FINISH_SELECTING_ACCOUNT,\n              payload: {}\n            };\n            _context3.next = 6;\n            return {\n              type: START_SELECTING_ACCOUNT,\n              payload: {}\n            };\n          case 6:\n            _context3.next = 8;\n            return clearErrors();\n          case 8:\n            registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).setSettings({\n              accountID: accountID,\n              propertyID: '',\n              webDataStreamID: ''\n            });\n            if (!(_constants__WEBPACK_IMPORTED_MODULE_7__[\"ACCOUNT_CREATE\"] === accountID)) {\n              _context3.next = 13;\n              break;\n            }\n            _context3.next = 12;\n            return finishSelectingAccountAction;\n          case 12:\n            return _context3.abrupt(\"return\");\n          case 13:\n            _context3.next = 15;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).matchAndSelectProperty(accountID, _constants__WEBPACK_IMPORTED_MODULE_7__[\"PROPERTY_CREATE\"]));\n          case 15:\n            _context3.next = 17;\n            return finishSelectingAccountAction;\n          case 17:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, _callee);\n  })),\n  /**\n   * Finds a matching account summary.\n   *\n   * @since 1.118.0\n   *\n   * @return {Object|null} Matching account summary on success, otherwise NULL.\n   */\n  findMatchedAccount: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function findMatchedAccount() {\n    var registry, matchedProperty, accountSummaries, matchedAccount;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function findMatchedAccount$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _context4.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context4.sent;\n            _context4.next = 5;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).findMatchedProperty());\n          case 5:\n            matchedProperty = _context4.sent;\n            if (matchedProperty) {\n              _context4.next = 8;\n              break;\n            }\n            return _context4.abrupt(\"return\", null);\n          case 8:\n            _context4.next = 10;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries());\n          case 10:\n            accountSummaries = _context4.sent;\n            matchedAccount = accountSummaries.find(function (account) {\n              return account.propertySummaries.some(function (_ref5) {\n                var _id = _ref5._id;\n                return _id === matchedProperty._id;\n              });\n            });\n            return _context4.abrupt(\"return\", matchedAccount || null);\n          case 13:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, findMatchedAccount);\n  }),\n  /**\n   * Sorts account summaries.\n   *\n   * @since 1.147.0\n   *\n   * @return {Object} Redux-style action.\n   */\n  sortAccountSummaries: function sortAccountSummaries() {\n    return {\n      type: SORT_ACCOUNT_SUMMARIES\n    };\n  }\n};\nvar baseControls = {};\n\n/**\n * Creates immer reducer.\n */\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, _ref6) {\n  var _state$accountSummari;\n  var type = _ref6.type;\n  switch (type) {\n    case START_SELECTING_ACCOUNT:\n      state.finishedSelectingAccount = false;\n      break;\n    case FINISH_SELECTING_ACCOUNT:\n      state.finishedSelectingAccount = true;\n      break;\n    case RESET_ACCOUNT_SUMMARIES:\n      state.accountSummaries = undefined;\n      break;\n    case RESET_ACCOUNT_SETTINGS:\n      state.settings.accountID = undefined;\n      state.settings.propertyID = undefined;\n      state.settings.measurementID = undefined;\n      state.settings.webDataStreamID = undefined;\n      break;\n    case SORT_ACCOUNT_SUMMARIES:\n      if (!((_state$accountSummari = state.accountSummaries) === null || _state$accountSummari === void 0 ? void 0 : _state$accountSummari.length)) {\n        return;\n      }\n      state.accountSummaries = Object(_js_util_case_insensitive_sort__WEBPACK_IMPORTED_MODULE_13__[\"caseInsensitiveListSort\"])(state.accountSummaries, 'displayName');\n  }\n});\nvar baseResolvers = {\n  getAccountSummaries: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getAccountSummaries() {\n    var registry, nextPageToken, summaries, _yield$fetchGetAccoun, error, response;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getAccountSummaries$(_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            nextPageToken = '';\n            summaries = registry.select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries(); // Fetch initial account summaries if they are undefined.\n            if (!(summaries === undefined)) {\n              _context5.next = 15;\n              break;\n            }\n          case 6:\n            _context5.next = 8;\n            return fetchGetAccountSummariesStore.actions.fetchGetAccountSummaries(nextPageToken);\n          case 8:\n            _yield$fetchGetAccoun = _context5.sent;\n            error = _yield$fetchGetAccoun.error;\n            response = _yield$fetchGetAccoun.response;\n            nextPageToken = (response === null || response === void 0 ? void 0 : response.nextPageToken) || '';\n            if (!error) {\n              _context5.next = 14;\n              break;\n            }\n            return _context5.abrupt(\"break\", 15);\n          case 14:\n            if (nextPageToken) {\n              _context5.next = 6;\n              break;\n            }\n          case 15:\n            _context5.next = 17;\n            return baseActions.sortAccountSummaries();\n          case 17:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, getAccountSummaries);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets account summaries.\n   *\n   * @since 1.32.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Array.<Object>} Account summaries array.\n   */\n  getAccountSummaries: function getAccountSummaries(state) {\n    return state.accountSummaries;\n  },\n  /**\n   * Indicates whether account creation is currently in progress.\n   *\n   * @since 1.98.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} True if an account is being created, false otherwise.\n   */\n  isDoingCreateAccount: function isDoingCreateAccount(state) {\n    // Since isFetchingCreateAccount (via createFetchStore)\n    // holds information based on specific values but we only need\n    // generic information here, we need to check whether ANY such\n    // request is in progress.\n    return Object.values(state.isFetchingCreateAccount).some(Boolean);\n  },\n  /**\n   * Get the terms of service URL.\n   *\n   * @since 1.98.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(string|undefined)} The terms of service URL.\n   */\n  getAccountTicketTermsOfServiceURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      var accountTicketID = state.accountTicketID;\n      if (accountTicketID === undefined) {\n        return undefined;\n      }\n      var termsOfServiceURL = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getServiceURL({\n        path: \"/termsofservice/\".concat(accountTicketID),\n        query: {\n          provisioningSignup: 'false'\n        }\n      });\n      if (!termsOfServiceURL) {\n        return undefined;\n      }\n      return termsOfServiceURL;\n    };\n  }),\n  /**\n   * Whether or not the account create form is valid to submit.\n   *\n   * @since 1.98.0\n   * @private\n   *\n   * @return {boolean} True if valid, otherwise false.\n   */\n  canSubmitAccountCreate: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]),\n        getValue = _select.getValue;\n      if (!getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'accountName')) {\n        return false;\n      }\n      if (!getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'propertyName')) {\n        return false;\n      }\n      if (!getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'dataStreamName')) {\n        return false;\n      }\n      if (!getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'timezone')) {\n        return false;\n      }\n      if (!getValue(_constants__WEBPACK_IMPORTED_MODULE_7__[\"FORM_ACCOUNT_CREATE\"], 'countryCode')) {\n        return false;\n      }\n      return true;\n    };\n  }),\n  /**\n   * Determines whether the account selection process has finished or not.\n   *\n   * @since 1.119.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|undefined} Initially undefined, TRUE if the account selection process has finished, otherwise FALSE.\n   */\n  hasFinishedSelectingAccount: function hasFinishedSelectingAccount(state) {\n    return state.finishedSelectingAccount;\n  }\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"combineStores\"])(fetchGetAccountSummariesStore, fetchCreateAccountStore, {\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/modules/analytics-4/datastore/accounts.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/audience-settings.js":
/*!***************************************************************!*\
  !*** ./js/modules/analytics-4/datastore/audience-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_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 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 _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __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_8__ = __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_9__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-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_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 * `modules/analytics-4` data store: audience settings.\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\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nvar receiveError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__[\"actions\"].receiveError,\n  clearError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__[\"actions\"].clearError;\n/**\n * Validates audience settings.\n *\n * @since 1.148.0\n *\n * @param {Object} audienceSettings Audience settings to validate.\n * @return {void}\n */\nfunction validateAudienceSettings(audienceSettings) {\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(audienceSettings), 'audienceSettings should be an object.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(Array.isArray(audienceSettings.availableAudiences), 'availableAudiences should be an array.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(typeof audienceSettings.audienceSegmentationSetupCompletedBy === 'number', 'audienceSegmentationSetupCompletedBy should be an integer.');\n}\nvar fetchStoreReducerCallback = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, settings) {\n  state.audienceSettings = settings;\n});\nvar fetchGetAudienceSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'getAudienceSettings',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"], 'audience-settings', {}, {\n      useCache: false\n    });\n  },\n  reducerCallback: fetchStoreReducerCallback\n});\nvar fetchSaveAudienceSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'saveAudienceSettings',\n  controlCallback: function controlCallback(settings) {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"], 'save-audience-settings', {\n      settings: settings\n    });\n  },\n  reducerCallback: fetchStoreReducerCallback,\n  argsToParams: function argsToParams(settings) {\n    return settings;\n  },\n  validateParams: validateAudienceSettings\n});\nvar fetchSyncAvailableAudiencesStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'syncAvailableAudiences',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"], 'sync-audiences');\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, audiences) {\n    if (!state.audienceSettings) {\n      state.audienceSettings = {};\n    }\n    state.audienceSettings.availableAudiences = audiences;\n  })\n});\n\n// Actions\nvar SET_AVAILABLE_AUDIENCES = 'SET_AVAILABLE_AUDIENCES';\nvar SET_AUDIENCE_SEGMENTATION_SETUP_COMPLETED_BY = 'SET_AUDIENCE_SEGMENTATION_SETUP_COMPLETED_BY';\nvar baseInitialState = {\n  audienceSettings: undefined\n};\nvar baseActions = {\n  /**\n   * Sets the available audiences.\n   *\n   * @since 1.148.0\n   *\n   * @param {Array} availableAudiences Available audience resource names.\n   * @return {Object} Redux-style action.\n   */\n  setAvailableAudiences: function setAvailableAudiences(availableAudiences) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Array.isArray(availableAudiences), 'Available audiences should be an array.');\n    return {\n      type: SET_AVAILABLE_AUDIENCES,\n      payload: {\n        availableAudiences: availableAudiences\n      }\n    };\n  },\n  /**\n   * Sets the user who set up Audience Segmentation.\n   *\n   * @since 1.148.0\n   *\n   * @param {number} audienceSegmentationSetupCompletedBy ID for the user who set up Audience Segmentation.\n   * @return {Object} Redux-style action.\n   */\n  setAudienceSegmentationSetupCompletedBy: function setAudienceSegmentationSetupCompletedBy(audienceSegmentationSetupCompletedBy) {\n    // Should be an integer.\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(typeof audienceSegmentationSetupCompletedBy === 'number', 'audienceSegmentationSetupCompletedBy by should be an integer.');\n    return {\n      type: SET_AUDIENCE_SEGMENTATION_SETUP_COMPLETED_BY,\n      payload: {\n        audienceSegmentationSetupCompletedBy: audienceSegmentationSetupCompletedBy\n      }\n    };\n  },\n  /**\n   * Saves the audience settings.\n   *\n   * @since 1.148.0\n   *\n   * @param {Object} settings Audience settings to save.\n   * @return {Object} Object with `response` and `error`.\n   */\n  saveAudienceSettings: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_9__[\"createValidatedAction\"])(function (settings) {\n    validateAudienceSettings(settings);\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee(settings) {\n    var _yield$fetchSaveAudie, response, error;\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            _context.next = 2;\n            return clearError('saveAudienceSettings', []);\n          case 2:\n            _context.next = 4;\n            return fetchSaveAudienceSettingsStore.actions.fetchSaveAudienceSettings(settings);\n          case 4:\n            _yield$fetchSaveAudie = _context.sent;\n            response = _yield$fetchSaveAudie.response;\n            error = _yield$fetchSaveAudie.error;\n            if (!error) {\n              _context.next = 10;\n              break;\n            }\n            _context.next = 10;\n            return receiveError(error, 'saveAudienceSettings', []);\n          case 10:\n            return _context.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 11:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  }))\n};\nvar baseResolvers = {\n  getAudienceSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getAudienceSettings() {\n    var registry, select, audienceSettings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getAudienceSettings$(_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            registry = _context2.sent;\n            select = registry.select;\n            audienceSettings = select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAudienceSettings();\n            if (!(audienceSettings === undefined)) {\n              _context2.next = 8;\n              break;\n            }\n            _context2.next = 8;\n            return fetchGetAudienceSettingsStore.actions.fetchGetAudienceSettings();\n          case 8:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, getAudienceSettings);\n  }),\n  getOrSyncAvailableAudiences: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getOrSyncAvailableAudiences() {\n    var registry, audiences;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getOrSyncAvailableAudiences$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context3.sent;\n            audiences = registry.select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAvailableAudiences();\n            if (audiences === null) {\n              registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).syncAvailableAudiences();\n            }\n          case 5:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, getOrSyncAvailableAudiences);\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_AVAILABLE_AUDIENCES:\n      var availableAudiences = payload.availableAudiences;\n      state.audienceSettings = _objectSpread(_objectSpread({}, state.audienceSettings), {}, {\n        availableAudiences: availableAudiences\n      });\n      break;\n    case SET_AUDIENCE_SEGMENTATION_SETUP_COMPLETED_BY:\n      var audienceSegmentationSetupCompletedBy = payload.audienceSegmentationSetupCompletedBy;\n      state.audienceSettings = _objectSpread(_objectSpread({}, state.audienceSettings), {}, {\n        audienceSegmentationSetupCompletedBy: audienceSegmentationSetupCompletedBy\n      });\n      break;\n    default:\n      break;\n  }\n});\nvar baseSelectors = {\n  /**\n   * Gets the available audiences.\n   *\n   * @since 1.148.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Array|null|undefined)} Available audiences, `null` if not set, or `undefined` if not loaded.\n   */\n  getAvailableAudiences: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var audienceSettings = select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAudienceSettings() || {};\n      return audienceSettings.availableAudiences;\n    };\n  }),\n  /**\n   * Gets the available audiences.\n   *\n   * @since 1.152.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Array|null|undefined)} Available audiences, `null` if not set, or `undefined` if not loaded.\n   */\n  getOrSyncAvailableAudiences: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAvailableAudiences();\n    };\n  }),\n  /**\n   * Gets the audience settings.\n   *\n   * @since 1.151.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Object|undefined} Audience settings, or `undefined` if not loaded.\n   */\n  getAudienceSettings: function getAudienceSettings(state) {\n    return state.audienceSettings;\n  },\n  /**\n   * Gets the last time the available audiences were synced.\n   *\n   * @since 1.151.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(number|undefined)} Last time the available audiences were synced, or `undefined` if not loaded.\n   */\n  getAvailableAudiencesLastSyncedAt: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var audienceSettings = select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAudienceSettings() || {};\n      return audienceSettings.availableAudiencesLastSyncedAt;\n    };\n  }),\n  /**\n   * Gets the user who set up Audience Segmentation.\n   *\n   * @since 1.151.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(number|null|undefined)} ID for the user who set up Audience Segmentation, `null` if not set, or `undefined` if not loaded.\n   */\n  getAudienceSegmentationSetupCompletedBy: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var audienceSettings = select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAudienceSettings() || {};\n      return audienceSettings.audienceSegmentationSetupCompletedBy;\n    };\n  })\n};\nvar store = Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_9__[\"combineStores\"])(fetchGetAudienceSettingsStore, fetchSaveAudienceSettingsStore, fetchSyncAvailableAudiencesStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  resolvers: baseResolvers,\n  selectors: baseSelectors,\n  reducer: baseReducer\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/modules/analytics-4/datastore/audience-settings.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/audiences.js":
/*!*******************************************************!*\
  !*** ./js/modules/analytics-4/datastore/audiences.js ***!
  \*******************************************************/
/*! exports provided: baseInitialState, 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__, \"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_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_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 _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__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 _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.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 _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_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n\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 * `modules/analytics-4` data store: audiences.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nvar MAX_INITIAL_AUDIENCES = 2;\nvar START_AUDIENCES_SETUP = 'START_AUDIENCES_SETUP';\nvar FINISH_AUDIENCES_SETUP = 'FINISH_AUDIENCES_SETUP';\nvar START_MAYBE_SYNC_AUDIENCES = 'START_MAYBE_SYNC_AUDIENCES';\nvar FINISH_MAYBE_SYNC_AUDIENCES = 'FINISH_MAYBE_SYNC_AUDIENCES';\n/**\n * Retrieves user counts for the provided audiences, filters to those with data over the given date range,\n * sorts them by total users, and returns the audienceResourceNames in that order.\n *\n * @since 1.128.0\n *\n * @param {Object} registry  Registry object.\n * @param {Array}  audiences Array of available audiences.\n * @param {string} startDate Start date for the report.\n * @param {string} endDate   End date for the report.\n * @return {Object} Object with audienceResourceNames array and error if any.\n */\nfunction getNonZeroDataAudiencesSortedByTotalUsers(_x, _x2, _x3, _x4) {\n  return _getNonZeroDataAudiencesSortedByTotalUsers.apply(this, arguments);\n}\nfunction _getNonZeroDataAudiencesSortedByTotalUsers() {\n  _getNonZeroDataAudiencesSortedByTotalUsers = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee2(registry, audiences, startDate, endDate) {\n    var select, resolveSelect, reportOptions, report, error, sortedRows, rowsWithData;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee2$(_context9) {\n      while (1) {\n        switch (_context9.prev = _context9.next) {\n          case 0:\n            select = registry.select, resolveSelect = registry.resolveSelect;\n            reportOptions = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAudiencesUserCountReportOptions(audiences, {\n              startDate: startDate,\n              endDate: endDate\n            });\n            _context9.next = 4;\n            return resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n          case 4:\n            report = _context9.sent;\n            error = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n            if (!error) {\n              _context9.next = 8;\n              break;\n            }\n            return _context9.abrupt(\"return\", {\n              error: error\n            });\n          case 8:\n            sortedRows = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(report.rows || []).sort(function (rowA, rowB) {\n              var _rowB$metricValues, _rowB$metricValues$, _rowA$metricValues, _rowA$metricValues$;\n              return (((_rowB$metricValues = rowB.metricValues) === null || _rowB$metricValues === void 0 ? void 0 : (_rowB$metricValues$ = _rowB$metricValues[0]) === null || _rowB$metricValues$ === void 0 ? void 0 : _rowB$metricValues$.value) || 0) - (\n              // `value` is `totalUsers`.\n              ((_rowA$metricValues = rowA.metricValues) === null || _rowA$metricValues === void 0 ? void 0 : (_rowA$metricValues$ = _rowA$metricValues[0]) === null || _rowA$metricValues$ === void 0 ? void 0 : _rowA$metricValues$.value) || 0);\n            }); // Rows without data shouldn't actually be returned in the report, but to be safe, filter them out if present.\n            rowsWithData = sortedRows.filter(function (_ref19) {\n              var _metricValues$;\n              var metricValues = _ref19.metricValues;\n              return (metricValues === null || metricValues === void 0 ? void 0 : (_metricValues$ = metricValues[0]) === null || _metricValues$ === void 0 ? void 0 : _metricValues$.value) > 0;\n            });\n            return _context9.abrupt(\"return\", {\n              audienceResourceNames: rowsWithData.map(function (_ref20) {\n                var _dimensionValues$;\n                var dimensionValues = _ref20.dimensionValues;\n                return dimensionValues === null || dimensionValues === void 0 ? void 0 : (_dimensionValues$ = dimensionValues[0]) === null || _dimensionValues$ === void 0 ? void 0 : _dimensionValues$.value;\n              } // `value` is `audienceResourceName`.\n              )\n            });\n          case 11:\n          case \"end\":\n            return _context9.stop();\n        }\n      }\n    }, _callee2);\n  }));\n  return _getNonZeroDataAudiencesSortedByTotalUsers.apply(this, arguments);\n}\nvar fetchCreateAudienceStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'createAudience',\n  controlCallback: function controlCallback(_ref) {\n    var audience = _ref.audience;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"], 'create-audience', {\n      audience: audience\n    });\n  },\n  argsToParams: function argsToParams(audience) {\n    return {\n      audience: audience\n    };\n  },\n  validateParams: function validateParams(_ref2) {\n    var audience = _ref2.audience;\n    Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_13__[\"validateAudience\"])(audience);\n  }\n});\n\n/**\n * Retrieves the initial set of selected audiences from the existing audiences.\n *\n * @since 1.148.0\n *\n * @param {Object} registry Registry object.\n * @return {Object} Object with `configuredAudiences` or `error`.\n */\nfunction getConfiguredAudiencesFromExistingAudiences(_x5) {\n  return _getConfiguredAudiencesFromExistingAudiences.apply(this, arguments);\n}\n/**\n * Retrives the initial set of audiences for selection.\n *\n * @since 1.136.0\n * @since 1.148.0 Extracted to a helper function. Renamed from `retrieveInitialAudienceSelection` to `getInitialConfiguredAudiences`.\n *\n * @param {Object} registry           Registry object.\n * @param {Array}  availableAudiences List of available audiences.\n * @return {Object} Object with properties `configuredAudiences` or `error`.\n */\nfunction _getConfiguredAudiencesFromExistingAudiences() {\n  _getConfiguredAudiencesFromExistingAudiences = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee3(registry) {\n    var resolveSelect, select, availableAudiences, _yield$getInitialConf, error, configuredAudiences, purchasersAudience, purchasersResourceDataAvailabilityDate;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee3$(_context10) {\n      while (1) {\n        switch (_context10.prev = _context10.next) {\n          case 0:\n            resolveSelect = registry.resolveSelect, select = registry.select;\n            availableAudiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n            _context10.next = 4;\n            return getInitialConfiguredAudiences(registry, availableAudiences);\n          case 4:\n            _yield$getInitialConf = _context10.sent;\n            error = _yield$getInitialConf.error;\n            configuredAudiences = _yield$getInitialConf.configuredAudiences;\n            if (!error) {\n              _context10.next = 9;\n              break;\n            }\n            return _context10.abrupt(\"return\", {\n              error: error\n            });\n          case 9:\n            if (!(configuredAudiences.length === 1)) {\n              _context10.next = 16;\n              break;\n            }\n            // Add 'Purchasers' audience if it has data.\n            purchasersAudience = availableAudiences.find(function (_ref21) {\n              var audienceSlug = _ref21.audienceSlug;\n              return audienceSlug === 'purchasers';\n            });\n            if (!purchasersAudience) {\n              _context10.next = 16;\n              break;\n            }\n            _context10.next = 14;\n            return resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getResourceDataAvailabilityDate(purchasersAudience.name, _constants__WEBPACK_IMPORTED_MODULE_5__[\"RESOURCE_TYPE_AUDIENCE\"]);\n          case 14:\n            purchasersResourceDataAvailabilityDate = _context10.sent;\n            if (purchasersResourceDataAvailabilityDate) {\n              configuredAudiences.push(purchasersAudience.name);\n            }\n          case 16:\n            return _context10.abrupt(\"return\", {\n              configuredAudiences: configuredAudiences\n            });\n          case 17:\n          case \"end\":\n            return _context10.stop();\n        }\n      }\n    }, _callee3);\n  }));\n  return _getConfiguredAudiencesFromExistingAudiences.apply(this, arguments);\n}\nfunction getInitialConfiguredAudiences(_x6, _x7) {\n  return _getInitialConfiguredAudiences.apply(this, arguments);\n}\nfunction _getInitialConfiguredAudiences() {\n  _getInitialConfiguredAudiences = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee4(registry, availableAudiences) {\n    var select, configuredAudiences, userAudiences, endDate, startDate, _yield$getNonZeroData, audienceResourceNames, error, siteKitAudiences, sortedSlugs, sortedSiteKitAudiences, _audienceResourceNames;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee4$(_context11) {\n      while (1) {\n        switch (_context11.prev = _context11.next) {\n          case 0:\n            select = registry.select;\n            configuredAudiences = [];\n            userAudiences = availableAudiences.filter(function (_ref22) {\n              var audienceType = _ref22.audienceType;\n              return audienceType === 'USER_AUDIENCE';\n            });\n            if (!(userAudiences.length > 0)) {\n              _context11.next = 14;\n              break;\n            }\n            // If there are user audiences, filter and sort them by total users over the last 90 days,\n            // and add the top two (MAX_INITIAL_AUDIENCES) which have users to the configured audiences.\n            endDate = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getReferenceDate();\n            startDate = Object(_js_util__WEBPACK_IMPORTED_MODULE_11__[\"getPreviousDate\"])(endDate, 90 + _constants__WEBPACK_IMPORTED_MODULE_5__[\"DATE_RANGE_OFFSET\"] // Add offset to ensure we have data for the entirety of the last 90 days.\n            );\n            _context11.next = 8;\n            return getNonZeroDataAudiencesSortedByTotalUsers(registry, userAudiences, startDate, endDate);\n          case 8:\n            _yield$getNonZeroData = _context11.sent;\n            audienceResourceNames = _yield$getNonZeroData.audienceResourceNames;\n            error = _yield$getNonZeroData.error;\n            if (!error) {\n              _context11.next = 13;\n              break;\n            }\n            return _context11.abrupt(\"return\", {\n              error: error\n            });\n          case 13:\n            configuredAudiences.push.apply(configuredAudiences, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(audienceResourceNames.slice(0, MAX_INITIAL_AUDIENCES)));\n          case 14:\n            if (configuredAudiences.length < MAX_INITIAL_AUDIENCES) {\n              // If there are less than two (MAX_INITIAL_AUDIENCES) configured user audiences, add the Site Kit-created audiences\n              // if they exist, up to the limit of two.\n              siteKitAudiences = availableAudiences.filter(function (_ref23) {\n                var audienceType = _ref23.audienceType;\n                return audienceType === 'SITE_KIT_AUDIENCE';\n              }); // Audience slugs to sort by:\n              sortedSlugs = ['new-visitors', 'returning-visitors'];\n              sortedSiteKitAudiences = siteKitAudiences.sort(function (audienceA, audienceB) {\n                var indexA = sortedSlugs.indexOf(audienceA.audienceSlug);\n                var indexB = sortedSlugs.indexOf(audienceB.audienceSlug);\n                return indexA - indexB;\n              });\n              _audienceResourceNames = sortedSiteKitAudiences.slice(0, MAX_INITIAL_AUDIENCES - configuredAudiences.length).map(function (_ref24) {\n                var name = _ref24.name;\n                return name;\n              });\n              configuredAudiences.push.apply(configuredAudiences, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(_audienceResourceNames));\n            }\n            return _context11.abrupt(\"return\", {\n              configuredAudiences: configuredAudiences\n            });\n          case 16:\n          case \"end\":\n            return _context11.stop();\n        }\n      }\n    }, _callee4);\n  }));\n  return _getInitialConfiguredAudiences.apply(this, arguments);\n}\nvar baseInitialState = {\n  isSettingUpAudiences: false,\n  audienceSync: {\n    inProgress: false,\n    hasSynced: false\n  }\n};\nvar baseActions = {\n  /**\n   * Creates new property audience.\n   *\n   * @since 1.120.0\n   *\n   * @param {Object} audience                             The property audience parameters.\n   * @param {string} [audience.displayName]               Required. The display name of the Audience.\n   * @param {string} [audience.description]               Required. The description of the Audience.\n   * @param {number} [audience.membershipDurationDays]    Required. The duration a user should stay in an Audience. Cannot be more than 540 days.\n   * @param {Array}  [audience.filterClauses]             Required. Filter clauses array of <AudienceFilterClause> objects that define the Audience.\n   * @param {Object} [audience.eventTrigger]              Optional. Specifies an event to log when a user joins the Audience.\n   * @param {string} [audience.eventTrigger.eventName]    Required if `eventTrigger` is provided. The event name that will be logged.\n   * @param {string} [audience.eventTrigger.logCondition] Required if `eventTrigger` is provided. When to log the event. Acceptable values:\n   *                                                      - 'LOG_CONDITION_UNSPECIFIED': Log condition is not specified.\n   *                                                      - 'AUDIENCE_JOINED': The event should be logged only when a user is joined.\n   *                                                      - 'AUDIENCE_MEMBERSHIP_RENEWED': The event should be logged whenever the Audience condition is met, even if the user is already a member of the Audience.\n   * @param {string} [audience.exclusionDurationMode]     Optional. Specifies how long an exclusion lasts for users that meet the exclusion filter. Acceptable values:\n   *                                                      - 'AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED': Not specified.\n   *                                                      - 'EXCLUDE_TEMPORARILY': Exclude users from the Audience during periods when they meet the filter clause.\n   *                                                      - 'EXCLUDE_PERMANENTLY': Exclude users from the Audience if they've ever met the filter clause.\n   * @return {Object} Object with `response` and `error`.\n   */\n  createAudience: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_9__[\"createValidatedAction\"])(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_13__[\"validateAudience\"], /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee(audience) {\n    var _yield$fetchCreateAud, response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return fetchCreateAudienceStore.actions.fetchCreateAudience(audience);\n          case 2:\n            _yield$fetchCreateAud = _context.sent;\n            response = _yield$fetchCreateAud.response;\n            error = _yield$fetchCreateAud.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    }, _callee);\n  })),\n  /**\n   * Syncs available audiences from the Analytics service.\n   *\n   * @since 1.126.0\n   *\n   * @return {Object} Object with `response` and `error`.\n   */\n  syncAvailableAudiences: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function syncAvailableAudiences() {\n    var registry, select, dispatch, resolveSelect, isAuthenticated, _availableAudiences, _yield$commonActions$, availableAudiences, error, configuredAudiences, newConfiguredAudiences;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function syncAvailableAudiences$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context2.sent;\n            select = registry.select, dispatch = registry.dispatch, resolveSelect = registry.resolveSelect;\n            _context2.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getAuthentication());\n          case 6:\n            isAuthenticated = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).isAuthenticated();\n            if (isAuthenticated) {\n              _context2.next = 10;\n              break;\n            }\n            _availableAudiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n            return _context2.abrupt(\"return\", {\n              response: _availableAudiences !== null && _availableAudiences !== void 0 ? _availableAudiences : []\n            });\n          case 10:\n            _context2.next = 12;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).fetchSyncAvailableAudiences());\n          case 12:\n            _yield$commonActions$ = _context2.sent;\n            availableAudiences = _yield$commonActions$.response;\n            error = _yield$commonActions$.error;\n            if (!error) {\n              _context2.next = 17;\n              break;\n            }\n            return _context2.abrupt(\"return\", {\n              response: availableAudiences,\n              error: error\n            });\n          case 17:\n            // Remove any configuredAudiences that are no longer available in availableAudiences.\n            configuredAudiences = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getConfiguredAudiences();\n            newConfiguredAudiences = configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.filter(function (configuredAudience) {\n              return availableAudiences === null || availableAudiences === void 0 ? void 0 : availableAudiences.some(function (_ref3) {\n                var name = _ref3.name;\n                return name === configuredAudience;\n              });\n            });\n            if (configuredAudiences && newConfiguredAudiences && newConfiguredAudiences !== configuredAudiences) {\n              dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).setConfiguredAudiences(newConfiguredAudiences || []);\n            }\n            return _context2.abrupt(\"return\", {\n              response: availableAudiences,\n              error: error\n            });\n          case 21:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, syncAvailableAudiences);\n  }),\n  /**\n   * Syncs available audiences older than 1 hour.\n   *\n   * @since 1.132.0\n   *\n   * @return {void}\n   */\n  maybeSyncAvailableAudiences: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function maybeSyncAvailableAudiences() {\n    var registry, select, dispatch, resolveSelect, isAuthenticated, isSyncingAudiences, availableAudiencesLastSyncedAt;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function maybeSyncAvailableAudiences$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context3.sent;\n            select = registry.select, dispatch = registry.dispatch, resolveSelect = registry.resolveSelect;\n            _context3.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getAuthentication());\n          case 6:\n            isAuthenticated = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).isAuthenticated();\n            if (isAuthenticated) {\n              _context3.next = 11;\n              break;\n            }\n            _context3.next = 10;\n            return {\n              type: FINISH_MAYBE_SYNC_AUDIENCES\n            };\n          case 10:\n            return _context3.abrupt(\"return\");\n          case 11:\n            isSyncingAudiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).isSyncingAudiences();\n            if (!isSyncingAudiences) {\n              _context3.next = 14;\n              break;\n            }\n            return _context3.abrupt(\"return\");\n          case 14:\n            _context3.next = 16;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAudienceSettings());\n          case 16:\n            _context3.next = 18;\n            return {\n              type: START_MAYBE_SYNC_AUDIENCES\n            };\n          case 18:\n            availableAudiencesLastSyncedAt = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAvailableAudiencesLastSyncedAt(); // Update the audience cache if the availableAudiencesLastSyncedAt setting is older than 1 hour.\n            if (!(!availableAudiencesLastSyncedAt || availableAudiencesLastSyncedAt * 1000 <\n            // eslint-disable-next-line sitekit/no-direct-date\n            Date.now() - 1 * 60 * 60 * 1000)) {\n              _context3.next = 22;\n              break;\n            }\n            _context3.next = 22;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).syncAvailableAudiences());\n          case 22:\n            _context3.next = 24;\n            return {\n              type: FINISH_MAYBE_SYNC_AUDIENCES\n            };\n          case 24:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, maybeSyncAvailableAudiences);\n  }),\n  /**\n   * Populates the configured audiences with the top two user audiences and/or the Site Kit-created audiences,\n   * depending on their availability and suitability (data over the last 90 days is required for user audiences).\n   *\n   * If no suitable audiences are available, creates the \"new-visitors\" and \"returning-visitors\" audiences.\n   * If the `googlesitekit_post_type` custom dimension doesn't exist, creates it.\n   *\n   * @since 1.128.0\n   * @since 1.131.0 Added `failedSiteKitAudienceSlugs` parameter to retry failed Site Kit audience creation.\n   *\n   * @param {Array} failedSiteKitAudienceSlugs List of failed Site Kit audience slugs to retry.\n   * @return {Object} Object with `failedSiteKitAudienceSlugs`, `createdSiteKitAudienceSlugs` and `error`.\n   */\n  enableAudienceGroup: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function enableAudienceGroup(failedSiteKitAudienceSlugs) {\n    var response;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function enableAudienceGroup$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _context4.next = 2;\n            return {\n              type: START_AUDIENCES_SETUP\n            };\n          case 2:\n            _context4.next = 4;\n            return baseActions.enableAudienceGroupMain(failedSiteKitAudienceSlugs);\n          case 4:\n            response = _context4.sent;\n            _context4.next = 7;\n            return {\n              type: FINISH_AUDIENCES_SETUP\n            };\n          case 7:\n            return _context4.abrupt(\"return\", response);\n          case 8:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, enableAudienceGroup);\n  }),\n  /**\n   * Checks if the user needs to grant the Analytics 4 edit scope to create audiences or custom dimensions.\n   *\n   * @since 1.148.0\n   *\n   * @return {Object} Object with `needsScope` or `error`.\n   */\n  determineNeedForAnalytics4EditScope: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function determineNeedForAnalytics4EditScope() {\n    var registry, resolveSelect, select, _yield$commonActions$2, error, configuredAudiences;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function determineNeedForAnalytics4EditScope$(_context5) {\n      while (1) {\n        switch (_context5.prev = _context5.next) {\n          case 0:\n            _context5.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context5.sent;\n            resolveSelect = registry.resolveSelect, select = registry.select;\n            _context5.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAvailableCustomDimensions());\n          case 6:\n            if (select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasCustomDimensions('googlesitekit_post_type')) {\n              _context5.next = 8;\n              break;\n            }\n            return _context5.abrupt(\"return\", {\n              needsScope: true\n            });\n          case 8:\n            _context5.next = 10;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(getConfiguredAudiencesFromExistingAudiences(registry));\n          case 10:\n            _yield$commonActions$2 = _context5.sent;\n            error = _yield$commonActions$2.error;\n            configuredAudiences = _yield$commonActions$2.configuredAudiences;\n            if (!error) {\n              _context5.next = 15;\n              break;\n            }\n            return _context5.abrupt(\"return\", {\n              error: error\n            });\n          case 15:\n            return _context5.abrupt(\"return\", {\n              needsScope: configuredAudiences.length === 0\n            });\n          case 16:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, determineNeedForAnalytics4EditScope);\n  }),\n  /**\n   * This contains the main logic for the `*enableAudienceGroup()` action above.\n   *\n   * @since 1.136.0\n   *\n   * @param {Array} failedSiteKitAudienceSlugs List of failed Site Kit audience slugs to retry.\n   * @return {Object} Object with `failedSiteKitAudienceSlugs`, `createdSiteKitAudienceSlugs` and `error`.\n   */\n  enableAudienceGroupMain: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function enableAudienceGroupMain(failedSiteKitAudienceSlugs) {\n    var registry, dispatch, select, resolveSelect, configuredAudiences, _yield$commonActions$3, _error, audiences, requiredAudienceSlugs, audiencesToCreate, audienceCreationResults, failedAudiencesToRetry, insufficientPermissionsError, existingConfiguredAudiences, _yield$commonActions$4, _error2, newAvailableAudiences, propertyID, _yield$commonActions$5, _error3, _yield$commonActions$6, error, userID, audienceSettings, _yield$commonActions$7, saveSettingsError;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function enableAudienceGroupMain$(_context6) {\n      while (1) {\n        switch (_context6.prev = _context6.next) {\n          case 0:\n            _context6.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context6.sent;\n            dispatch = registry.dispatch, select = registry.select, resolveSelect = registry.resolveSelect;\n            configuredAudiences = [];\n            if (failedSiteKitAudienceSlugs === null || failedSiteKitAudienceSlugs === void 0 ? void 0 : failedSiteKitAudienceSlugs.length) {\n              _context6.next = 14;\n              break;\n            }\n            _context6.next = 8;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(getConfiguredAudiencesFromExistingAudiences(registry));\n          case 8:\n            _yield$commonActions$3 = _context6.sent;\n            _error = _yield$commonActions$3.error;\n            audiences = _yield$commonActions$3.configuredAudiences;\n            if (!_error) {\n              _context6.next = 13;\n              break;\n            }\n            return _context6.abrupt(\"return\", {\n              error: _error\n            });\n          case 13:\n            configuredAudiences.push.apply(configuredAudiences, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(audiences));\n          case 14:\n            if (!(configuredAudiences.length === 0)) {\n              _context6.next = 39;\n              break;\n            }\n            requiredAudienceSlugs = ['new-visitors', 'returning-visitors'];\n            audiencesToCreate = (failedSiteKitAudienceSlugs === null || failedSiteKitAudienceSlugs === void 0 ? void 0 : failedSiteKitAudienceSlugs.length) ? failedSiteKitAudienceSlugs : requiredAudienceSlugs; // If there are no configured audiences by this point, create the \"new-visitors\" and \"returning-visitors\" audiences,\n            // and add them to the configured audiences.\n            _context6.next = 19;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(Promise.all(audiencesToCreate.map(function (audienceSlug) {\n              return dispatch(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).createAudience(_constants__WEBPACK_IMPORTED_MODULE_5__[\"SITE_KIT_AUDIENCE_DEFINITIONS\"][audienceSlug]);\n            })));\n          case 19:\n            audienceCreationResults = _context6.sent;\n            failedAudiencesToRetry = [];\n            insufficientPermissionsError = null;\n            audienceCreationResults.forEach(function (result, index) {\n              var audienceSlug = audiencesToCreate[index];\n              if (result.error) {\n                if (Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_12__[\"isInsufficientPermissionsError\"])(result.error)) {\n                  insufficientPermissionsError = result.error;\n                } else {\n                  failedAudiencesToRetry.push(audienceSlug);\n                }\n              } else {\n                configuredAudiences.push(result.response.name);\n              }\n            });\n            if (!insufficientPermissionsError) {\n              _context6.next = 25;\n              break;\n            }\n            return _context6.abrupt(\"return\", {\n              error: insufficientPermissionsError\n            });\n          case 25:\n            _context6.next = 27;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getUserAudienceSettings());\n          case 27:\n            if (!(failedAudiencesToRetry.length > 0)) {\n              _context6.next = 29;\n              break;\n            }\n            return _context6.abrupt(\"return\", {\n              failedSiteKitAudienceSlugs: failedAudiencesToRetry\n            });\n          case 29:\n            existingConfiguredAudiences = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getConfiguredAudiences() || [];\n            configuredAudiences.push.apply(configuredAudiences, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(existingConfiguredAudiences));\n\n            // Resync available audiences to ensure the newly created audiences are available.\n            _context6.next = 33;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).syncAvailableAudiences());\n          case 33:\n            _yield$commonActions$4 = _context6.sent;\n            _error2 = _yield$commonActions$4.error;\n            newAvailableAudiences = _yield$commonActions$4.response;\n            if (!_error2) {\n              _context6.next = 38;\n              break;\n            }\n            return _context6.abrupt(\"return\", {\n              error: _error2\n            });\n          case 38:\n            // Find the audience in the newly available audiences that matches the required slug.\n            // If a matching audience is found and it's not already in the configured audiences, add it.\n            // This is to ensure if one audience was created successfully but the other failed,\n            // the successful one is still added on the retry.\n            requiredAudienceSlugs.forEach(function (slug) {\n              var matchingAudience = newAvailableAudiences.find(function (item) {\n                return item.audienceSlug === slug;\n              });\n              if (matchingAudience && !configuredAudiences.includes(matchingAudience.name)) {\n                configuredAudiences.push(matchingAudience.name);\n              }\n            });\n          case 39:\n            _context6.next = 41;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAvailableCustomDimensions());\n          case 41:\n            if (select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasCustomDimensions('googlesitekit_post_type')) {\n              _context6.next = 52;\n              break;\n            }\n            propertyID = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n            _context6.next = 45;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).fetchCreateCustomDimension(propertyID, _constants__WEBPACK_IMPORTED_MODULE_5__[\"CUSTOM_DIMENSION_DEFINITIONS\"].googlesitekit_post_type));\n          case 45:\n            _yield$commonActions$5 = _context6.sent;\n            _error3 = _yield$commonActions$5.error;\n            if (!_error3) {\n              _context6.next = 49;\n              break;\n            }\n            return _context6.abrupt(\"return\", {\n              error: _error3\n            });\n          case 49:\n            // If the custom dimension was created successfully, mark it as gathering\n            // data immediately so that it doesn't cause unnecessary report requests.\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).receiveIsCustomDimensionGatheringData('googlesitekit_post_type', true);\n\n            // Resync available custom dimensions to ensure the newly created custom dimension is available.\n            _context6.next = 52;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).fetchSyncAvailableCustomDimensions());\n          case 52:\n            dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).setConfiguredAudiences(configuredAudiences);\n            _context6.next = 55;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).saveUserAudienceSettings());\n          case 55:\n            _yield$commonActions$6 = _context6.sent;\n            error = _yield$commonActions$6.error;\n            if (!error) {\n              _context6.next = 59;\n              break;\n            }\n            return _context6.abrupt(\"return\", {\n              error: error\n            });\n          case 59:\n            _context6.next = 61;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).setExpirableItemTimers(configuredAudiences.map(function (slug) {\n              return {\n                slug: \"\".concat(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX\"]).concat(slug),\n                expiresInSeconds: 1\n              };\n            })));\n          case 61:\n            userID = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getID();\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).setAudienceSegmentationSetupCompletedBy(userID);\n            audienceSettings = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getAudienceSettings();\n            _context6.next = 66;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).saveAudienceSettings(audienceSettings));\n          case 66:\n            _yield$commonActions$7 = _context6.sent;\n            saveSettingsError = _yield$commonActions$7.saveSettingsError;\n            if (!saveSettingsError) {\n              _context6.next = 70;\n              break;\n            }\n            return _context6.abrupt(\"return\", {\n              error: saveSettingsError\n            });\n          case 70:\n            _context6.next = 72;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).triggerSurvey('audience_segmentation_setup_completed'));\n          case 72:\n            return _context6.abrupt(\"return\", {});\n          case 73:\n          case \"end\":\n            return _context6.stop();\n        }\n      }\n    }, enableAudienceGroupMain);\n  }),\n  /**\n   * Populates the configured audiences for the secondary user.\n   *\n   * @since 1.136.0\n   *\n   * @return {Object} Object with `error`.\n   */\n  enableSecondaryUserAudienceGroup: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function enableSecondaryUserAudienceGroup() {\n    var response;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function enableSecondaryUserAudienceGroup$(_context7) {\n      while (1) {\n        switch (_context7.prev = _context7.next) {\n          case 0:\n            _context7.next = 2;\n            return {\n              type: START_AUDIENCES_SETUP\n            };\n          case 2:\n            _context7.next = 4;\n            return baseActions.enableSecondaryUserAudienceGroupMain();\n          case 4:\n            response = _context7.sent;\n            _context7.next = 7;\n            return {\n              type: FINISH_AUDIENCES_SETUP\n            };\n          case 7:\n            return _context7.abrupt(\"return\", response);\n          case 8:\n          case \"end\":\n            return _context7.stop();\n        }\n      }\n    }, enableSecondaryUserAudienceGroup);\n  }),\n  /**\n   * This contains the main logic for the `*enableSecondaryUserAudienceGroup()` action above.\n   *\n   * @since 1.136.0\n   *\n   * @return {Object} Object with `error`.\n   */\n  enableSecondaryUserAudienceGroupMain: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function enableSecondaryUserAudienceGroupMain() {\n    var registry, dispatch, resolveSelect, _yield$baseActions$sy, availableAudiences, syncError, _yield$commonActions$8, retrieveInitialAudienceSelectionError, configuredAudiences, purchasersAudience, purchasersResourceDataAvailabilityDate, _yield$commonActions$9, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function enableSecondaryUserAudienceGroupMain$(_context8) {\n      while (1) {\n        switch (_context8.prev = _context8.next) {\n          case 0:\n            _context8.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context8.sent;\n            dispatch = registry.dispatch, resolveSelect = registry.resolveSelect;\n            _context8.next = 6;\n            return baseActions.syncAvailableAudiences();\n          case 6:\n            _yield$baseActions$sy = _context8.sent;\n            availableAudiences = _yield$baseActions$sy.response;\n            syncError = _yield$baseActions$sy.error;\n            if (!syncError) {\n              _context8.next = 11;\n              break;\n            }\n            return _context8.abrupt(\"return\", {\n              error: syncError\n            });\n          case 11:\n            _context8.next = 13;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(getInitialConfiguredAudiences(registry, availableAudiences));\n          case 13:\n            _yield$commonActions$8 = _context8.sent;\n            retrieveInitialAudienceSelectionError = _yield$commonActions$8.error;\n            configuredAudiences = _yield$commonActions$8.configuredAudiences;\n            if (!retrieveInitialAudienceSelectionError) {\n              _context8.next = 18;\n              break;\n            }\n            return _context8.abrupt(\"return\", {\n              error: retrieveInitialAudienceSelectionError\n            });\n          case 18:\n            if (!(configuredAudiences.length < MAX_INITIAL_AUDIENCES)) {\n              _context8.next = 25;\n              break;\n            }\n            // Add 'Purchasers' audience if it has data.\n            purchasersAudience = availableAudiences.find(function (_ref4) {\n              var audienceSlug = _ref4.audienceSlug;\n              return audienceSlug === 'purchasers';\n            });\n            if (!purchasersAudience) {\n              _context8.next = 25;\n              break;\n            }\n            _context8.next = 23;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getResourceDataAvailabilityDate(purchasersAudience.name, _constants__WEBPACK_IMPORTED_MODULE_5__[\"RESOURCE_TYPE_AUDIENCE\"]));\n          case 23:\n            purchasersResourceDataAvailabilityDate = _context8.sent;\n            if (purchasersResourceDataAvailabilityDate) {\n              configuredAudiences.push(purchasersAudience.name);\n            }\n          case 25:\n            dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).setConfiguredAudiences(configuredAudiences);\n            _context8.next = 28;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).saveUserAudienceSettings());\n          case 28:\n            _yield$commonActions$9 = _context8.sent;\n            error = _yield$commonActions$9.error;\n            if (!error) {\n              _context8.next = 32;\n              break;\n            }\n            return _context8.abrupt(\"return\", {\n              error: error\n            });\n          case 32:\n            if (!(configuredAudiences.length > 0)) {\n              _context8.next = 35;\n              break;\n            }\n            _context8.next = 35;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).setExpirableItemTimers(configuredAudiences.map(function (slug) {\n              return {\n                slug: \"\".concat(_constants__WEBPACK_IMPORTED_MODULE_5__[\"AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX\"]).concat(slug),\n                expiresInSeconds: 1\n              };\n            })));\n          case 35:\n            return _context8.abrupt(\"return\", {});\n          case 36:\n          case \"end\":\n            return _context8.stop();\n        }\n      }\n    }, enableSecondaryUserAudienceGroupMain);\n  })\n};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createReducer\"])(function (state, _ref5) {\n  var type = _ref5.type;\n  switch (type) {\n    case START_AUDIENCES_SETUP:\n      state.isSettingUpAudiences = true;\n      break;\n    case START_MAYBE_SYNC_AUDIENCES:\n      state.audienceSync = {\n        inProgress: true,\n        hasSynced: false\n      };\n      break;\n    case FINISH_MAYBE_SYNC_AUDIENCES:\n      state.audienceSync = {\n        inProgress: false,\n        hasSynced: true\n      };\n      break;\n    case FINISH_AUDIENCES_SETUP:\n      state.isSettingUpAudiences = false;\n      break;\n    default:\n      break;\n  }\n});\nvar baseResolvers = {};\nvar baseSelectors = {\n  /**\n   * Checks if the audience group setup is in progress.\n   *\n   * @since 1.136.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} True if the audience group setup is in progress, otherwise false.\n   */\n  isSettingUpAudiences: function isSettingUpAudiences(state) {\n    return state.isSettingUpAudiences;\n  },\n  /**\n   * Checks if the given audience is a default audience.\n   *\n   * @since 1.127.0\n   *\n   * @param {string} audienceResourceName The audience resource name.\n   * @param {Object} state                Data store's state.\n   * @return {(boolean|undefined)} `true` if the audience is a default audience, `false` if not, `undefined` if not loaded.\n   */\n  isDefaultAudience: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, audienceResourceName) {\n      var availableAudiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n      if (availableAudiences === undefined) {\n        return undefined;\n      }\n      var audience = availableAudiences.find(function (_ref6) {\n        var name = _ref6.name;\n        return name === audienceResourceName;\n      });\n      return (audience === null || audience === void 0 ? void 0 : audience.audienceType) === 'DEFAULT_AUDIENCE';\n    };\n  }),\n  /**\n   * Checks if the given audience is a Site Kit-created audience.\n   *\n   * @since 1.127.0\n   *\n   * @param {string} audienceResourceName The audience resource name.\n   * @param {Object} state                Data store's state.\n   * @return {(boolean|undefined)} `true` if the audience is a Site Kit-created audience, `false` if not, `undefined` if not loaded.\n   */\n  isSiteKitAudience: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, audienceResourceName) {\n      var availableAudiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n      if (availableAudiences === undefined) {\n        return undefined;\n      }\n      var audience = availableAudiences.find(function (_ref7) {\n        var name = _ref7.name;\n        return name === audienceResourceName;\n      });\n      return (audience === null || audience === void 0 ? void 0 : audience.audienceType) === 'SITE_KIT_AUDIENCE';\n    };\n  }),\n  /**\n   * Checks if the given audience is a user-defined audience.\n   *\n   * @since 1.127.0\n   *\n   * @param {string} audienceResourceName The audience resource name.\n   * @param {Object} state                Data store's state.\n   * @return {(boolean|undefined)} `true` if the audience is a user-defined audience, `false` if not, `undefined` if not loaded.\n   */\n  isUserAudience: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, audienceResourceName) {\n      var availableAudiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n      if (availableAudiences === undefined) {\n        return undefined;\n      }\n      var audience = availableAudiences.find(function (_ref8) {\n        var name = _ref8.name;\n        return name === audienceResourceName;\n      });\n      return (audience === null || audience === void 0 ? void 0 : audience.audienceType) === 'USER_AUDIENCE';\n    };\n  }),\n  /**\n   * Checks if the audience is syncing.\n   *\n   * @since 1.158.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean)} `true` if the audience is syncing, `false` if not.\n   */\n  isSyncingAudiences: function isSyncingAudiences(state) {\n    return state.audienceSync.inProgress;\n  },\n  /**\n   * Checks if the audience sync has completed.\n   *\n   * @since 1.158.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean)} `true` if the audience sync has completed, `false` if not.\n   */\n  hasSyncedAudiences: function hasSyncedAudiences(state) {\n    return state.audienceSync.hasSynced;\n  },\n  /**\n   * Checks whether the provided audiences are available.\n   *\n   * @since 1.127.0\n   *\n   * @param {Object}               state                 Data store's state.\n   * @param {string|Array<string>} audienceResourceNames The audience resource names to check.\n   * @return {boolean} True if all provided audiences are available, otherwise false. Undefined if available audiences are not loaded yet.\n   */\n  hasAudiences: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, audienceResourceNames) {\n      var audiencesToCheck = Array.isArray(audienceResourceNames) ? audienceResourceNames : [audienceResourceNames];\n      var availableAudiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n      if (availableAudiences === undefined) {\n        return undefined;\n      }\n      if (availableAudiences === null) {\n        return false;\n      }\n      return audiencesToCheck.every(function (audienceResourceName) {\n        return availableAudiences.some(function (_ref9) {\n          var name = _ref9.name;\n          return name === audienceResourceName;\n        });\n      });\n    };\n  }),\n  /**\n   * Gets the available configurable audiences.\n   *\n   * This selector filters out the \"Purchasers\" audience if it has no data.\n   *\n   * @since 1.129.0\n   *\n   * @return {(Array|undefined)} Array of configurable audiences. Undefined if available audiences are not loaded yet.\n   */\n  getConfigurableAudiences: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n        getOrSyncAvailableAudiences = _select.getOrSyncAvailableAudiences,\n        getResourceDataAvailabilityDate = _select.getResourceDataAvailabilityDate;\n      var availableAudiences = getOrSyncAvailableAudiences();\n      if (availableAudiences === undefined) {\n        return undefined;\n      }\n      if (!Array.isArray(availableAudiences)) {\n        return [];\n      }\n      return availableAudiences\n      // Filter out \"Purchasers\" audience if it has no data.\n      .filter(function (_ref10) {\n        var audienceSlug = _ref10.audienceSlug,\n          name = _ref10.name;\n        if ('purchasers' !== audienceSlug) {\n          return true;\n        }\n        return !!getResourceDataAvailabilityDate(name, 'audience');\n      });\n    };\n  }),\n  /**\n   * Gets the options for the audiences user count report.\n   *\n   * @since 1.131.0\n   *\n   * @param {Object} state             Data store's state.\n   * @param {Array}  audiences         Array of available audiences.\n   * @param {Object} options           Optional. Options to pass to the selector.\n   * @param {string} options.startDate Start date for the report.\n   * @param {string} options.endDate   End date for the report.\n   * @return {Object} Returns the report options for the audiences user count report.\n   */\n  getAudiencesUserCountReportOptions: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, audiences) {\n      var _ref11 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n        startDate = _ref11.startDate,\n        endDate = _ref11.endDate;\n      var dateRangeDates = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getDateRangeDates({\n        offsetDays: _constants__WEBPACK_IMPORTED_MODULE_5__[\"DATE_RANGE_OFFSET\"]\n      });\n      return {\n        startDate: startDate || dateRangeDates.startDate,\n        endDate: endDate || dateRangeDates.endDate,\n        metrics: [{\n          name: 'totalUsers'\n        }],\n        dimensions: [{\n          name: 'audienceResourceName'\n        }],\n        dimensionFilters: {\n          audienceResourceName: (audiences || []).map(function (_ref12) {\n            var name = _ref12.name;\n            return name;\n          })\n        },\n        reportID: 'audience-segmentation_get-audiences-user-count-report-options_store:selector'\n      };\n    };\n  }),\n  /**\n   * Gets the error for the audiences user count report.\n   *\n   * @since 1.131.0\n   *\n   * @return {(Object|undefined)} Error object if exists, otherwise undefined.\n   */\n  getAudienceUserCountReportErrors: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select2 = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n        getConfigurableAudiences = _select2.getConfigurableAudiences,\n        getAudiencesUserCountReportOptions = _select2.getAudiencesUserCountReportOptions,\n        getSiteKitAudiencesUserCountReportOptions = _select2.getSiteKitAudiencesUserCountReportOptions,\n        getErrorForSelector = _select2.getErrorForSelector,\n        getConfigurableSiteKitAndOtherAudiences = _select2.getConfigurableSiteKitAndOtherAudiences,\n        hasAudiencePartialData = _select2.hasAudiencePartialData;\n      var configurableAudiences = getConfigurableAudiences();\n      if (configurableAudiences === undefined) {\n        return undefined;\n      }\n\n      // eslint-disable-next-line @wordpress/no-unused-vars-before-return\n      var _getConfigurableSiteK = getConfigurableSiteKitAndOtherAudiences(),\n        _getConfigurableSiteK2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_getConfigurableSiteK, 2),\n        siteKitAudiences = _getConfigurableSiteK2[0],\n        otherAudiences = _getConfigurableSiteK2[1];\n      var isSiteKitAudiencePartialData = hasAudiencePartialData(siteKitAudiences);\n      if (undefined === isSiteKitAudiencePartialData) {\n        return undefined;\n      }\n      var siteKitUserCountReportError = isSiteKitAudiencePartialData ? getErrorForSelector('getReport', [getSiteKitAudiencesUserCountReportOptions()]) : undefined;\n      var otherUserCountReportError = isSiteKitAudiencePartialData === false || (otherAudiences === null || otherAudiences === void 0 ? void 0 : otherAudiences.length) > 0 ? getErrorForSelector('getReport', [getAudiencesUserCountReportOptions(isSiteKitAudiencePartialData ? otherAudiences : configurableAudiences)]) : undefined;\n      return [siteKitUserCountReportError, otherUserCountReportError];\n    };\n  }),\n  /**\n   * Gets the report options for the Site Kit audiences user count report.\n   *\n   * @since 1.134.0\n   *\n   * @return {Object} Returns the report options for the Site Kit audiences user count report.\n   */\n  getSiteKitAudiencesUserCountReportOptions: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var dateRangeDates = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getDateRangeDates({\n        offsetDays: _constants__WEBPACK_IMPORTED_MODULE_5__[\"DATE_RANGE_OFFSET\"]\n      });\n      return {\n        startDate: dateRangeDates.startDate,\n        endDate: dateRangeDates.endDate,\n        metrics: [{\n          name: 'totalUsers'\n        }],\n        dimensions: [{\n          name: 'newVsReturning'\n        }]\n      };\n    };\n  }),\n  /**\n   * Checks if any of the provided audiences are in the partial data state.\n   *\n   * @since 1.134.0\n   *\n   * @param {Array} audiences Array of audiences to check.\n   * @return {boolean|undefined} True if any of the provided audiences is in partial data state, otherwise false. Undefined if available audiences or any partial data state is not loaded yet.\n   */\n  hasAudiencePartialData: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, audiences) {\n      if (undefined === audiences) {\n        return undefined;\n      }\n      var _iterator = _createForOfIteratorHelper(audiences || []),\n        _step;\n      try {\n        for (_iterator.s(); !(_step = _iterator.n()).done;) {\n          var audience = _step.value;\n          var isPartialData = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).isAudiencePartialData(audience.name);\n          if (isPartialData === undefined) {\n            return undefined;\n          }\n          if (isPartialData) {\n            return true;\n          }\n        }\n      } catch (err) {\n        _iterator.e(err);\n      } finally {\n        _iterator.f();\n      }\n      return false;\n    };\n  }),\n  /**\n   * Checks if the provided audience is a Site Kit audience in the partial data state and returns the audience object if so.\n   *\n   * @since 1.136.0\n   *\n   * @param {string} audienceResourceName The audience resource name.\n   * @return {(Object|null|undefined)} The audience object if the audience is a Site Kit audience in the partial data state, otherwise null. Undefined if available audiences or the partial data state is not loaded yet.\n   */\n  getPartialDataSiteKitAudience: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, audienceResourceName) {\n      var availableAudiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n      if (availableAudiences === undefined) {\n        return undefined;\n      }\n      var audience = availableAudiences.find(function (_ref13) {\n        var name = _ref13.name;\n        return name === audienceResourceName;\n      });\n      if ((audience === null || audience === void 0 ? void 0 : audience.audienceType) !== 'SITE_KIT_AUDIENCE') {\n        return null;\n      }\n      var isPartialData = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).isAudiencePartialData(audienceResourceName);\n      if (isPartialData === undefined) {\n        return undefined;\n      }\n      return isPartialData ? audience : null;\n    };\n  }),\n  /**\n   * Gets the configurable Site Kit and other (non Site Kit) audiences.\n   *\n   * @since 1.134.0\n   *\n   * @return {Array} Array of Site Kit and other audiences.\n   */\n  getConfigurableSiteKitAndOtherAudiences: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var audiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getConfigurableAudiences();\n      if (undefined === audiences) {\n        return undefined;\n      }\n      if (!(audiences === null || audiences === void 0 ? void 0 : audiences.length)) {\n        return [];\n      }\n      var _audiences$reduce = audiences.reduce(function (_ref14, audience) {\n          var _ref15 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref14, 2),\n            siteKit = _ref15[0],\n            other = _ref15[1];\n          if (audience.audienceType === 'SITE_KIT_AUDIENCE') {\n            siteKit.push(audience);\n          } else {\n            other.push(audience);\n          }\n          return [siteKit, other];\n        }, [[], []] // Initial values.\n        ),\n        _audiences$reduce2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_audiences$reduce, 2),\n        siteKitAudiences = _audiences$reduce2[0],\n        otherAudiences = _audiences$reduce2[1];\n      return [siteKitAudiences, otherAudiences];\n    };\n  }),\n  /**\n   * Gets the configurable Site Kit and other (non Site Kit) audiences.\n   *\n   * @since 1.136.0\n   *\n   * @return {Array} Array of Site Kit and other audiences.\n   */\n  getConfiguredSiteKitAndOtherAudiences: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var configuredAudiences = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).getConfiguredAudiences();\n      var availableAudiences = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences();\n      if (undefined === configuredAudiences || undefined === availableAudiences) {\n        return undefined;\n      }\n      if (!(configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.length)) {\n        return [];\n      }\n      var _configuredAudiences$ = configuredAudiences.reduce(function (_ref16, configuredAudience) {\n          var _ref17 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref16, 2),\n            siteKit = _ref17[0],\n            other = _ref17[1];\n          var audience = availableAudiences.find(function (_ref18) {\n            var name = _ref18.name;\n            return name === configuredAudience;\n          });\n          if ((audience === null || audience === void 0 ? void 0 : audience.audienceType) === 'SITE_KIT_AUDIENCE') {\n            siteKit.push(audience);\n          } else {\n            other.push(audience);\n          }\n          return [siteKit, other];\n        }, [[], []] // Initial values.\n        ),\n        _configuredAudiences$2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_configuredAudiences$, 2),\n        siteKitAudiences = _configuredAudiences$2[0],\n        otherAudiences = _configuredAudiences$2[1];\n      return [siteKitAudiences, otherAudiences];\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"combineStores\"])(fetchCreateAudienceStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: {},\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/modules/analytics-4/datastore/audiences.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/base.js":
/*!**************************************************!*\
  !*** ./js/modules/analytics-4/datastore/base.js ***!
  \**************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var googlesitekit_modules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! googlesitekit-modules */ \"googlesitekit-modules\");\n/* harmony import */ var googlesitekit_modules__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_modules__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./settings */ \"./js/modules/analytics-4/datastore/settings.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/**\n * `modules/analytics-4` base 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\nvar baseModuleStore = googlesitekit_modules__WEBPACK_IMPORTED_MODULE_0___default.a.createModuleStore(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULE_SLUG_ANALYTICS_4\"], {\n  ownedSettingsSlugs: ['accountID', 'propertyID', 'webDataStreamID', 'measurementID', 'googleTagID', 'googleTagAccountID', 'googleTagContainerID'],\n  storeName: _constants__WEBPACK_IMPORTED_MODULE_1__[\"MODULES_ANALYTICS_4\"],\n  settingSlugs: ['accountID', 'adsConversionID', 'adSenseLinked', 'adSenseLinkedLastSyncedAt', 'propertyID', 'webDataStreamID', 'measurementID', 'useSnippet', 'ownerID', 'googleTagID', 'googleTagAccountID', 'googleTagContainerID', 'googleTagContainerDestinationIDs', 'googleTagLastSyncedAtMs', 'availableCustomDimensions', 'propertyCreateTime', 'trackingDisabled', 'adsConversionIDMigratedAtMs', 'adsLinked', 'adsLinkedLastSyncedAt', 'detectedEvents', 'newConversionEventsLastUpdateAt', 'lostConversionEventsLastUpdateAt'],\n  submitChanges: _settings__WEBPACK_IMPORTED_MODULE_3__[\"submitChanges\"],\n  rollbackChanges: _settings__WEBPACK_IMPORTED_MODULE_3__[\"rollbackChanges\"],\n  validateCanSubmitChanges: _settings__WEBPACK_IMPORTED_MODULE_3__[\"validateCanSubmitChanges\"],\n  validateHaveSettingsChanged: _settings__WEBPACK_IMPORTED_MODULE_3__[\"validateHaveSettingsChanged\"]\n});\nvar originalSetPropertyCreateTime = baseModuleStore.actions.setPropertyCreateTime;\nbaseModuleStore.actions.setPropertyCreateTime = function (value) {\n  return originalSetPropertyCreateTime(Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"convertDateStringToUNIXTimestamp\"])(value));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (baseModuleStore);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2RhdGFzdG9yZS9iYXNlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9kYXRhc3RvcmUvYmFzZS5qcz8yNTI1Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYG1vZHVsZXMvYW5hbHl0aWNzLTRgIGJhc2UgZGF0YSB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VmYXVsdCBiYXNlTW9kdWxlU3RvcmU7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFNQTtBQUVBO0FBQ0E7QUFTQTtBQUNBO0FBeUJBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUdBO0FBQ0E7QUFHQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/datastore/base.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/constants.js":
/*!*******************************************************!*\
  !*** ./js/modules/analytics-4/datastore/constants.js ***!
  \*******************************************************/
/*! exports provided: MODULES_ANALYTICS_4, ACCOUNT_CREATE, PROPERTY_CREATE, WEBDATASTREAM_CREATE, FORM_SETUP, MAX_WEBDATASTREAMS_PER_BATCH, DATE_RANGE_OFFSET, GTM_SCOPE, ENHANCED_MEASUREMENT_FORM, ENHANCED_MEASUREMENT_ENABLED, ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER, FORM_ACCOUNT_CREATE, FORM_CUSTOM_DIMENSIONS_CREATE, PROVISIONING_SCOPE, EDIT_SCOPE, UI_DIMENSION_NAME, UI_DIMENSION_COLOR, UI_DIMENSION_VALUE, UI_ACTIVE_ROW_INDEX, UI_ALL_TRAFFIC_LOADED, CUSTOM_DIMENSION_DEFINITIONS, ENUM_CONVERSION_EVENTS, CONVERSION_REPORTING_LEAD_EVENTS, AUDIENCE_FILTER_CLAUSE_TYPE_ENUM, AUDIENCE_FILTER_SCOPE_ENUM, SITE_KIT_AUDIENCE_DEFINITIONS, AUDIENCE_SEGMENTATION_SETUP_FORM, AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE, AUDIENCE_TYPE_SORT_ORDER, AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX, RESOURCE_TYPE_AUDIENCE, RESOURCE_TYPE_CUSTOM_DIMENSION, RESOURCE_TYPE_PROPERTY, RESOURCE_TYPES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULES_ANALYTICS_4\", function() { return MODULES_ANALYTICS_4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_CREATE\", function() { return ACCOUNT_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PROPERTY_CREATE\", function() { return PROPERTY_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WEBDATASTREAM_CREATE\", function() { return WEBDATASTREAM_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_SETUP\", function() { return FORM_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAX_WEBDATASTREAMS_PER_BATCH\", function() { return MAX_WEBDATASTREAMS_PER_BATCH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DATE_RANGE_OFFSET\", function() { return DATE_RANGE_OFFSET; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GTM_SCOPE\", function() { return GTM_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENHANCED_MEASUREMENT_FORM\", function() { return ENHANCED_MEASUREMENT_FORM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENHANCED_MEASUREMENT_ENABLED\", function() { return ENHANCED_MEASUREMENT_ENABLED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER\", function() { return ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_ACCOUNT_CREATE\", function() { return FORM_ACCOUNT_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_CUSTOM_DIMENSIONS_CREATE\", function() { return FORM_CUSTOM_DIMENSIONS_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PROVISIONING_SCOPE\", function() { return PROVISIONING_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EDIT_SCOPE\", function() { return EDIT_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_DIMENSION_NAME\", function() { return UI_DIMENSION_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_DIMENSION_COLOR\", function() { return UI_DIMENSION_COLOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_DIMENSION_VALUE\", function() { return UI_DIMENSION_VALUE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_ACTIVE_ROW_INDEX\", function() { return UI_ACTIVE_ROW_INDEX; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_ALL_TRAFFIC_LOADED\", function() { return UI_ALL_TRAFFIC_LOADED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CUSTOM_DIMENSION_DEFINITIONS\", function() { return CUSTOM_DIMENSION_DEFINITIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENUM_CONVERSION_EVENTS\", function() { return ENUM_CONVERSION_EVENTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONVERSION_REPORTING_LEAD_EVENTS\", function() { return CONVERSION_REPORTING_LEAD_EVENTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_FILTER_CLAUSE_TYPE_ENUM\", function() { return AUDIENCE_FILTER_CLAUSE_TYPE_ENUM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_FILTER_SCOPE_ENUM\", function() { return AUDIENCE_FILTER_SCOPE_ENUM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_KIT_AUDIENCE_DEFINITIONS\", function() { return SITE_KIT_AUDIENCE_DEFINITIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_SEGMENTATION_SETUP_FORM\", function() { return AUDIENCE_SEGMENTATION_SETUP_FORM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\", function() { return AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_TYPE_SORT_ORDER\", function() { return AUDIENCE_TYPE_SORT_ORDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX\", function() { return AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESOURCE_TYPE_AUDIENCE\", function() { return RESOURCE_TYPE_AUDIENCE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESOURCE_TYPE_CUSTOM_DIMENSION\", function() { return RESOURCE_TYPE_CUSTOM_DIMENSION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESOURCE_TYPE_PROPERTY\", function() { return RESOURCE_TYPE_PROPERTY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESOURCE_TYPES\", function() { return RESOURCE_TYPES; });\n/**\n * `modules/analytics-4` 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 MODULES_ANALYTICS_4 = 'modules/analytics-4';\n\n// A special Account ID value used for the \"Set up a new account\" option.\nvar ACCOUNT_CREATE = 'account_create';\n\n// A special Property ID value used for the \"Set up a new property\" option.\nvar PROPERTY_CREATE = 'property_create';\nvar WEBDATASTREAM_CREATE = 'webdatastream_create';\nvar FORM_SETUP = 'analyticsSetup';\nvar MAX_WEBDATASTREAMS_PER_BATCH = 10;\n\n// Date range offset days for Analytics 4 report requests.\nvar DATE_RANGE_OFFSET = 1;\nvar GTM_SCOPE = 'https://www.googleapis.com/auth/tagmanager.readonly';\nvar ENHANCED_MEASUREMENT_FORM = 'enhanced-measurement-form';\nvar ENHANCED_MEASUREMENT_ENABLED = 'enhanced-measurement-enabled';\nvar ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER = 'enhanced-measurement-should-dismiss-activation-banner';\n\n// Form ID for the account creation form.\nvar FORM_ACCOUNT_CREATE = 'analyticsAccountCreate';\nvar FORM_CUSTOM_DIMENSIONS_CREATE = 'analyticsCustomDimensionsCreate';\n\n// OAuth scope required for provisioning a Google Analytics account.\nvar PROVISIONING_SCOPE = 'https://www.googleapis.com/auth/analytics.provision';\nvar EDIT_SCOPE = 'https://www.googleapis.com/auth/analytics.edit';\n\n// Dashboard widget constants.\nvar UI_DIMENSION_NAME = 'dashboardAllTrafficWidgetDimensionName';\nvar UI_DIMENSION_COLOR = 'dashboardAllTrafficWidgetDimensionColor';\nvar UI_DIMENSION_VALUE = 'dashboardAllTrafficWidgetDimensionValue';\nvar UI_ACTIVE_ROW_INDEX = 'dashboardAllTrafficWidgetActiveRowIndex';\nvar UI_ALL_TRAFFIC_LOADED = 'dashboardAllTrafficWidgetLoaded';\n\n// Note: names and descriptions are not translated as these are not surfaced in Site Kit\n// and are also subject to hard limits on the length which would be unpredictable if translated.\n// See https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/properties.customDimensions#CustomDimension\nvar CUSTOM_DIMENSION_DEFINITIONS = {\n  googlesitekit_post_date: {\n    parameterName: 'googlesitekit_post_date',\n    displayName: 'WordPress Post Date',\n    description: 'Created by Site Kit: Date when a post was published',\n    scope: 'EVENT'\n  },\n  googlesitekit_post_author: {\n    parameterName: 'googlesitekit_post_author',\n    displayName: 'WordPress Post Author',\n    description: 'Created by Site Kit: WordPress name of the post author',\n    scope: 'EVENT'\n  },\n  googlesitekit_post_categories: {\n    parameterName: 'googlesitekit_post_categories',\n    displayName: 'WordPress Post Categories',\n    description: 'Created by Site Kit: Names of categories assigned to a post',\n    scope: 'EVENT'\n  },\n  googlesitekit_post_type: {\n    parameterName: 'googlesitekit_post_type',\n    displayName: 'WordPress Post Type',\n    description: 'Created by Site Kit: Content type of a post',\n    scope: 'EVENT'\n  }\n};\nvar ENUM_CONVERSION_EVENTS = {\n  ADD_TO_CART: 'add_to_cart',\n  PURCHASE: 'purchase',\n  SUBMIT_LEAD_FORM: 'submit_lead_form',\n  GENERATE_LEAD: 'generate_lead',\n  CONTACT: 'contact'\n};\nvar CONVERSION_REPORTING_LEAD_EVENTS = [ENUM_CONVERSION_EVENTS.CONTACT, ENUM_CONVERSION_EVENTS.GENERATE_LEAD, ENUM_CONVERSION_EVENTS.SUBMIT_LEAD_FORM];\n\n// Audience enums.\nvar AUDIENCE_FILTER_CLAUSE_TYPE_ENUM = {\n  AUDIENCE_CLAUSE_TYPE_UNSPECIFIED: 'AUDIENCE_CLAUSE_TYPE_UNSPECIFIED',\n  INCLUDE: 'INCLUDE',\n  EXCLUDE: 'EXCLUDE'\n};\nvar AUDIENCE_FILTER_SCOPE_ENUM = {\n  AUDIENCE_FILTER_SCOPE_UNSPECIFIED: 'AUDIENCE_FILTER_SCOPE_UNSPECIFIED',\n  AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT: 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT',\n  AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION: 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION',\n  AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS: 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS'\n};\nvar SITE_KIT_AUDIENCE_DEFINITIONS = {\n  'new-visitors': {\n    description: 'People who visited the site for the first time',\n    displayName: 'New visitors',\n    membershipDurationDays: -1,\n    // The longest duration, 540 days.\n    filterClauses: [{\n      clauseType: 'INCLUDE',\n      simpleFilter: {\n        scope: 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS',\n        filterExpression: {\n          andGroup: {\n            filterExpressions: [{\n              orGroup: {\n                filterExpressions: [{\n                  dimensionOrMetricFilter: {\n                    fieldName: 'newVsReturning',\n                    stringFilter: {\n                      matchType: 'EXACT',\n                      value: 'new'\n                    }\n                  }\n                }]\n              }\n            }, {\n              orGroup: {\n                filterExpressions: [{\n                  notExpression: {\n                    dimensionOrMetricFilter: {\n                      fieldName: 'groupId',\n                      stringFilter: {\n                        matchType: 'EXACT',\n                        value: 'created_by_googlesitekit:new_visitors'\n                      }\n                    }\n                  }\n                }]\n              }\n            }]\n          }\n        }\n      }\n    }]\n  },\n  'returning-visitors': {\n    description: 'People who have visited your site at least once before',\n    displayName: 'Returning visitors',\n    membershipDurationDays: -1,\n    // The longest duration, 540 days.\n    filterClauses: [{\n      clauseType: 'INCLUDE',\n      simpleFilter: {\n        scope: 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS',\n        filterExpression: {\n          andGroup: {\n            filterExpressions: [{\n              orGroup: {\n                filterExpressions: [{\n                  dimensionOrMetricFilter: {\n                    fieldName: 'newVsReturning',\n                    stringFilter: {\n                      matchType: 'EXACT',\n                      value: 'returning'\n                    }\n                  }\n                }]\n              }\n            }, {\n              orGroup: {\n                filterExpressions: [{\n                  notExpression: {\n                    dimensionOrMetricFilter: {\n                      fieldName: 'groupId',\n                      stringFilter: {\n                        matchType: 'EXACT',\n                        value: 'created_by_googlesitekit:returning_visitors'\n                      }\n                    }\n                  }\n                }]\n              }\n            }]\n          }\n        }\n      }\n    }]\n  }\n};\nvar AUDIENCE_SEGMENTATION_SETUP_FORM = 'audiencePermissionsSetup';\nvar AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE = 'audienceTileCustomDimensionCreate';\nvar AUDIENCE_TYPE_SORT_ORDER = {\n  USER_AUDIENCE: 0,\n  SITE_KIT_AUDIENCE: 1,\n  DEFAULT_AUDIENCE: 2\n};\nvar AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX = 'audience-selection-panel-expirable-new-badge-';\nvar RESOURCE_TYPE_AUDIENCE = 'audience';\nvar RESOURCE_TYPE_CUSTOM_DIMENSION = 'customDimension';\nvar RESOURCE_TYPE_PROPERTY = 'property';\nvar RESOURCE_TYPES = [RESOURCE_TYPE_AUDIENCE, RESOURCE_TYPE_CUSTOM_DIMENSION, RESOURCE_TYPE_PROPERTY];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/datastore/constants.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/containers.js":
/*!********************************************************!*\
  !*** ./js/modules/analytics-4/datastore/containers.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_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 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/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __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_7__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n\n\n/**\n * `modules/analytics-4` data store: containers.\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\n\nvar fetchGetGoogleTagContainerStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_7__[\"createFetchStore\"])({\n  baseName: 'getGoogleTagContainer',\n  controlCallback: function controlCallback(_ref) {\n    var measurementID = _ref.measurementID;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"], 'container-lookup', {\n      destinationID: measurementID\n    }, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, container, _ref2) {\n    var measurementID = _ref2.measurementID;\n    state.containers[measurementID] = container;\n  }),\n  argsToParams: function argsToParams(measurementID) {\n    return {\n      measurementID: measurementID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      measurementID = _ref3.measurementID;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(measurementID, 'measurementID is required.');\n  }\n});\nvar fetchGetGoogleTagContainerDestinationsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_7__[\"createFetchStore\"])({\n  baseName: 'getGoogleTagContainerDestinations',\n  controlCallback: function controlCallback(_ref4) {\n    var gtmAccountID = _ref4.gtmAccountID,\n      gtmContainerID = _ref4.gtmContainerID;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"], 'container-destinations', {\n      accountID: gtmAccountID,\n      containerID: gtmContainerID\n    }, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, containerDestinations, _ref5) {\n    var _state$containerDesti;\n    var gtmAccountID = _ref5.gtmAccountID,\n      gtmContainerID = _ref5.gtmContainerID;\n    state.containerDestinations[gtmAccountID] = state.containerDestinations[gtmAccountID] || {};\n    state.containerDestinations[gtmAccountID][gtmContainerID] = state.containerDestinations[gtmAccountID][gtmContainerID] || [];\n    (_state$containerDesti = state.containerDestinations[gtmAccountID][gtmContainerID]).push.apply(_state$containerDesti, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(containerDestinations));\n  }),\n  argsToParams: function argsToParams(gtmAccountID, gtmContainerID) {\n    return {\n      gtmAccountID: gtmAccountID,\n      gtmContainerID: gtmContainerID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref6 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      gtmAccountID = _ref6.gtmAccountID,\n      gtmContainerID = _ref6.gtmContainerID;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(gtmAccountID, 'gtmAccountID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(gtmContainerID, 'gtmContainerID is required.');\n  }\n});\nvar baseInitialState = {\n  containers: {},\n  containerDestinations: {}\n};\nvar baseActions = {};\nvar baseControls = {};\nfunction baseReducer(state, _ref7) {\n  var type = _ref7.type;\n  switch (type) {\n    default:\n      {\n        return state;\n      }\n  }\n}\nvar baseResolvers = {\n  getGoogleTagContainer: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getGoogleTagContainer(measurementID) {\n    var registry, container;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getGoogleTagContainer$(_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            container = registry.select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getGoogleTagContainer(measurementID);\n            if (!(container === undefined)) {\n              _context.next = 7;\n              break;\n            }\n            _context.next = 7;\n            return fetchGetGoogleTagContainerStore.actions.fetchGetGoogleTagContainer(measurementID);\n          case 7:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, getGoogleTagContainer);\n  }),\n  getGoogleTagContainerDestinations: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getGoogleTagContainerDestinations(gtmAccountID, gtmContainerID) {\n    var registry, containerDestinations;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getGoogleTagContainerDestinations$(_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            registry = _context2.sent;\n            containerDestinations = registry.select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getGoogleTagContainerDestinations(gtmAccountID, gtmContainerID);\n            if (!(containerDestinations === undefined)) {\n              _context2.next = 7;\n              break;\n            }\n            _context2.next = 7;\n            return fetchGetGoogleTagContainerDestinationsStore.actions.fetchGetGoogleTagContainerDestinations(gtmAccountID, gtmContainerID);\n          case 7:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, getGoogleTagContainerDestinations);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets the Google Tag container for the given measurementID.\n   *\n   * @since 1.92.0\n   *\n   * @param {Object} state         Data store's state.\n   * @param {string} measurementID Measurement ID.\n   * @return {Object|undefined} Google Tag container object, or undefined if not loaded.\n   */\n  getGoogleTagContainer: function getGoogleTagContainer(state, measurementID) {\n    return state.containers[measurementID];\n  },\n  /**\n   * Gets the Google Tag container destinations for the given accountID and containerID.\n   *\n   * @since 1.92.0\n   *\n   * @param {Object} state          Data store's state.\n   * @param {string} gtmAccountID   Google Tag Manager account ID.\n   * @param {string} gtmContainerID Google Tag Manager container ID.\n   * @return {(Array.<Object>|undefined)} Google Tag container destinations list, or undefined if not loaded.\n   */\n  getGoogleTagContainerDestinations: function getGoogleTagContainerDestinations(state, gtmAccountID, gtmContainerID) {\n    var _state$containerDesti2;\n    return (_state$containerDesti2 = state.containerDestinations[gtmAccountID]) === null || _state$containerDesti2 === void 0 ? void 0 : _state$containerDesti2[gtmContainerID];\n  }\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"combineStores\"])(fetchGetGoogleTagContainerStore, fetchGetGoogleTagContainerDestinationsStore, {\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/modules/analytics-4/datastore/containers.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/conversion-reporting.js":
/*!******************************************************************!*\
  !*** ./js/modules/analytics-4/datastore/conversion-reporting.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_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/* 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 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 _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __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_4__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_user_input_util_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/user-input/util/constants */ \"./js/components/user-input/util/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * `modules/analytics-4` data store: conversion reporting.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\nvar selectors = {\n  /**\n   * Checks whether the provided conversion reporting events are available.\n   *\n   * @since 1.135.0\n   *\n   * @param {Object}               state  Data store's state.\n   * @param {string|Array<string>} events Conversion reporting events to check.\n   * @return {(boolean|undefined)} True if all provided custom dimensions are available, otherwise false. Undefined if available custom dimensions are not loaded yet.\n   */\n  hasConversionReportingEvents: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function (state, events) {\n      // Ensure events is always an array, even if a string is passed.\n      var eventsToCheck = Array.isArray(events) ? events : [events];\n      var detectedEvents = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n      if (!(detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.length)) {\n        return false;\n      }\n      return eventsToCheck.some(function (event) {\n        return detectedEvents.includes(event);\n      });\n    };\n  }),\n  /**\n   * Gets all conversion reporting inline data 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.140.0\n   * @private\n   *\n   * @return {(Object|undefined)} Conversion reporting inline data.\n   */\n  getConversionReportingEventsChange: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n        getNewEvents = _select.getNewEvents,\n        getLostEvents = _select.getLostEvents,\n        getNewBadgeEvents = _select.getNewBadgeEvents;\n      var newEvents = getNewEvents();\n      var lostEvents = getLostEvents();\n      var newBadgeEvents = getNewBadgeEvents();\n      if (newEvents === undefined || lostEvents === undefined || newBadgeEvents === undefined) {\n        return undefined;\n      }\n      return {\n        newEvents: newEvents,\n        lostEvents: lostEvents,\n        newBadgeEvents: newBadgeEvents\n      };\n    };\n  }),\n  /**\n   * Checks if newEvents are present.\n   *\n   * @since 1.140.0\n   *\n   * @return {boolean|undefined} TRUE if `newEvents` are present, FALSE otherwise.\n   */\n  hasNewConversionReportingEvents: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var newEvents = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getNewEvents();\n      if (newEvents === undefined) {\n        return undefined;\n      }\n      return newEvents.length > 0;\n    };\n  }),\n  /**\n   * Checks if lostEvents are present.\n   *\n   * @since 1.140.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean|undefined} TRUE if `lostEvents` are present, FALSE otherwise.\n   */\n  hasLostConversionReportingEvents: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var lostEvents = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getLostEvents();\n      if (lostEvents === undefined) {\n        return undefined;\n      }\n      return lostEvents.length > 0;\n    };\n  }),\n  /**\n   * Checks if there are key metrics widgets connected with the detected events for the supplied purpose answer.\n   *\n   * @since 1.141.0\n   *\n   * @param {boolean} useNewEvents Flag inclusion of detected new events, otherwise initial detected events will be used.\n   * @return {boolean|undefined} TRUE if current site purpose will have any ACR key metrics widgets assigned to it, FALSE otherwise, and undefined if metrics are not loaded.\n   */\n  haveConversionEventsForTailoredMetrics: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function (state, useNewEvents) {\n      var _select$getConversion;\n      var conversionReportingEventsChange = useNewEvents ? (_select$getConversion = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getConversionReportingEventsChange()) === null || _select$getConversion === void 0 ? void 0 : _select$getConversion.newEvents : select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n      var currentTailoredMetrics = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getAnswerBasedMetrics();\n      var tailoredMetricsWithNewEvents = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getAnswerBasedMetrics(null, conversionReportingEventsChange);\n      return tailoredMetricsWithNewEvents === null || tailoredMetricsWithNewEvents === void 0 ? void 0 : tailoredMetricsWithNewEvents.some(function (metric, index) {\n        return metric !== (currentTailoredMetrics === null || currentTailoredMetrics === void 0 ? void 0 : currentTailoredMetrics[index]);\n      });\n    };\n  }),\n  /**\n   * Checks if there are key metrics widgets that rely on the conversion events that have been lost.\n   *\n   * @since 1.142.0\n   *\n   * @return {boolean|undefined} TRUE if current metrics are depending on the conversion events that have been lost, FALSE otherwise, and undefined if event change data is not resolved.\n   */\n  haveLostEventsForCurrentMetrics: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select$getConversion2;\n      var conversionEventWidgets = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getKeyMetricsConversionEventWidgets();\n      var currentMetrics = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getKeyMetrics();\n      var conversionReportingLostEvents = (_select$getConversion2 = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getConversionReportingEventsChange()) === null || _select$getConversion2 === void 0 ? void 0 : _select$getConversion2.lostEvents;\n      return conversionReportingLostEvents === null || conversionReportingLostEvents === void 0 ? void 0 : conversionReportingLostEvents.some(function (event) {\n        var _conversionEventWidge;\n        return (_conversionEventWidge = conversionEventWidgets[event]) === null || _conversionEventWidge === void 0 ? void 0 : _conversionEventWidge.some(function (widget) {\n          return currentMetrics === null || currentMetrics === void 0 ? void 0 : currentMetrics.includes(widget);\n        });\n      });\n    };\n  }),\n  /**\n   * Returns the conversion events associated with the current site purpose.\n   *\n   * @since 1.142.0\n   *\n   * @return {Array|undefined} List of detected conversion events connected to the current site purpose, or undefined if data is not resolved.\n   */\n  getUserInputPurposeConversionEvents: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _userInputSettings$pu, _userInputSettings$pu2;\n      var userInputSettings = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getUserInputSettings();\n      var purpose = userInputSettings === null || userInputSettings === void 0 ? void 0 : (_userInputSettings$pu = userInputSettings.purpose) === null || _userInputSettings$pu === void 0 ? void 0 : (_userInputSettings$pu2 = _userInputSettings$pu.values) === null || _userInputSettings$pu2 === void 0 ? void 0 : _userInputSettings$pu2[0];\n      var purposeEvents = _js_components_user_input_util_constants__WEBPACK_IMPORTED_MODULE_7__[\"USER_INPUT_PURPOSE_TO_CONVERSION_EVENTS_MAPPING\"][purpose];\n      var detectedEvents = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n      return purposeEvents === null || purposeEvents === void 0 ? void 0 : purposeEvents.reduce(function (acc, event) {\n        if (detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.includes(event)) {\n          return [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(acc), [event]);\n        }\n        return acc;\n      }, []);\n    };\n  }),\n  /**\n   * Returns the conversion events if detected events are suitable for tailored metrics.\n   *\n   * @since 1.146.0\n   *\n   * @return {Array} List of detected conversion events or empty array.\n   */\n  shouldIncludeConversionTailoredMetrics: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var isGA4Connected = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"]);\n      if (!isGA4Connected) {\n        return [];\n      }\n      var _select2 = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n        haveConversionEventsForTailoredMetrics = _select2.haveConversionEventsForTailoredMetrics,\n        getDetectedEvents = _select2.getDetectedEvents;\n      if (haveConversionEventsForTailoredMetrics()) {\n        return getDetectedEvents() || [];\n      }\n      return [];\n    };\n  }),\n  /**\n   * Gets conversion events related metrics.\n   *\n   * @since 1.142.0\n   * @private\n   *\n   * @return {Object} Metrics list object.\n   */\n  getKeyMetricsConversionEventWidgets: function getKeyMetricsConversionEventWidgets() {\n    var leadRelatedMetrics = [_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS\"], _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS\"], _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS\"]];\n    return {\n      purchase: [_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES\"], _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES\"], _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES\"]],\n      add_to_cart: [_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART\"], _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART\"]],\n      contact: leadRelatedMetrics,\n      submit_lead_form: leadRelatedMetrics,\n      generate_lead: leadRelatedMetrics\n    };\n  },\n  /**\n   * Checks if there are conversion events for the user picked metrics.\n   *\n   * @since 1.142.0\n   *\n   * @param {boolean} useNewEvents Flag inclusion of detected new events, otherwise initial detected events will be used.\n   * @return {boolean|undefined} `true` if there are any ACR key metrics based on the users existing selected metrics, `false` otherwise. Will return `undefined` if the data is not loaded yet.\n   */\n  haveConversionEventsForUserPickedMetrics: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function (state, useNewEvents) {\n      var _select$getConversion3;\n      var conversionEventWidgets = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getKeyMetricsConversionEventWidgets();\n      var userPickedKeyMetrics = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getUserPickedMetrics();\n      var conversionReportingEventsChange = useNewEvents ? (_select$getConversion3 = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getConversionReportingEventsChange()) === null || _select$getConversion3 === void 0 ? void 0 : _select$getConversion3.newEvents : select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getDetectedEvents();\n      return conversionReportingEventsChange === null || conversionReportingEventsChange === void 0 ? void 0 : conversionReportingEventsChange.some(function (event) {\n        var _conversionEventWidge2;\n        return (_conversionEventWidge2 = conversionEventWidgets[event]) === null || _conversionEventWidge2 === void 0 ? void 0 : _conversionEventWidge2.some(function (widget) {\n          return !(userPickedKeyMetrics === null || userPickedKeyMetrics === void 0 ? void 0 : userPickedKeyMetrics.includes(widget));\n        });\n      });\n    };\n  }),\n  /**\n   * Checks if there are new conversion events after initial events were detected. Regardless of how KM were setup.\n   *\n   * @since 1.142.0\n   *\n   * @return {boolean} `true` if there are metrics related to the new conversion events that differ from already detected/selected ones, `false` otherwise.\n   */\n  haveConversionEventsWithDifferentMetrics: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _conversionReportingE;\n      var isGA4Connected = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"]);\n      if (!isGA4Connected) {\n        return false;\n      }\n      var _select3 = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n        getDetectedEvents = _select3.getDetectedEvents,\n        getConversionReportingEventsChange = _select3.getConversionReportingEventsChange,\n        haveConversionEventsForUserPickedMetrics = _select3.haveConversionEventsForUserPickedMetrics,\n        haveConversionEventsForTailoredMetrics = _select3.haveConversionEventsForTailoredMetrics,\n        getKeyMetricsConversionEventWidgets = _select3.getKeyMetricsConversionEventWidgets;\n      var detectedEvents = getDetectedEvents();\n      var conversionReportingEventsChange = getConversionReportingEventsChange();\n      if (!(detectedEvents === null || detectedEvents === void 0 ? void 0 : detectedEvents.length) || !(conversionReportingEventsChange === null || conversionReportingEventsChange === void 0 ? void 0 : (_conversionReportingE = conversionReportingEventsChange.newEvents) === null || _conversionReportingE === void 0 ? void 0 : _conversionReportingE.length) ||\n      // If events in detectedEvents do not differ from the new ones it means\n      // it is the initial detection, since after initial detection newEvents will\n      // only contain the difference in events.\n      Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isEqual\"])(Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"safelySort\"])(conversionReportingEventsChange === null || conversionReportingEventsChange === void 0 ? void 0 : conversionReportingEventsChange.newEvents), Object(_js_util__WEBPACK_IMPORTED_MODULE_8__[\"safelySort\"])(detectedEvents))) {\n        return false;\n      }\n      var detectedLeadEvents = detectedEvents.filter(function (event) {\n        return _constants__WEBPACK_IMPORTED_MODULE_5__[\"CONVERSION_REPORTING_LEAD_EVENTS\"].includes(event);\n      });\n      var newLeadEvents = conversionReportingEventsChange.newEvents.filter(function (event) {\n        return _constants__WEBPACK_IMPORTED_MODULE_5__[\"CONVERSION_REPORTING_LEAD_EVENTS\"].includes(event);\n      });\n      var newNonLeadEvents = conversionReportingEventsChange.newEvents.filter(function (event) {\n        return !_constants__WEBPACK_IMPORTED_MODULE_5__[\"CONVERSION_REPORTING_LEAD_EVENTS\"].includes(event);\n      });\n\n      // If new events include only additional lead events return early.\n      if (detectedLeadEvents.length > 1 && newLeadEvents.length > 0 && !newNonLeadEvents.length) {\n        return false;\n      }\n      var _select4 = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]),\n        getUserPickedMetrics = _select4.getUserPickedMetrics,\n        getKeyMetrics = _select4.getKeyMetrics;\n      var userPickedMetrics = getUserPickedMetrics();\n      var haveNewConversionEventsForUserPickedMetrics = haveConversionEventsForUserPickedMetrics(true);\n      if ((userPickedMetrics === null || userPickedMetrics === void 0 ? void 0 : userPickedMetrics.length) && !haveNewConversionEventsForUserPickedMetrics) {\n        return false;\n      }\n      var keyMetricsConversionEventWidgets = getKeyMetricsConversionEventWidgets();\n      var newConversionEventKeyMetrics = [];\n\n      // Pick all conversion event widgets associated with new events.\n      for (var event in keyMetricsConversionEventWidgets) {\n        if (conversionReportingEventsChange.newEvents.includes(event)) {\n          newConversionEventKeyMetrics.push.apply(newConversionEventKeyMetrics, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(keyMetricsConversionEventWidgets[event]));\n        }\n      }\n      var currentKeyMetrics = getKeyMetrics();\n      var haveAllConversionEventMetrics = newConversionEventKeyMetrics.every(function (keyMetric) {\n        return currentKeyMetrics === null || currentKeyMetrics === void 0 ? void 0 : currentKeyMetrics.includes(keyMetric);\n      });\n\n      // If the current site purpose has all conversion event metrics,\n      // or there are some metrics that can be added via \"Add\n      // metrics CTA\", don't show the \"View metrics\" variation.\n      if (!(userPickedMetrics === null || userPickedMetrics === void 0 ? void 0 : userPickedMetrics.length) && (haveConversionEventsForTailoredMetrics(true) || haveAllConversionEventMetrics)) {\n        return false;\n      }\n      return true;\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/modules/analytics-4/datastore/conversion-reporting.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/custom-dimensions-gathering-data.js":
/*!******************************************************************************!*\
  !*** ./js/modules/analytics-4/datastore/custom-dimensions-gathering-data.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_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 _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_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 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_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_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/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_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.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_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 * `modules/analytics-4` data store: custom dimensions gathering data store.\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/* 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\n\n\n\nvar RECEIVE_CUSTOM_DIMENSION_GATHERING_DATA = 'RECEIVE_CUSTOM_DIMENSION_GATHERING_DATA';\nvar fetchSaveCustomDimensionDataAvailableStateStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_7__[\"createFetchStore\"])({\n  baseName: 'saveCustomDimensionDataAvailableState',\n  controlCallback: function controlCallback(_ref) {\n    var customDimension = _ref.customDimension;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_ANALYTICS_4\"], 'custom-dimension-data-available', {\n      customDimension: customDimension\n    });\n  },\n  argsToParams: function argsToParams(customDimension) {\n    return {\n      customDimension: customDimension\n    };\n  },\n  validateParams: function validateParams(_ref2) {\n    var customDimension = _ref2.customDimension;\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()('string' === typeof customDimension && customDimension.length > 0, 'customDimension must be a non-empty string.');\n  }\n});\n\n/*\n * The initial state shape is as follows:\n *\n * {\n *   customDimensionsGatheringData: {\n *     googlesitekit_post_date: undefined,\n *     googlesitekit_post_author: undefined,\n *     // etc.\n *   },\n * }\n */\nvar baseInitialState = {\n  customDimensionsGatheringData: Object.keys(_constants__WEBPACK_IMPORTED_MODULE_8__[\"CUSTOM_DIMENSION_DEFINITIONS\"]).reduce(function (initialStateSlice, customDimension) {\n    return _objectSpread(_objectSpread({}, initialStateSlice), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, customDimension, undefined));\n  }, {})\n};\nvar baseActions = {\n  /**\n   * Receives gathering data state for a custom dimension.\n   *\n   * @since 1.113.0\n   * @private\n   *\n   * @param {string}  customDimension Custom dimension slug.\n   * @param {boolean} gatheringData   Gathering data.\n   * @return {Object} Redux-style action.\n   */\n  receiveIsCustomDimensionGatheringData: function receiveIsCustomDimensionGatheringData(customDimension, gatheringData) {\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()('string' === typeof customDimension && customDimension.length > 0, 'customDimension must be a non-empty string.');\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()('boolean' === typeof gatheringData, 'gatheringData must be a boolean.');\n    return {\n      payload: {\n        customDimension: customDimension,\n        gatheringData: gatheringData\n      },\n      type: RECEIVE_CUSTOM_DIMENSION_GATHERING_DATA\n    };\n  },\n  /**\n   * Checks whether data is available for the custom dimension.\n   *\n   * If data is available, saves the data available state to the server.\n   *\n   * @since 1.113.0\n   *\n   * @param {string} customDimension Custom dimension slug.\n   */\n  checkCustomDimensionDataAvailability: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function checkCustomDimensionDataAvailability(customDimension) {\n    var _report$rows;\n    var _yield$commonActions$, select, resolveSelect, reportArgs, report, hasReportError, isGatheringData;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function checkCustomDimensionDataAvailability$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context.sent;\n            select = _yield$commonActions$.select;\n            resolveSelect = _yield$commonActions$.resolveSelect;\n            _context.next = 7;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getSettings());\n          case 7:\n            if (select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).hasCustomDimensions(customDimension)) {\n              _context.next = 11;\n              break;\n            }\n            _context.next = 10;\n            return baseActions.receiveIsCustomDimensionGatheringData(customDimension, true);\n          case 10:\n            return _context.abrupt(\"return\");\n          case 11:\n            _context.next = 13;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getAuthentication());\n          case 13:\n            if (select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).isAuthenticated()) {\n              _context.next = 17;\n              break;\n            }\n            _context.next = 16;\n            return baseActions.receiveIsCustomDimensionGatheringData(customDimension, true);\n          case 16:\n            return _context.abrupt(\"return\");\n          case 17:\n            _context.next = 19;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getDataAvailabilityReportOptions(customDimension));\n          case 19:\n            reportArgs = _context.sent;\n            if (reportArgs) {\n              _context.next = 24;\n              break;\n            }\n            _context.next = 23;\n            return baseActions.receiveIsCustomDimensionGatheringData(customDimension, true);\n          case 23:\n            return _context.abrupt(\"return\");\n          case 24:\n            _context.next = 26;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getReport(reportArgs));\n          case 26:\n            report = _context.sent;\n            hasReportError = !!select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportArgs]);\n            isGatheringData = hasReportError || !(report === null || report === void 0 ? void 0 : (_report$rows = report.rows) === null || _report$rows === void 0 ? void 0 : _report$rows.length);\n            _context.next = 31;\n            return baseActions.receiveIsCustomDimensionGatheringData(customDimension, isGatheringData);\n          case 31:\n            if (isGatheringData) {\n              _context.next = 34;\n              break;\n            }\n            _context.next = 34;\n            return fetchSaveCustomDimensionDataAvailableStateStore.actions.fetchSaveCustomDimensionDataAvailableState(customDimension);\n          case 34:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, checkCustomDimensionDataAvailability);\n  })\n};\nvar baseControls = {};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, _ref3) {\n  var type = _ref3.type,\n    payload = _ref3.payload;\n  switch (type) {\n    case RECEIVE_CUSTOM_DIMENSION_GATHERING_DATA:\n      {\n        var customDimension = payload.customDimension,\n          gatheringData = payload.gatheringData;\n        state.customDimensionsGatheringData[customDimension] = gatheringData;\n        break;\n      }\n    default:\n      {\n        break;\n      }\n  }\n});\nvar baseResolvers = {\n  isCustomDimensionGatheringData: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function isCustomDimensionGatheringData(customDimension) {\n    var _registry$select$getC;\n    var registry, dataAvailableOnLoad;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function isCustomDimensionGatheringData$(_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            registry = _context2.sent;\n            if (!(registry.select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).isCustomDimensionGatheringData(customDimension) !== undefined)) {\n              _context2.next = 5;\n              break;\n            }\n            return _context2.abrupt(\"return\");\n          case 5:\n            _context2.next = 7;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getModuleData());\n          case 7:\n            dataAvailableOnLoad = (_registry$select$getC = registry.select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getCustomDimensionsDataAvailable()) === null || _registry$select$getC === void 0 ? void 0 : _registry$select$getC[customDimension]; // If dataAvailableOnLoad is true, set gatheringData to false and do nothing else.\n            if (!dataAvailableOnLoad) {\n              _context2.next = 12;\n              break;\n            }\n            _context2.next = 11;\n            return baseActions.receiveIsCustomDimensionGatheringData(customDimension, false);\n          case 11:\n            return _context2.abrupt(\"return\");\n          case 12:\n            _context2.next = 14;\n            return baseActions.checkCustomDimensionDataAvailability(customDimension);\n          case 14:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, isCustomDimensionGatheringData);\n  }),\n  getDataAvailabilityReportOptions: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getDataAvailabilityReportOptions() {\n    var _yield$commonActions$2, resolveSelect;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getDataAvailabilityReportOptions$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$2 = _context3.sent;\n            resolveSelect = _yield$commonActions$2.resolveSelect;\n            _context3.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getPropertyCreateTime());\n          case 6:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, getDataAvailabilityReportOptions);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Determines whether the custom dimension is still gathering data or not.\n   *\n   * @since 1.113.0\n   *\n   * @param {Object} state           Data store's state.\n   * @param {string} customDimension Custom dimension slug.\n   * @return {boolean|undefined} Returns TRUE if gathering data, otherwise FALSE. If the request is still being resolved, returns undefined.\n   */\n  isCustomDimensionGatheringData: function isCustomDimensionGatheringData(state, customDimension) {\n    return state.customDimensionsGatheringData[customDimension];\n  },\n  /**\n   * Determines whether any of the provided custom dimensions are still gathering data.\n   *\n   * @since 1.113.0\n   *\n   * @param {Object}        state            Data store's state.\n   * @param {Array<string>} customDimensions Array of custom dimension slugs.\n   * @return {boolean|undefined} Returns TRUE if any of the provided custom dimensions are gathering data, otherwise FALSE.\n   * \t\t\t\t\t\t\t\t\t\t\t\t\t\t If any of the corresponding state is still being resolved, returns undefined.\n   */\n  areCustomDimensionsGatheringData: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function (state, customDimensions) {\n      var _select = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]),\n        isCustomDimensionGatheringData = _select.isCustomDimensionGatheringData; // Return undefined if any of the custom dimensions' gathering data state is undefined,\n      // or true if any of the custom dimensions' gathering data state is true.\n      var _loop = function _loop() {\n        var gatheringDataState = _arr[_i];\n        if (customDimensions.some(function (dimension) {\n          return isCustomDimensionGatheringData(dimension) === gatheringDataState;\n        })) {\n          return {\n            v: gatheringDataState\n          };\n        }\n      };\n      for (var _i = 0, _arr = [undefined, true]; _i < _arr.length; _i++) {\n        var _ret = _loop();\n        if (_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(_ret) === \"object\") return _ret.v;\n      }\n\n      // Otherwise, all custom dimensions' gathering data state is false.\n      return false;\n    };\n  }),\n  /**\n   * Gets the options for the data availability report.\n   *\n   * @since 1.114.0\n   *\n   * @param {Object} state           Data store's state.\n   * @param {string} customDimension Custom dimension slug.\n   * @return {Object|undefined} Returns the report options if the property is loaded, otherwise undefined.\n   */\n  getDataAvailabilityReportOptions: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function (state, customDimension) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(customDimension, 'customDimension is required.');\n      var propertyID = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n      if (!propertyID) {\n        return undefined;\n      }\n      var propertyCreateTime = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getPropertyCreateTime();\n      if (!propertyCreateTime) {\n        return undefined;\n      }\n      var endDate = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getReferenceDate();\n      return {\n        // Valid use of `new Date()` with an argument.\n        // eslint-disable-next-line sitekit/no-direct-date\n        startDate: Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"getDateString\"])(new Date(propertyCreateTime)),\n        endDate: endDate,\n        dimensions: [\"customEvent:\".concat(customDimension)],\n        dimensionFilters: _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, \"customEvent:\".concat(customDimension), {\n          filterType: 'emptyFilter',\n          notExpression: true\n        }),\n        metrics: [{\n          name: 'eventCount'\n        }],\n        limit: 1,\n        reportID: 'analytics-4_get-data-availability-report-options_store:selector'\n      };\n    };\n  }),\n  /**\n   * Gets the errors for the data availability report.\n   *\n   * @since 1.114.0\n   *\n   * @param {Object} state            Data store's state.\n   * @param {Array}  customDimensions Array of custom dimension slugs.\n   * @return {Object} Returns an object of errors keyed by custom dimension slug.\n   */\n  getDataAvailabilityReportErrors: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function (state, customDimensions) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(customDimensions, 'customDimensions is required.');\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(Array.isArray(customDimensions), 'customDimensions must be an array.');\n      var _select2 = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]),\n        getDataAvailabilityReportOptions = _select2.getDataAvailabilityReportOptions,\n        getErrorForSelector = _select2.getErrorForSelector;\n      return customDimensions.reduce(function (errors, customDimension) {\n        var reportArgs = getDataAvailabilityReportOptions(customDimension);\n        if (!reportArgs) {\n          return errors;\n        }\n        var error = getErrorForSelector('getReport', [reportArgs]);\n        if (error) {\n          return _objectSpread(_objectSpread({}, errors), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, customDimension, error));\n        }\n        return errors;\n      }, {});\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"combineStores\"])(fetchSaveCustomDimensionDataAvailableStateStore, {\n  actions: baseActions,\n  controls: baseControls,\n  initialState: baseInitialState,\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/modules/analytics-4/datastore/custom-dimensions-gathering-data.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/custom-dimensions.js":
/*!***************************************************************!*\
  !*** ./js/modules/analytics-4/datastore/custom-dimensions.js ***!
  \***************************************************************/
/*! exports provided: baseControls, 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__, \"baseControls\", function() { return baseControls; });\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_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 _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__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 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 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 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 _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_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics_key_metrics_widgets__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/components/KeyMetrics/key-metrics-widgets */ \"./js/components/KeyMetrics/key-metrics-widgets.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n\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 * `modules/analytics-4` data store: custom-dimensions store.\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/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nvar customDimensionFields = ['parameterName', 'displayName', 'description', 'scope', 'disallowAdsPersonalization'];\nvar fetchCreateCustomDimensionStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'createCustomDimension',\n  controlCallback: function controlCallback(_ref) {\n    var propertyID = _ref.propertyID,\n      customDimension = _ref.customDimension;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_6__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULE_SLUG_ANALYTICS_4\"], 'create-custom-dimension', {\n      propertyID: propertyID,\n      customDimension: customDimension\n    });\n  },\n  argsToParams: function argsToParams(propertyID, customDimension) {\n    return {\n      propertyID: propertyID,\n      customDimension: customDimension\n    };\n  },\n  validateParams: function validateParams(_ref2) {\n    var propertyID = _ref2.propertyID,\n      customDimension = _ref2.customDimension;\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_9__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"isPlainObject\"])(customDimension), 'Custom dimension must be a plain object.');\n    Object.keys(customDimension).forEach(function (key) {\n      invariant__WEBPACK_IMPORTED_MODULE_4___default()(customDimensionFields.includes(key), \"Custom dimension must contain only valid keys. Invalid key: \\\"\".concat(key, \"\\\"\"));\n    });\n  }\n});\nvar fetchSyncAvailableCustomDimensionsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'syncAvailableCustomDimensions',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_6__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULE_SLUG_ANALYTICS_4\"], 'sync-custom-dimensions');\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createReducer\"])(function (state, dimensions) {\n    state.settings = state.settings || {};\n    state.settings.availableCustomDimensions = dimensions;\n  })\n});\nvar baseInitialState = {\n  customDimensionsBeingCreated: [],\n  syncTimeoutID: undefined\n};\n\n// Actions\nvar SET_CUSTOM_DIMENSIONS_BEING_CREATED = 'SET_CUSTOM_DIMENSIONS_BEING_CREATED';\nvar SCHEDULE_SYNC_AVAILABLE_CUSTOM_DIMENSIONS = 'SCHEDULE_SYNC_AVAILABLE_CUSTOM_DIMENSIONS';\nvar SET_SYNC_TIMEOUT_ID = 'SET_SYNC_TIMEOUT_ID';\nvar baseActions = {\n  /**\n   * Creates custom dimensions and syncs them in the settings.\n   *\n   * @since 1.113.0\n   */\n  createCustomDimensions: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function createCustomDimensions() {\n    var registry, selectedMetricTiles, requiredCustomDimensions, uniqueRequiredCustomDimensions, availableCustomDimensions, missingCustomDimensions, propertyID, _iterator, _step, dimension, dimensionData, _yield$fetchCreateCus, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function createCustomDimensions$(_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            _context.next = 5;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(Promise.all([registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getSettings(), registry.resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).getKeyMetricsSettings(), registry.resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).getUserInputSettings()]));\n          case 5:\n            selectedMetricTiles = registry.select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).getKeyMetrics(); // Extract required custom dimensions from selected metric tiles.\n            requiredCustomDimensions = selectedMetricTiles.flatMap(function (tileName) {\n              var tile = _js_components_KeyMetrics_key_metrics_widgets__WEBPACK_IMPORTED_MODULE_13__[\"KEY_METRICS_WIDGETS\"][tileName];\n              return (tile === null || tile === void 0 ? void 0 : tile.requiredCustomDimensions) || [];\n            }); // Deduplicate if any custom dimensions are repeated among tiles.\n            uniqueRequiredCustomDimensions = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_3___default()(new Set(requiredCustomDimensions));\n            availableCustomDimensions = registry.select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getAvailableCustomDimensions(); // Find out the missing custom dimensions.\n            missingCustomDimensions = uniqueRequiredCustomDimensions.filter(function (dimension) {\n              return !(availableCustomDimensions === null || availableCustomDimensions === void 0 ? void 0 : availableCustomDimensions.includes(dimension));\n            }); // If there are no missing custom dimensions, bail.\n            if (missingCustomDimensions.length) {\n              _context.next = 12;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 12:\n            _context.next = 14;\n            return {\n              type: SET_CUSTOM_DIMENSIONS_BEING_CREATED,\n              payload: {\n                customDimensions: missingCustomDimensions\n              }\n            };\n          case 14:\n            propertyID = registry.select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getPropertyID(); // Create missing custom dimensions.\n            _iterator = _createForOfIteratorHelper(missingCustomDimensions);\n            _context.prev = 16;\n            _iterator.s();\n          case 18:\n            if ((_step = _iterator.n()).done) {\n              _context.next = 29;\n              break;\n            }\n            dimension = _step.value;\n            dimensionData = _constants__WEBPACK_IMPORTED_MODULE_10__[\"CUSTOM_DIMENSION_DEFINITIONS\"][dimension];\n            if (!dimensionData) {\n              _context.next = 27;\n              break;\n            }\n            _context.next = 24;\n            return fetchCreateCustomDimensionStore.actions.fetchCreateCustomDimension(propertyID, dimensionData);\n          case 24:\n            _yield$fetchCreateCus = _context.sent;\n            error = _yield$fetchCreateCus.error;\n            // If the custom dimension was created successfully, mark it as gathering\n            // data immediately so that it doesn't cause unnecessary report requests.\n            if (!error) {\n              registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).receiveIsCustomDimensionGatheringData(dimension, true);\n            }\n          case 27:\n            _context.next = 18;\n            break;\n          case 29:\n            _context.next = 34;\n            break;\n          case 31:\n            _context.prev = 31;\n            _context.t0 = _context[\"catch\"](16);\n            _iterator.e(_context.t0);\n          case 34:\n            _context.prev = 34;\n            _iterator.f();\n            return _context.finish(34);\n          case 37:\n            if (!(missingCustomDimensions.length > 0)) {\n              _context.next = 40;\n              break;\n            }\n            _context.next = 40;\n            return fetchSyncAvailableCustomDimensionsStore.actions.fetchSyncAvailableCustomDimensions();\n          case 40:\n            _context.next = 42;\n            return {\n              type: SET_CUSTOM_DIMENSIONS_BEING_CREATED,\n              payload: {\n                customDimensions: []\n              }\n            };\n          case 42:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, createCustomDimensions, null, [[16, 31, 34, 37]]);\n  }),\n  /**\n   * Sets a schedule timeout ID for syncing available custom dimensions in state.\n   *\n   * @since 1.114.0\n   *\n   * @param {number} syncTimeoutID The timeout ID.\n   * @return {Object} A redux-style action.\n   */\n  setSyncTimeoutID: function setSyncTimeoutID(syncTimeoutID) {\n    return {\n      payload: {\n        syncTimeoutID: syncTimeoutID\n      },\n      type: SET_SYNC_TIMEOUT_ID\n    };\n  },\n  /**\n   * Schedules a sync of available custom dimensions in state.\n   *\n   * @since 1.114.0\n   */\n  scheduleSyncAvailableCustomDimensions: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function scheduleSyncAvailableCustomDimensions() {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function scheduleSyncAvailableCustomDimensions$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return {\n              payload: {},\n              type: SCHEDULE_SYNC_AVAILABLE_CUSTOM_DIMENSIONS\n            };\n          case 2:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, scheduleSyncAvailableCustomDimensions);\n  })\n};\nvar baseControls = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, SCHEDULE_SYNC_AVAILABLE_CUSTOM_DIMENSIONS, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistryControl\"])(function (_ref3) {\n  var select = _ref3.select,\n    dispatch = _ref3.dispatch;\n  return function () {\n    var _select = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]),\n      getSyncTimeoutID = _select.getSyncTimeoutID,\n      isFetchingSyncAvailableCustomDimensions = _select.isFetchingSyncAvailableCustomDimensions;\n    var _dispatch = dispatch(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]),\n      fetchSyncAvailableCustomDimensions = _dispatch.fetchSyncAvailableCustomDimensions,\n      setSyncTimeoutID = _dispatch.setSyncTimeoutID;\n    var syncTimeoutID = getSyncTimeoutID();\n    var isSyncing = isFetchingSyncAvailableCustomDimensions();\n    if (!!syncTimeoutID) {\n      clearTimeout(syncTimeoutID);\n      setSyncTimeoutID(undefined);\n    }\n    if (isSyncing) {\n      return;\n    }\n    var timeoutID = setTimeout(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee() {\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee$(_context3) {\n        while (1) {\n          switch (_context3.prev = _context3.next) {\n            case 0:\n              _context3.next = 2;\n              return fetchSyncAvailableCustomDimensions();\n            case 2:\n              setSyncTimeoutID(undefined);\n            case 3:\n            case \"end\":\n              return _context3.stop();\n          }\n        }\n      }, _callee);\n    })), 2000);\n    setSyncTimeoutID(timeoutID);\n  };\n}));\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createReducer\"])(function (state, action) {\n  switch (action.type) {\n    case SET_CUSTOM_DIMENSIONS_BEING_CREATED:\n      {\n        state.customDimensionsBeingCreated = action.payload.customDimensions;\n        break;\n      }\n    case SET_SYNC_TIMEOUT_ID:\n      {\n        state.syncTimeoutID = action.payload.syncTimeoutID;\n        break;\n      }\n    default:\n      break;\n  }\n});\nvar baseResolvers = {\n  getAvailableCustomDimensions: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function getAvailableCustomDimensions() {\n    var _yield$commonActions$, select, resolveSelect, _select2, isAuthenticated, hasCapability, isGA4Connected, availableCustomDimensions;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function getAvailableCustomDimensions$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _context4.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context4.sent;\n            select = _yield$commonActions$.select;\n            resolveSelect = _yield$commonActions$.resolveSelect;\n            _select2 = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]), isAuthenticated = _select2.isAuthenticated, hasCapability = _select2.hasCapability;\n            _context4.next = 8;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_MODULES\"]).isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULE_SLUG_ANALYTICS_4\"]));\n          case 8:\n            isGA4Connected = _context4.sent;\n            if (isGA4Connected) {\n              _context4.next = 11;\n              break;\n            }\n            return _context4.abrupt(\"return\");\n          case 11:\n            _context4.next = 13;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getSettings());\n          case 13:\n            availableCustomDimensions = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getAvailableCustomDimensions();\n            if (!(availableCustomDimensions || !isAuthenticated())) {\n              _context4.next = 16;\n              break;\n            }\n            return _context4.abrupt(\"return\");\n          case 16:\n            _context4.next = 18;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_USER\"]).getCapabilities());\n          case 18:\n            if (hasCapability(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__[\"PERMISSION_MANAGE_OPTIONS\"])) {\n              _context4.next = 20;\n              break;\n            }\n            return _context4.abrupt(\"return\");\n          case 20:\n            _context4.next = 22;\n            return fetchSyncAvailableCustomDimensionsStore.actions.fetchSyncAvailableCustomDimensions();\n          case 22:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, getAvailableCustomDimensions);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Checks whether the provided custom dimensions are available.\n   *\n   * @since 1.113.0\n   *\n   * @param {Object}               state            Data store's state.\n   * @param {string|Array<string>} customDimensions Custom dimensions to check.\n   * @return {(boolean|undefined)} True if all provided custom dimensions are available, otherwise false. Undefined if available custom dimensions are not loaded yet.\n   */\n  hasCustomDimensions: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, customDimensions) {\n      // Ensure customDimensions is always an array, even if a string is passed.\n      var dimensionsToCheck = Array.isArray(customDimensions) ? customDimensions : [customDimensions];\n      var availableCustomDimensions = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getAvailableCustomDimensions();\n      if (availableCustomDimensions === undefined || availableCustomDimensions === null) {\n        return undefined;\n      }\n      if (!availableCustomDimensions) {\n        return false;\n      }\n      return dimensionsToCheck.every(function (dimension) {\n        return availableCustomDimensions.includes(dimension);\n      });\n    };\n  }),\n  /**\n   * Checks whether the provided custom dimension is being created.\n   *\n   * @since 1.113.0\n   *\n   * @param {Object} state           Data store's state.\n   * @param {string} customDimension Custom dimensions to check.\n   * @return {boolean} True the provided custom dimension is being created, otherwise false.\n   */\n  isCreatingCustomDimension: function isCreatingCustomDimension(state, customDimension) {\n    return !!(state === null || state === void 0 ? void 0 : state.customDimensionsBeingCreated.includes(customDimension));\n  },\n  /**\n   * Returns the error if encountered while creating the provided custom dimension.\n   *\n   * @since 1.113.0\n   *\n   * @param {Object} state           Data store's state.\n   * @param {string} customDimension Custom dimension to obtain creation error for.\n   * @return {(Object|undefined)} Error object if exists, otherwise undefined.\n   */\n  getCreateCustomDimensionError: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, customDimension) {\n      var propertyID = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n      return select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getErrorForAction('createCustomDimension', [propertyID, _constants__WEBPACK_IMPORTED_MODULE_10__[\"CUSTOM_DIMENSION_DEFINITIONS\"][customDimension]]);\n    };\n  }),\n  /**\n   * Determines whether the available custom dimensions are being synced.\n   *\n   * @since 1.113.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} TRUE if the available custom dimensions are being synced, otherwise FALSE.\n   */\n  isSyncingAvailableCustomDimensions: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).isFetchingSyncAvailableCustomDimensions() || !!(state === null || state === void 0 ? void 0 : state.syncTimeoutID);\n    };\n  }),\n  /**\n   * Gets the sync timeout ID from state.\n   *\n   * @since 1.114.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {number|undefined} The timeout ID. Undefined if unset.\n   */\n  getSyncTimeoutID: function getSyncTimeoutID(state) {\n    return state === null || state === void 0 ? void 0 : state.syncTimeoutID;\n  }\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"combineStores\"])(fetchCreateCustomDimensionStore, fetchSyncAvailableCustomDimensionsStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  resolvers: baseResolvers,\n  controls: baseControls,\n  reducer: baseReducer,\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/modules/analytics-4/datastore/custom-dimensions.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/enhanced-measurement.js":
/*!******************************************************************!*\
  !*** ./js/modules/analytics-4/datastore/enhanced-measurement.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 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_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __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_9__ = __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_10__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.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 * `modules/analytics-4` data store: enhanced measurement.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nvar enhancedMeasurementSettingsFields = ['name', 'streamEnabled', 'scrollsEnabled', 'outboundClicksEnabled', 'siteSearchEnabled', 'videoEngagementEnabled', 'fileDownloadsEnabled', 'pageChangesEnabled', 'formInteractionsEnabled', 'searchQueryParameter', 'uriQueryParameter'];\nfunction validateEnhancedMeasurementSettings(enhancedMeasurementSettings) {\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(enhancedMeasurementSettings), 'Enhanced measurement settings must be an object.');\n  Object.keys(enhancedMeasurementSettings).forEach(function (key) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(enhancedMeasurementSettingsFields.includes(key), \"Enhanced measurement settings must contain only valid keys. Invalid key: \\\"\".concat(key, \"\\\"\"));\n  });\n}\nvar fetchStoreReducerCallback = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, enhancedMeasurementSettings, _ref) {\n  var propertyID = _ref.propertyID,\n    webDataStreamID = _ref.webDataStreamID;\n  if (!state.enhancedMeasurement[propertyID]) {\n    state.enhancedMeasurement[propertyID] = {};\n  }\n  if (!state.enhancedMeasurement[propertyID][webDataStreamID]) {\n    state.enhancedMeasurement[propertyID][webDataStreamID] = {};\n  }\n  state.enhancedMeasurement[propertyID][webDataStreamID].settings = enhancedMeasurementSettings;\n  state.enhancedMeasurement[propertyID][webDataStreamID].savedSettings = enhancedMeasurementSettings;\n});\nvar fetchGetEnhancedMeasurementSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__[\"createFetchStore\"])({\n  baseName: 'getEnhancedMeasurementSettings',\n  controlCallback: function controlCallback(_ref2) {\n    var propertyID = _ref2.propertyID,\n      webDataStreamID = _ref2.webDataStreamID;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"], 'enhanced-measurement-settings', {\n      propertyID: propertyID,\n      webDataStreamID: webDataStreamID\n    }, {\n      useCache: false\n    });\n  },\n  reducerCallback: fetchStoreReducerCallback,\n  argsToParams: function argsToParams(propertyID, webDataStreamID) {\n    return {\n      propertyID: propertyID,\n      webDataStreamID: webDataStreamID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      propertyID = _ref3.propertyID,\n      webDataStreamID = _ref3.webDataStreamID;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidWebDataStreamID\"])(webDataStreamID), 'A valid GA4 webDataStreamID is required.');\n  }\n});\nvar fetchUpdateEnhancedMeasurementSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__[\"createFetchStore\"])({\n  baseName: 'updateEnhancedMeasurementSettings',\n  controlCallback: function controlCallback(_ref4) {\n    var propertyID = _ref4.propertyID,\n      webDataStreamID = _ref4.webDataStreamID,\n      enhancedMeasurementSettings = _ref4.enhancedMeasurementSettings;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"], 'enhanced-measurement-settings', {\n      propertyID: propertyID,\n      webDataStreamID: webDataStreamID,\n      enhancedMeasurementSettings: enhancedMeasurementSettings\n    });\n  },\n  reducerCallback: fetchStoreReducerCallback,\n  argsToParams: function argsToParams(propertyID, webDataStreamID, enhancedMeasurementSettings) {\n    return {\n      propertyID: propertyID,\n      webDataStreamID: webDataStreamID,\n      enhancedMeasurementSettings: enhancedMeasurementSettings\n    };\n  },\n  validateParams: function validateParams(_ref5) {\n    var propertyID = _ref5.propertyID,\n      webDataStreamID = _ref5.webDataStreamID,\n      enhancedMeasurementSettings = _ref5.enhancedMeasurementSettings;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidWebDataStreamID\"])(webDataStreamID), 'A valid GA4 webDataStreamID is required.');\n    validateEnhancedMeasurementSettings(enhancedMeasurementSettings);\n  }\n});\n\n// Actions\nvar SET_ENHANCED_MEASUREMENT_SETTINGS = 'SET_ENHANCED_MEASUREMENT_SETTINGS';\nvar RESET_ENHANCED_MEASUREMENT_SETTINGS = 'RESET_ENHANCED_MEASUREMENT_SETTINGS';\nvar baseInitialState = {\n  enhancedMeasurement: {}\n};\nvar baseActions = {\n  /**\n   * Sets enhanced measurement settings.\n   *\n   * @since 1.110.0\n   *\n   * @param {string} propertyID      The GA4 property ID to set enhanced measurement settings for.\n   * @param {string} webDataStreamID The GA4 web data stream ID to set enhanced measurement settings for.\n   * @param {Object} settings        The GA4 enhanced measurement settings to set.\n   * @return {Object} Redux-style action.\n   */\n  setEnhancedMeasurementSettings: function setEnhancedMeasurementSettings(propertyID, webDataStreamID, settings) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidWebDataStreamID\"])(webDataStreamID), 'A valid GA4 webDataStreamID is required.');\n    validateEnhancedMeasurementSettings(settings);\n    return {\n      type: SET_ENHANCED_MEASUREMENT_SETTINGS,\n      payload: {\n        propertyID: propertyID,\n        webDataStreamID: webDataStreamID,\n        settings: settings\n      }\n    };\n  },\n  /**\n   * Sets the `streamEnabled` setting for a given web data stream.\n   *\n   * @since 1.110.0\n   *\n   * @param {Object}  settings                 The GA4 enhanced measurement settings to set.\n   * @param {string}  settings.propertyID      The GA4 property ID to set enhanced measurement settings for.\n   * @param {string}  settings.webDataStreamID The GA4 web data stream ID to set enhanced measurement settings for.\n   * @param {boolean} settings.enabled         Whether the `streamEnabled` setting should be enabled or not.\n   * @return {Object} Redux-style action.\n   */\n  setEnhancedMeasurementStreamEnabled: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_10__[\"createValidatedAction\"])(function (_ref6) {\n    var propertyID = _ref6.propertyID,\n      webDataStreamID = _ref6.webDataStreamID,\n      enabled = _ref6.enabled;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidWebDataStreamID\"])(webDataStreamID), 'A valid GA4 webDataStreamID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(enabled !== undefined, 'enabled is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(typeof enabled === 'boolean', 'enabled must be a boolean.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(_ref7) {\n    var propertyID, webDataStreamID, enabled, registry, currentSettings, streamEnabled, newSettings;\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            propertyID = _ref7.propertyID, webDataStreamID = _ref7.webDataStreamID, enabled = _ref7.enabled;\n            _context.next = 3;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 3:\n            registry = _context.sent;\n            _context.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getEnhancedMeasurementSettings(propertyID, webDataStreamID));\n          case 6:\n            currentSettings = _context.sent;\n            if (currentSettings) {\n              _context.next = 9;\n              break;\n            }\n            return _context.abrupt(\"return\", null);\n          case 9:\n            // TODO: Here we coerce `false` to `null`, for compatibility with the API response, which returns\n            // `null` for all settings that are not enabled. This helps to ensure that we don't incorrectly consider\n            // the setting to have changed in haveEnhancedMeasurementSettingsChanged().\n            // We should address this in a more robust manner in future if we start using additional properties of\n            // the settings object.\n            streamEnabled = enabled || null;\n            newSettings = _objectSpread(_objectSpread({}, currentSettings), {}, {\n              streamEnabled: streamEnabled\n            });\n            _context.next = 13;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).setEnhancedMeasurementSettings(propertyID, webDataStreamID, newSettings));\n          case 13:\n            return _context.abrupt(\"return\", _context.sent);\n          case 14:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })),\n  /**\n   * Resets enhanced measurement settings to their saved values.\n   *\n   * @since 1.110.0\n   *\n   * @return {Object} Redux-style action.\n   */\n  resetEnhancedMeasurementSettings: function resetEnhancedMeasurementSettings() {\n    return {\n      type: RESET_ENHANCED_MEASUREMENT_SETTINGS,\n      payload: {}\n    };\n  },\n  /**\n   * Updates enhanced measurement settings in the server.\n   *\n   * @since 1.110.0\n   *\n   * @param {string} propertyID      The GA4 property ID to set enhanced measurement settings for.\n   * @param {string} webDataStreamID The GA4 web data stream ID to set enhanced measurement settings for.\n   * @return {Object} Redux-style action.\n   */\n  updateEnhancedMeasurementSettings: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_10__[\"createValidatedAction\"])(function (propertyID, webDataStreamID) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidWebDataStreamID\"])(webDataStreamID), 'A valid GA4 webDataStreamID is required.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(propertyID, webDataStreamID) {\n    var registry, currentSettings;\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context2.sent;\n            _context2.next = 5;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getEnhancedMeasurementSettings(propertyID, webDataStreamID));\n          case 5:\n            currentSettings = _context2.sent;\n            if (currentSettings) {\n              _context2.next = 8;\n              break;\n            }\n            return _context2.abrupt(\"return\", null);\n          case 8:\n            _context2.next = 10;\n            return fetchUpdateEnhancedMeasurementSettingsStore.actions.fetchUpdateEnhancedMeasurementSettings(propertyID, webDataStreamID, currentSettings);\n          case 10:\n            return _context2.abrupt(\"return\", _context2.sent);\n          case 11:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  }))\n};\nvar baseControls = {};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, _ref8) {\n  var type = _ref8.type,\n    payload = _ref8.payload;\n  switch (type) {\n    case SET_ENHANCED_MEASUREMENT_SETTINGS:\n      {\n        var propertyID = payload.propertyID,\n          webDataStreamID = payload.webDataStreamID,\n          settings = payload.settings;\n        if (!state.enhancedMeasurement[propertyID]) {\n          state.enhancedMeasurement[propertyID] = {};\n        }\n        if (!state.enhancedMeasurement[propertyID][webDataStreamID]) {\n          state.enhancedMeasurement[propertyID][webDataStreamID] = {};\n        }\n        state.enhancedMeasurement[propertyID][webDataStreamID].settings = settings;\n        break;\n      }\n    case RESET_ENHANCED_MEASUREMENT_SETTINGS:\n      {\n        for (var _propertyID in state.enhancedMeasurement) {\n          for (var _webDataStreamID in state.enhancedMeasurement[_propertyID]) {\n            var currentWebDataStream = state.enhancedMeasurement[_propertyID][_webDataStreamID];\n            if (currentWebDataStream.savedSettings) {\n              currentWebDataStream.settings = currentWebDataStream.savedSettings;\n            } else {\n              delete state.enhancedMeasurement[_propertyID][_webDataStreamID];\n            }\n          }\n        }\n        break;\n      }\n    default:\n      {\n        break;\n      }\n  }\n});\nvar baseResolvers = {\n  getEnhancedMeasurementSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getEnhancedMeasurementSettings(propertyID, webDataStreamID) {\n    var registry, enhancedMeasurementSettings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getEnhancedMeasurementSettings$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context3.sent;\n            // Only fetch enhanced measurement settings if there are none in the store for the given data stream.\n            enhancedMeasurementSettings = registry.select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getEnhancedMeasurementSettings(propertyID, webDataStreamID);\n            if (!(enhancedMeasurementSettings === undefined)) {\n              _context3.next = 7;\n              break;\n            }\n            _context3.next = 7;\n            return fetchGetEnhancedMeasurementSettingsStore.actions.fetchGetEnhancedMeasurementSettings(propertyID, webDataStreamID);\n          case 7:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, getEnhancedMeasurementSettings);\n  }),\n  isEnhancedMeasurementStreamAlreadyEnabled: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function isEnhancedMeasurementStreamAlreadyEnabled(propertyID, webDataStreamID) {\n    var registry, isEnhancedMeasurementStreamEnabled;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function isEnhancedMeasurementStreamAlreadyEnabled$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _context4.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context4.sent;\n            // Only fetch enhanced measurement settings if the `streamEnabled` setting is not already in the store.\n            isEnhancedMeasurementStreamEnabled = registry.select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isEnhancedMeasurementStreamAlreadyEnabled(propertyID, webDataStreamID);\n            if (!(isEnhancedMeasurementStreamEnabled === undefined)) {\n              _context4.next = 7;\n              break;\n            }\n            _context4.next = 7;\n            return fetchGetEnhancedMeasurementSettingsStore.actions.fetchGetEnhancedMeasurementSettings(propertyID, webDataStreamID);\n          case 7:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, isEnhancedMeasurementStreamAlreadyEnabled);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets the enhanced measurement settings for a given web data stream.\n   *\n   * @since 1.110.0\n   *\n   * @param {Object} state           Data store's state.\n   * @param {string} propertyID      The GA4 property ID to fetch web data streams for.\n   * @param {string} webDataStreamID The GA4 web data stream ID to fetch enhanced measurement settings for.\n   * @return {(Object|undefined)} An object with enhanced measurement settings; `undefined` if not loaded.\n   */\n  getEnhancedMeasurementSettings: function getEnhancedMeasurementSettings(state, propertyID, webDataStreamID) {\n    var _state$enhancedMeasur, _state$enhancedMeasur2;\n    return (_state$enhancedMeasur = state.enhancedMeasurement[propertyID]) === null || _state$enhancedMeasur === void 0 ? void 0 : (_state$enhancedMeasur2 = _state$enhancedMeasur[webDataStreamID]) === null || _state$enhancedMeasur2 === void 0 ? void 0 : _state$enhancedMeasur2.settings;\n  },\n  /**\n   * Checks if the `streamEnabled` setting is enabled for a given web data stream.\n   *\n   * @since 1.110.0\n   *\n   * @param {Object} state           Data store's state.\n   * @param {string} propertyID      The GA4 property ID to check.\n   * @param {string} webDataStreamID The GA4 web data stream ID to check.\n   * @return {boolean}               True if `streamEnabled` is on, otherwise false; `undefined` if not loaded.\n   */\n  isEnhancedMeasurementStreamEnabled: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function (state, propertyID, webDataStreamID) {\n      var settings = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getEnhancedMeasurementSettings(propertyID, webDataStreamID);\n      if (settings === undefined) {\n        return undefined;\n      }\n      return !!settings.streamEnabled;\n    };\n  }),\n  /**\n   * Checks if the `streamEnabled` setting is enabled for a given web data stream within the saved settings.\n   *\n   * @since 1.113.0\n   *\n   * @param {Object} state           Data store's state.\n   * @param {string} propertyID      The GA4 property ID to check.\n   * @param {string} webDataStreamID The GA4 web data stream ID to check.\n   * @return {boolean}               True if `streamEnabled` is on, otherwise false; `undefined` if not loaded.\n   */\n  isEnhancedMeasurementStreamAlreadyEnabled: function isEnhancedMeasurementStreamAlreadyEnabled(state, propertyID, webDataStreamID) {\n    var _state$enhancedMeasur3;\n    var _ref9 = ((_state$enhancedMeasur3 = state.enhancedMeasurement[propertyID]) === null || _state$enhancedMeasur3 === void 0 ? void 0 : _state$enhancedMeasur3[webDataStreamID]) || {},\n      savedSettings = _ref9.savedSettings;\n    if (savedSettings === undefined) {\n      return undefined;\n    }\n    return !!savedSettings.streamEnabled;\n  },\n  /**\n   * Checks if the settings have changed compared to the saved settings for a given web data stream.\n   *\n   * @since 1.110.0\n   *\n   * @param {Object} state           Data store's state.\n   * @param {string} propertyID      The GA4 property ID to check.\n   * @param {string} webDataStreamID The GA4 web data stream ID to check.\n   * @return {boolean}               True if settings have changed, otherwise false.\n   */\n  haveEnhancedMeasurementSettingsChanged: function haveEnhancedMeasurementSettingsChanged(state, propertyID, webDataStreamID) {\n    var _state$enhancedMeasur4;\n    var _ref10 = ((_state$enhancedMeasur4 = state.enhancedMeasurement[propertyID]) === null || _state$enhancedMeasur4 === void 0 ? void 0 : _state$enhancedMeasur4[webDataStreamID]) || {},\n      settings = _ref10.settings,\n      savedSettings = _ref10.savedSettings;\n    return !Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isEqual\"])(settings, savedSettings);\n  },\n  /**\n   * This is a utility selector that checks if either the GA4 module settings, or the\n   * current web data stream's enhanced measurement settings, have changed.\n   *\n   * @since 1.111.0\n   *\n   * @return {boolean} True if settings have changed, otherwise false.\n   */\n  haveAnyGA4SettingsChanged: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]),\n        getPropertyID = _select.getPropertyID,\n        getWebDataStreamID = _select.getWebDataStreamID,\n        haveEnhancedMeasurementSettingsChanged = _select.haveEnhancedMeasurementSettingsChanged,\n        haveSettingsChanged = _select.haveSettingsChanged;\n      if (haveSettingsChanged()) {\n        return true;\n      }\n      var propertyID = getPropertyID();\n      var webDataStreamID = getWebDataStreamID();\n      if (Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidPropertyID\"])(propertyID) && Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_11__[\"isValidWebDataStreamID\"])(webDataStreamID) && haveEnhancedMeasurementSettingsChanged(propertyID, webDataStreamID)) {\n        return true;\n      }\n      return false;\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"combineStores\"])(fetchGetEnhancedMeasurementSettingsStore, fetchUpdateEnhancedMeasurementSettingsStore, {\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/modules/analytics-4/datastore/enhanced-measurement.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/index.js":
/*!***************************************************!*\
  !*** ./js/modules/analytics-4/datastore/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/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _accounts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./accounts */ \"./js/modules/analytics-4/datastore/accounts.js\");\n/* harmony import */ var _audiences__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./audiences */ \"./js/modules/analytics-4/datastore/audiences.js\");\n/* harmony import */ var _audience_settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./audience-settings */ \"./js/modules/analytics-4/datastore/audience-settings.js\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./base */ \"./js/modules/analytics-4/datastore/base.js\");\n/* harmony import */ var _containers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./containers */ \"./js/modules/analytics-4/datastore/containers.js\");\n/* harmony import */ var _key_events__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./key-events */ \"./js/modules/analytics-4/datastore/key-events.js\");\n/* harmony import */ var _conversion_reporting__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./conversion-reporting */ \"./js/modules/analytics-4/datastore/conversion-reporting.js\");\n/* harmony import */ var _custom_dimensions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./custom-dimensions */ \"./js/modules/analytics-4/datastore/custom-dimensions.js\");\n/* harmony import */ var _custom_dimensions_gathering_data__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./custom-dimensions-gathering-data */ \"./js/modules/analytics-4/datastore/custom-dimensions-gathering-data.js\");\n/* harmony import */ var _enhanced_measurement__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./enhanced-measurement */ \"./js/modules/analytics-4/datastore/enhanced-measurement.js\");\n/* harmony import */ var _partial_data__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./partial-data */ \"./js/modules/analytics-4/datastore/partial-data.js\");\n/* harmony import */ var _properties__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./properties */ \"./js/modules/analytics-4/datastore/properties.js\");\n/* harmony import */ var _report__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./report */ \"./js/modules/analytics-4/datastore/report.js\");\n/* harmony import */ var _service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./service */ \"./js/modules/analytics-4/datastore/service.js\");\n/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./settings */ \"./js/modules/analytics-4/datastore/settings.js\");\n/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./tags */ \"./js/modules/analytics-4/datastore/tags.js\");\n/* harmony import */ var _webdatastreams__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./webdatastreams */ \"./js/modules/analytics-4/datastore/webdatastreams.js\");\n/* harmony import */ var _module_data__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./module-data */ \"./js/modules/analytics-4/datastore/module-data.js\");\n/* harmony import */ var _js_googlesitekit_data_create_snapshot_store__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/js/googlesitekit/data/create-snapshot-store */ \"./js/googlesitekit/data/create-snapshot-store.js\");\n/**\n * `modules/analytics-4` 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\n\n\n\n\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"combineStores\"])(_accounts__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _audiences__WEBPACK_IMPORTED_MODULE_3__[\"default\"], _audience_settings__WEBPACK_IMPORTED_MODULE_4__[\"default\"], _base__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _module_data__WEBPACK_IMPORTED_MODULE_19__[\"default\"], _containers__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _key_events__WEBPACK_IMPORTED_MODULE_7__[\"default\"], _conversion_reporting__WEBPACK_IMPORTED_MODULE_8__[\"default\"], Object(_js_googlesitekit_data_create_snapshot_store__WEBPACK_IMPORTED_MODULE_20__[\"createSnapshotStore\"])(_constants__WEBPACK_IMPORTED_MODULE_1__[\"MODULES_ANALYTICS_4\"]), _custom_dimensions__WEBPACK_IMPORTED_MODULE_9__[\"default\"], _custom_dimensions_gathering_data__WEBPACK_IMPORTED_MODULE_10__[\"default\"], _enhanced_measurement__WEBPACK_IMPORTED_MODULE_11__[\"default\"], _partial_data__WEBPACK_IMPORTED_MODULE_12__[\"default\"], _properties__WEBPACK_IMPORTED_MODULE_13__[\"default\"], _report__WEBPACK_IMPORTED_MODULE_14__[\"default\"], _settings__WEBPACK_IMPORTED_MODULE_16__[\"default\"], _service__WEBPACK_IMPORTED_MODULE_15__[\"default\"], _tags__WEBPACK_IMPORTED_MODULE_17__[\"default\"], _webdatastreams__WEBPACK_IMPORTED_MODULE_18__[\"default\"]);\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__[\"MODULES_ANALYTICS_4\"], store);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/datastore/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/key-events.js":
/*!********************************************************!*\
  !*** ./js/modules/analytics-4/datastore/key-events.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/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_4__ = __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_5__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n\n/**\n * `modules/analytics-4` data store: key events.\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 * Internal dependencies\n */\n\n\n\n\n\nvar fetchGetKeyEventsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_5__[\"createFetchStore\"])({\n  baseName: 'getKeyEvents',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_1__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULE_SLUG_ANALYTICS_4\"], 'key-events', {});\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createReducer\"])(function (state, keyEvents) {\n    state.keyEvents = keyEvents;\n  })\n});\nvar baseInitialState = {\n  keyEvents: undefined\n};\nvar baseResolvers = {\n  getKeyEvents: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getKeyEvents() {\n    var registry, existingKeyEvents;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getKeyEvents$(_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            existingKeyEvents = registry.select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getKeyEvents(); // If there are already `keyEvents` loaded in state, consider it fulfilled\n            // and don't make an API request.\n            if (!existingKeyEvents) {\n              _context.next = 6;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 6:\n            _context.next = 8;\n            return fetchGetKeyEventsStore.actions.fetchGetKeyEvents();\n          case 8:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, getKeyEvents);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets GA4 key events.\n   *\n   * @since 1.96.0\n   * @since 1.99.0 Removed the `propertyID` parameter.\n   * @since 1.155.0 Renamed from `getConversionEvents` to `getKeyEvents`.\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Array.<Object>|undefined)} GA4 key events; `undefined` if not loaded.\n   */\n  getKeyEvents: function getKeyEvents(state) {\n    return state.keyEvents;\n  }\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"combineStores\"])(fetchGetKeyEventsStore, {\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/modules/analytics-4/datastore/key-events.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/module-data.js":
/*!*********************************************************!*\
  !*** ./js/modules/analytics-4/datastore/module-data.js ***!
  \*********************************************************/
/*! exports provided: initialState, actions, 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__, \"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 _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__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 _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/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\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 * `modules/analytics-4` data store: module data.\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\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction getModuleDataProperty(propName) {\n  return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var moduleData = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getModuleData() || [];\n      return moduleData[propName];\n    };\n  });\n}\nvar RECEIVE_MODULE_DATA = 'RECEIVE_MODULE_DATA';\nvar SET_RESOURCE_DATA_AVAILABILITY_DATE = 'SET_RESOURCE_DATA_AVAILABILITY_DATE';\nvar initialState = {\n  moduleData: {\n    newEvents: undefined,\n    lostEvents: undefined,\n    newBadgeEvents: undefined,\n    hasMismatchedTag: undefined,\n    isWebDataStreamUnavailable: undefined,\n    resourceAvailabilityDates: undefined\n  }\n};\nvar actions = {\n  /**\n   * Stores module data in the datastore.\n   *\n   * @since 1.148.0\n   * @private\n   *\n   * @param {Object} data Module data object.\n   * @return {Object} Redux-style action.\n   */\n  receiveModuleData: function receiveModuleData(data) {\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(data, 'data is required.');\n    return {\n      payload: data,\n      type: RECEIVE_MODULE_DATA\n    };\n  },\n  /**\n   * Sets the data availability date for a specific resource.\n   *\n   * @since 1.127.0\n   * @since 1.160.0 Moved to `module-data` store partial from `partial-data` store partial.\n   *\n   * @param {string} resourceSlug Resource slug.\n   * @param {string} resourceType Resource type.\n   * @param {number} date         Data availability date.\n   * @return {Object} Redux-style action.\n   */\n  setResourceDataAvailabilityDate: function setResourceDataAvailabilityDate(resourceSlug, resourceType, date) {\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()('string' === typeof resourceSlug && resourceSlug.length > 0, 'resourceSlug must be a non-empty string.');\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(_constants__WEBPACK_IMPORTED_MODULE_5__[\"RESOURCE_TYPES\"].includes(resourceType), 'resourceType must be a valid resource type.');\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(Number.isInteger(date), 'date must be an integer.');\n    return {\n      payload: {\n        resourceSlug: resourceSlug,\n        resourceType: resourceType,\n        date: date\n      },\n      type: SET_RESOURCE_DATA_AVAILABILITY_DATE\n    };\n  }\n};\nvar reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, _ref) {\n  var payload = _ref.payload,\n    type = _ref.type;\n  switch (type) {\n    case RECEIVE_MODULE_DATA:\n      {\n        var tagIDMismatch = payload.tagIDMismatch,\n          resourceAvailabilityDates = payload.resourceAvailabilityDates,\n          customDimensionsDataAvailable = payload.customDimensionsDataAvailable,\n          newEvents = payload.newEvents,\n          lostEvents = payload.lostEvents,\n          newBadgeEvents = payload.newBadgeEvents,\n          isWebDataStreamUnavailable = payload.isWebDataStreamUnavailable; // Replace empty array value with empty object in resourceAvailabilityDates object.\n        var replacedResourceAvailabilityDates = Object.entries(resourceAvailabilityDates || {}).reduce(function (acc, _ref2) {\n          var _ref3 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_ref2, 2),\n            key = _ref3[0],\n            value = _ref3[1];\n          return _objectSpread(_objectSpread({}, acc), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, key, Array.isArray(value) ? {} : value));\n        }, {});\n        var moduleData = {\n          hasMismatchedTag: !!tagIDMismatch,\n          resourceAvailabilityDates: replacedResourceAvailabilityDates,\n          customDimensionsDataAvailable: customDimensionsDataAvailable,\n          newEvents: newEvents,\n          lostEvents: lostEvents,\n          newBadgeEvents: newBadgeEvents,\n          isWebDataStreamUnavailable: isWebDataStreamUnavailable\n        };\n        state.moduleData = moduleData;\n        break;\n      }\n    case SET_RESOURCE_DATA_AVAILABILITY_DATE:\n      {\n        var resourceSlug = payload.resourceSlug,\n          resourceType = payload.resourceType,\n          date = payload.date;\n        if (state.moduleData.resourceAvailabilityDates === undefined) {\n          state.moduleData.resourceAvailabilityDates = {};\n        }\n        if (state.moduleData.resourceAvailabilityDates[resourceType] === undefined) {\n          state.moduleData.resourceAvailabilityDates[resourceType] = {};\n        }\n        state.moduleData.resourceAvailabilityDates[resourceType][resourceSlug] = date;\n        break;\n      }\n    default:\n      {\n        break;\n      }\n  }\n});\nvar resolvers = {\n  getModuleData: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getModuleData() {\n    var _yield$commonActions$, resolveSelect, moduleData;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getModuleData$(_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            resolveSelect = _yield$commonActions$.resolveSelect;\n            _context.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_MODULES\"]).getModuleInlineData(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_ANALYTICS_4\"]));\n          case 6:\n            moduleData = _context.sent;\n            if (moduleData) {\n              _context.next = 9;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 9:\n            _context.next = 11;\n            return actions.receiveModuleData(moduleData);\n          case 11:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, getModuleData);\n  })\n};\nvar selectors = {\n  /**\n   * Gets all module data 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.148.0\n   * @private\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Module data.\n   */\n  getModuleData: function getModuleData(state) {\n    return state.moduleData;\n  },\n  /**\n   * Checks if GA4 has mismatched Google Tag ID.\n   *\n   * @since 1.96.0\n   * @since 1.148.0 Moved over from properties data store partial.\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} If GA4 has mismatched Google Tag ID.\n   */\n  hasMismatchedGoogleTagID: getModuleDataProperty('hasMismatchedTag'),\n  /**\n   * Gets the data availability date for all resources.\n   *\n   * @since 1.127.0\n   * @since 1.160.0 Moved over from partial-data store partial.\n   *\n   * @param {Object} state Data store's state.\n   * @return {Object} Resource data availability dates. Undefined if not loaded.\n   */\n  getResourceDataAvailabilityDates: getModuleDataProperty('resourceAvailabilityDates'),\n  /**\n   * Gets the custom dimensions data availability object.\n   *\n   * @since 1.160.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Object|undefined} Object mapping custom dimension slugs to their data availability state.\n   */\n  getCustomDimensionsDataAvailable: getModuleDataProperty('customDimensionsDataAvailable'),\n  /**\n   * Gets new events data.\n   *\n   * @since 1.148.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Array|undefined} New events array.\n   */\n  getNewEvents: getModuleDataProperty('newEvents'),\n  /**\n   * Gets lost events data.\n   *\n   * @since 1.148.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Array|undefined} Lost events array.\n   */\n  getLostEvents: getModuleDataProperty('lostEvents'),\n  /**\n   * Gets new badge events data.\n   *\n   * @since 1.148.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {Array|undefined} New badge events array.\n   */\n  getNewBadgeEvents: getModuleDataProperty('newBadgeEvents'),\n  /**\n   * Checks if the Web Data Stream is unavailable.\n   *\n   * @since 1.159.0\n   *\n   * @return {boolean|undefined} TRUE if the Web Data Stream is unavailable, FALSE if available or not checked, undefined if not loaded.\n   */\n  isWebDataStreamUnavailable: getModuleDataProperty('isWebDataStreamUnavailable')\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  initialState: initialState,\n  actions: actions,\n  reducer: reducer,\n  resolvers: resolvers,\n  selectors: selectors\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/datastore/module-data.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/partial-data.js":
/*!**********************************************************!*\
  !*** ./js/modules/analytics-4/datastore/partial-data.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 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 _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/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n\n/**\n * `modules/analytics-4` data store: partial data store.\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 * Internal dependencies\n */\n\n\n\n\n\n\n\nvar fetchSaveResourceDataAvailabilityDateStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_4__[\"createFetchStore\"])({\n  baseName: 'saveResourceDataAvailabilityDate',\n  controlCallback: function controlCallback(_ref) {\n    var resourceSlug = _ref.resourceSlug,\n      resourceType = _ref.resourceType,\n      date = _ref.date;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_2__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"], 'save-resource-data-availability-date', {\n      resourceSlug: resourceSlug,\n      resourceType: resourceType,\n      date: date\n    });\n  },\n  argsToParams: function argsToParams(resourceSlug, resourceType, date) {\n    return {\n      resourceSlug: resourceSlug,\n      resourceType: resourceType,\n      date: date\n    };\n  },\n  validateParams: function validateParams(_ref2) {\n    var resourceSlug = _ref2.resourceSlug,\n      resourceType = _ref2.resourceType,\n      date = _ref2.date;\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()('string' === typeof resourceSlug && resourceSlug.length > 0, 'resourceSlug must be a non-empty string.');\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(_constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPES\"].includes(resourceType), 'resourceType must be a valid resource type.');\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Number.isInteger(date), 'date must be an integer.');\n  }\n});\nvar baseActions = {};\nvar baseControls = {};\nvar baseResolvers = {\n  getResourceDataAvailabilityDate: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getResourceDataAvailabilityDate(resourceSlug, resourceType) {\n    var _yield$commonActions$, dispatch, select, resolveSelect, resourceAvailabilityDates, _report$rows, _report$rows$, _report$rows$$dimensi, _report$rows$$dimensi2, _report$rows$$dimensi3, reportArgs, report, hasReportError, isDataAvailable, dataAvailabilityDate;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getResourceDataAvailabilityDate$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context.sent;\n            dispatch = _yield$commonActions$.dispatch;\n            select = _yield$commonActions$.select;\n            resolveSelect = _yield$commonActions$.resolveSelect;\n            if (!(select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getResourceDataAvailabilityDate(resourceSlug, resourceType) !== undefined)) {\n              _context.next = 8;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 8:\n            _context.next = 10;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getModuleData());\n          case 10:\n            resourceAvailabilityDates = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getResourceDataAvailabilityDates();\n            if (!(resourceAvailabilityDates[resourceType][resourceSlug] === undefined)) {\n              _context.next = 55;\n              break;\n            }\n            _context.next = 14;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(Promise.all([resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getSettings(), resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getAudienceSettings()]));\n          case 14:\n            _context.t0 = resourceType;\n            _context.next = _context.t0 === _constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPE_AUDIENCE\"] ? 17 : _context.t0 === _constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPE_CUSTOM_DIMENSION\"] ? 22 : _context.t0 === _constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPE_PROPERTY\"] ? 25 : 28;\n            break;\n          case 17:\n            _context.next = 19;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getOrSyncAvailableAudiences());\n          case 19:\n            if (select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasAudiences(resourceSlug)) {\n              _context.next = 21;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 21:\n            return _context.abrupt(\"break\", 29);\n          case 22:\n            if (select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).hasCustomDimensions(resourceSlug)) {\n              _context.next = 24;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 24:\n            return _context.abrupt(\"break\", 29);\n          case 25:\n            if (!(select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPropertyID() !== resourceSlug)) {\n              _context.next = 27;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 27:\n            return _context.abrupt(\"break\", 29);\n          case 28:\n            return _context.abrupt(\"return\");\n          case 29:\n            _context.next = 31;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getAuthentication());\n          case 31:\n            if (select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).isAuthenticated()) {\n              _context.next = 35;\n              break;\n            }\n            _context.next = 34;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).setResourceDataAvailabilityDate(resourceSlug, resourceType, 0);\n          case 34:\n            return _context.abrupt(\"return\");\n          case 35:\n            _context.next = 37;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPartialDataReportOptions(resourceSlug, resourceType));\n          case 37:\n            reportArgs = _context.sent;\n            if (reportArgs) {\n              _context.next = 40;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 40:\n            _context.next = 42;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getReport(reportArgs));\n          case 42:\n            report = _context.sent;\n            hasReportError = !!select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportArgs]);\n            isDataAvailable = !hasReportError && (report === null || report === void 0 ? void 0 : (_report$rows = report.rows) === null || _report$rows === void 0 ? void 0 : (_report$rows$ = _report$rows[0]) === null || _report$rows$ === void 0 ? void 0 : (_report$rows$$dimensi = _report$rows$.dimensionValues) === null || _report$rows$$dimensi === void 0 ? void 0 : (_report$rows$$dimensi2 = _report$rows$$dimensi[0]) === null || _report$rows$$dimensi2 === void 0 ? void 0 : (_report$rows$$dimensi3 = _report$rows$$dimensi2.value) === null || _report$rows$$dimensi3 === void 0 ? void 0 : _report$rows$$dimensi3.length);\n            if (!isDataAvailable) {\n              _context.next = 53;\n              break;\n            }\n            dataAvailabilityDate = Number(report.rows[0].dimensionValues[0].value);\n            _context.next = 49;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).setResourceDataAvailabilityDate(resourceSlug, resourceType, dataAvailabilityDate);\n          case 49:\n            _context.next = 51;\n            return fetchSaveResourceDataAvailabilityDateStore.actions.fetchSaveResourceDataAvailabilityDate(resourceSlug, resourceType, dataAvailabilityDate);\n          case 51:\n            _context.next = 55;\n            break;\n          case 53:\n            _context.next = 55;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).setResourceDataAvailabilityDate(resourceSlug, resourceType, 0);\n          case 55:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, getResourceDataAvailabilityDate);\n  }),\n  getPartialDataReportOptions: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getPartialDataReportOptions() {\n    var _yield$commonActions$2, resolveSelect;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getPartialDataReportOptions$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$2 = _context2.sent;\n            resolveSelect = _yield$commonActions$2.resolveSelect;\n            _context2.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPropertyCreateTime());\n          case 6:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, getPartialDataReportOptions);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets the data availability date for a specific resource.\n   *\n   * @since 1.127.0\n   *\n   * @param {Object} state        Data store's state.\n   * @param {string} resourceSlug Resource slug.\n   * @param {string} resourceType Resource type.\n   * @return {number} Resource data availability date. Undefined if not loaded.\n   */\n  getResourceDataAvailabilityDate: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, resourceSlug, resourceType) {\n      var _select$getModuleData, _select$getModuleData2, _select$getModuleData3;\n      return (_select$getModuleData = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getModuleData()) === null || _select$getModuleData === void 0 ? void 0 : (_select$getModuleData2 = _select$getModuleData.resourceAvailabilityDates) === null || _select$getModuleData2 === void 0 ? void 0 : (_select$getModuleData3 = _select$getModuleData2[resourceType]) === null || _select$getModuleData3 === void 0 ? void 0 : _select$getModuleData3[resourceSlug];\n    };\n  }),\n  /**\n   * Gets whether the given resource is in partial data state.\n   *\n   * @since 1.127.0\n   *\n   * @param {Object} state        Data store's state.\n   * @param {string} resourceSlug Resource slug.\n   * @param {string} resourceType Resource type.\n   * @return {boolean} Returns TRUE if partial data, otherwise FALSE or undefined while loading.\n   */\n  isResourcePartialData: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, resourceSlug, resourceType) {\n      invariant__WEBPACK_IMPORTED_MODULE_1___default()('string' === typeof resourceSlug && resourceSlug.length > 0, 'resourceSlug must be a non-empty string.');\n      invariant__WEBPACK_IMPORTED_MODULE_1___default()(_constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPES\"].includes(resourceType), 'resourceType must be a valid resource type.');\n      var analyticsGatheringData = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isGatheringData();\n      if (analyticsGatheringData === undefined) {\n        return undefined;\n      }\n\n      // If the GA property is in gathering data state, the resource is in partial data state.\n      if (analyticsGatheringData) {\n        return true;\n      }\n      var dataAvailabilityDate = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getResourceDataAvailabilityDate(resourceSlug, resourceType);\n      if (dataAvailabilityDate === undefined) {\n        return undefined;\n      }\n\n      // Assume partial data if the data availability date is not available.\n      if (dataAvailabilityDate === 0) {\n        return true;\n      }\n      var _select$getDateRangeD = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getDateRangeDates({\n          offsetDays: _constants__WEBPACK_IMPORTED_MODULE_7__[\"DATE_RANGE_OFFSET\"]\n        }),\n        startDate = _select$getDateRangeD.startDate; // TODO: use `replaceAll` instead when we upgrade our Node version.\n      var startDateYYYYMMDD = Number(startDate.replace(/-/g, ''));\n      return dataAvailabilityDate > startDateYYYYMMDD;\n    };\n  }),\n  /**\n   * Gets whether the given audience is in partial data state.\n   *\n   * @since 1.127.0\n   *\n   * @param {Object} state                Data store's state.\n   * @param {string} audienceResourceName Audience resource name.\n   * @return {boolean} Returns TRUE if partial data, otherwise FALSE or undefined while loading.\n   */\n  isAudiencePartialData: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, audienceResourceName) {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isResourcePartialData(audienceResourceName, _constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPE_AUDIENCE\"]);\n    };\n  }),\n  /**\n   * Gets whether the given custom dimension is in partial data state.\n   *\n   * @since 1.127.0\n   *\n   * @param {Object} state               Data store's state.\n   * @param {string} customDimensionSlug Custom dimension slug.\n   * @return {boolean} Returns TRUE if partial data, otherwise FALSE or undefined while loading.\n   */\n  isCustomDimensionPartialData: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, customDimensionSlug) {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isResourcePartialData(customDimensionSlug, _constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPE_CUSTOM_DIMENSION\"]);\n    };\n  }),\n  /**\n   * Gets whether the given property is in partial data state.\n   *\n   * @since 1.127.0\n   *\n   * @param {Object} state      Data store's state.\n   * @param {string} propertyID Property ID.\n   * @return {boolean} Returns TRUE if partial data, otherwise FALSE or undefined while loading.\n   */\n  isPropertyPartialData: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, propertyID) {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).isResourcePartialData(propertyID, _constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPE_PROPERTY\"]);\n    };\n  }),\n  /**\n   * Gets report options for determining data availability date for a given resource.\n   *\n   * @since 1.127.0\n   *\n   * @param {Object} state        Data store's state.\n   * @param {string} resourceSlug Resource slug.\n   * @param {string} resourceType Resource type.\n   * @return {Object|undefined} Report options for determining data availability date. Undefined if not available.\n   */\n  getPartialDataReportOptions: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, resourceSlug, resourceType) {\n      var propertyID = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n      if (!propertyID) {\n        return undefined;\n      }\n      var propertyCreateTime = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPropertyCreateTime();\n      if (!propertyCreateTime) {\n        return undefined;\n      }\n\n      // Valid use of `new Date()` with an argument.\n      // eslint-disable-next-line sitekit/no-direct-date\n      var startDate = Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"getDateString\"])(new Date(propertyCreateTime));\n      var endDate = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getReferenceDate();\n      switch (resourceType) {\n        case _constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPE_AUDIENCE\"]:\n          return {\n            startDate: startDate,\n            endDate: endDate,\n            dimensions: ['date', 'audienceResourceName'],\n            dimensionFilters: {\n              audienceResourceName: resourceSlug\n            },\n            metrics: ['totalUsers'],\n            orderby: [{\n              dimension: {\n                dimensionName: 'date'\n              }\n            }],\n            limit: 1,\n            reportID: 'analytics-4_get-partial-data-report-options_store:selector_RESOURCE_TYPE_AUDIENCE'\n          };\n        case _constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPE_CUSTOM_DIMENSION\"]:\n          return {\n            startDate: startDate,\n            endDate: endDate,\n            dimensions: ['date', \"customEvent:\".concat(resourceSlug)],\n            metrics: ['eventCount'],\n            limit: 1,\n            reportID: 'analytics-4_get-partial-data-report-options_store:selector_RESOURCE_TYPE_CUSTOM_DIMENSION'\n          };\n        case _constants__WEBPACK_IMPORTED_MODULE_7__[\"RESOURCE_TYPE_PROPERTY\"]:\n          return {\n            startDate: startDate,\n            endDate: endDate,\n            dimensions: ['date'],\n            metrics: ['totalUsers'],\n            limit: 1,\n            reportID: 'analytics-4_get-partial-data-report-options_store:selector_RESOURCE_TYPE_PROPERTY'\n          };\n        default:\n          return undefined;\n      }\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"combineStores\"])(fetchSaveResourceDataAvailabilityDateStore, {\n  actions: baseActions,\n  controls: baseControls,\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/modules/analytics-4/datastore/partial-data.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/properties.js":
/*!********************************************************!*\
  !*** ./js/modules/analytics-4/datastore/properties.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_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/* 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 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_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\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/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/googlesitekit/api/cache */ \"./js/googlesitekit/api/cache.js\");\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 * `modules/analytics-4` data store: properties.\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\n\n\n\n\n\n\n\n\n\nvar fetchGetPropertyStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'getProperty',\n  controlCallback: function controlCallback(_ref) {\n    var propertyID = _ref.propertyID;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"], 'property', {\n      propertyID: propertyID\n    }, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, property, _ref2) {\n    var propertyID = _ref2.propertyID;\n    state.propertiesByID = state.propertiesByID || {};\n    state.propertiesByID[propertyID] = property;\n  }),\n  argsToParams: function argsToParams(propertyID) {\n    return {\n      propertyID: propertyID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      propertyID = _ref3.propertyID;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(propertyID, 'propertyID is required.');\n  }\n});\nvar fetchGetPropertiesStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'getProperties',\n  controlCallback: function controlCallback(_ref4) {\n    var accountID = _ref4.accountID;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"], 'properties', {\n      accountID: accountID\n    }, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, properties, _ref5) {\n    var accountID = _ref5.accountID;\n    state.properties = state.properties || {};\n    state.propertiesByID = state.propertiesByID || {};\n    state.properties[accountID] = properties;\n    var _iterator = _createForOfIteratorHelper(properties),\n      _step;\n    try {\n      for (_iterator.s(); !(_step = _iterator.n()).done;) {\n        var property = _step.value;\n        state.propertiesByID[property._id] = property;\n      }\n    } catch (err) {\n      _iterator.e(err);\n    } finally {\n      _iterator.f();\n    }\n  }),\n  argsToParams: function argsToParams(accountID) {\n    return {\n      accountID: accountID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref6 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      accountID = _ref6.accountID;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(accountID, 'accountID is required.');\n  }\n});\nvar fetchCreatePropertyStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'createProperty',\n  controlCallback: function controlCallback(_ref7) {\n    var accountID = _ref7.accountID;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"], 'create-property', {\n      accountID: accountID\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, property, _ref8) {\n    var accountID = _ref8.accountID;\n    state.properties = state.properties || {};\n    if (!state.properties[accountID]) {\n      state.properties[accountID] = [];\n    }\n    state.properties[accountID].push(property);\n  }),\n  argsToParams: function argsToParams(accountID) {\n    return {\n      accountID: accountID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref9 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      accountID = _ref9.accountID;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(accountID, 'accountID is required.');\n  }\n});\nvar fetchGetGoogleTagSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'getGoogleTagSettings',\n  controlCallback: function controlCallback(_ref10) {\n    var measurementID = _ref10.measurementID;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"], 'google-tag-settings', {\n      measurementID: measurementID\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, googleTagSettings, _ref11) {\n    var measurementID = _ref11.measurementID;\n    if (!state.googleTagSettings) {\n      state.googleTagSettings = {};\n    }\n    state.googleTagSettings[measurementID] = googleTagSettings;\n  }),\n  argsToParams: function argsToParams(measurementID) {\n    return {\n      measurementID: measurementID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref12 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      measurementID = _ref12.measurementID;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(measurementID, 'measurementID is required.');\n  }\n});\nvar fetchSetGoogleTagIDMismatch = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'setGoogleTagIDMismatch',\n  controlCallback: function controlCallback(_ref13) {\n    var hasMismatchedTag = _ref13.hasMismatchedTag;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"], 'set-google-tag-id-mismatch', {\n      hasMismatchedTag: hasMismatchedTag\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, hasMismatchedTag) {\n    if (!state.moduleData) {\n      state.moduleData = {};\n    }\n    state.moduleData.hasMismatchedTag = !!hasMismatchedTag;\n  }),\n  argsToParams: function argsToParams(hasMismatchedTag) {\n    return {\n      hasMismatchedTag: hasMismatchedTag\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref14 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      hasMismatchedTag = _ref14.hasMismatchedTag;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isBoolean\"])(hasMismatchedTag), 'hasMismatchedTag must be boolean.');\n  }\n});\nvar fetchSetIsWebDataStreamUnavailable = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'setIsWebDataStreamUnavailable',\n  controlCallback: function controlCallback(_ref15) {\n    var isWebDataStreamUnavailable = _ref15.isWebDataStreamUnavailable;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"], 'set-is-web-data-stream-unavailable', {\n      isWebDataStreamUnavailable: isWebDataStreamUnavailable\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, isWebDataStreamUnavailable) {\n    state.moduleData.isWebDataStreamUnavailable = !!isWebDataStreamUnavailable;\n  }),\n  argsToParams: function argsToParams(isWebDataStreamUnavailable) {\n    return {\n      isWebDataStreamUnavailable: isWebDataStreamUnavailable\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref16 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      isWebDataStreamUnavailable = _ref16.isWebDataStreamUnavailable;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isBoolean\"])(isWebDataStreamUnavailable), 'isWebDataStreamUnavailable must be boolean.');\n  }\n});\n\n// Actions\nvar MATCHING_ACCOUNT_PROPERTY = 'MATCHING_ACCOUNT_PROPERTY';\nvar SET_HAS_MISMATCHED_TAG = 'SET_HAS_MISMATCHED_GOOGLE_TAG_ID';\nvar baseInitialState = {\n  properties: {},\n  propertiesByID: {},\n  isMatchingAccountProperty: false\n};\nvar baseActions = {\n  /**\n   * Creates a new GA4 property.\n   *\n   * @since 1.31.0\n   *\n   * @param {string} accountID Analytics account ID.\n   * @return {Object} Object with `response` and `error`.\n   */\n  createProperty: function createProperty(accountID) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(accountID, 'accountID is required.');\n    return /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee() {\n      var _yield$commonActions$, dispatch, _yield$fetchCreatePro, response, error;\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              _context.next = 2;\n              return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n            case 2:\n              _yield$commonActions$ = _context.sent;\n              dispatch = _yield$commonActions$.dispatch;\n              _context.next = 6;\n              return fetchCreatePropertyStore.actions.fetchCreateProperty(accountID);\n            case 6:\n              _yield$fetchCreatePro = _context.sent;\n              response = _yield$fetchCreatePro.response;\n              error = _yield$fetchCreatePro.error;\n              if (!response) {\n                _context.next = 12;\n                break;\n              }\n              _context.next = 12;\n              return dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).resetAccountSummaries();\n            case 12:\n              return _context.abrupt(\"return\", {\n                response: response,\n                error: error\n              });\n            case 13:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    })();\n  },\n  /**\n   * Sets the given property and related fields in the store.\n   *\n   * @since 1.31.0\n   *\n   * @param {string} propertyID GA4 property ID.\n   * @return {Object} A Generator function.\n   */\n  selectProperty: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_16__[\"createValidatedAction\"])(function (propertyID) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_15__[\"isValidPropertySelection\"])(propertyID), 'A valid propertyID selection is required.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee2(propertyID) {\n    var registry, _registry$dispatch, setPropertyCreateTime, setSettings, setWebDataStreamID, updateSettingsForMeasurementID, property, webdatastream, webdatastreams;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee2$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context2.sent;\n            _registry$dispatch = registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]), setPropertyCreateTime = _registry$dispatch.setPropertyCreateTime, setSettings = _registry$dispatch.setSettings, setWebDataStreamID = _registry$dispatch.setWebDataStreamID, updateSettingsForMeasurementID = _registry$dispatch.updateSettingsForMeasurementID;\n            setSettings({\n              propertyID: propertyID,\n              propertyCreateTime: 0\n            });\n            updateSettingsForMeasurementID('');\n            if (!(_constants__WEBPACK_IMPORTED_MODULE_11__[\"PROPERTY_CREATE\"] === propertyID)) {\n              _context2.next = 9;\n              break;\n            }\n            setWebDataStreamID(_constants__WEBPACK_IMPORTED_MODULE_11__[\"WEBDATASTREAM_CREATE\"]);\n            return _context2.abrupt(\"return\");\n          case 9:\n            setWebDataStreamID('');\n            if (!propertyID) {\n              _context2.next = 15;\n              break;\n            }\n            _context2.next = 13;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getProperty(propertyID));\n          case 13:\n            property = _context2.sent;\n            if (property === null || property === void 0 ? void 0 : property.createTime) {\n              setPropertyCreateTime(property.createTime);\n            }\n          case 15:\n            _context2.next = 17;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getMatchingWebDataStreamByPropertyID(propertyID));\n          case 17:\n            webdatastream = _context2.sent;\n            if (!webdatastream) {\n              webdatastreams = registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getWebDataStreams(propertyID);\n              if (webdatastreams === null || webdatastreams === void 0 ? void 0 : webdatastreams.length) {\n                webdatastream = webdatastreams[0];\n              }\n            }\n            if (!webdatastream) {\n              _context2.next = 23;\n              break;\n            }\n            setWebDataStreamID(webdatastream._id);\n            updateSettingsForMeasurementID(\n            // eslint-disable-next-line sitekit/acronym-case\n            webdatastream.webStreamData.measurementId);\n            return _context2.abrupt(\"return\");\n          case 23:\n            // At this point there is no web data stream to set.\n            setWebDataStreamID(_constants__WEBPACK_IMPORTED_MODULE_11__[\"WEBDATASTREAM_CREATE\"]);\n          case 24:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  })),\n  /**\n   * Finds a matching property and returns it.\n   *\n   * @since 1.36.0\n   *\n   * @return {Object|null} Matching property on success, otherwise NULL.\n   */\n  findMatchedProperty: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function findMatchedProperty() {\n    var registry, accounts, url, propertyIDs;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function findMatchedProperty$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context3.sent;\n            _context3.next = 5;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries());\n          case 5:\n            accounts = _context3.sent;\n            if (!(!Array.isArray(accounts) || accounts.length === 0)) {\n              _context3.next = 8;\n              break;\n            }\n            return _context3.abrupt(\"return\", null);\n          case 8:\n            url = registry.select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getReferenceSiteURL();\n            propertyIDs = accounts.reduce(function (acc, _ref17) {\n              var properties = _ref17.propertySummaries;\n              return [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(acc), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()((properties || []).map(function (_ref18) {\n                var _id = _ref18._id;\n                return _id;\n              })));\n            }, []);\n            _context3.next = 12;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).matchPropertyByURL(propertyIDs, url));\n          case 12:\n            return _context3.abrupt(\"return\", _context3.sent);\n          case 13:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, findMatchedProperty);\n  }),\n  /**\n   * Matches a property for provided accountID.\n   *\n   * @since 1.38.0\n   *\n   * @param {string} accountID GA4 account ID.\n   * @return {Object|null} Matched property object on success, otherwise NULL.\n   */\n  matchAccountProperty: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function matchAccountProperty(accountID) {\n    var registry, referenceURL, propertySummaries, property;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function matchAccountProperty$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _context4.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context4.sent;\n            referenceURL = registry.select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).getReferenceSiteURL();\n            _context4.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getPropertySummaries(accountID));\n          case 6:\n            propertySummaries = _context4.sent;\n            _context4.next = 9;\n            return baseActions.matchPropertyByURL((propertySummaries || []).map(function (_ref19) {\n              var _id = _ref19._id;\n              return _id;\n            }), referenceURL);\n          case 9:\n            property = _context4.sent;\n            return _context4.abrupt(\"return\", property);\n          case 11:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, matchAccountProperty);\n  }),\n  /**\n   * Matches and selects a property for provided accountID.\n   *\n   * @since 1.34.0\n   *\n   * @param {string} accountID          GA4 account ID.\n   * @param {string} fallbackPropertyID A fallback propertyID to use if a matched property is not found.\n   * @return {Object|null} Matched property object on success, otherwise NULL.\n   */\n  matchAndSelectProperty: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function matchAndSelectProperty(accountID) {\n    var fallbackPropertyID,\n      property,\n      propertyID,\n      _args5 = arguments;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function matchAndSelectProperty$(_context5) {\n      while (1) {\n        switch (_context5.prev = _context5.next) {\n          case 0:\n            fallbackPropertyID = _args5.length > 1 && _args5[1] !== undefined ? _args5[1] : '';\n            _context5.next = 3;\n            return {\n              payload: {\n                isMatchingAccountProperty: true\n              },\n              type: MATCHING_ACCOUNT_PROPERTY\n            };\n          case 3:\n            _context5.next = 5;\n            return baseActions.matchAccountProperty(accountID);\n          case 5:\n            property = _context5.sent;\n            propertyID = (property === null || property === void 0 ? void 0 : property._id) || fallbackPropertyID;\n            if (!propertyID) {\n              _context5.next = 10;\n              break;\n            }\n            _context5.next = 10;\n            return baseActions.selectProperty(propertyID);\n          case 10:\n            _context5.next = 12;\n            return {\n              payload: {\n                isMatchingAccountProperty: false\n              },\n              type: MATCHING_ACCOUNT_PROPERTY\n            };\n          case 12:\n            return _context5.abrupt(\"return\", property);\n          case 13:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, matchAndSelectProperty);\n  }),\n  /**\n   * Matches a property by URL.\n   *\n   * @since 1.33.0\n   *\n   * @param {Array.<number>}        properties Array of property IDs.\n   * @param {Array.<string>|string} url        A list of URLs or a signle URL to match properties.\n   * @return {Object} A property object if found.\n   */\n  matchPropertyByURL: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function matchPropertyByURL(properties, url) {\n    var registry, urls, i, chunk, webdatastreams, propertyID, _iterator2, _step2, webdatastream, _iterator3, _step3, _webdatastream$webStr, singleURL;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function matchPropertyByURL$(_context6) {\n      while (1) {\n        switch (_context6.prev = _context6.next) {\n          case 0:\n            _context6.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context6.sent;\n            urls = (Array.isArray(url) ? url : [url]).filter(function (item) {\n              return typeof item === 'string';\n            }).map(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"normalizeURL\"]);\n            i = 0;\n          case 5:\n            if (!(i < properties.length)) {\n              _context6.next = 52;\n              break;\n            }\n            chunk = properties.slice(i, i + _constants__WEBPACK_IMPORTED_MODULE_11__[\"MAX_WEBDATASTREAMS_PER_BATCH\"]);\n            _context6.next = 9;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamsBatch(chunk));\n          case 9:\n            webdatastreams = _context6.sent;\n            _context6.t0 = _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.keys(webdatastreams);\n          case 11:\n            if ((_context6.t1 = _context6.t0()).done) {\n              _context6.next = 49;\n              break;\n            }\n            propertyID = _context6.t1.value;\n            _iterator2 = _createForOfIteratorHelper(webdatastreams[propertyID]);\n            _context6.prev = 14;\n            _iterator2.s();\n          case 16:\n            if ((_step2 = _iterator2.n()).done) {\n              _context6.next = 39;\n              break;\n            }\n            webdatastream = _step2.value;\n            _iterator3 = _createForOfIteratorHelper(urls);\n            _context6.prev = 19;\n            _iterator3.s();\n          case 21:\n            if ((_step3 = _iterator3.n()).done) {\n              _context6.next = 29;\n              break;\n            }\n            singleURL = _step3.value;\n            if (!(singleURL === Object(_js_util__WEBPACK_IMPORTED_MODULE_13__[\"normalizeURL\"])(// eslint-disable-next-line sitekit/acronym-case\n            (_webdatastream$webStr = webdatastream.webStreamData) === null || _webdatastream$webStr === void 0 ? void 0 : _webdatastream$webStr.defaultUri))) {\n              _context6.next = 27;\n              break;\n            }\n            _context6.next = 26;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getProperty(propertyID));\n          case 26:\n            return _context6.abrupt(\"return\", _context6.sent);\n          case 27:\n            _context6.next = 21;\n            break;\n          case 29:\n            _context6.next = 34;\n            break;\n          case 31:\n            _context6.prev = 31;\n            _context6.t2 = _context6[\"catch\"](19);\n            _iterator3.e(_context6.t2);\n          case 34:\n            _context6.prev = 34;\n            _iterator3.f();\n            return _context6.finish(34);\n          case 37:\n            _context6.next = 16;\n            break;\n          case 39:\n            _context6.next = 44;\n            break;\n          case 41:\n            _context6.prev = 41;\n            _context6.t3 = _context6[\"catch\"](14);\n            _iterator2.e(_context6.t3);\n          case 44:\n            _context6.prev = 44;\n            _iterator2.f();\n            return _context6.finish(44);\n          case 47:\n            _context6.next = 11;\n            break;\n          case 49:\n            i += _constants__WEBPACK_IMPORTED_MODULE_11__[\"MAX_WEBDATASTREAMS_PER_BATCH\"];\n            _context6.next = 5;\n            break;\n          case 52:\n            return _context6.abrupt(\"return\", null);\n          case 53:\n          case \"end\":\n            return _context6.stop();\n        }\n      }\n    }, matchPropertyByURL, null, [[14, 41, 44, 47], [19, 31, 34, 37]]);\n  }),\n  /**\n   * Matches a property by measurement ID.\n   *\n   * @since 1.33.0\n   *\n   * @param {Array.<number>}        properties    Array of property IDs.\n   * @param {Array.<string>|string} measurementID A list of measurement IDs or a signle measurement ID to match properties.\n   * @return {Object} A property object if found.\n   */\n  matchPropertyByMeasurementID: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function matchPropertyByMeasurementID(properties, measurementID) {\n    var registry, measurementIDs, i, chunk, webdatastreams, propertyID, _iterator4, _step4, webdatastream, _iterator5, _step5, _webdatastream$webStr2, singleMeasurementID;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function matchPropertyByMeasurementID$(_context7) {\n      while (1) {\n        switch (_context7.prev = _context7.next) {\n          case 0:\n            _context7.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context7.sent;\n            measurementIDs = Array.isArray(measurementID) ? measurementID : [measurementID];\n            i = 0;\n          case 5:\n            if (!(i < properties.length)) {\n              _context7.next = 52;\n              break;\n            }\n            chunk = properties.slice(i, i + _constants__WEBPACK_IMPORTED_MODULE_11__[\"MAX_WEBDATASTREAMS_PER_BATCH\"]);\n            _context7.next = 9;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamsBatch(chunk));\n          case 9:\n            webdatastreams = _context7.sent;\n            _context7.t0 = _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.keys(webdatastreams);\n          case 11:\n            if ((_context7.t1 = _context7.t0()).done) {\n              _context7.next = 49;\n              break;\n            }\n            propertyID = _context7.t1.value;\n            _iterator4 = _createForOfIteratorHelper(webdatastreams[propertyID]);\n            _context7.prev = 14;\n            _iterator4.s();\n          case 16:\n            if ((_step4 = _iterator4.n()).done) {\n              _context7.next = 39;\n              break;\n            }\n            webdatastream = _step4.value;\n            _iterator5 = _createForOfIteratorHelper(measurementIDs);\n            _context7.prev = 19;\n            _iterator5.s();\n          case 21:\n            if ((_step5 = _iterator5.n()).done) {\n              _context7.next = 29;\n              break;\n            }\n            singleMeasurementID = _step5.value;\n            if (!(singleMeasurementID === ((_webdatastream$webStr2 = webdatastream.webStreamData) === null || _webdatastream$webStr2 === void 0 ? void 0 : _webdatastream$webStr2.measurementId) // eslint-disable-line sitekit/acronym-case\n            )) {\n              _context7.next = 27;\n              break;\n            }\n            _context7.next = 26;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getProperty(propertyID));\n          case 26:\n            return _context7.abrupt(\"return\", _context7.sent);\n          case 27:\n            _context7.next = 21;\n            break;\n          case 29:\n            _context7.next = 34;\n            break;\n          case 31:\n            _context7.prev = 31;\n            _context7.t2 = _context7[\"catch\"](19);\n            _iterator5.e(_context7.t2);\n          case 34:\n            _context7.prev = 34;\n            _iterator5.f();\n            return _context7.finish(34);\n          case 37:\n            _context7.next = 16;\n            break;\n          case 39:\n            _context7.next = 44;\n            break;\n          case 41:\n            _context7.prev = 41;\n            _context7.t3 = _context7[\"catch\"](14);\n            _iterator4.e(_context7.t3);\n          case 44:\n            _context7.prev = 44;\n            _iterator4.f();\n            return _context7.finish(44);\n          case 47:\n            _context7.next = 11;\n            break;\n          case 49:\n            i += _constants__WEBPACK_IMPORTED_MODULE_11__[\"MAX_WEBDATASTREAMS_PER_BATCH\"];\n            _context7.next = 5;\n            break;\n          case 52:\n            return _context7.abrupt(\"return\", null);\n          case 53:\n          case \"end\":\n            return _context7.stop();\n        }\n      }\n    }, matchPropertyByMeasurementID, null, [[14, 41, 44, 47], [19, 31, 34, 37]]);\n  }),\n  /**\n   * Updates settings for a given measurement ID.\n   *\n   * @since 1.94.0\n   *\n   * @param {string} measurementID Measurement ID.\n   */\n  updateSettingsForMeasurementID: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function updateSettingsForMeasurementID(measurementID) {\n    var _yield$commonActions$2, select, dispatch, resolveSelect, googleTagSettings, googleTagAccountID, googleTagContainerID, googleTagID;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function updateSettingsForMeasurementID$(_context8) {\n      while (1) {\n        switch (_context8.prev = _context8.next) {\n          case 0:\n            _context8.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$2 = _context8.sent;\n            select = _yield$commonActions$2.select;\n            dispatch = _yield$commonActions$2.dispatch;\n            resolveSelect = _yield$commonActions$2.resolveSelect;\n            if (measurementID) {\n              _context8.next = 9;\n              break;\n            }\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setSettings({\n              measurementID: measurementID,\n              googleTagAccountID: '',\n              googleTagContainerID: '',\n              googleTagID: ''\n            });\n            return _context8.abrupt(\"return\");\n          case 9:\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setMeasurementID(measurementID);\n\n            // Wait for authentication to be resolved to check scopes.\n            _context8.next = 12;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getAuthentication());\n          case 12:\n            if (select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).hasScope(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"READ_SCOPE\"])) {\n              _context8.next = 14;\n              break;\n            }\n            return _context8.abrupt(\"return\");\n          case 14:\n            _context8.next = 16;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getGoogleTagSettings(measurementID));\n          case 16:\n            googleTagSettings = _context8.sent;\n            if (googleTagSettings) {\n              _context8.next = 19;\n              break;\n            }\n            return _context8.abrupt(\"return\");\n          case 19:\n            googleTagAccountID = googleTagSettings.googleTagAccountID, googleTagContainerID = googleTagSettings.googleTagContainerID, googleTagID = googleTagSettings.googleTagID; // Note that when plain actions are dispatched in a function where an await has occurred (this can be a regular async function that has awaited, or a generator function\n            // action that yields to an async action), they are handled asynchronously when they would normally be synchronous. This means that following the usual pattern of dispatching\n            // individual setter actions for the `googleTagAccountID`, `googleTagContainerID` and `googleTagID` settings each resulted in a rerender of the\n            // GoogleTagIDMismatchNotification component, thus resulting in an erroneous call to the GET:container-destinations endpoint with mismatched settings. To mitigate this, we\n            // dispatch a single action here to set all these settings at once. The same applies to the `setSettings()` call above.\n            // See issue https://github.com/google/site-kit-wp/issues/6784 and the PR https://github.com/google/site-kit-wp/pull/6814.\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setSettings({\n              googleTagAccountID: googleTagAccountID,\n              googleTagContainerID: googleTagContainerID,\n              googleTagID: googleTagID\n            });\n          case 21:\n          case \"end\":\n            return _context8.stop();\n        }\n      }\n    }, updateSettingsForMeasurementID);\n  }),\n  /**\n   * Sets if GA4 has mismatched Google Tag ID.\n   *\n   * @since 1.96.0\n   * @since 1.130.0 Updated to send value to the endpoint.\n   *\n   * @param {boolean} hasMismatchedTag If GA4 has mismatched Google Tag.\n   */\n  setHasMismatchedGoogleTagID: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function setHasMismatchedGoogleTagID(hasMismatchedTag) {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function setHasMismatchedGoogleTagID$(_context9) {\n      while (1) {\n        switch (_context9.prev = _context9.next) {\n          case 0:\n            _context9.next = 2;\n            return fetchSetGoogleTagIDMismatch.actions.fetchSetGoogleTagIDMismatch(hasMismatchedTag);\n          case 2:\n          case \"end\":\n            return _context9.stop();\n        }\n      }\n    }, setHasMismatchedGoogleTagID);\n  }),\n  /**\n   * Sets if GA4 has mismatched Google Tag ID.\n   *\n   * @since 1.130.0\n   *\n   * @param {boolean} hasMismatchedTag If GA4 has mismatched Google Tag.\n   * @return {Object} Redux-style action.\n   */\n  receiveHasMismatchGoogleTagID: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function receiveHasMismatchGoogleTagID(hasMismatchedTag) {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function receiveHasMismatchGoogleTagID$(_context10) {\n      while (1) {\n        switch (_context10.prev = _context10.next) {\n          case 0:\n            return _context10.abrupt(\"return\", {\n              type: SET_HAS_MISMATCHED_TAG,\n              payload: {\n                hasMismatchedTag: !!hasMismatchedTag\n              }\n            });\n          case 1:\n          case \"end\":\n            return _context10.stop();\n        }\n      }\n    }, receiveHasMismatchGoogleTagID);\n  }),\n  /**\n   * Sets whether the Web Data Stream is unavailable.\n   *\n   * @since 1.99.0\n   * @since 1.159.0 Updated to use the fetch store.\n   *\n   * @param {boolean} isWebDataStreamUnavailable Whether the Web Data Stream is unavailable.\n   * @return {Object} Generator function.\n   */\n  setIsWebDataStreamUnavailable: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function setIsWebDataStreamUnavailable(isWebDataStreamUnavailable) {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function setIsWebDataStreamUnavailable$(_context11) {\n      while (1) {\n        switch (_context11.prev = _context11.next) {\n          case 0:\n            _context11.next = 2;\n            return fetchSetIsWebDataStreamUnavailable.actions.fetchSetIsWebDataStreamUnavailable(isWebDataStreamUnavailable);\n          case 2:\n            return _context11.abrupt(\"return\", _context11.sent);\n          case 3:\n          case \"end\":\n            return _context11.stop();\n        }\n      }\n    }, setIsWebDataStreamUnavailable);\n  }),\n  /**\n   * Syncs Google Tag settings.\n   *\n   * @since 1.95.0\n   */\n  syncGoogleTagSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function syncGoogleTagSettings() {\n    var _yield$commonActions$3, select, dispatch, resolveSelect, hasTagManagerReadScope, _select, isModuleConnected, _select2, getGoogleTagID, getMeasurementID, getGoogleTagLastSyncedAtMs, getGoogleTagAccountID, getGoogleTagContainerID, measurementID, googleTagLastSyncedAtMs, timestamp, googleTagID, googleTagContainer, googleTagAccountID, googleTagContainerID, googleTagContainerDestinations, googleTagContainerDestinationIDs;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function syncGoogleTagSettings$(_context12) {\n      while (1) {\n        switch (_context12.prev = _context12.next) {\n          case 0:\n            _context12.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$3 = _context12.sent;\n            select = _yield$commonActions$3.select;\n            dispatch = _yield$commonActions$3.dispatch;\n            resolveSelect = _yield$commonActions$3.resolveSelect;\n            hasTagManagerReadScope = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).hasScope(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"READ_SCOPE\"]);\n            if (hasTagManagerReadScope) {\n              _context12.next = 9;\n              break;\n            }\n            return _context12.abrupt(\"return\");\n          case 9:\n            _context12.next = 11;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]).getModules());\n          case 11:\n            _select = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]), isModuleConnected = _select.isModuleConnected;\n            if (isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"])) {\n              _context12.next = 14;\n              break;\n            }\n            return _context12.abrupt(\"return\");\n          case 14:\n            _context12.next = 16;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getSettings());\n          case 16:\n            _select2 = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]), getGoogleTagID = _select2.getGoogleTagID, getMeasurementID = _select2.getMeasurementID, getGoogleTagLastSyncedAtMs = _select2.getGoogleTagLastSyncedAtMs, getGoogleTagAccountID = _select2.getGoogleTagAccountID, getGoogleTagContainerID = _select2.getGoogleTagContainerID;\n            measurementID = getMeasurementID();\n            if (measurementID) {\n              _context12.next = 20;\n              break;\n            }\n            return _context12.abrupt(\"return\");\n          case 20:\n            googleTagLastSyncedAtMs = getGoogleTagLastSyncedAtMs(); // The \"last synced\" value should reflect the real time this action\n            // was performed, so we don't use the reference date here.\n            timestamp = Date.now(); // eslint-disable-line sitekit/no-direct-date\n            if (!(!!googleTagLastSyncedAtMs && timestamp - googleTagLastSyncedAtMs < _js_util__WEBPACK_IMPORTED_MODULE_13__[\"HOUR_IN_SECONDS\"] * 1000)) {\n              _context12.next = 24;\n              break;\n            }\n            return _context12.abrupt(\"return\");\n          case 24:\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setGoogleTagLastSyncedAtMs(timestamp);\n            googleTagID = getGoogleTagID();\n            if (!googleTagID) {\n              _context12.next = 37;\n              break;\n            }\n            _context12.next = 29;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getGoogleTagContainer(measurementID));\n          case 29:\n            googleTagContainer = _context12.sent;\n            _context12.next = 32;\n            return baseActions.setIsWebDataStreamUnavailable(!googleTagContainer);\n          case 32:\n            if (!(googleTagContainer && !googleTagContainer.tagIds.includes(googleTagID))) {\n              _context12.next = 35;\n              break;\n            }\n            _context12.next = 35;\n            return baseActions.setHasMismatchedGoogleTagID(true);\n          case 35:\n            _context12.next = 39;\n            break;\n          case 37:\n            _context12.next = 39;\n            return baseActions.updateSettingsForMeasurementID(measurementID);\n          case 39:\n            googleTagAccountID = getGoogleTagAccountID();\n            googleTagContainerID = getGoogleTagContainerID();\n            _context12.next = 43;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getGoogleTagContainerDestinations(googleTagAccountID, googleTagContainerID)) || [];\n          case 43:\n            googleTagContainerDestinations = _context12.sent;\n            // Fallback used in the event of an error.\n            googleTagContainerDestinationIDs = googleTagContainerDestinations === null || googleTagContainerDestinations === void 0 ? void 0 : googleTagContainerDestinations.map(\n            // eslint-disable-next-line sitekit/acronym-case\n            function (_ref20) {\n              var destinationId = _ref20.destinationId;\n              return destinationId;\n            });\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setGoogleTagContainerDestinationIDs(googleTagContainerDestinationIDs);\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).saveSettings();\n          case 47:\n          case \"end\":\n            return _context12.stop();\n        }\n      }\n    }, syncGoogleTagSettings);\n  })\n};\nvar baseControls = {};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, _ref21) {\n  var type = _ref21.type,\n    payload = _ref21.payload;\n  switch (type) {\n    case MATCHING_ACCOUNT_PROPERTY:\n      {\n        state.isMatchingAccountProperty = payload.isMatchingAccountProperty;\n        break;\n      }\n    case SET_HAS_MISMATCHED_TAG:\n      {\n        state.moduleData = state.moduleData || {};\n        state.moduleData.hasMismatchedTag = payload.hasMismatchedTag;\n        break;\n      }\n    default:\n      break;\n  }\n});\nvar baseResolvers = {\n  getProperties: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getProperties(accountID) {\n    var registry, properties;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getProperties$(_context13) {\n      while (1) {\n        switch (_context13.prev = _context13.next) {\n          case 0:\n            if (Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_15__[\"isValidAccountID\"])(accountID)) {\n              _context13.next = 2;\n              break;\n            }\n            return _context13.abrupt(\"return\");\n          case 2:\n            _context13.next = 4;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 4:\n            registry = _context13.sent;\n            // Only fetch properties if there are none in the store for the given account.\n            properties = registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getProperties(accountID);\n            if (!(properties === undefined)) {\n              _context13.next = 9;\n              break;\n            }\n            _context13.next = 9;\n            return fetchGetPropertiesStore.actions.fetchGetProperties(accountID);\n          case 9:\n          case \"end\":\n            return _context13.stop();\n        }\n      }\n    }, getProperties);\n  }),\n  getProperty: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getProperty(propertyID) {\n    var registry, property;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getProperty$(_context14) {\n      while (1) {\n        switch (_context14.prev = _context14.next) {\n          case 0:\n            _context14.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context14.sent;\n            property = registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getProperty(propertyID);\n            if (!(property === undefined)) {\n              _context14.next = 7;\n              break;\n            }\n            _context14.next = 7;\n            return fetchGetPropertyStore.actions.fetchGetProperty(propertyID);\n          case 7:\n          case \"end\":\n            return _context14.stop();\n        }\n      }\n    }, getProperty);\n  }),\n  getPropertySummaries: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getPropertySummaries(accountID) {\n    var _yield$commonActions$4, resolveSelect;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getPropertySummaries$(_context15) {\n      while (1) {\n        switch (_context15.prev = _context15.next) {\n          case 0:\n            _context15.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$4 = _context15.sent;\n            resolveSelect = _yield$commonActions$4.resolveSelect;\n            _context15.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries(accountID));\n          case 6:\n          case \"end\":\n            return _context15.stop();\n        }\n      }\n    }, getPropertySummaries);\n  }),\n  getPropertyCreateTime: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getPropertyCreateTime() {\n    var registry, propertyID, propertyCreateTime, cachedPropertyCreateTime, property;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getPropertyCreateTime$(_context16) {\n      while (1) {\n        switch (_context16.prev = _context16.next) {\n          case 0:\n            _context16.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context16.sent;\n            _context16.next = 5;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getSettings());\n          case 5:\n            propertyID = registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n            propertyCreateTime = registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getPropertyCreateTime();\n            if (!(propertyCreateTime || !Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_15__[\"isValidPropertyID\"])(propertyID))) {\n              _context16.next = 9;\n              break;\n            }\n            return _context16.abrupt(\"return\");\n          case 9:\n            _context16.next = 11;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_17__[\"getItem\"])(\"analytics4-properties-getPropertyCreateTime-\".concat(propertyID)));\n          case 11:\n            cachedPropertyCreateTime = _context16.sent;\n            if (!cachedPropertyCreateTime.cacheHit) {\n              _context16.next = 15;\n              break;\n            }\n            registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setPropertyCreateTime(cachedPropertyCreateTime.value);\n            return _context16.abrupt(\"return\");\n          case 15:\n            _context16.next = 17;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getProperty(propertyID));\n          case 17:\n            property = _context16.sent;\n            if (property === null || property === void 0 ? void 0 : property.createTime) {\n              _context16.next = 20;\n              break;\n            }\n            return _context16.abrupt(\"return\");\n          case 20:\n            _context16.next = 22;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_17__[\"setItem\"])(\"analytics4-properties-getPropertyCreateTime-\".concat(propertyID), property.createTime));\n          case 22:\n            registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setPropertyCreateTime(property.createTime);\n          case 23:\n          case \"end\":\n            return _context16.stop();\n        }\n      }\n    }, getPropertyCreateTime);\n  }),\n  getGoogleTagSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getGoogleTagSettings(measurementID) {\n    var registry, googleTagSettings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getGoogleTagSettings$(_context17) {\n      while (1) {\n        switch (_context17.prev = _context17.next) {\n          case 0:\n            if (measurementID) {\n              _context17.next = 2;\n              break;\n            }\n            return _context17.abrupt(\"return\", null);\n          case 2:\n            _context17.next = 4;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 4:\n            registry = _context17.sent;\n            googleTagSettings = registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getGoogleTagSettings(measurementID);\n            if (!(googleTagSettings !== undefined)) {\n              _context17.next = 8;\n              break;\n            }\n            return _context17.abrupt(\"return\", googleTagSettings);\n          case 8:\n            _context17.next = 10;\n            return fetchGetGoogleTagSettingsStore.actions.fetchGetGoogleTagSettings(measurementID);\n          case 10:\n            return _context17.abrupt(\"return\", _context17.sent);\n          case 11:\n          case \"end\":\n            return _context17.stop();\n        }\n      }\n    }, getGoogleTagSettings);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets all GA4 properties this account can access.\n   *\n   * @since 1.31.0\n   *\n   * @param {Object} state     Data store's state.\n   * @param {string} accountID The GA4 Account ID to fetch properties for.\n   * @return {(Array.<Object>|undefined)} An array of GA4 properties; `undefined` if not loaded.\n   */\n  getProperties: function getProperties(state, accountID) {\n    return state.properties[accountID];\n  },\n  /**\n   * Gets a property with specific ID.\n   *\n   * @since 1.31.0\n   *\n   * @param {Object} state      Data store's state.\n   * @param {string} propertyID The GA4 property ID to fetch property object for.\n   * @return {(Object|undefined)} A property object; `undefined` if not loaded.\n   */\n  getProperty: function getProperty(state, propertyID) {\n    return state.propertiesByID[propertyID];\n  },\n  /**\n   * Gets all GA4 properties from the account summaries this account can access.\n   *\n   * @since 1.118.0\n   *\n   * @param {Object} state     Data store's state.\n   * @param {string} accountID The GA4 Account ID to fetch properties for.\n   * @return {(Array.<Object>|undefined)} An array of GA4 properties; `undefined` if not loaded.\n   */\n  getPropertySummaries: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function (state, accountID) {\n      var accountSummaries = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries();\n      if (accountSummaries === undefined) {\n        return undefined;\n      }\n      var account = accountSummaries.find(function (summary) {\n        return summary._id === accountID;\n      });\n      return account ? account.propertySummaries : [];\n    };\n  }),\n  /**\n   * Gets Google tag settings.\n   *\n   * @since 1.150.0\n   *\n   * @param {Object} state         Data store's state.\n   * @param {string} measurementID Measurement ID.\n   * @return {(Object|undefined)} A Google tag settings object; `undefined` if not loaded.\n   */\n  getGoogleTagSettings: function getGoogleTagSettings(state, measurementID) {\n    var _state$googleTagSetti;\n    return (_state$googleTagSetti = state.googleTagSettings) === null || _state$googleTagSetti === void 0 ? void 0 : _state$googleTagSetti[measurementID];\n  },\n  /**\n   * Determines whether we are matching account property or not.\n   *\n   * @since 1.98.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} TRUE if we matching account property right now, otherwise FALSE.\n   */\n  isMatchingAccountProperty: function isMatchingAccountProperty(state) {\n    return state.isMatchingAccountProperty;\n  },\n  /**\n   * Checks if properties summaries are currently being loaded.\n   *\n   * This selector was introduced as a convenience for reusing the same loading logic across multiple\n   * components, initially the `PropertySelect` and `SettingsEnhancedMeasurementSwitch` components.\n   *\n   * @since 1.118.0\n   *\n   * @return {boolean} TRUE if the properties summaries are currently being loaded, otherwise FALSE.\n   */\n  isLoadingPropertySummaries: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      return !select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getAccountSummaries') || select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).isMatchingAccountProperty() || select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).hasFinishedSelectingAccount() === false;\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"combineStores\"])(fetchCreatePropertyStore, fetchGetPropertiesStore, fetchGetPropertyStore, fetchGetGoogleTagSettingsStore, fetchSetGoogleTagIDMismatch, fetchSetIsWebDataStreamUnavailable, {\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/modules/analytics-4/datastore/properties.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/report.js":
/*!****************************************************!*\
  !*** ./js/modules/analytics-4/datastore/report.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_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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 _js_googlesitekit_modules_create_gathering_data_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/modules/create-gathering-data-store */ \"./js/googlesitekit/modules/create-gathering-data-store.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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/utils */ \"./js/modules/analytics-4/utils/index.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n\n\nvar _global$_googlesiteki;\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 * `modules/analytics-4` data store: report.\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 * WordPress dependencies\n */\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\nvar fetchGetReportStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__[\"createFetchStore\"])({\n  baseName: 'getReport',\n  controlCallback: function controlCallback(_ref) {\n    var options = _ref.options;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULE_SLUG_ANALYTICS_4\"], 'report', Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_13__[\"normalizeReportOptions\"])(options));\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, report, _ref2) {\n    var options = _ref2.options;\n    state.reports[Object(_js_util__WEBPACK_IMPORTED_MODULE_12__[\"stringifyObject\"])(options)] = report;\n  }),\n  argsToParams: function argsToParams(options) {\n    return {\n      options: options\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      options = _ref3.options;\n    return Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_14__[\"validateReport\"])(options);\n  }\n});\nvar gatheringDataStore = Object(_js_googlesitekit_modules_create_gathering_data_store__WEBPACK_IMPORTED_MODULE_7__[\"createGatheringDataStore\"])(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULE_SLUG_ANALYTICS_4\"], {\n  storeName: _constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"],\n  dataAvailable: (_global$_googlesiteki = global._googlesitekitModulesData) === null || _global$_googlesiteki === void 0 ? void 0 : _global$_googlesiteki['data_available_analytics-4'],\n  selectDataAvailability: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      // Disable reason: This needs to be run here in order for the report to be resolved.\n      // eslint-disable-next-line @wordpress/no-unused-vars-before-return\n      var hasZeroData = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).hasZeroData();\n      var args = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getSampleReportArgs();\n      var hasResolvedReport = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [args]);\n      if (!hasResolvedReport || hasZeroData === undefined) {\n        return undefined;\n      }\n      var hasReportError = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [args]);\n\n      // If there is an error, return `null` since we don't know if there is data or not.\n      if (hasReportError) {\n        return null;\n      }\n      if (hasZeroData === false) {\n        return true;\n      }\n      var isAuthenticated = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isAuthenticated();\n      if (isAuthenticated === undefined) {\n        return undefined;\n      }\n      if (!isAuthenticated) {\n        return false;\n      }\n      var propertyCreateTime = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getPropertyCreateTime();\n      if (undefined === propertyCreateTime) {\n        return undefined;\n      }\n\n      // If the property is new and has no data, assume it's still gathering data.\n      if (propertyCreateTime === 0) {\n        return false;\n      }\n\n      // If the property was created within the last three days and has no data, assume it's still gathering data.\n      var now = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getReferenceDate();\n      var threeDaysAgo = Object(_js_util__WEBPACK_IMPORTED_MODULE_12__[\"dateSub\"])(now, 3 * _js_util__WEBPACK_IMPORTED_MODULE_12__[\"DAY_IN_SECONDS\"]);\n      if (propertyCreateTime > threeDaysAgo.getTime()) {\n        return false;\n      }\n      return true;\n    };\n  })\n});\nvar baseInitialState = {\n  reports: {}\n};\nvar baseResolvers = {\n  getReport: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getReport() {\n    var options,\n      registry,\n      existingReport,\n      _args = arguments;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getReport$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};\n            _context.next = 3;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"commonActions\"].getRegistry();\n          case 3:\n            registry = _context.sent;\n            existingReport = registry.select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getReport(options); // If there is already a report loaded in state, consider it fulfilled\n            // and don't make an API request.\n            if (!existingReport) {\n              _context.next = 7;\n              break;\n            }\n            return _context.abrupt(\"return\");\n          case 7:\n            _context.next = 9;\n            return fetchGetReportStore.actions.fetchGetReport(options);\n          case 9:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, getReport);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets an Analytics report for the given options.\n   *\n   * @since 1.94.0\n   * @since 1.111.0 Add metricFilters to the options list, to reflect added support for the metric filters.\n   *\n   * @param {Object}         state                      Data store's state.\n   * @param {Object}         options                    Options for generating the report.\n   * @param {string}         options.startDate          Required. Start date to query report data for as YYYY-mm-dd.\n   * @param {string}         options.endDate            Required. End date to query report data for as YYYY-mm-dd.\n   * @param {Array.<string>} options.metrics            Required. List of metrics to query.\n   * @param {string}         [options.compareStartDate] Optional. Start date to compare report data for as YYYY-mm-dd.\n   * @param {string}         [options.compareEndDate]   Optional. End date to compare report data for as YYYY-mm-dd.\n   * @param {Array.<string>} [options.dimensions]       Optional. List of dimensions to group results by. Default an empty array.\n   * @param {Object}         [options.dimensionFilters] Optional. Map of dimension filters for filtering options on a dimension. Default an empty object.\n   * @param {Object}         [options.metricFilters]    Optional. Map of metric filters for filtering options on a metric. Default an empty object.\n   * @param {Array.<Object>} [options.orderby]          Optional. An order definition object, or a list of order definition objects, each one containing 'fieldName' and 'sortOrder'. 'sortOrder' must be either 'ASCENDING' or 'DESCENDING'. Default empty array.\n   * @param {string}         [options.url]              Optional. URL to get a report for only this URL. Default an empty string.\n   * @param {number}         [options.limit]            Optional. Maximum number of entries to return. Default 1000.\n   * @return {(Array.<Object>|undefined)} An Analytics report; `undefined` if not loaded.\n   */\n  getReport: function getReport(state, options) {\n    var reports = state.reports;\n    return reports[Object(_js_util__WEBPACK_IMPORTED_MODULE_12__[\"stringifyObject\"])(options)];\n  },\n  /**\n   * Gets a Page title to URL map for the given options.\n   *\n   * @since 1.96.0\n   *\n   * @param {Object} state             Data store's state.\n   * @param {Object} report            A report from the getReport selector containing pagePaths.\n   * @param {Object} options           Options for generating the report.\n   * @param {string} options.startDate Required, start date to query report data for as YYYY-mm-dd.\n   * @param {string} options.endDate   Required, end date to query report data for as YYYY-mm-dd.\n   * @return {(Object|undefined)} A map with url as the key and page title as the value. `undefined` if not loaded.\n   */\n  getPageTitles: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function (state, report) {\n      var _ref4 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n        startDate = _ref4.startDate,\n        endDate = _ref4.endDate;\n      if (!Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(report)) {\n        return undefined;\n      }\n      var pagePaths = [];\n      var REQUEST_MULTIPLIER = 5;\n\n      /*\n       * Iterate over the report rows, finding the dimension containing the\n       * pagePath value which we add to the array of pagePaths.\n       */\n      var dimensionHeaders = report.dimensionHeaders,\n        rows = report.rows;\n      if (Array.isArray(dimensionHeaders) && Array.isArray(rows)) {\n        var pagePathIndex = dimensionHeaders.findIndex(function (_ref5) {\n          var name = _ref5.name;\n          return name === 'pagePath';\n        });\n        rows.forEach(function (_ref6) {\n          var dimensionValues = _ref6.dimensionValues;\n          if (!pagePaths.includes(dimensionValues[pagePathIndex].value)) {\n            pagePaths.push(dimensionValues[pagePathIndex].value);\n          }\n        });\n      }\n      var urlTitleMap = {};\n      if (!pagePaths.length) {\n        return urlTitleMap;\n      }\n      var options = {\n        startDate: startDate,\n        endDate: endDate,\n        dimensions: ['pagePath', 'pageTitle'],\n        dimensionFilters: {\n          pagePath: pagePaths.sort()\n        },\n        metrics: [{\n          name: 'screenPageViews'\n        }],\n        orderby: [{\n          metric: {\n            metricName: 'screenPageViews'\n          },\n          desc: true\n        }],\n        limit: REQUEST_MULTIPLIER * pagePaths.length,\n        reportID: 'analytics-4_get-page-titles_store:selector_options'\n      };\n      var pageTitlesReport = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getReport(options);\n      if (undefined === pageTitlesReport) {\n        return undefined;\n      }\n      ((pageTitlesReport === null || pageTitlesReport === void 0 ? void 0 : pageTitlesReport.rows) || []).forEach(function (_ref7) {\n        var dimensionValues = _ref7.dimensionValues;\n        if (!urlTitleMap[dimensionValues[0].value]) {\n          // key is the url, value is the page title.\n          urlTitleMap[dimensionValues[0].value] = dimensionValues[1].value;\n        }\n      });\n      pagePaths.forEach(function (pagePath) {\n        if (!urlTitleMap[pagePath]) {\n          // If we don't have a title for the pagePath, we use '(unknown)'.\n          urlTitleMap[pagePath] = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('(unknown)', 'google-site-kit');\n        }\n      });\n      return urlTitleMap;\n    };\n  }),\n  /**\n   * Determines whether Analytics 4 has zero data or not.\n   *\n   * @since 1.95.0\n   * @since 1.107.0 Returns `true` if the report request has an error to be consistent with `hasZeroData` selectors of other modules.\n   * @since 1.128.0 Add optional `reportArgs` parameter to allow checking zero data for a specific report.\n   *\n   * @param {Object}           state      Data store's state.\n   * @param {Object|undefined} reportArgs Optional. Options for generating the report.\n   * @return {boolean|undefined} Returns `true` if the report is zero, otherwise `false`. Returns `undefined` while resolving.\n   */\n  hasZeroData: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function (state, reportArgs) {\n      var args = reportArgs || select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getSampleReportArgs();\n\n      // Disable reason: select needs to be called here or it will never run.\n      // eslint-disable-next-line @wordpress/no-unused-vars-before-return\n      var report = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getReport(args);\n      var hasResolvedReport = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [args]);\n      if (!hasResolvedReport) {\n        return undefined;\n      }\n      var hasReportError = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [args]);\n\n      // If there is an error, we assume it's a zero report.\n      if (hasReportError) {\n        return true;\n      }\n      return Object(_js_modules_analytics_4_utils__WEBPACK_IMPORTED_MODULE_13__[\"isZeroReport\"])(report);\n    };\n  }),\n  /**\n   * Returns report args for a sample report.\n   *\n   * @since 1.107.0\n   * @since 1.124.0 Moved from the main analytics-4 datastore file to utils.\n   * @since 1.136.0 Moved back to the main analytics-4 datastore file and updated to be a selector.\n   *\n   * @param {Function} select The select function of the registry.\n   * @return {Object} Report args.\n   */\n  getSampleReportArgs: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select$getDateRangeD = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getDateRangeDates({\n          compare: true,\n          offsetDays: _constants__WEBPACK_IMPORTED_MODULE_10__[\"DATE_RANGE_OFFSET\"]\n        }),\n        startDate = _select$getDateRangeD.compareStartDate,\n        endDate = _select$getDateRangeD.endDate;\n      var args = {\n        dimensions: ['date'],\n        metrics: [{\n          name: 'totalUsers'\n        }],\n        startDate: startDate,\n        endDate: endDate\n      };\n      var url = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).getCurrentEntityURL();\n      if (url) {\n        args.url = url;\n      }\n      return args;\n    };\n  }),\n  /**\n   * Gets a given report for each of the provided audiences.\n   *\n   * @since 1.126.0\n   *\n   * @param {Object}   state                 Data store's state.\n   * @param {Object}   options               Options for generating the report.\n   * @param {string[]} audienceResourceNames Audience resource names to get the report for.\n   * @return {Array.<Object>} An array of report response objects for each provided audience resource name.\n   */\n  getReportForAllAudiences: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function (state, options, audienceResourceNames) {\n      return audienceResourceNames === null || audienceResourceNames === void 0 ? void 0 : audienceResourceNames.map(function (audienceResourceName) {\n        var partialDataSiteKitAudience = select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getPartialDataSiteKitAudience(audienceResourceName);\n        if (partialDataSiteKitAudience === undefined) {\n          return undefined;\n        }\n        var dimensionFilters = {};\n        if (partialDataSiteKitAudience) {\n          dimensionFilters.newVsReturning = partialDataSiteKitAudience.audienceSlug === 'new-visitors' ? 'new' : 'returning';\n        } else {\n          dimensionFilters.audienceResourceName = audienceResourceName;\n        }\n        return select(_constants__WEBPACK_IMPORTED_MODULE_10__[\"MODULES_ANALYTICS_4\"]).getReport(_objectSpread(_objectSpread({}, options), {}, {\n          dimensionFilters: _objectSpread(_objectSpread({}, options.dimensionFilters), dimensionFilters)\n        }));\n      });\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"combineStores\"])(fetchGetReportStore, gatheringDataStore, {\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);\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/modules/analytics-4/datastore/report.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/service.js":
/*!*****************************************************!*\
  !*** ./js/modules/analytics-4/datastore/service.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_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */ \"../node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js\");\n/* harmony import */ var _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__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 _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 _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 _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_util_escape_uri__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/util/escape-uri */ \"./js/util/escape-uri.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_report_date_range_args__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/report-date-range-args */ \"./js/modules/analytics-4/utils/report-date-range-args.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_report_args__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/report-args */ \"./js/modules/analytics-4/utils/report-args.js\");\n\n\n\nfunction _templateObject2() {\n  var data = _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0___default()([\"/a\", \"p\", \"/admin/streams/table/\", \"\"]);\n  _templateObject2 = function _templateObject2() {\n    return data;\n  };\n  return data;\n}\nfunction _templateObject() {\n  var data = _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0___default()([\"/p\", \"/reports/explorer\"]);\n  _templateObject = function _templateObject() {\n    return data;\n  };\n  return data;\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 * `modules/analytics-4` data store: service.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nvar selectors = {\n  /**\n   * Gets a URL to the service.\n   *\n   * @since 1.119.0\n   *\n   * @param {Object} state        Data store's state.\n   * @param {Object} [args]       Object containing optional path and query args.\n   * @param {string} [args.path]  A path to append to the base url.\n   * @param {Object} [args.query] Object of query params to be added to the URL.\n   * @return {(string|undefined)} The URL to the service, or `undefined` if not loaded.\n   */\n  getServiceURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n        path = _ref.path,\n        query = _ref.query;\n      var serviceURL = 'https://analytics.google.com/analytics/web/';\n      if (query) {\n        serviceURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_4__[\"addQueryArgs\"])(serviceURL, query);\n      }\n      if (path) {\n        var sanitizedPath = \"/\".concat(path.replace(/^\\//, ''));\n        serviceURL = \"\".concat(serviceURL, \"#\").concat(sanitizedPath);\n      }\n      var accountChooserBaseURI = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).getAccountChooserURL(serviceURL);\n      if (accountChooserBaseURI === undefined) {\n        return undefined;\n      }\n      return accountChooserBaseURI;\n    };\n  }),\n  /**\n   * Gets a URL for a specific Analytics 4 reporting view on the service.\n   *\n   * @since 1.98.0\n   *\n   * @param {Object} state        Data store's state.\n   * @param {string} type         Report type.\n   * @param {Object} [reportArgs] Report-specific arguments for targeting a specific sub-view.\n   * @return {(string|undefined)} The service URL.\n   */\n  getServiceReportURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function (state, type) {\n      var reportArgs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(type, 'type is required to get a service report URL.');\n      var propertyID = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n      if (!propertyID) {\n        return undefined;\n      }\n      var dates = reportArgs.dates,\n        _reportArgs$details = reportArgs.details,\n        details = _reportArgs$details === void 0 ? {} : _reportArgs$details,\n        _reportArgs$filters = reportArgs.filters,\n        filters = _reportArgs$filters === void 0 ? {} : _reportArgs$filters,\n        _reportArgs$otherArgs = reportArgs.otherArgs,\n        otherArgs = _reportArgs$otherArgs === void 0 ? {} : _reportArgs$otherArgs;\n      var embeddedParams = _objectSpread(_objectSpread(_objectSpread(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"REPORT_ARGS_NAV_KEY\"], 'maui'), dates ? Object(_js_modules_analytics_4_utils_report_date_range_args__WEBPACK_IMPORTED_MODULE_10__[\"generateDateRangeArgs\"])(dates) : {}), Object(_js_modules_analytics_4_utils_report_args__WEBPACK_IMPORTED_MODULE_11__[\"generateReportDetailArgs\"])(details)), Object(_js_modules_analytics_4_utils_report_args__WEBPACK_IMPORTED_MODULE_11__[\"generateReportFilterArgs\"])(filters));\n\n      // Here we turn embeddedParams into a query string without any URI encoding, as the\n      // result will be encoded by addQueryArgs, and we don't want to double-encode it.\n      var params = Object.entries(embeddedParams).map(function (_ref2) {\n        var _ref3 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_ref2, 2),\n          key = _ref3[0],\n          value = _ref3[1];\n        return \"\".concat(key, \"=\").concat(value);\n      }).join('&');\n      var path = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_4__[\"addQueryArgs\"])(Object(_js_util_escape_uri__WEBPACK_IMPORTED_MODULE_9__[\"escapeURI\"])(_templateObject(), propertyID), _objectSpread({\n        params: params,\n        r: type\n      }, otherArgs));\n      return select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getServiceURL({\n        query: {\n          pli: 1\n        },\n        path: path\n      });\n    };\n  }),\n  /**\n   * Gets an entity access URL on the service.\n   *\n   * @since 1.109.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {string|undefined} The entity access URL to the service.\n   */\n  getServiceEntityAccessURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var accountID = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n      var propertyID = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n      var webDataStreamID = select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamID();\n      if (!accountID || !propertyID || !webDataStreamID) {\n        return undefined;\n      }\n      return select(_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getServiceURL({\n        path: Object(_js_util_escape_uri__WEBPACK_IMPORTED_MODULE_9__[\"escapeURI\"])(_templateObject2(), accountID, propertyID, webDataStreamID)\n      });\n    };\n  })\n};\nvar store = {\n  selectors: selectors\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/datastore/service.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/settings.js":
/*!******************************************************!*\
  !*** ./js/modules/analytics-4/datastore/settings.js ***!
  \******************************************************/
/*! exports provided: INVARIANT_INVALID_PROPERTY_SELECTION, INVARIANT_INVALID_WEBDATASTREAM_ID, INVARIANT_INVALID_WEBDATASTREAM_NAME, INVARIANT_WEBDATASTREAM_ALREADY_EXISTS, INVARIANT_INVALID_ADS_CONVERSION_ID, default, submitChanges, rollbackChanges, validateCanSubmitChanges, validateHaveSettingsChanged */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_PROPERTY_SELECTION\", function() { return INVARIANT_INVALID_PROPERTY_SELECTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_WEBDATASTREAM_ID\", function() { return INVARIANT_INVALID_WEBDATASTREAM_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_WEBDATASTREAM_NAME\", function() { return INVARIANT_INVALID_WEBDATASTREAM_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_WEBDATASTREAM_ALREADY_EXISTS\", function() { return INVARIANT_WEBDATASTREAM_ALREADY_EXISTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_ADS_CONVERSION_ID\", function() { return INVARIANT_INVALID_ADS_CONVERSION_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"submitChanges\", function() { return submitChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rollbackChanges\", function() { return rollbackChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateCanSubmitChanges\", function() { return validateCanSubmitChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateHaveSettingsChanged\", function() { return validateHaveSettingsChanged; });\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_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/data/create-settings-store */ \"./js/googlesitekit/data/create-settings-store.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_modules_ads_utils_validation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/ads/utils/validation */ \"./js/modules/ads/utils/validation.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/googlesitekit/notifications/constants */ \"./js/googlesitekit/notifications/constants.js\");\n\n\n/**\n * `modules/analytics-4` 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/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// Invariant error messages.\nvar INVARIANT_INVALID_PROPERTY_SELECTION = 'a valid propertyID is required to submit changes';\nvar INVARIANT_INVALID_WEBDATASTREAM_ID = 'a valid webDataStreamID is required to submit changes';\nvar INVARIANT_INVALID_WEBDATASTREAM_NAME = 'a valid web data stream name is required to submit changes';\nvar INVARIANT_WEBDATASTREAM_ALREADY_EXISTS = 'a web data stream with the same name already exists';\nvar INVARIANT_INVALID_ADS_CONVERSION_ID = 'a valid ads adsConversionID is required to submit changes';\nvar store = {\n  selectors: {\n    areSettingsEditDependenciesLoaded: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n      return function () {\n        return select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getAccountSummaries');\n      };\n    })\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);\nfunction submitChanges(_x) {\n  return _submitChanges.apply(this, arguments);\n}\nfunction _submitChanges() {\n  _submitChanges = _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 dispatch, select, resolveSelect, propertyID, accountID, _yield$dispatch$creat, property, _error, webDataStreamID, webDataStreamName, webDataStreamAlreadyExists, _yield$dispatch$creat2, webdatastream, _error2, isEnhancedMeasurementEnabled, _yield$updateEnhanced, _error3, _yield$saveSettings, 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            dispatch = _ref.dispatch, select = _ref.select, resolveSelect = _ref.resolveSelect;\n            propertyID = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n            if (!(propertyID === _constants__WEBPACK_IMPORTED_MODULE_11__[\"PROPERTY_CREATE\"])) {\n              _context.next = 16;\n              break;\n            }\n            accountID = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n            _context.next = 6;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).createProperty(accountID);\n          case 6:\n            _yield$dispatch$creat = _context.sent;\n            property = _yield$dispatch$creat.response;\n            _error = _yield$dispatch$creat.error;\n            if (!_error) {\n              _context.next = 11;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: _error\n            });\n          case 11:\n            propertyID = property._id;\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setPropertyID(propertyID);\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setWebDataStreamID(_constants__WEBPACK_IMPORTED_MODULE_11__[\"WEBDATASTREAM_CREATE\"]);\n            _context.next = 16;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).updateSettingsForMeasurementID('');\n          case 16:\n            webDataStreamID = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamID();\n            if (!(propertyID && webDataStreamID === _constants__WEBPACK_IMPORTED_MODULE_11__[\"WEBDATASTREAM_CREATE\"])) {\n              _context.next = 36;\n              break;\n            }\n            webDataStreamName = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_FORMS\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_11__[\"FORM_SETUP\"], 'webDataStreamName');\n            webDataStreamAlreadyExists = false;\n            if (!Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertyID\"])(propertyID)) {\n              _context.next = 24;\n              break;\n            }\n            _context.next = 23;\n            return resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).doesWebDataStreamExist(propertyID, webDataStreamName);\n          case 23:\n            webDataStreamAlreadyExists = _context.sent;\n          case 24:\n            if (!(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamName\"])(webDataStreamName) && false === webDataStreamAlreadyExists)) {\n              _context.next = 36;\n              break;\n            }\n            _context.next = 27;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).createWebDataStream(propertyID, webDataStreamName);\n          case 27:\n            _yield$dispatch$creat2 = _context.sent;\n            webdatastream = _yield$dispatch$creat2.response;\n            _error2 = _yield$dispatch$creat2.error;\n            if (!_error2) {\n              _context.next = 32;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: _error2\n            });\n          case 32:\n            webDataStreamID = webdatastream._id;\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setWebDataStreamID(webDataStreamID);\n            _context.next = 36;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).updateSettingsForMeasurementID(\n            // eslint-disable-next-line sitekit/acronym-case\n            webdatastream.webStreamData.measurementId);\n          case 36:\n            if (!(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertyID\"])(propertyID) && Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamID\"])(webDataStreamID))) {\n              _context.next = 45;\n              break;\n            }\n            isEnhancedMeasurementEnabled = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_FORMS\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_11__[\"ENHANCED_MEASUREMENT_FORM\"], _constants__WEBPACK_IMPORTED_MODULE_11__[\"ENHANCED_MEASUREMENT_ENABLED\"]); // Only make the API request to enable the Enhanced Measurement setting, not to disable it.\n            if (!isEnhancedMeasurementEnabled) {\n              _context.next = 45;\n              break;\n            }\n            _context.next = 41;\n            return updateEnhancedMeasurementSettings({\n              select: select,\n              dispatch: dispatch,\n              propertyID: propertyID,\n              webDataStreamID: webDataStreamID,\n              isEnhancedMeasurementEnabled: isEnhancedMeasurementEnabled\n            });\n          case 41:\n            _yield$updateEnhanced = _context.sent;\n            _error3 = _yield$updateEnhanced.error;\n            if (!_error3) {\n              _context.next = 45;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: _error3\n            });\n          case 45:\n            _context.next = 47;\n            return saveSettings(select, dispatch);\n          case 47:\n            _yield$saveSettings = _context.sent;\n            error = _yield$saveSettings.error;\n            if (!error) {\n              _context.next = 51;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: error\n            });\n          case 51:\n            dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).resetUserAudienceSettings();\n            _context.next = 54;\n            return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"invalidateCache\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_12__[\"MODULE_SLUG_ANALYTICS_4\"]);\n          case 54:\n            return _context.abrupt(\"return\", {});\n          case 55:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  }));\n  return _submitChanges.apply(this, arguments);\n}\nfunction saveSettings(_x2, _x3) {\n  return _saveSettings.apply(this, arguments);\n}\nfunction _saveSettings() {\n  _saveSettings = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(select, dispatch) {\n    var haveSettingsChanged, _yield$dispatch$saveS, error, haveConversionTrackingSettingsChanged, _yield$dispatch$saveC, _error4, haveGoogleTagGatewaySettingsChanged, _yield$dispatch$saveG, _error5, _ref4, dismissError;\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            haveSettingsChanged = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).haveSettingsChanged();\n            if (!haveSettingsChanged) {\n              _context2.next = 8;\n              break;\n            }\n            _context2.next = 4;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).saveSettings();\n          case 4:\n            _yield$dispatch$saveS = _context2.sent;\n            error = _yield$dispatch$saveS.error;\n            if (!error) {\n              _context2.next = 8;\n              break;\n            }\n            return _context2.abrupt(\"return\", {\n              error: error\n            });\n          case 8:\n            haveConversionTrackingSettingsChanged = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_SITE\"]).haveConversionTrackingSettingsChanged();\n            if (!haveConversionTrackingSettingsChanged) {\n              _context2.next = 16;\n              break;\n            }\n            _context2.next = 12;\n            return dispatch(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_SITE\"]).saveConversionTrackingSettings();\n          case 12:\n            _yield$dispatch$saveC = _context2.sent;\n            _error4 = _yield$dispatch$saveC.error;\n            if (!_error4) {\n              _context2.next = 16;\n              break;\n            }\n            return _context2.abrupt(\"return\", {\n              error: _error4\n            });\n          case 16:\n            haveGoogleTagGatewaySettingsChanged = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_SITE\"]).haveGoogleTagGatewaySettingsChanged();\n            if (!haveGoogleTagGatewaySettingsChanged) {\n              _context2.next = 34;\n              break;\n            }\n            _context2.next = 20;\n            return dispatch(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_SITE\"]).saveGoogleTagGatewaySettings();\n          case 20:\n            _yield$dispatch$saveG = _context2.sent;\n            _error5 = _yield$dispatch$saveG.error;\n            if (!_error5) {\n              _context2.next = 24;\n              break;\n            }\n            return _context2.abrupt(\"return\", {\n              error: _error5\n            });\n          case 24:\n            if (!(select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_SITE\"]).isGoogleTagGatewayEnabled() && !select(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_NOTIFICATIONS\"]).isNotificationDismissed(_js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_16__[\"GTG_SETUP_CTA_BANNER_NOTIFICATION\"]))) {\n              _context2.next = 34;\n              break;\n            }\n            _context2.next = 27;\n            return dispatch(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_NOTIFICATIONS\"]).dismissNotification(_js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_16__[\"GTG_SETUP_CTA_BANNER_NOTIFICATION\"]);\n          case 27:\n            _context2.t0 = _context2.sent;\n            if (_context2.t0) {\n              _context2.next = 30;\n              break;\n            }\n            _context2.t0 = {};\n          case 30:\n            _ref4 = _context2.t0;\n            dismissError = _ref4.error;\n            if (!dismissError) {\n              _context2.next = 34;\n              break;\n            }\n            return _context2.abrupt(\"return\", {\n              error: dismissError\n            });\n          case 34:\n            return _context2.abrupt(\"return\", {});\n          case 35:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  }));\n  return _saveSettings.apply(this, arguments);\n}\nfunction updateEnhancedMeasurementSettings(_x4) {\n  return _updateEnhancedMeasurementSettings.apply(this, arguments);\n}\nfunction _updateEnhancedMeasurementSettings() {\n  _updateEnhancedMeasurementSettings = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(_ref2) {\n    var select, dispatch, propertyID, webDataStreamID, isEnhancedMeasurementEnabled, _yield$dispatch$updat, error, shouldDismissActivationBanner;\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            select = _ref2.select, dispatch = _ref2.dispatch, propertyID = _ref2.propertyID, webDataStreamID = _ref2.webDataStreamID, isEnhancedMeasurementEnabled = _ref2.isEnhancedMeasurementEnabled;\n            _context3.next = 3;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).setEnhancedMeasurementStreamEnabled({\n              propertyID: propertyID,\n              webDataStreamID: webDataStreamID,\n              enabled: isEnhancedMeasurementEnabled\n            });\n          case 3:\n            if (!select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).haveEnhancedMeasurementSettingsChanged(propertyID, webDataStreamID)) {\n              _context3.next = 14;\n              break;\n            }\n            _context3.next = 6;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).updateEnhancedMeasurementSettings(propertyID, webDataStreamID);\n          case 6:\n            _yield$dispatch$updat = _context3.sent;\n            error = _yield$dispatch$updat.error;\n            if (!error) {\n              _context3.next = 10;\n              break;\n            }\n            return _context3.abrupt(\"return\", {\n              error: error\n            });\n          case 10:\n            shouldDismissActivationBanner = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_FORMS\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_11__[\"ENHANCED_MEASUREMENT_FORM\"], _constants__WEBPACK_IMPORTED_MODULE_11__[\"ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER\"]);\n            if (!shouldDismissActivationBanner) {\n              _context3.next = 14;\n              break;\n            }\n            _context3.next = 14;\n            return dispatch(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_NOTIFICATIONS\"]).dismissNotification('enhanced-measurement-notification');\n          case 14:\n            return _context3.abrupt(\"return\", {});\n          case 15:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, _callee3);\n  }));\n  return _updateEnhancedMeasurementSettings.apply(this, arguments);\n}\nfunction rollbackChanges(_ref3) {\n  var select = _ref3.select,\n    dispatch = _ref3.dispatch;\n  if (select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).haveSettingsChanged()) {\n    dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).rollbackSettings();\n    dispatch(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_SITE\"]).resetConversionTrackingSettings();\n    dispatch(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_SITE\"]).resetGoogleTagGatewaySettings();\n  }\n  dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]).resetEnhancedMeasurementSettings();\n}\nfunction validateCanSubmitChanges(select) {\n  var _createStrictSelect = Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_6__[\"createStrictSelect\"])(select)(_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]),\n    haveAnyGA4SettingsChanged = _createStrictSelect.haveAnyGA4SettingsChanged,\n    isDoingSubmitChanges = _createStrictSelect.isDoingSubmitChanges,\n    getPropertyID = _createStrictSelect.getPropertyID,\n    getWebDataStreamID = _createStrictSelect.getWebDataStreamID,\n    doesWebDataStreamExist = _createStrictSelect.doesWebDataStreamExist,\n    getAdsConversionID = _createStrictSelect.getAdsConversionID;\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(haveAnyGA4SettingsChanged(), _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_8__[\"INVARIANT_SETTINGS_NOT_CHANGED\"]);\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(!isDoingSubmitChanges(), _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_8__[\"INVARIANT_DOING_SUBMIT_CHANGES\"]);\n  var propertyID = getPropertyID();\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertySelection\"])(propertyID), INVARIANT_INVALID_PROPERTY_SELECTION);\n  var webDataStreamID = getWebDataStreamID();\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamSelection\"])(webDataStreamID), INVARIANT_INVALID_WEBDATASTREAM_ID);\n  if (webDataStreamID === _constants__WEBPACK_IMPORTED_MODULE_11__[\"WEBDATASTREAM_CREATE\"]) {\n    var webDataStreamName = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_FORMS\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_11__[\"FORM_SETUP\"], 'webDataStreamName');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidWebDataStreamName\"])(webDataStreamName), INVARIANT_INVALID_WEBDATASTREAM_NAME);\n    if (Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidPropertyID\"])(propertyID)) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(false === doesWebDataStreamExist(propertyID, webDataStreamName), INVARIANT_WEBDATASTREAM_ALREADY_EXISTS);\n    }\n  }\n  var adsConversionID = getAdsConversionID();\n  if (adsConversionID !== '') {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_ads_utils_validation__WEBPACK_IMPORTED_MODULE_13__[\"isValidConversionID\"])(adsConversionID), INVARIANT_INVALID_ADS_CONVERSION_ID);\n  }\n}\nfunction validateHaveSettingsChanged(select, state, keys) {\n  var settings = state.settings,\n    savedSettings = state.savedSettings;\n  var haveConversionTrackingSettingsChanged = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_SITE\"]).haveConversionTrackingSettingsChanged();\n  var haveGoogleTagGatewaySettingsChanged = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__[\"CORE_SITE\"]).haveGoogleTagGatewaySettingsChanged();\n  if (keys) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(!Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isEqual\"])(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"pick\"])(settings, keys), Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"pick\"])(savedSettings, keys)) || haveConversionTrackingSettingsChanged || haveGoogleTagGatewaySettingsChanged, _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_8__[\"INVARIANT_SETTINGS_NOT_CHANGED\"]);\n  }\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(!Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isEqual\"])(settings, savedSettings) || haveConversionTrackingSettingsChanged || haveGoogleTagGatewaySettingsChanged, _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_8__[\"INVARIANT_SETTINGS_NOT_CHANGED\"]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/datastore/settings.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/tags.js":
/*!**************************************************!*\
  !*** ./js/modules/analytics-4/datastore/tags.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_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_data_create_existing_tag_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/data/create-existing-tag-store */ \"./js/googlesitekit/data/create-existing-tag-store.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_tag_matchers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/tag-matchers */ \"./js/modules/analytics-4/utils/tag-matchers.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n\n/**\n * `modules/analytics-4` data store: 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 * Internal dependencies\n */\n\n\n\n\n\nvar existingTagStore = Object(_js_googlesitekit_data_create_existing_tag_store__WEBPACK_IMPORTED_MODULE_2__[\"createExistingTagStore\"])({\n  storeName: _constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"],\n  tagMatchers: Object(_js_modules_analytics_4_utils_tag_matchers__WEBPACK_IMPORTED_MODULE_4__[\"getTagMatchers\"])(),\n  isValidTag: _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_5__[\"isValidMeasurementID\"]\n});\n\n// Override the `getExistingTag()` resolver to provide the extended Google Tag behavior.\nexistingTagStore.resolvers.getExistingTag = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\n  var registry, existingTag, container;\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"commonActions\"].getRegistry();\n        case 2:\n          registry = _context.sent;\n          existingTag = registry.select(_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getExistingTag();\n          if (!(existingTag === undefined)) {\n            _context.next = 8;\n            break;\n          }\n          _context.next = 7;\n          return existingTagStore.actions.fetchGetExistingTag();\n        case 7:\n          existingTag = _context.sent;\n        case 8:\n          if (!(existingTag !== null)) {\n            _context.next = 13;\n            break;\n          }\n          _context.next = 11;\n          return googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getGoogleTagContainer(existingTag));\n        case 11:\n          container = _context.sent;\n          if (!(container === null || container === void 0 ? void 0 : container.tagIds.includes(existingTag))) {\n            existingTag = null;\n          }\n        case 13:\n          registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).receiveGetExistingTag(existingTag);\n        case 14:\n        case \"end\":\n          return _context.stop();\n      }\n    }\n  }, _callee);\n});\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"combineStores\"])(existingTagStore);\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/modules/analytics-4/datastore/tags.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/webdatastreams.js":
/*!************************************************************!*\
  !*** ./js/modules/analytics-4/datastore/webdatastreams.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_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/* 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_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 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 googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\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 _constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/datastore/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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.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; }\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(resolveGetWebDataStreams);\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 * `modules/analytics-4` data store: webdatastreams.\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\n\n\n\n\nvar fetchGetWebDataStreamsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_11__[\"createFetchStore\"])({\n  baseName: 'getWebDataStreams',\n  controlCallback: function controlCallback(_ref) {\n    var propertyID = _ref.propertyID;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_ANALYTICS_4\"], 'webdatastreams', {\n      propertyID: propertyID\n    }, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, webDataStreams, _ref2) {\n    var propertyID = _ref2.propertyID;\n    state.webdatastreams[propertyID] = Array.isArray(webDataStreams) ? webDataStreams : [];\n  }),\n  argsToParams: function argsToParams(propertyID) {\n    return {\n      propertyID: propertyID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      propertyID = _ref3.propertyID;\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n  }\n});\nvar fetchGetWebDataStreamsBatchStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_11__[\"createFetchStore\"])({\n  baseName: 'getWebDataStreamsBatch',\n  controlCallback: function controlCallback(_ref4) {\n    var propertyIDs = _ref4.propertyIDs;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"get\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_ANALYTICS_4\"], 'webdatastreams-batch', {\n      propertyIDs: propertyIDs\n    }, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, webDataStreams) {\n    state.webdatastreams = _objectSpread(_objectSpread({}, state.webdatastreams), webDataStreams || {});\n  }),\n  argsToParams: function argsToParams(propertyIDs) {\n    return {\n      propertyIDs: propertyIDs\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      propertyIDs = _ref5.propertyIDs;\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(Array.isArray(propertyIDs), 'GA4 propertyIDs must be an array.');\n    propertyIDs.forEach(function (propertyID) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n    });\n  }\n});\nvar fetchCreateWebDataStreamStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_11__[\"createFetchStore\"])({\n  baseName: 'createWebDataStream',\n  controlCallback: function controlCallback(_ref6) {\n    var propertyID = _ref6.propertyID,\n      displayName = _ref6.displayName;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"set\"])('modules', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_ANALYTICS_4\"], 'create-webdatastream', {\n      propertyID: propertyID,\n      displayName: displayName\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, webDataStream, _ref7) {\n    var propertyID = _ref7.propertyID;\n    if (!state.webdatastreams[propertyID]) {\n      state.webdatastreams[propertyID] = [];\n    }\n    state.webdatastreams[propertyID].push(webDataStream);\n  }),\n  argsToParams: function argsToParams(propertyID, displayName) {\n    return {\n      propertyID: propertyID,\n      displayName: displayName\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref8 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      propertyID = _ref8.propertyID,\n      displayName = _ref8.displayName;\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__[\"isValidWebDataStreamName\"])(displayName), 'A valid web data stream name is required.');\n  }\n});\nvar baseInitialState = {\n  webdatastreams: {}\n};\nvar baseActions = {\n  /**\n   * Creates a new GA4 web data stream.\n   *\n   * @since 1.31.0\n   * @since 1.124.0 Added displayName parameter.\n   *\n   * @param {string} propertyID  GA4 property ID.\n   * @param {string} displayName A web data stream name.\n   * @return {Object} Object with `response` and `error`.\n   */\n  createWebDataStream: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_7__[\"createValidatedAction\"])(function (propertyID, displayName) {\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(propertyID, 'GA4 propertyID is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(displayName, 'Web data stream name is required.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee(propertyID, displayName) {\n    var _yield$fetchCreateWeb, response, error;\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            _context.next = 2;\n            return fetchCreateWebDataStreamStore.actions.fetchCreateWebDataStream(propertyID, displayName);\n          case 2:\n            _yield$fetchCreateWeb = _context.sent;\n            response = _yield$fetchCreateWeb.response;\n            error = _yield$fetchCreateWeb.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    }, _callee);\n  })),\n  /**\n   * Matches web data stream for provided property.\n   *\n   * @since 1.38.0\n   *\n   * @param {string} propertyID GA4 property ID.\n   * @return {Object|null} Matched web data stream object on success, otherwise NULL.\n   */\n  matchWebDataStream: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function matchWebDataStream(propertyID) {\n    var registry;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function matchWebDataStream$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context2.sent;\n            _context2.next = 5;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getMatchingWebDataStreamByPropertyID(propertyID));\n          case 5:\n            return _context2.abrupt(\"return\", _context2.sent);\n          case 6:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, matchWebDataStream);\n  })\n};\nvar baseControls = {};\nfunction resolveGetWebDataStreams(propertyID) {\n  var _yield$commonActions$, resolveSelect;\n  return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function resolveGetWebDataStreams$(_context3) {\n    while (1) {\n      switch (_context3.prev = _context3.next) {\n        case 0:\n          _context3.next = 2;\n          return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n        case 2:\n          _yield$commonActions$ = _context3.sent;\n          resolveSelect = _yield$commonActions$.resolveSelect;\n          _context3.next = 6;\n          return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getWebDataStreams(propertyID));\n        case 6:\n        case \"end\":\n          return _context3.stop();\n      }\n    }\n  }, _marked);\n}\nvar baseResolvers = {\n  getWebDataStreams: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getWebDataStreams(propertyID) {\n    var registry, webdatastreams;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getWebDataStreams$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            if (Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__[\"isValidPropertyID\"])(propertyID)) {\n              _context4.next = 2;\n              break;\n            }\n            return _context4.abrupt(\"return\");\n          case 2:\n            _context4.next = 4;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 4:\n            registry = _context4.sent;\n            // Only fetch web data streams if there are none in the store for the given property.\n            webdatastreams = registry.select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getWebDataStreams(propertyID);\n            if (!(webdatastreams === undefined)) {\n              _context4.next = 9;\n              break;\n            }\n            _context4.next = 9;\n            return fetchGetWebDataStreamsStore.actions.fetchGetWebDataStreams(propertyID);\n          case 9:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, getWebDataStreams);\n  }),\n  getWebDataStreamsBatch: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getWebDataStreamsBatch(propertyIDs) {\n    var registry, webdatastreams, availablePropertyIDs, remainingPropertyIDs, i, chunk;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getWebDataStreamsBatch$(_context5) {\n      while (1) {\n        switch (_context5.prev = _context5.next) {\n          case 0:\n            _context5.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context5.sent;\n            webdatastreams = registry.select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamsBatch(propertyIDs) || {};\n            availablePropertyIDs = Object.keys(webdatastreams);\n            remainingPropertyIDs = Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"difference\"])(propertyIDs, availablePropertyIDs);\n            if (!(remainingPropertyIDs.length > 0)) {\n              _context5.next = 15;\n              break;\n            }\n            i = 0;\n          case 8:\n            if (!(i < remainingPropertyIDs.length)) {\n              _context5.next = 15;\n              break;\n            }\n            chunk = remainingPropertyIDs.slice(i, i + _constants__WEBPACK_IMPORTED_MODULE_8__[\"MAX_WEBDATASTREAMS_PER_BATCH\"]);\n            _context5.next = 12;\n            return fetchGetWebDataStreamsBatchStore.actions.fetchGetWebDataStreamsBatch(chunk);\n          case 12:\n            i += _constants__WEBPACK_IMPORTED_MODULE_8__[\"MAX_WEBDATASTREAMS_PER_BATCH\"];\n            _context5.next = 8;\n            break;\n          case 15:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, getWebDataStreamsBatch);\n  }),\n  getMatchingWebDataStreamByPropertyID: resolveGetWebDataStreams,\n  doesWebDataStreamExist: resolveGetWebDataStreams\n};\nvar baseSelectors = {\n  /**\n   * Gets all GA4 web data streams this account can access.\n   *\n   * @since 1.31.0\n   *\n   * @param {Object} state      Data store's state.\n   * @param {string} propertyID The GA4 property ID to fetch web data streams for.\n   * @return {(Array.<Object>|undefined)} An array of GA4 web data streams; `undefined` if not loaded.\n   */\n  getWebDataStreams: function getWebDataStreams(state, propertyID) {\n    return state.webdatastreams[propertyID];\n  },\n  /**\n   * Gets matched web data stream from a list of web data streams.\n   *\n   * @since 1.31.0\n   * @since 1.90.0 Updated to match a data stream from a list of provided web data streams.\n   *\n   * @param {Object} state       Data store's state.\n   * @param {Array}  datastreams A list of web data streams.\n   * @return {(Object|null)} A web data stream object if found, otherwise null.\n   */\n  getMatchingWebDataStream: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (state, datastreams) {\n      var matchedWebDataStreams = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getMatchingWebDataStreams(datastreams);\n      return matchedWebDataStreams[0] || null;\n    };\n  }),\n  /**\n   * Gets web data streams that match the current reference URL.\n   *\n   * @since 1.98.0\n   *\n   * @param {Object} state       Data store's state.\n   * @param {Array}  datastreams A list of web data streams.\n   * @return {Array.<Object>} An array of found matched web data streams.\n   */\n  getMatchingWebDataStreams: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (state, datastreams) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(Array.isArray(datastreams), 'datastreams must be an array.');\n      var matchedWebDataStreams = [];\n      var _iterator = _createForOfIteratorHelper(datastreams),\n        _step;\n      try {\n        for (_iterator.s(); !(_step = _iterator.n()).done;) {\n          var _datastream$webStream;\n          var datastream = _step.value;\n          if (select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_SITE\"]).isSiteURLMatch(// eslint-disable-next-line sitekit/acronym-case\n          (_datastream$webStream = datastream.webStreamData) === null || _datastream$webStream === void 0 ? void 0 : _datastream$webStream.defaultUri)) {\n            matchedWebDataStreams.push(datastream);\n          }\n        }\n      } catch (err) {\n        _iterator.e(err);\n      } finally {\n        _iterator.f();\n      }\n      return matchedWebDataStreams;\n    };\n  }),\n  /**\n   * Gets matched web data stream for selected property.\n   *\n   * @since 1.90.0\n   *\n   * @param {Object} state      Data store's state.\n   * @param {string} propertyID The GA4 property ID to find matched web data stream.\n   * @return {(Object|null|undefined)} A web data stream object if found, otherwise null; `undefined` if web data streams are not loaded.\n   */\n  getMatchingWebDataStreamByPropertyID: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (_state, propertyID) {\n      var datastreams = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getWebDataStreams(propertyID);\n      if (datastreams === undefined) {\n        return undefined;\n      }\n      var matchingDataStream = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getMatchingWebDataStream(datastreams);\n      return matchingDataStream || null;\n    };\n  }),\n  /**\n   * Gets web data streams in batch for selected properties.\n   *\n   * @since 1.32.0\n   *\n   * @param {Object}         state       Data store's state.\n   * @param {Array.<string>} propertyIDs GA4 property IDs.\n   * @return {Object} Web data streams.\n   */\n  getWebDataStreamsBatch: function getWebDataStreamsBatch(state, propertyIDs) {\n    return Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"pick\"])(state.webdatastreams, propertyIDs);\n  },\n  /**\n   * Gets the matched measurement IDs for the given property IDs.\n   *\n   * @since 1.88.0\n   * @since 1.90.0 Use propertyIDs instead of property objects for matching.\n   *\n   * @param {Object}         state       Data store's state.\n   * @param {Array.<string>} propertyIDs GA4 property IDs array of strings.\n   * @return {(Object|undefined)} Object with matched property ID as the key and measurement ID as the value, or an empty object if no matches are found; `undefined` if web data streams are not loaded.\n   */\n  getMatchedMeasurementIDsByPropertyIDs: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (_state, propertyIDs) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(Array.isArray(propertyIDs) && (propertyIDs === null || propertyIDs === void 0 ? void 0 : propertyIDs.length), 'propertyIDs must be an array containing GA4 propertyIDs.');\n      propertyIDs.forEach(function (propertyID) {\n        invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n      });\n      var datastreams = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamsBatch(propertyIDs);\n      if (datastreams === undefined) {\n        return undefined;\n      }\n      return propertyIDs.reduce(function (acc, currentPropertyID) {\n        var _datastreams$currentP;\n        if (!((_datastreams$currentP = datastreams[currentPropertyID]) === null || _datastreams$currentP === void 0 ? void 0 : _datastreams$currentP.length)) {\n          return acc;\n        }\n        var matchingDataStream = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getMatchingWebDataStream(datastreams[currentPropertyID]);\n        if (!matchingDataStream) {\n          return acc;\n        }\n        var measurementID =\n        // eslint-disable-next-line sitekit/acronym-case\n        matchingDataStream.webStreamData.measurementId;\n        return _objectSpread(_objectSpread({}, acc), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, currentPropertyID, measurementID));\n      }, {});\n    };\n  }),\n  /**\n   * Gets an Analytics config that matches one of provided measurement IDs.\n   *\n   * @since 1.94.0\n   *\n   * @param {Object}                state        Data store's state.\n   * @param {string|Array.<string>} measurements Single GA4 measurement ID, or array of GA4 measurement ID strings.\n   * @return {(Object|null|undefined)} An Analytics config that matches provided one of measurement IDs on success, NULL if no matching config is found, undefined if data hasn't been resolved yet.\n   */\n  getAnalyticsConfigByMeasurementIDs: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (state, measurements) {\n      var measurementIDs = Array.isArray(measurements) ? measurements : [measurements];\n      var summaries = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries();\n      if (!Array.isArray(summaries)) {\n        return undefined;\n      }\n\n      // Sort summaries to have the current account at the very beginning,\n      // so we can check it first because its more likely that the current\n      // account will contain a measurement ID that we are looking for.\n      var currentAccountID = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getAccountID();\n      // Clone summaries to avoid mutating the original array.\n      summaries = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(summaries).sort(function (_ref9) {\n        var accountID = _ref9._id;\n        return accountID === currentAccountID ? -1 : 0;\n      });\n      var info = {};\n      var propertyIDs = [];\n      summaries.forEach(function (_ref10) {\n        var accountID = _ref10._id,\n          _ref10$propertySummar = _ref10.propertySummaries,\n          propertySummaries = _ref10$propertySummar === void 0 ? [] : _ref10$propertySummar;\n        propertySummaries.forEach(function (_ref11) {\n          var propertyID = _ref11._id;\n          propertyIDs.push(propertyID);\n          info[propertyID] = {\n            accountID: accountID,\n            propertyID: propertyID\n          };\n        });\n      });\n      if (propertyIDs.length === 0) {\n        return null;\n      }\n\n      // eslint-disable-next-line @wordpress/no-unused-vars-before-return\n      var datastreams = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamsBatch(propertyIDs);\n      var resolvedDataStreams = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getWebDataStreamsBatch', [propertyIDs]);\n\n      // Return undefined if web data streams haven't been resolved yet.\n      if (!resolvedDataStreams) {\n        return undefined;\n      }\n      var firstlyFoundConfig;\n      for (var propertyID in datastreams) {\n        var _datastreams$property;\n        if (!((_datastreams$property = datastreams[propertyID]) === null || _datastreams$property === void 0 ? void 0 : _datastreams$property.length)) {\n          continue;\n        }\n        var _iterator2 = _createForOfIteratorHelper(datastreams[propertyID]),\n          _step2;\n        try {\n          for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n            var datastream = _step2.value;\n            var webDataStreamID = datastream._id,\n              webStreamData = datastream.webStreamData;\n            var defaultURI = webStreamData.defaultUri,\n              measurementID = webStreamData.measurementId;\n            if (!measurementIDs.includes(measurementID)) {\n              continue;\n            }\n            var config = _objectSpread(_objectSpread({}, info[propertyID]), {}, {\n              webDataStreamID: webDataStreamID,\n              measurementID: measurementID\n            });\n\n            // Remember the firstly found config to return it at the end\n            // if we don't manage to find the most suitable config.\n            if (!firstlyFoundConfig) {\n              firstlyFoundConfig = config;\n            }\n\n            // If only one measurement ID is provided, then we don't need\n            // to check whether its default URI matches the current\n            // reference URL. Otherwise, if we have many measurement IDs\n            // then we need to find the one that matches the current\n            // reference URL.\n            if (measurementIDs.length === 1 || select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_SITE\"]).isSiteURLMatch(defaultURI)) {\n              return config;\n            }\n          }\n        } catch (err) {\n          _iterator2.e(err);\n        } finally {\n          _iterator2.f();\n        }\n      }\n      return firstlyFoundConfig || null;\n    };\n  }),\n  /**\n   * Checks if web data streams are currently being loaded.\n   *\n   * This selector was introduced as a convenience for reusing the same loading logic across multiple\n   * components, initially the `WebDataStreamSelect` and `SettingsEnhancedMeasurementSwitch` components.\n   *\n   * @since 1.111.0\n   *\n   * @param {Object}  state                Data store's state.\n   * @param {Object}  args                 Arguments object.\n   * @param {boolean} args.hasModuleAccess Whether the current user has access to the Analytics module(s).\n   */\n  isLoadingWebDataStreams: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (state, _ref12) {\n      var hasModuleAccess = _ref12.hasModuleAccess;\n      if (!select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getAccountSummaries')) {\n        return true;\n      }\n      var propertyID = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n      var loadedWebDataStreams = Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__[\"isValidPropertyID\"])(propertyID) && hasModuleAccess ? select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getWebDataStreams', [propertyID]) : true;\n      if (!loadedWebDataStreams) {\n        return true;\n      }\n      if (select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).hasFinishedSelectingAccount() === false) {\n        return true;\n      }\n      if (select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).isMatchingAccountProperty()) {\n        return true;\n      }\n      return select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).isResolving('getProperty', [propertyID]);\n    };\n  }),\n  /**\n   * Checks if a web data stream with the same name already exists.\n   *\n   * @since 1.124.0\n   *\n   * @param {Object} state             Data store's state.\n   * @param {string} propertyID        GA4 property ID.\n   * @param {string} webDataStreamName Web data stream name.\n   * @return {(boolean|undefined)} TRUE if web data stream already exists, FALSE otherwise. Undefined if web data streams are not loaded yet.\n   */\n  doesWebDataStreamExist: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (_state, propertyID, webDataStreamName) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_12__[\"isValidPropertyID\"])(propertyID), 'A valid GA4 propertyID is required.');\n      var webDataStreams = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]).getWebDataStreams(propertyID);\n      if (webDataStreams === undefined) {\n        return undefined;\n      }\n      return webDataStreams.some(function (_ref13) {\n        var displayName = _ref13.displayName;\n        return displayName === webDataStreamName;\n      });\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"combineStores\"])(fetchGetWebDataStreamsStore, fetchGetWebDataStreamsBatchStore, fetchCreateWebDataStreamStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: baseControls,\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/modules/analytics-4/datastore/webdatastreams.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/hooks/useAllTrafficWidgetReport.js":
/*!*******************************************************************!*\
  !*** ./js/modules/analytics-4/hooks/useAllTrafficWidgetReport.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 useAllTrafficWidgetReport; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.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 * Analytics useAllTrafficWidgetReport custom hook.\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\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n/**\n * Gets report information for the Dashboard All Traffic GA4 widget.\n *\n * @since 1.153.0\n *\n * @param {Object} reportOptions Report options.\n * @return {Object} Report data.\n */\nfunction useAllTrafficWidgetReport() {\n  var reportOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var viewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n  var canViewSharedAnalytics4 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    if (!viewOnly) {\n      return true;\n    }\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).canViewSharedModule(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getDateRangeDates({\n        compare: true,\n        offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"DATE_RANGE_OFFSET\"]\n      });\n    }),\n    startDate = _useSelect.startDate,\n    endDate = _useSelect.endDate;\n  var entityURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_SITE\"]).getCurrentEntityURL();\n  });\n  var args = _objectSpread({\n    startDate: startDate,\n    endDate: endDate,\n    metrics: [{\n      name: 'totalUsers'\n    }]\n  }, reportOptions);\n  if (entityURL) {\n    args.url = entityURL;\n  }\n  var loaded = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return canViewSharedAnalytics4 && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [args]);\n  });\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [args]);\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useInViewSelect\"])(function (select) {\n    return canViewSharedAnalytics4 && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getReport(args);\n  }, [canViewSharedAnalytics4, args]);\n  return {\n    error: error,\n    loaded: loaded,\n    report: report\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/hooks/useAllTrafficWidgetReport.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/hooks/useAudienceTilesReports.js":
/*!*****************************************************************!*\
  !*** ./js/modules/analytics-4/hooks/useAudienceTilesReports.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 useAudienceTilesReports; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.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 * Analytics useAudienceTilesReports custom hook.\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 * Internal dependencies\n */\n\n\n\n\n/**\n * Checks if the audience reports are loaded for the given report options.\n *\n * @since 1.136.0\n *\n * @param {Object} reportOptions       Report options.\n * @param {Array}  configuredAudiences Configured audiences.\n * @return {boolean} Whether the report is loaded.\n */\nfunction useReportsLoaded(reportOptions, configuredAudiences) {\n  return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return configuredAudiences.reduce(function (reportsLoaded, audienceResourceName) {\n      var partialDataSiteKitAudience = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getPartialDataSiteKitAudience(audienceResourceName);\n      if (partialDataSiteKitAudience === undefined) {\n        return {};\n      }\n      var dimensionFilters = {};\n      if (partialDataSiteKitAudience) {\n        dimensionFilters.newVsReturning = partialDataSiteKitAudience.audienceSlug === 'new-visitors' ? 'new' : 'returning';\n      } else {\n        dimensionFilters.audienceResourceName = audienceResourceName;\n      }\n      var isLoaded = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [_objectSpread(_objectSpread({}, reportOptions), {}, {\n        dimensionFilters: _objectSpread(_objectSpread({}, reportOptions.dimensionFilters), dimensionFilters)\n      })]);\n      reportsLoaded[audienceResourceName] = isLoaded;\n      return reportsLoaded;\n    }, {});\n  });\n}\n\n/**\n * Checks if there are errors for the audience reports with the given report options.\n *\n * @since 1.136.0\n *\n * @param {Object} reportOptions       Report options.\n * @param {Array}  configuredAudiences Configured audiences.\n * @return {Object} Object with the errors for each audience.\n */\nfunction useReportErrors(reportOptions, configuredAudiences) {\n  return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return configuredAudiences.reduce(function (acc, audienceResourceName) {\n      var partialDataSiteKitAudience = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getPartialDataSiteKitAudience(audienceResourceName);\n      if (partialDataSiteKitAudience === undefined) {\n        return acc;\n      }\n      var dimensionFilters = {};\n      if (partialDataSiteKitAudience) {\n        dimensionFilters.newVsReturning = partialDataSiteKitAudience.audienceSlug === 'new-visitors' ? 'new' : 'returning';\n      } else {\n        dimensionFilters.audienceResourceName = audienceResourceName;\n      }\n      var error = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [_objectSpread(_objectSpread({}, reportOptions), {}, {\n        dimensionFilters: _objectSpread(_objectSpread({}, reportOptions.dimensionFilters), dimensionFilters)\n      })]);\n      if (error) {\n        acc[audienceResourceName] = error;\n      }\n      return acc;\n    }, {});\n  });\n}\n\n/**\n * Fetch reports for audience tiles.\n *\n * @since 1.136.0\n *\n * @param {Object}  args                              Arguments for the hook.\n * @param {boolean} args.isSiteKitAudiencePartialData Whether the Site Kit audiences are partially loaded.\n * @param {Array}   args.siteKitAudiences             Site Kit audiences.\n * @param {Array}   args.otherAudiences               Other audiences.\n * @return {Object} Object with the report data.\n */\nfunction useAudienceTilesReports(_ref) {\n  var _totalPageviewsReport, _totalPageviewsReport2, _totalPageviewsReport3, _totalPageviewsReport4;\n  var isSiteKitAudiencePartialData = _ref.isSiteKitAudiencePartialData,\n    siteKitAudiences = _ref.siteKitAudiences,\n    otherAudiences = _ref.otherAudiences;\n  // An array of audience resource names.\n  var configuredAudiences = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).getConfiguredAudiences();\n  });\n  var audiencesDimensionFilter = {\n    audienceResourceName: configuredAudiences\n  };\n  var dates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).getDateRangeDates({\n      offsetDays: _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"DATE_RANGE_OFFSET\"],\n      compare: true\n    });\n  });\n  var startDate = dates.startDate,\n    endDate = dates.endDate;\n  var shouldFetchReport = isSiteKitAudiencePartialData === undefined ? undefined : otherAudiences.length > 0 || isSiteKitAudiencePartialData === false;\n  var shouldFetchSiteKitAudiencesReport = siteKitAudiences.length > 0 ? isSiteKitAudiencePartialData : false;\n  var reportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: [{\n      name: 'audienceResourceName'\n    }],\n    dimensionFilters: audiencesDimensionFilter,\n    metrics: [{\n      name: 'totalUsers'\n    }, {\n      name: 'sessionsPerUser'\n    }, {\n      name: 'screenPageViewsPerSession'\n    }, {\n      name: 'screenPageViews'\n    }],\n    reportID: 'audience-segmentation_use-audience-tiles-reports_hook_reportOptions'\n  });\n  var report = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useInViewSelect\"])(function (select) {\n    if (shouldFetchReport === undefined) {\n      return undefined;\n    }\n    if (!shouldFetchReport) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getReport(reportOptions);\n  }, [shouldFetchReport, reportOptions]);\n  var reportLoaded = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    if (shouldFetchReport === undefined) {\n      return undefined;\n    }\n    if (!shouldFetchReport) {\n      // If we don't need to fetch the report, we can consider it loaded to simplify the loading state logic.\n      return true;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [reportOptions]);\n  });\n  var reportError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    if (shouldFetchReport === undefined) {\n      return undefined;\n    }\n    if (!shouldFetchReport) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var newVsReturningReportOptions = _objectSpread(_objectSpread({}, dates), {}, {\n    dimensions: [{\n      name: 'newVsReturning'\n    }],\n    dimensionFilters: {\n      newVsReturning: ['new', 'returning']\n    },\n    metrics: [{\n      name: 'totalUsers'\n    }, {\n      name: 'sessionsPerUser'\n    }, {\n      name: 'screenPageViewsPerSession'\n    }, {\n      name: 'screenPageViews'\n    }],\n    reportID: 'audience-segmentation_use-audience-tiles-reports_hook_newVsReturningReportOptions'\n  });\n  var siteKitAudiencesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useInViewSelect\"])(function (select) {\n    if (shouldFetchSiteKitAudiencesReport === undefined) {\n      return undefined;\n    }\n    if (!shouldFetchSiteKitAudiencesReport) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getReport(newVsReturningReportOptions);\n  }, [shouldFetchSiteKitAudiencesReport, newVsReturningReportOptions]);\n  var siteKitAudiencesReportLoaded = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    if (shouldFetchSiteKitAudiencesReport === undefined) {\n      return undefined;\n    }\n    if (!shouldFetchSiteKitAudiencesReport) {\n      // If we don't need to fetch the report, we can consider it loaded to simplify the loading state logic.\n      return true;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [newVsReturningReportOptions]);\n  });\n  var siteKitAudiencesReportError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    if (shouldFetchSiteKitAudiencesReport === undefined) {\n      return undefined;\n    }\n    if (!shouldFetchSiteKitAudiencesReport) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [newVsReturningReportOptions]);\n  });\n  var totalPageviewsReportOptions = {\n    startDate: startDate,\n    endDate: endDate,\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    reportID: 'audience-segmentation_use-audience-tiles-reports_hook_totalPageviewsReportOptions'\n  };\n  var totalPageviewsReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getReport(totalPageviewsReportOptions);\n  });\n  var totalPageviewsReportLoaded = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getReport', [totalPageviewsReportOptions]);\n  });\n  var totalPageviewsReportError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [totalPageviewsReportOptions]);\n  });\n  var totalPageviews = Number(totalPageviewsReport === null || totalPageviewsReport === void 0 ? void 0 : (_totalPageviewsReport = totalPageviewsReport.totals) === null || _totalPageviewsReport === void 0 ? void 0 : (_totalPageviewsReport2 = _totalPageviewsReport[0]) === null || _totalPageviewsReport2 === void 0 ? void 0 : (_totalPageviewsReport3 = _totalPageviewsReport2.metricValues) === null || _totalPageviewsReport3 === void 0 ? void 0 : (_totalPageviewsReport4 = _totalPageviewsReport3[0]) === null || _totalPageviewsReport4 === void 0 ? void 0 : _totalPageviewsReport4.value) || 0;\n  var topCitiesReportOptions = {\n    startDate: startDate,\n    endDate: endDate,\n    dimensions: ['city'],\n    metrics: [{\n      name: 'totalUsers'\n    }],\n    orderby: [{\n      metric: {\n        metricName: 'totalUsers'\n      },\n      desc: true\n    }],\n    limit: 4,\n    // Limit is set to 4 so that (not set) can be filtered out and 3 cities remain to display.\n    reportID: 'audience-segmentation_use-audience-tiles-reports_hook_topCitiesReportOptions'\n  };\n  var topCitiesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getReportForAllAudiences(topCitiesReportOptions, configuredAudiences);\n  });\n  var topCitiesReportsLoaded = useReportsLoaded(topCitiesReportOptions, configuredAudiences);\n  var topCitiesReportErrors = useReportErrors(topCitiesReportOptions, configuredAudiences);\n  var topContentReportOptions = {\n    startDate: startDate,\n    endDate: endDate,\n    dimensions: ['pagePath'],\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    dimensionFilters: {\n      'customEvent:googlesitekit_post_type': {\n        filterType: 'stringFilter',\n        matchType: 'EXACT',\n        value: 'post'\n      }\n    },\n    orderby: [{\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    limit: 3,\n    reportID: 'audience-segmentation_use-audience-tiles-reports_hook_topContentReportOptions'\n  };\n  var topContentReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getReportForAllAudiences(topContentReportOptions, configuredAudiences);\n  });\n  var topContentReportsLoaded = useReportsLoaded(topContentReportOptions, configuredAudiences);\n  var topContentReportErrors = useReportErrors(topContentReportOptions, configuredAudiences);\n  var topContentPageTitlesReportOptions = {\n    startDate: startDate,\n    endDate: endDate,\n    dimensions: ['pagePath', 'pageTitle'],\n    metrics: [{\n      name: 'screenPageViews'\n    }],\n    dimensionFilters: {\n      'customEvent:googlesitekit_post_type': {\n        filterType: 'stringFilter',\n        matchType: 'EXACT',\n        value: 'post'\n      }\n    },\n    orderby: [{\n      metric: {\n        metricName: 'screenPageViews'\n      },\n      desc: true\n    }],\n    limit: 15,\n    reportID: 'audience-segmentation_use-audience-tiles-reports_hook_topContentPageTitlesReportOptions'\n  };\n  var topContentPageTitlesReport = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useInViewSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ANALYTICS_4\"]).getReportForAllAudiences(topContentPageTitlesReportOptions, configuredAudiences);\n  });\n  var topContentPageTitlesReportsLoaded = useReportsLoaded(topContentPageTitlesReportOptions, configuredAudiences);\n  var topContentPageTitlesReportErrors = useReportErrors(topContentPageTitlesReportOptions, configuredAudiences);\n  return {\n    report: report,\n    reportLoaded: reportLoaded,\n    reportError: reportError,\n    siteKitAudiencesReport: siteKitAudiencesReport,\n    siteKitAudiencesReportLoaded: siteKitAudiencesReportLoaded,\n    siteKitAudiencesReportError: siteKitAudiencesReportError,\n    totalPageviews: totalPageviews,\n    totalPageviewsReportLoaded: totalPageviewsReportLoaded,\n    totalPageviewsReportError: totalPageviewsReportError,\n    topCitiesReport: topCitiesReport,\n    topCitiesReportsLoaded: topCitiesReportsLoaded,\n    topCitiesReportErrors: topCitiesReportErrors,\n    topContentReport: topContentReport,\n    topContentReportsLoaded: topContentReportsLoaded,\n    topContentReportErrors: topContentReportErrors,\n    topContentPageTitlesReport: topContentPageTitlesReport,\n    topContentPageTitlesReportsLoaded: topContentPageTitlesReportsLoaded,\n    topContentPageTitlesReportErrors: topContentPageTitlesReportErrors\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/hooks/useAudienceTilesReports.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/hooks/useCreateCustomDimensionForAudienceEffect.js":
/*!***********************************************************************************!*\
  !*** ./js/modules/analytics-4/hooks/useCreateCustomDimensionForAudienceEffect.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 useCreateCustomDimensionForAudienceEffect; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction useCreateCustomDimensionForAudienceEffect() {\n  var isGA4Connected = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_MODULES\"]).isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  });\n  var hasAnalyticsEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"EDIT_SCOPE\"]);\n  });\n  var autoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\"], 'autoSubmit');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]),\n    fetchCreateCustomDimension = _useDispatch2.fetchCreateCustomDimension,\n    receiveIsCustomDimensionGatheringData = _useDispatch2.receiveIsCustomDimensionGatheringData,\n    fetchSyncAvailableCustomDimensions = _useDispatch2.fetchSyncAvailableCustomDimensions;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    function createDimensionsAndUpdateForm() {\n      return _createDimensionsAndUpdateForm.apply(this, arguments);\n    }\n    function _createDimensionsAndUpdateForm() {\n      _createDimensionsAndUpdateForm = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\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 fetchCreateCustomDimension(propertyID, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"CUSTOM_DIMENSION_DEFINITIONS\"].googlesitekit_post_type);\n              case 2:\n                // If the custom dimension was created successfully, mark it as gathering\n                // data immediately so that it doesn't cause unnecessary report requests.\n                receiveIsCustomDimensionGatheringData('googlesitekit_post_type', true);\n\n                // Resync available custom dimensions to ensure the newly created custom dimension is available.\n                _context.next = 5;\n                return fetchSyncAvailableCustomDimensions();\n              case 5:\n                setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\"], {\n                  isAutoCreatingCustomDimensionsForAudience: false,\n                  isRetrying: false\n                });\n              case 6:\n              case \"end\":\n                return _context.stop();\n            }\n          }\n        }, _callee);\n      }));\n      return _createDimensionsAndUpdateForm.apply(this, arguments);\n    }\n    if (isGA4Connected && hasAnalyticsEditScope && autoSubmit) {\n      setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\"], {\n        autoSubmit: false,\n        isAutoCreatingCustomDimensionsForAudience: true\n      });\n      createDimensionsAndUpdateForm();\n    }\n  }, [autoSubmit, fetchCreateCustomDimension, fetchSyncAvailableCustomDimensions, hasAnalyticsEditScope, isGA4Connected, propertyID, receiveIsCustomDimensionGatheringData, setValues]);\n  return null;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/hooks/useCreateCustomDimensionForAudienceEffect.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/hooks/useCreateCustomDimensionsEffect.js":
/*!*************************************************************************!*\
  !*** ./js/modules/analytics-4/hooks/useCreateCustomDimensionsEffect.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 useCreateCustomDimensionsEffect; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/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_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/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_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction useCreateCustomDimensionsEffect() {\n  var isKeyMetricsSetupCompleted = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).isKeyMetricsSetupCompleted();\n  });\n  var isGA4Connected = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_MODULES\"]).isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var hasAnalyticsEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"EDIT_SCOPE\"]);\n  });\n  var autoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_CUSTOM_DIMENSIONS_CREATE\"], 'autoSubmit');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]),\n    createCustomDimensions = _useDispatch2.createCustomDimensions;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n    function createDimensionsAndUpdateForm() {\n      return _createDimensionsAndUpdateForm.apply(this, arguments);\n    }\n    function _createDimensionsAndUpdateForm() {\n      _createDimensionsAndUpdateForm = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\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 createCustomDimensions();\n              case 2:\n                setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_CUSTOM_DIMENSIONS_CREATE\"], {\n                  isAutoCreatingCustomDimensions: false\n                });\n              case 3:\n              case \"end\":\n                return _context.stop();\n            }\n          }\n        }, _callee);\n      }));\n      return _createDimensionsAndUpdateForm.apply(this, arguments);\n    }\n    if (isKeyMetricsSetupCompleted && isGA4Connected && hasAnalyticsEditScope && autoSubmit) {\n      setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_CUSTOM_DIMENSIONS_CREATE\"], {\n        autoSubmit: false,\n        isAutoCreatingCustomDimensions: true\n      });\n      createDimensionsAndUpdateForm();\n    }\n  }, [autoSubmit, createCustomDimensions, hasAnalyticsEditScope, isKeyMetricsSetupCompleted, isGA4Connected, setValues]);\n  return null;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/hooks/useCreateCustomDimensionsEffect.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/hooks/useCustomDimensionsData.js":
/*!*****************************************************************!*\
  !*** ./js/modules/analytics-4/hooks/useCustomDimensionsData.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 useCustomDimensionsData; });\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\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 _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics_key_metrics_widgets__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/KeyMetrics/key-metrics-widgets */ \"./js/components/KeyMetrics/key-metrics-widgets.js\");\n/* harmony import */ var _js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/custom-dimensions */ \"./js/modules/analytics-4/utils/custom-dimensions.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n/**\n * Custom hook for managing custom dimensions data and state.\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\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n/**\n * Gets custom dimensions data and state.\n *\n * @since 1.156.0\n *\n * @param {Object}          options               Hook options.\n * @param {Array}           options.dimensions    Custom dimensions array.\n * @param {string}          options.widgetSlug    Widget slug for getting widget configuration.\n * @param {Object|Function} options.reportOptions Report options for data fetching.\n * @return {Object} Object containing custom dimensions data and state.\n */\nfunction useCustomDimensionsData(_ref) {\n  var dimensions = _ref.dimensions,\n    widgetSlug = _ref.widgetSlug,\n    wrappedReportOptions = _ref.reportOptions;\n  var _ref2 = _js_components_KeyMetrics_key_metrics_widgets__WEBPACK_IMPORTED_MODULE_7__[\"KEY_METRICS_WIDGETS\"][widgetSlug] || {},\n    requiredCustomDimensions = _ref2.requiredCustomDimensions; // Determine which custom dimensions to use.\n  var customDimensions = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useMemo\"])(function () {\n    if (Array.isArray(dimensions) && dimensions.length) {\n      return dimensions;\n    }\n    if (Array.isArray(requiredCustomDimensions) && requiredCustomDimensions.length) {\n      return requiredCustomDimensions;\n    }\n    return null;\n  }, [dimensions, requiredCustomDimensions]);\n  var hasCustomDimensions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return !customDimensions || select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasCustomDimensions(customDimensions);\n  });\n  var isAutoCreatingCustomDimensions = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"FORM_CUSTOM_DIMENSIONS_CREATE\"], 'isAutoCreatingCustomDimensions');\n  var isCreatingCustomDimensions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (isAutoCreatingCustomDimensions) {\n      return true;\n    }\n    return !!customDimensions && customDimensions.some(function (dimension) {\n      return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isCreatingCustomDimension(dimension);\n    });\n  });\n  var customDimensionsCreationErrors = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (!customDimensions) {\n      return [];\n    }\n    var errors = [];\n    customDimensions.forEach(function (dimension) {\n      var error = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getCreateCustomDimensionError(dimension);\n      if (error) {\n        errors.push(error);\n      }\n    });\n    return errors;\n  });\n  var hasAnalyticsEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return !!customDimensions && select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"EDIT_SCOPE\"]);\n  });\n  var isSyncingAvailableCustomDimensions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return !!customDimensions && select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isSyncingAvailableCustomDimensions();\n  });\n  var redirectURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_2__[\"addQueryArgs\"])(global.location.href, {\n    notification: 'custom_dimensions'\n  });\n  var isNavigatingToOAuthURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    var OAuthURL = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getConnectURL({\n      additionalScopes: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"EDIT_SCOPE\"]],\n      redirectURL: redirectURL\n    });\n    if (!OAuthURL) {\n      return false;\n    }\n    return select(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_LOCATION\"]).isNavigatingTo(OAuthURL);\n  });\n  var reportOptions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (!wrappedReportOptions) {\n      return null;\n    }\n    return Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"isFunction\"])(wrappedReportOptions) ? wrappedReportOptions(select) : wrappedReportOptions;\n  });\n  var reportError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (!reportOptions) {\n      return null;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getErrorForSelector('getReport', [reportOptions]);\n  });\n  var loading = isCreatingCustomDimensions || isSyncingAvailableCustomDimensions || isNavigatingToOAuthURL || hasCustomDimensions === undefined;\n  var isGatheringData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    var isGA4GatheringData = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isGatheringData();\n    if (isGA4GatheringData !== false) {\n      return isGA4GatheringData;\n    }\n    if (loading || !hasCustomDimensions) {\n      return null;\n    }\n    if (!customDimensions) {\n      return false;\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).areCustomDimensionsGatheringData(customDimensions);\n  });\n  var dataAvailabilityReportErrors = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (!customDimensions) {\n      return {};\n    }\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getDataAvailabilityReportErrors(customDimensions);\n  });\n\n  // Invalid custom dimension error handling.\n  var hasInvalidCustomDimensionError = isGatheringData && Object.values(dataAvailabilityReportErrors).some(function (error) {\n    return Object(_js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_8__[\"isInvalidCustomDimensionError\"])(error);\n  }) || !isGatheringData && Object(_js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_8__[\"isInvalidCustomDimensionError\"])(reportError);\n  var invalidCustomDimensionReportOptions = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    if (!hasInvalidCustomDimensionError) {\n      return [];\n    }\n    if (isGatheringData) {\n      var _select = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]),\n        getDataAvailabilityReportOptions = _select.getDataAvailabilityReportOptions;\n      return Object.keys(dataAvailabilityReportErrors).filter(function (dimension) {\n        return Object(_js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_8__[\"isInvalidCustomDimensionError\"])(dataAvailabilityReportErrors[dimension]);\n      }).map(function (dimension) {\n        return getDataAvailabilityReportOptions(dimension);\n      });\n    }\n    if (Object(_js_modules_analytics_4_utils_custom_dimensions__WEBPACK_IMPORTED_MODULE_8__[\"isInvalidCustomDimensionError\"])(reportError)) {\n      return [reportOptions];\n    }\n    return [];\n  });\n  return {\n    customDimensions: customDimensions,\n    hasCustomDimensions: hasCustomDimensions,\n    isAutoCreatingCustomDimensions: isAutoCreatingCustomDimensions,\n    isCreatingCustomDimensions: isCreatingCustomDimensions,\n    customDimensionsCreationErrors: customDimensionsCreationErrors,\n    hasAnalyticsEditScope: hasAnalyticsEditScope,\n    isSyncingAvailableCustomDimensions: isSyncingAvailableCustomDimensions,\n    isNavigatingToOAuthURL: isNavigatingToOAuthURL,\n    reportOptions: reportOptions,\n    reportError: reportError,\n    loading: loading,\n    isGatheringData: isGatheringData,\n    dataAvailabilityReportErrors: dataAvailabilityReportErrors,\n    hasInvalidCustomDimensionError: hasInvalidCustomDimensionError,\n    invalidCustomDimensionReportOptions: invalidCustomDimensionReportOptions,\n    redirectURL: redirectURL\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/modules/analytics-4/hooks/useCustomDimensionsData.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/hooks/useEnableAudienceGroup.js":
/*!****************************************************************!*\
  !*** ./js/modules/analytics-4/hooks/useEnableAudienceGroup.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 useEnableAudienceGroup; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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 _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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 _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n\n/**\n * Analytics useEnableAudienceGroup custom hook.\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 * WordPress dependencies\n */\n\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction useEnableAudienceGroup() {\n  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n    redirectURL = _ref.redirectURL,\n    onSuccess = _ref.onSuccess,\n    onError = _ref.onError;\n  var isMounted = Object(react_use__WEBPACK_IMPORTED_MODULE_3__[\"useMountedState\"])();\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useState\"])([]),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    apiErrors = _useState2[0],\n    setApiErrors = _useState2[1];\n  var _useState3 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useState\"])([]),\n    _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState3, 2),\n    failedAudiences = _useState4[0],\n    setFailedAudiences = _useState4[1];\n  var _useState5 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useState\"])(false),\n    _useState6 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState5, 2),\n    isSaving = _useState6[0],\n    setIsSaving = _useState6[1];\n  var hasAnalytics4EditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]).hasScope(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"EDIT_SCOPE\"]);\n  });\n  var autoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"AUDIENCE_SEGMENTATION_SETUP_FORM\"], 'autoSubmit');\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_USER\"]),\n    setPermissionScopeError = _useDispatch2.setPermissionScopeError;\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"MODULES_ANALYTICS_4\"]),\n    enableAudienceGroup = _useDispatch3.enableAudienceGroup,\n    fetchSyncAvailableCustomDimensions = _useDispatch3.fetchSyncAvailableCustomDimensions,\n    determineNeedForAnalytics4EditScope = _useDispatch3.determineNeedForAnalytics4EditScope,\n    syncAvailableAudiences = _useDispatch3.syncAvailableAudiences;\n  if (!redirectURL) {\n    redirectURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_6__[\"addQueryArgs\"])(global.location.href, {\n      notification: 'audience_segmentation'\n    });\n  }\n  var maybeEnableAudienceGroup = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\n    var _yield$syncAvailableA, syncAudiencesError, _yield$fetchSyncAvail, syncDimensionsError, _yield$determineNeedF, _error, needsScope, _ref3, error, failedSiteKitAudienceSlugs;\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 syncAvailableAudiences();\n          case 2:\n            _yield$syncAvailableA = _context.sent;\n            syncAudiencesError = _yield$syncAvailableA.error;\n            if (!syncAudiencesError) {\n              _context.next = 6;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: syncAudiencesError\n            });\n          case 6:\n            _context.next = 8;\n            return fetchSyncAvailableCustomDimensions();\n          case 8:\n            _yield$fetchSyncAvail = _context.sent;\n            syncDimensionsError = _yield$fetchSyncAvail.error;\n            if (!syncDimensionsError) {\n              _context.next = 12;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: syncDimensionsError\n            });\n          case 12:\n            if (hasAnalytics4EditScope) {\n              _context.next = 24;\n              break;\n            }\n            _context.next = 15;\n            return determineNeedForAnalytics4EditScope();\n          case 15:\n            _yield$determineNeedF = _context.sent;\n            _error = _yield$determineNeedF.error;\n            needsScope = _yield$determineNeedF.needsScope;\n            if (!_error) {\n              _context.next = 22;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: _error\n            });\n          case 22:\n            if (!needsScope) {\n              _context.next = 24;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              needsScope: true\n            });\n          case 24:\n            setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"AUDIENCE_SEGMENTATION_SETUP_FORM\"], {\n              autoSubmit: false\n            });\n            _context.next = 27;\n            return enableAudienceGroup(failedAudiences);\n          case 27:\n            _context.t0 = _context.sent;\n            if (_context.t0) {\n              _context.next = 30;\n              break;\n            }\n            _context.t0 = {};\n          case 30:\n            _ref3 = _context.t0;\n            error = _ref3.error;\n            failedSiteKitAudienceSlugs = _ref3.failedSiteKitAudienceSlugs;\n            return _context.abrupt(\"return\", {\n              error: error,\n              failedSiteKitAudienceSlugs: failedSiteKitAudienceSlugs\n            });\n          case 34:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })), [enableAudienceGroup, failedAudiences, fetchSyncAvailableCustomDimensions, hasAnalytics4EditScope, determineNeedForAnalytics4EditScope, setValues, syncAvailableAudiences]);\n  var onEnableGroups = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\n    var _yield$maybeEnableAud, error, needsScope, failedSiteKitAudienceSlugs, newArrayIfNotEmpty;\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            setIsSaving(true);\n            _context2.next = 3;\n            return maybeEnableAudienceGroup();\n          case 3:\n            _yield$maybeEnableAud = _context2.sent;\n            error = _yield$maybeEnableAud.error;\n            needsScope = _yield$maybeEnableAud.needsScope;\n            failedSiteKitAudienceSlugs = _yield$maybeEnableAud.failedSiteKitAudienceSlugs;\n            if (!needsScope) {\n              _context2.next = 11;\n              break;\n            }\n            setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"AUDIENCE_SEGMENTATION_SETUP_FORM\"], {\n              autoSubmit: true\n            });\n            setPermissionScopeError({\n              code: _js_util_errors__WEBPACK_IMPORTED_MODULE_10__[\"ERROR_CODE_MISSING_REQUIRED_SCOPE\"],\n              message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Additional permissions are required to create new audiences in Analytics.', 'google-site-kit'),\n              data: {\n                status: 403,\n                scopes: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"EDIT_SCOPE\"]],\n                skipModal: true,\n                skipDefaultErrorNotifications: true,\n                redirectURL: redirectURL,\n                errorRedirectURL: global.location.href\n              }\n            });\n\n            // Note that we don't set isSaving to false here, this is to ensure that, when the page begins to navigate to the OAuth flow:\n            // - The in-progress state for the Audience Segmentation Setup CTA is retained.\n            // - The OAuth error modal doesn't disappear when it's shown and the user clicks the \"Retry\" button.\n            return _context2.abrupt(\"return\");\n          case 11:\n            if (!!error || !!failedSiteKitAudienceSlugs) {\n              onError === null || onError === void 0 ? void 0 : onError();\n            } else {\n              onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();\n            }\n            if (isMounted()) {\n              newArrayIfNotEmpty = function _newArrayIfNotEmpty(currentArray) {\n                return currentArray.length ? [] : currentArray;\n              };\n              if (error) {\n                setApiErrors([error]);\n                setFailedAudiences(newArrayIfNotEmpty);\n              } else if (Array.isArray(failedSiteKitAudienceSlugs)) {\n                setFailedAudiences(failedSiteKitAudienceSlugs);\n                setApiErrors(newArrayIfNotEmpty);\n              } else {\n                setApiErrors(newArrayIfNotEmpty);\n                setFailedAudiences(newArrayIfNotEmpty);\n              }\n              setIsSaving(false);\n            }\n          case 13:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  })), [maybeEnableAudienceGroup, isMounted, setValues, setPermissionScopeError, redirectURL, onError, onSuccess]);\n\n  // If the user returns to the component using this hook with the required\n  // scope granted, and already submitted the form, trigger the submit again.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__[\"useEffect\"])(function () {\n    if (hasAnalytics4EditScope && autoSubmit) {\n      onEnableGroups();\n    }\n  }, [hasAnalytics4EditScope, autoSubmit, onEnableGroups]);\n  return {\n    apiErrors: apiErrors,\n    failedAudiences: failedAudiences,\n    isSaving: isSaving,\n    onEnableGroups: onEnableGroups\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/modules/analytics-4/hooks/useEnableAudienceGroup.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/hooks/useExistingTagEffect.js":
/*!**************************************************************!*\
  !*** ./js/modules/analytics-4/hooks/useExistingTagEffect.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 useExistingTagEffect; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/**\n * GA4 useExistingTagEffect custom hook.\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/**\n * Toggles `useSnippet` depending on whether there is a existing tag matching the selected GA4 property.\n *\n * @since 1.75.0\n */\nfunction useExistingTagEffect() {\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_ANALYTICS_4\"]),\n    setUseSnippet = _useDispatch.setUseSnippet;\n  var existingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_ANALYTICS_4\"]).getExistingTag();\n  });\n  var measurementID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_ANALYTICS_4\"]).getMeasurementID();\n  });\n  var skipEffect = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useRef\"])(true);\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    if (existingTag && measurementID !== undefined) {\n      if (measurementID === '' || skipEffect.current) {\n        skipEffect.current = false;\n        return;\n      }\n      if (measurementID === existingTag) {\n        // Disable the Analytics snippet if there is an existing tag that\n        // matches the currently selected property.\n        setUseSnippet(false);\n      } else {\n        // Otherwise enable the Analytics snippet again.\n        setUseSnippet(true);\n      }\n    }\n  }, [setUseSnippet, existingTag, measurementID]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2hvb2tzL3VzZUV4aXN0aW5nVGFnRWZmZWN0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9ob29rcy91c2VFeGlzdGluZ1RhZ0VmZmVjdC5qcz83YjM5Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR0E0IHVzZUV4aXN0aW5nVGFnRWZmZWN0IGN1c3RvbSBob29rLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwi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wcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBR0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/hooks/useExistingTagEffect.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/hooks/useSyncGoogleTagEffect.js":
/*!****************************************************************!*\
  !*** ./js/modules/analytics-4/hooks/useSyncGoogleTagEffect.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 useSyncGoogleTagEffect; });\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _js_googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit-data */ \"./js/googlesitekit-data.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\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 * Internal dependencies\n */\n\n\nfunction useSyncGoogleTagEffect() {\n  var _useDispatch = Object(_js_googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_ANALYTICS_4\"]),\n    syncGoogleTagSettings = _useDispatch.syncGoogleTagSettings;\n  Object(react_use__WEBPACK_IMPORTED_MODULE_0__[\"useMount\"])(function () {\n    // The sync action has its own guards internally,\n    // so it's safe to use uncondionally here.\n    syncGoogleTagSettings();\n  });\n  return null;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2hvb2tzL3VzZVN5bmNHb29nbGVUYWdFZmZlY3QuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2hvb2tzL3VzZVN5bmNHb29nbGVUYWdFZmZlY3QuanM/MGRhNCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBc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GZ1bmN0aW9uIHVzZVN5bmNHb29nbGVUYWdFZmZlY3QoKSB7XG5cdGNvbnN0IHsgc3luY0dvb2dsZVRhZ1NldHRpbmdzIH0gPSB1c2VEaXNwYXRjaCggTU9EVUxFU19BTkFMWVRJQ1NfNCApO1xuXG5cdHVzZU1vdW50KCAoKSA9PiB7XG5cdFx0Ly8gVGhlIHN5bmMgYWN0aW9uIGhhcyBpdHMgb3duIGd1YXJkcyBpbnRlcm5hbGx5LFxuXHRcdC8vIHNvIGl0J3Mgc2FmZSB0byB1c2UgdW5jb25kaW9uYWxseSBoZXJlLlxuXHRcdHN5bmNHb29nbGVUYWdTZXR0aW5ncygpO1xuXHR9ICk7XG5cblx0cmV0dXJuIG51bGw7XG59XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/hooks/useSyncGoogleTagEffect.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/index.js":
/*!*****************************************!*\
  !*** ./js/modules/analytics-4/index.js ***!
  \*****************************************/
/*! exports provided: registerStore, registerModule, registerWidgets, ANALYTICS_4_NOTIFICATIONS, registerNotifications */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"registerModule\", function() { return registerModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"registerWidgets\", function() { return registerWidgets; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANALYTICS_4_NOTIFICATIONS\", function() { return ANALYTICS_4_NOTIFICATIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"registerNotifications\", function() { return registerNotifications; });\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 _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/* harmony import */ var _components_widgets__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/widgets */ \"./js/modules/analytics-4/components/widgets/index.js\");\n/* harmony import */ var _svg_graphics_analytics_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/svg/graphics/analytics.svg */ \"./svg/graphics/analytics.svg\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/widgets/default-areas */ \"./js/googlesitekit/widgets/default-areas.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 _components_settings__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./components/settings */ \"./js/modules/analytics-4/components/settings/index.js\");\n/* harmony import */ var _components_setup__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./components/setup */ \"./js/modules/analytics-4/components/setup/index.js\");\n/* harmony import */ var _components_dashboard__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./components/dashboard */ \"./js/modules/analytics-4/components/dashboard/index.js\");\n/* harmony import */ var _components_module__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./components/module */ \"./js/modules/analytics-4/components/module/index.js\");\n/* harmony import */ var _components_audience_segmentation_dashboard__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./components/audience-segmentation/dashboard */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/index.js\");\n/* harmony import */ var _components_DashboardMainEffectComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./components/DashboardMainEffectComponent */ \"./js/modules/analytics-4/components/DashboardMainEffectComponent.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/googlesitekit/notifications/constants */ \"./js/googlesitekit/notifications/constants.js\");\n/* harmony import */ var _components_audience_segmentation_dashboard_AudienceSegmentationSetupCTABanner__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./components/audience-segmentation/dashboard/AudienceSegmentationSetupCTABanner */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupCTABanner.js\");\n/* harmony import */ var _components_notifications__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./components/notifications */ \"./js/modules/analytics-4/components/notifications/index.js\");\n/* harmony import */ var _utils_validation__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _components_widgets_ConversionReportingNotificationCTAWidget__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./components/widgets/ConversionReportingNotificationCTAWidget */ \"./js/modules/analytics-4/components/widgets/ConversionReportingNotificationCTAWidget.js\");\n/* harmony import */ var _components_audience_segmentation_dashboard_AudienceSegmentationIntroductoryOverlayNotification__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification.js\");\n/* harmony import */ var _datastore__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./datastore */ \"./js/modules/analytics-4/datastore/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"registerStore\", function() { return _datastore__WEBPACK_IMPORTED_MODULE_24__[\"registerStore\"]; });\n\n\n\n\nvar _ANALYTICS_4_NOTIFICA;\n/**\n * Analytics-4 module initialization.\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction registerModule(modules) {\n  modules.registerModule(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"], {\n    storeName: _datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"],\n    SettingsEditComponent: _components_settings__WEBPACK_IMPORTED_MODULE_9__[\"SettingsEdit\"],\n    SettingsViewComponent: _components_settings__WEBPACK_IMPORTED_MODULE_9__[\"SettingsView\"],\n    SetupComponent: _components_setup__WEBPACK_IMPORTED_MODULE_10__[\"SetupMain\"],\n    DashboardMainEffectComponent: _components_DashboardMainEffectComponent__WEBPACK_IMPORTED_MODULE_14__[\"default\"],\n    Icon: _svg_graphics_analytics_svg__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n    features: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Your site will no longer send data to Google Analytics', 'google-site-kit'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Analytics reports in Site Kit will be disabled', 'google-site-kit')]\n  });\n}\nfunction registerWidgets(widgets) {\n  // Register Analytics 4 Widgets.\n  widgets.registerWidget('analyticsAllTrafficGA4', {\n    Component: _components_dashboard__WEBPACK_IMPORTED_MODULE_11__[\"DashboardAllTrafficWidgetGA4\"],\n    width: widgets.WIDGET_WIDTHS.FULL,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]]\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY\"], _js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY\"]]);\n  widgets.registerWidget('analyticsAudienceTiles', {\n    Component: _components_audience_segmentation_dashboard__WEBPACK_IMPORTED_MODULE_13__[\"AudienceTilesWidget\"],\n    width: widgets.WIDGET_WIDTHS.FULL,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      var configuredAudiences = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getConfiguredAudiences();\n      return !!configuredAudiences;\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION\"]]);\n  widgets.registerWidget('analyticsAudienceSecondaryUserSetup', {\n    Component: _components_audience_segmentation_dashboard__WEBPACK_IMPORTED_MODULE_13__[\"SecondaryUserSetupWidget\"],\n    width: widgets.WIDGET_WIDTHS.FULL,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      var isAnalyticsConnected = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).isModuleConnected(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]);\n\n      // If Analytics is not connected, we can return early.\n      if (!isAnalyticsConnected) {\n        return false;\n      }\n      var availableAudiences = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAvailableAudiences();\n      var configuredAudiences = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getConfiguredAudiences();\n      var audienceSegmentationSetupCompletedBy = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAudienceSegmentationSetupCompletedBy();\n      return (availableAudiences === null || availableAudiences === void 0 ? void 0 : availableAudiences.length) && configuredAudiences === null && audienceSegmentationSetupCompletedBy !== null;\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION\"]]);\n  widgets.registerWidget('audienceConnectAnalyticsCTA', {\n    Component: _components_audience_segmentation_dashboard__WEBPACK_IMPORTED_MODULE_13__[\"ConnectAnalyticsCTAWidget\"],\n    width: widgets.WIDGET_WIDTHS.FULL,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      var isAnalyticsConnected = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).isModuleConnected(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]);\n      var configuredAudiences = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getConfiguredAudiences();\n      var isAudienceSegmentationWidgetHidden = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isAudienceSegmentationWidgetHidden();\n      return (configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.length) > 0 && isAudienceSegmentationWidgetHidden === false && !isAnalyticsConnected;\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION\"]]);\n  widgets.registerWidget('analyticsAudienceInfoNotice', {\n    Component: _components_audience_segmentation_dashboard__WEBPACK_IMPORTED_MODULE_13__[\"InfoNoticeWidget\"],\n    width: widgets.WIDGET_WIDTHS.FULL,\n    priority: 2,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]]\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION\"]]);\n  widgets.registerWidget('analyticsOverallPageMetricsGA4', {\n    Component: _components_dashboard__WEBPACK_IMPORTED_MODULE_11__[\"DashboardOverallPageMetricsWidgetGA4\"],\n    width: widgets.WIDGET_WIDTHS.FULL,\n    priority: 3,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]]\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY\"]]);\n  widgets.registerWidget('analyticsModulePopularPagesGA4', {\n    Component: _components_module__WEBPACK_IMPORTED_MODULE_12__[\"ModulePopularPagesWidgetGA4\"],\n    width: widgets.WIDGET_WIDTHS.FULL,\n    priority: 4,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]]\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY\"]]);\n\n  /*\n   * Key metrics widgets.\n   */\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopRecentTrendingPagesWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_POPULAR_AUTHORS\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"PopularAuthorsWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_POPULAR_AUTHORS\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CATEGORIES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopCategoriesWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CATEGORIES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_POPULAR_CONTENT\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"PopularContentWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_POPULAR_CONTENT\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_POPULAR_PRODUCTS\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"PopularProductsWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_POPULAR_PRODUCTS\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_PAGES_PER_VISIT\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"PagesPerVisitWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_PAGES_PER_VISIT\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_VISIT_LENGTH\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"VisitLengthWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_VISIT_LENGTH\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_VISITS_PER_VISITOR\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"VisitsPerVisitorWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_VISITS_PER_VISITOR\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_MOST_ENGAGING_PAGES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"MostEngagingPagesWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_MOST_ENGAGING_PAGES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_LEAST_ENGAGING_PAGES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"LeastEngagingPagesWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_LEAST_ENGAGING_PAGES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopReturningVisitorPages\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_NEW_VISITORS\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"NewVisitorsWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_NEW_VISITORS\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_RETURNING_VISITORS\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"ReturningVisitorsWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_RETURNING_VISITORS\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopTrafficSourceWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopTrafficSourceDrivingAddToCartWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopTrafficSourceDrivingLeadsWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopTrafficSourceDrivingPurchasesWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"EngagedTrafficSourceWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopConvertingTrafficSourceWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CITIES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopCitiesWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CITIES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopCitiesDrivingLeadsWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopPagesDrivingLeadsWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopCitiesDrivingAddToCartWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopCitiesDrivingPurchasesWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopDeviceDrivingPurchasesWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_COUNTRIES\"], {\n    Component: _components_widgets__WEBPACK_IMPORTED_MODULE_4__[\"TopCountriesWidget\"],\n    width: widgets.WIDGET_WIDTHS.QUARTER,\n    priority: 1,\n    wrapWidget: false,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]],\n    isActive: function isActive(select) {\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isKeyMetricActive(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"KM_ANALYTICS_TOP_COUNTRIES\"]);\n    }\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n  widgets.registerWidget('keyMetricsEventDetectionCalloutNotification', {\n    Component: _components_widgets_ConversionReportingNotificationCTAWidget__WEBPACK_IMPORTED_MODULE_22__[\"default\"],\n    width: [widgets.WIDGET_WIDTHS.FULL],\n    priority: 0,\n    modules: [_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]]\n  }, [_js_googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_7__[\"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY\"]]);\n}\nvar ANALYTICS_4_NOTIFICATIONS = (_ANALYTICS_4_NOTIFICA = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_ANALYTICS_4_NOTIFICA, _components_audience_segmentation_dashboard_AudienceSegmentationSetupCTABanner__WEBPACK_IMPORTED_MODULE_18__[\"AUDIENCE_SEGMENTATION_SETUP_CTA_NOTIFICATION\"], {\n  Component: _components_audience_segmentation_dashboard_AudienceSegmentationSetupCTABanner__WEBPACK_IMPORTED_MODULE_18__[\"default\"],\n  priority: 130,\n  // TODO: Revert this back to PRIORITY.SETUP_CTA_LOW after fixing https://github.com/google/site-kit-wp/issues/10890.\n  areaSlug: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"NOTIFICATION_AREAS\"].DASHBOARD_TOP,\n  groupID: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"NOTIFICATION_GROUPS\"].SETUP_CTAS,\n  viewContexts: [_js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_16__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"]],\n  checkRequirements: function () {\n    var _checkRequirements = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee(_ref) {\n      var select, resolveSelect, analyticsConnected, isDismissed, configuredAudiences, analyticsIsDataAvailableOnLoad, audienceSegmentationSetupCompletedBy;\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              select = _ref.select, resolveSelect = _ref.resolveSelect;\n              _context.next = 3;\n              return resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).isModuleConnected(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]);\n            case 3:\n              analyticsConnected = _context.sent;\n              if (analyticsConnected) {\n                _context.next = 6;\n                break;\n              }\n              return _context.abrupt(\"return\", false);\n            case 6:\n              _context.next = 8;\n              return Promise.all([resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).isModuleConnected(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]), resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getDismissedPrompts(), select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getUserAudienceSettings(), select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isGatheringData(), resolveSelect(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAudienceSettings()]);\n            case 8:\n              isDismissed = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isPromptDismissed(_components_audience_segmentation_dashboard_AudienceSegmentationSetupCTABanner__WEBPACK_IMPORTED_MODULE_18__[\"AUDIENCE_SEGMENTATION_SETUP_CTA_NOTIFICATION\"]);\n              configuredAudiences = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getConfiguredAudiences();\n              analyticsIsDataAvailableOnLoad = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isDataAvailableOnLoad();\n              audienceSegmentationSetupCompletedBy = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAudienceSegmentationSetupCompletedBy();\n              if (!(audienceSegmentationSetupCompletedBy !== null || configuredAudiences === undefined || (configuredAudiences === null || configuredAudiences === void 0 ? void 0 : configuredAudiences.length) || !analyticsIsDataAvailableOnLoad || isDismissed)) {\n                _context.next = 14;\n                break;\n              }\n              return _context.abrupt(\"return\", false);\n            case 14:\n              return _context.abrupt(\"return\", true);\n            case 15:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    function checkRequirements(_x) {\n      return _checkRequirements.apply(this, arguments);\n    }\n    return checkRequirements;\n  }(),\n  isDismissible: true,\n  dismissRetries: 1\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_ANALYTICS_4_NOTIFICA, 'web-data-stream-not-available-notification', {\n  Component: _components_notifications__WEBPACK_IMPORTED_MODULE_19__[\"WebDataStreamNotAvailableNotification\"],\n  priority: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"PRIORITY\"].ERROR_LOW,\n  areaSlug: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"NOTIFICATION_AREAS\"].HEADER,\n  viewContexts: [_js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_16__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"]],\n  isDismissible: true,\n  checkRequirements: function () {\n    var _checkRequirements2 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee2(_ref2) {\n      var select, resolveSelect, dispatch, ga4ModuleConnected, hasGTMScope, loggedInUserID, ga4OwnerID, isGA4ModuleOwner, isWebDataStreamUnavailable;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee2$(_context2) {\n        while (1) {\n          switch (_context2.prev = _context2.next) {\n            case 0:\n              select = _ref2.select, resolveSelect = _ref2.resolveSelect, dispatch = _ref2.dispatch;\n              _context2.next = 3;\n              return Promise.all([\n              // The hasScope() selector relies on the resolution of\n              // the getAuthentication() resolver.\n              resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getAuthentication(),\n              // The isModuleConnected() selector relies on the resolution\n              // of the getModules() resolver.\n              resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).getModules(),\n              // The getID() selector relies on the resolution\n              // of the getUser() resolver.\n              resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getUser(),\n              // The getOwnerID() selector relies on the resolution\n              // of the getSettings() resolver.\n              resolveSelect(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getSettings(),\n              // Preload module data.\n              resolveSelect(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getModuleData(),\n              // The isWebDataStreamUnavailable property is set within the\n              // syncGoogleTagSettings() action.\n              dispatch(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).syncGoogleTagSettings()]);\n            case 3:\n              ga4ModuleConnected = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).isModuleConnected(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]);\n              hasGTMScope = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).hasScope(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"GTM_SCOPE\"]);\n              loggedInUserID = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getID();\n              ga4OwnerID = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getOwnerID();\n              isGA4ModuleOwner = ga4ModuleConnected && ga4OwnerID === loggedInUserID;\n              isWebDataStreamUnavailable = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isWebDataStreamUnavailable();\n              return _context2.abrupt(\"return\", ga4ModuleConnected && hasGTMScope && isGA4ModuleOwner && isWebDataStreamUnavailable === true);\n            case 10:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, _callee2);\n    }));\n    function checkRequirements(_x2) {\n      return _checkRequirements2.apply(this, arguments);\n    }\n    return checkRequirements;\n  }()\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_ANALYTICS_4_NOTIFICA, 'google-tag-id-mismatch', {\n  Component: _components_notifications__WEBPACK_IMPORTED_MODULE_19__[\"GoogleTagIDMismatchNotification\"],\n  priority: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"PRIORITY\"].ERROR_LOW,\n  areaSlug: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"NOTIFICATION_AREAS\"].HEADER,\n  viewContexts: [_js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_16__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"]],\n  isDismissible: false,\n  checkRequirements: function () {\n    var _checkRequirements3 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee3(_ref3) {\n      var select, resolveSelect, ga4ModuleConnected, hasGTMScope, loggedInUserID, ga4OwnerID, isGA4ModuleOwner, hasMismatchedGoogleTagID;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee3$(_context3) {\n        while (1) {\n          switch (_context3.prev = _context3.next) {\n            case 0:\n              select = _ref3.select, resolveSelect = _ref3.resolveSelect;\n              _context3.next = 3;\n              return Promise.all([\n              // The hasScope() selector relies on the resolution of\n              // the getAuthentication() resolver.\n              resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getAuthentication(),\n              // The isModuleConnected() selector relies on the resolution\n              // of the getModules() resolver.\n              resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).getModules(),\n              // The getID() selector relies on the resolution\n              // of the getUser() resolver.\n              resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getUser(),\n              // The getOwnerID() selector relies on the resolution\n              // of the getSettings() resolver.\n              resolveSelect(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getSettings(), resolveSelect(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getModuleData()]);\n            case 3:\n              ga4ModuleConnected = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).isModuleConnected(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]);\n              hasGTMScope = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).hasScope(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"GTM_SCOPE\"]);\n              loggedInUserID = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getID();\n              ga4OwnerID = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getOwnerID();\n              isGA4ModuleOwner = ga4ModuleConnected && ga4OwnerID === loggedInUserID;\n              hasMismatchedGoogleTagID = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).hasMismatchedGoogleTagID();\n              return _context3.abrupt(\"return\", ga4ModuleConnected && hasGTMScope && isGA4ModuleOwner && hasMismatchedGoogleTagID);\n            case 10:\n            case \"end\":\n              return _context3.stop();\n          }\n        }\n      }, _callee3);\n    }));\n    function checkRequirements(_x3) {\n      return _checkRequirements3.apply(this, arguments);\n    }\n    return checkRequirements;\n  }()\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_ANALYTICS_4_NOTIFICA, 'enhanced-measurement-notification', {\n  Component: _components_dashboard__WEBPACK_IMPORTED_MODULE_11__[\"EnhancedMeasurementActivationBanner\"],\n  priority: 140,\n  // TODO: Revert this back to PRIORITY.SETUP_CTA_LOW after fixing https://github.com/google/site-kit-wp/issues/10890.\n  areaSlug: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"NOTIFICATION_AREAS\"].DASHBOARD_TOP,\n  groupID: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"NOTIFICATION_GROUPS\"].SETUP_CTAS,\n  viewContexts: [_js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_16__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"]],\n  isDismissible: true,\n  checkRequirements: function () {\n    var _checkRequirements4 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee4(_ref4) {\n      var select, resolveSelect, ga4ModuleConnected, propertyID, webDataStreamID, hasModuleAccess, isLegacyDismissed, isEnhancedMeasurementStreamEnabled;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee4$(_context4) {\n        while (1) {\n          switch (_context4.prev = _context4.next) {\n            case 0:\n              select = _ref4.select, resolveSelect = _ref4.resolveSelect;\n              _context4.next = 3;\n              return Promise.all([\n              // The isModuleConnected() selector relies on the resolution\n              // of the getModules() resolver.\n              resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).getModules(),\n              // The hasModuleOwnershipOrAccess() selector relies on the resolution\n              // of the getUser() resolver.\n              resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getUser(),\n              // The hasModuleOwnershipOrAccess(), getPropertyID() and\n              // getWebDataStreamID() selectors rely on the resolution of the\n              // getSettings() resolver.\n              resolveSelect(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getSettings(),\n              // The isItemDismissed() selector relies on the resolution\n              // of the getDismissedItems() resolver.\n              resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getDismissedItems()]);\n            case 3:\n              ga4ModuleConnected = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).isModuleConnected(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]);\n              propertyID = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n              webDataStreamID = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getWebDataStreamID();\n              hasModuleAccess = ga4ModuleConnected && select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).hasModuleOwnershipOrAccess(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]); // Check if the prompt with the legacy key used before the banner was refactored\n              // to use the `notification ID` as the dismissal key, is dismissed.\n              isLegacyDismissed = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isItemDismissed(_constants__WEBPACK_IMPORTED_MODULE_21__[\"LEGACY_ENHANCED_MEASUREMENT_ACTIVATION_BANNER_DISMISSED_ITEM_KEY\"]);\n              if (!(!Object(_utils_validation__WEBPACK_IMPORTED_MODULE_20__[\"isValidPropertyID\"])(propertyID) || !Object(_utils_validation__WEBPACK_IMPORTED_MODULE_20__[\"isValidWebDataStreamID\"])(webDataStreamID) || !hasModuleAccess || isLegacyDismissed)) {\n                _context4.next = 10;\n                break;\n              }\n              return _context4.abrupt(\"return\", false);\n            case 10:\n              _context4.next = 12;\n              return resolveSelect(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getEnhancedMeasurementSettings(propertyID, webDataStreamID);\n            case 12:\n              isEnhancedMeasurementStreamEnabled = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).isEnhancedMeasurementStreamEnabled(propertyID, webDataStreamID);\n              return _context4.abrupt(\"return\", isEnhancedMeasurementStreamEnabled === false);\n            case 14:\n            case \"end\":\n              return _context4.stop();\n          }\n        }\n      }, _callee4);\n    }));\n    function checkRequirements(_x4) {\n      return _checkRequirements4.apply(this, arguments);\n    }\n    return checkRequirements;\n  }()\n}), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_ANALYTICS_4_NOTIFICA, _components_audience_segmentation_dashboard_AudienceSegmentationIntroductoryOverlayNotification__WEBPACK_IMPORTED_MODULE_23__[\"AUDIENCE_SEGMENTATION_INTRODUCTORY_OVERLAY_NOTIFICATION\"], {\n  Component: _components_audience_segmentation_dashboard__WEBPACK_IMPORTED_MODULE_13__[\"AudienceSegmentationIntroductoryOverlayNotification\"],\n  priority: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"PRIORITY\"].SETUP_CTA_HIGH,\n  areaSlug: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"NOTIFICATION_AREAS\"].OVERLAYS,\n  groupID: _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"NOTIFICATION_GROUPS\"].SETUP_CTAS,\n  viewContexts: [_js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_16__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_16__[\"VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY\"]],\n  isDismissible: true,\n  checkRequirements: function () {\n    var _checkRequirements5 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee5(_ref5, viewContext) {\n      var select, resolveSelect, ga4ModuleConnected, ga4ModuleActive, isViewOnly, canViewModule, isAudienceSegmentationWidgetHidden, audienceSegmentationSetupCompletedBy, userID;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee5$(_context5) {\n        while (1) {\n          switch (_context5.prev = _context5.next) {\n            case 0:\n              select = _ref5.select, resolveSelect = _ref5.resolveSelect;\n              _context5.next = 3;\n              return resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).isModuleConnected(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]);\n            case 3:\n              ga4ModuleConnected = _context5.sent;\n              _context5.next = 6;\n              return resolveSelect(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_15__[\"CORE_MODULES\"]).isModuleActive(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]);\n            case 6:\n              ga4ModuleActive = _context5.sent;\n              if (!(!ga4ModuleConnected || !ga4ModuleActive)) {\n                _context5.next = 9;\n                break;\n              }\n              return _context5.abrupt(\"return\", false);\n            case 9:\n              isViewOnly = _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_16__[\"SITE_KIT_VIEW_ONLY_CONTEXTS\"].includes(viewContext);\n              _context5.next = 12;\n              return Promise.all([\n              // The isAudienceSegmentationWidgetHidden() selector relies on\n              // the resolution of the getUserAudienceSettings() resolver.\n              resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getUserAudienceSettings(),\n              // The getAudienceSegmentationSetupCompletedBy() selector relies\n              // on the resolution of the getAudienceSettings() resolver.\n              resolveSelect(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAudienceSettings(),\n              // The getID() selector relies on the resolution\n              // of the getUser() resolver.\n              resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getUser(),\n              // The canViewSharedModule() selector relies on the resolution\n              // of the getCapabilities() resolver.\n              isViewOnly ? resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getCapabilities() : Promise.resolve([])]);\n            case 12:\n              canViewModule = !isViewOnly || select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).canViewSharedModule(_constants__WEBPACK_IMPORTED_MODULE_21__[\"MODULE_SLUG_ANALYTICS_4\"]);\n              isAudienceSegmentationWidgetHidden = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).isAudienceSegmentationWidgetHidden();\n              audienceSegmentationSetupCompletedBy = select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getAudienceSegmentationSetupCompletedBy();\n              userID = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_USER\"]).getID();\n              if (!(canViewModule && isAudienceSegmentationWidgetHidden === false && Number.isInteger(audienceSegmentationSetupCompletedBy) && audienceSegmentationSetupCompletedBy !== userID)) {\n                _context5.next = 18;\n                break;\n              }\n              return _context5.abrupt(\"return\", true);\n            case 18:\n              return _context5.abrupt(\"return\", false);\n            case 19:\n            case \"end\":\n              return _context5.stop();\n          }\n        }\n      }, _callee5);\n    }));\n    function checkRequirements(_x5, _x6) {\n      return _checkRequirements5.apply(this, arguments);\n    }\n    return checkRequirements;\n  }()\n}), _ANALYTICS_4_NOTIFICA);\nfunction registerNotifications(notifications) {\n  for (var notificationID in ANALYTICS_4_NOTIFICATIONS) {\n    notifications.registerNotification(notificationID, ANALYTICS_4_NOTIFICATIONS[notificationID]);\n  }\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/account.js":
/*!*************************************************!*\
  !*** ./js/modules/analytics-4/utils/account.js ***!
  \*************************************************/
/*! exports provided: getAccountDefaults, populateAccountID, populatePropertyAndAccountIds, populateAccountSummaries */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getAccountDefaults\", function() { return getAccountDefaults; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"populateAccountID\", function() { return populateAccountID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"populatePropertyAndAccountIds\", function() { return populatePropertyAndAccountIds; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"populateAccountSummaries\", function() { return populateAccountSummaries; });\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 _wordpress_url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/* harmony import */ var _countries_timezones__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./countries-timezones */ \"./js/modules/analytics-4/utils/countries-timezones.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.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 * Account helpers.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n/**\n * Gets default values for a new account.\n *\n * @since 1.98.0\n * @since 1.111.0 Added enhanced measurement enabled state to return value.\n *\n * @param {Object} args              Site information.\n * @param {string} args.siteName     Site name.\n * @param {string} args.siteURL      Site home URL.\n * @param {string} args.timezone     Site timezone.\n * @param {string} _fallbackTimezone Fallback timezone. Defaults to local timezone.\n *                                   This parameter should only be used for providing a deterministic fallback in tests.\n * @return {Object} Default property values for a new account.\n */\nfunction getAccountDefaults(_ref) {\n  var siteName = _ref.siteName,\n    siteURL = _ref.siteURL,\n    timezone = _ref.timezone;\n  var _fallbackTimezone = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Intl.DateTimeFormat().resolvedOptions().timeZone;\n  invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_2__[\"isURL\"])(siteURL), 'A valid siteURL is required.');\n  var _URL = new URL(siteURL),\n    hostname = _URL.hostname,\n    pathname = _URL.pathname;\n  return _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({\n    accountName: siteName || hostname,\n    propertyName: \"\".concat(hostname).concat(pathname).replace(/\\/$/, ''),\n    dataStreamName: hostname,\n    countryCode: _countries_timezones__WEBPACK_IMPORTED_MODULE_3__[\"countryCodesByTimezone\"][timezone] || _countries_timezones__WEBPACK_IMPORTED_MODULE_3__[\"countryCodesByTimezone\"][_fallbackTimezone],\n    timezone: _countries_timezones__WEBPACK_IMPORTED_MODULE_3__[\"countryCodesByTimezone\"][timezone] ? timezone : _fallbackTimezone\n  }, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ENHANCED_MEASUREMENT_ENABLED\"], true);\n}\n\n/**\n * Appends an account ID to an account object.\n *\n * @since 1.138.0\n *\n * @param {Object} account Account object.\n * @return {Object} Account object with an appended ID.\n */\nfunction populateAccountID(account) {\n  var _account$account;\n  var matches = (_account$account = account.account) === null || _account$account === void 0 ? void 0 : _account$account.match(/accounts\\/([^/]+)/);\n  var _id = matches === null || matches === void 0 ? void 0 : matches[1];\n  return _objectSpread(_objectSpread({}, account), {}, {\n    _id: _id\n  });\n}\n\n/**\n * Appends property and account IDs to a property object.\n *\n * @since 1.138.0\n *\n * @param {Object} property Property object.\n * @return {Object} Property object with appended IDs.\n */\nfunction populatePropertyAndAccountIds(property) {\n  var _property$property, _property$parent;\n  var propertyMatches = (_property$property = property.property) === null || _property$property === void 0 ? void 0 : _property$property.match(/properties\\/([^/]+)/);\n  var _id = propertyMatches === null || propertyMatches === void 0 ? void 0 : propertyMatches[1];\n  var accountMatches = (_property$parent = property.parent) === null || _property$parent === void 0 ? void 0 : _property$parent.match(/accounts\\/([^/]+)/);\n  var _accountID = accountMatches === null || accountMatches === void 0 ? void 0 : accountMatches[1];\n  return _objectSpread(_objectSpread({}, property), {}, {\n    _id: _id,\n    _accountID: _accountID\n  });\n}\n\n/**\n * Populates a list of accountSummaries with IDs for accounts and properties.\n *\n * @since 1.147.0\n *\n * @param {Array|unknown} accountSummaries Account summaries to populate.\n * @return {Array|unknown} Populated account summaries or given value if not an array.\n */\nfunction populateAccountSummaries(accountSummaries) {\n  if (!Array.isArray(accountSummaries)) {\n    return accountSummaries;\n  }\n  return accountSummaries.map(function (account) {\n    return _objectSpread(_objectSpread({}, populateAccountID(account)), {}, {\n      propertySummaries: (account.propertySummaries || []).map(function (property) {\n        return populatePropertyAndAccountIds(property);\n      })\n    });\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/account.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/chart.js":
/*!***********************************************!*\
  !*** ./js/modules/analytics-4/utils/chart.js ***!
  \***********************************************/
/*! exports provided: extractAnalyticsDataForPieChart, isSingleSlice */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"extractAnalyticsDataForPieChart\", function() { return extractAnalyticsDataForPieChart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isSingleSlice\", function() { return isSingleSlice; });\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Analytics utility functions.\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 * WordPress dependencies\n */\n\n\n/**\n * Extracts data required for a pie chart from the Analytics 4 report information.\n *\n * @since 1.96.0\n *\n * @param {Array}    report                    The report data.\n * @param {Object}   [options]                 Optional. Data extraction options.\n * @param {number}   [options.keyColumnIndex]  Optional. The number of a column to extract metrics data from.\n * @param {number}   [options.maxSlices]       Optional. Limit the number of slices to display.\n * @param {boolean}  [options.withOthers]      Optional. Whether to add \"Others\" record to the data map. Only relevant\n *                                             if `maxSlices` is passed. If passed, the final slice will be the\n *                                             \"Others\" slice, i.e. the number of actual row slices will be\n *                                             `maxSlices - 1`.\n * @param {Function} [options.tooltipCallback] Optional. A callback function for tooltip column values.\n * @return {Array} Extracted data.\n */\nfunction extractAnalyticsDataForPieChart(report) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _options$keyColumnInd = options.keyColumnIndex,\n    keyColumnIndex = _options$keyColumnInd === void 0 ? 0 : _options$keyColumnInd,\n    maxSlices = options.maxSlices,\n    _options$withOthers = options.withOthers,\n    withOthers = _options$withOthers === void 0 ? false : _options$withOthers,\n    tooltipCallback = options.tooltipCallback;\n  var _ref = report || {},\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows;\n  var withTooltips = typeof tooltipCallback === 'function';\n  var columns = ['Source', 'Percent'];\n  if (withTooltips) {\n    columns.push({\n      type: 'string',\n      role: 'tooltip',\n      p: {\n        html: true\n      }\n    });\n  }\n  var dataMap = [columns];\n  var currentDateRangeRows = rows.filter(function (_ref2) {\n    var dimensionValues = _ref2.dimensionValues;\n    return dimensionValues[1].value === 'date_range_0';\n  });\n  var totalCurrent = currentDateRangeRows.reduce(function (sum, row) {\n    return sum + parseInt(row.metricValues[0].value, 10);\n  }, 0);\n  var previousDateRangeRows = rows.filter(function (_ref3) {\n    var dimensionValues = _ref3.dimensionValues;\n    return dimensionValues[1].value === 'date_range_1';\n  });\n  var totalPrevious = previousDateRangeRows.reduce(function (sum, row) {\n    return sum + parseInt(row.metricValues[0].value, 10);\n  }, 0);\n  var hasOthers = withOthers;\n  var rowsNumber = currentDateRangeRows.length;\n  var othersCurrent = totalCurrent;\n  var othersPrevious = totalPrevious;\n  if (maxSlices > 0) {\n    hasOthers = withOthers && currentDateRangeRows.length > maxSlices;\n    rowsNumber = Math.min(currentDateRangeRows.length, hasOthers ? maxSlices - 1 : maxSlices);\n  } else {\n    hasOthers = false;\n    rowsNumber = currentDateRangeRows.length;\n  }\n  var _loop = function _loop(i) {\n    var row = currentDateRangeRows[i];\n    var usersCurrent = row.metricValues[keyColumnIndex].value;\n    var previousRow = previousDateRangeRows.find(function (_ref4) {\n      var dimensionValues = _ref4.dimensionValues;\n      return dimensionValues[0].value === row.dimensionValues[0].value;\n    });\n    var usersPrevious = previousRow ? previousRow.metricValues[keyColumnIndex].value : 0;\n    othersCurrent -= usersCurrent;\n    othersPrevious -= usersPrevious;\n    var percent = totalCurrent > 0 ? usersCurrent / totalCurrent : 0;\n    var rowData = [row.dimensionValues[0].value, percent];\n    if (withTooltips) {\n      var previousDateRangeRow = rows.find(function (_ref5) {\n        var dimensionValues = _ref5.dimensionValues;\n        return dimensionValues[1].value === 'date_range_1' && dimensionValues[0].value === row.dimensionValues[0].value;\n      });\n      rowData.push(tooltipCallback(row, previousDateRangeRow, rowData));\n    }\n    dataMap.push(rowData);\n  };\n  for (var i = 0; i < rowsNumber; i++) {\n    _loop(i);\n  }\n  if (hasOthers && othersCurrent > 0) {\n    var rowData = [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Others', 'google-site-kit'), othersCurrent / totalCurrent];\n    if (withTooltips) {\n      rowData.push(tooltipCallback({\n        metricValues: [{\n          value: othersCurrent\n        }]\n      }, {\n        metricValues: [{\n          value: othersPrevious\n        }]\n      }, rowData));\n    }\n    dataMap.push(rowData);\n  }\n  return dataMap;\n}\n\n/**\n * Checks if there is a single row of data or one row of the provided GA4 report is contributing 100% of the total for a given dimension.\n *\n * Note that chart reports will be in the multi-date range format.\n *\n * @since 1.96.0\n *\n * @param {Object} report The report data object.\n * @return {(boolean|undefined)} Returns undefined if report is undefined, true/false for the above conditions.\n */\nfunction isSingleSlice(report) {\n  var _currentDateRangeRows, _currentDateRangeRows2, _currentDateRangeRows3, _report$totals, _report$totals$, _report$totals$$metri, _report$totals$$metri2;\n  if (report === undefined) {\n    return undefined;\n  }\n  var currentDateRangeRows = ((report === null || report === void 0 ? void 0 : report.rows) || []).filter(function (_ref6) {\n    var dimensionValues = _ref6.dimensionValues;\n    return dimensionValues[1].value === 'date_range_0';\n  });\n  if ((currentDateRangeRows === null || currentDateRangeRows === void 0 ? void 0 : currentDateRangeRows.length) === 1 || (currentDateRangeRows === null || currentDateRangeRows === void 0 ? void 0 : (_currentDateRangeRows = currentDateRangeRows[0]) === null || _currentDateRangeRows === void 0 ? void 0 : (_currentDateRangeRows2 = _currentDateRangeRows.metricValues) === null || _currentDateRangeRows2 === void 0 ? void 0 : (_currentDateRangeRows3 = _currentDateRangeRows2[0]) === null || _currentDateRangeRows3 === void 0 ? void 0 : _currentDateRangeRows3.value) === (report === null || report === void 0 ? void 0 : (_report$totals = report.totals) === null || _report$totals === void 0 ? void 0 : (_report$totals$ = _report$totals[0]) === null || _report$totals$ === void 0 ? void 0 : (_report$totals$$metri = _report$totals$.metricValues) === null || _report$totals$$metri === void 0 ? void 0 : (_report$totals$$metri2 = _report$totals$$metri[0]) === null || _report$totals$$metri2 === void 0 ? void 0 : _report$totals$$metri2.value)) {\n    return true;\n  }\n  return false;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/chart.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/countries-data.js":
/*!********************************************************!*\
  !*** ./js/modules/analytics-4/utils/countries-data.js ***!
  \********************************************************/
/*! exports provided: countries */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"countries\", function() { return countries; });\n/* eslint-disable sitekit/acronym-case */\nvar countries = {\n  default: {\n    defaultCountryCode: 'US',\n    country: [{\n      countryCode: 'AF',\n      displayName: 'Afghanistan',\n      defaultTimeZoneId: 'Asia/Kabul',\n      timeZone: [{\n        timeZoneId: 'Asia/Kabul',\n        displayName: '(GMT+04:30) Afghanistan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'AL',\n      displayName: 'Albania',\n      defaultTimeZoneId: 'Europe/Tirane',\n      timeZone: [{\n        timeZoneId: 'Europe/Tirane',\n        displayName: '(GMT+02:00) Albania Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'DZ',\n      displayName: 'Algeria',\n      defaultTimeZoneId: 'Africa/Algiers',\n      timeZone: [{\n        timeZoneId: 'Africa/Algiers',\n        displayName: '(GMT+01:00) Algeria Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'AS',\n      displayName: 'American Samoa',\n      defaultTimeZoneId: 'Pacific/Pago_Pago',\n      timeZone: [{\n        timeZoneId: 'Pacific/Pago_Pago',\n        displayName: '(GMT-11:00) American Samoa Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'AD',\n      displayName: 'Andorra',\n      defaultTimeZoneId: 'Europe/Andorra',\n      timeZone: [{\n        timeZoneId: 'Europe/Andorra',\n        displayName: '(GMT+02:00) Andorra Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'AQ',\n      displayName: 'Antarctica',\n      defaultTimeZoneId: 'Antarctica/Palmer',\n      timeZone: [{\n        timeZoneId: 'Antarctica/Palmer',\n        displayName: '(GMT-03:00) Palmer Time'\n      }, {\n        timeZoneId: 'Antarctica/Rothera',\n        displayName: '(GMT-03:00) Rothera Time'\n      }, {\n        timeZoneId: 'Antarctica/Syowa',\n        displayName: '(GMT+03:00) Syowa Time'\n      }, {\n        timeZoneId: 'Antarctica/Mawson',\n        displayName: '(GMT+05:00) Mawson Time'\n      }, {\n        timeZoneId: 'Antarctica/Vostok',\n        displayName: '(GMT+06:00) Vostok Time'\n      }, {\n        timeZoneId: 'Antarctica/Davis',\n        displayName: '(GMT+07:00) Davis Time'\n      }, {\n        timeZoneId: 'Antarctica/Casey',\n        displayName: '(GMT+08:00) Casey Time'\n      }, {\n        timeZoneId: 'Antarctica/DumontDUrville',\n        displayName: \"(GMT+10:00) Dumont d\\u2019Urville Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'AR',\n      displayName: 'Argentina',\n      defaultTimeZoneId: 'America/Buenos_Aires',\n      timeZone: [{\n        timeZoneId: 'America/Buenos_Aires',\n        displayName: '(GMT-03:00) Buenos Aires Time'\n      }, {\n        timeZoneId: 'America/Cordoba',\n        displayName: '(GMT-03:00) Cordoba Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'AM',\n      displayName: 'Armenia',\n      defaultTimeZoneId: 'Asia/Yerevan',\n      timeZone: [{\n        timeZoneId: 'Asia/Yerevan',\n        displayName: '(GMT+04:00) Armenia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'AU',\n      displayName: 'Australia',\n      defaultTimeZoneId: 'Australia/Perth',\n      timeZone: [{\n        timeZoneId: 'Australia/Perth',\n        displayName: '(GMT+08:00) Perth Time'\n      }, {\n        timeZoneId: 'Australia/Adelaide',\n        displayName: '(GMT+09:30) Adelaide Time'\n      }, {\n        timeZoneId: 'Australia/Darwin',\n        displayName: '(GMT+09:30) Darwin Time'\n      }, {\n        timeZoneId: 'Australia/Brisbane',\n        displayName: '(GMT+10:00) Brisbane Time'\n      }, {\n        timeZoneId: 'Australia/Hobart',\n        displayName: '(GMT+10:00) Hobart Time'\n      }, {\n        timeZoneId: 'Australia/Melbourne',\n        displayName: '(GMT+10:00) Melbourne Time'\n      }, {\n        timeZoneId: 'Australia/Sydney',\n        displayName: '(GMT+10:00) Sydney Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'AT',\n      displayName: 'Austria',\n      defaultTimeZoneId: 'Europe/Vienna',\n      timeZone: [{\n        timeZoneId: 'Europe/Vienna',\n        displayName: '(GMT+02:00) Austria Time'\n      }],\n      tosLocale: {\n        language: 'de',\n        country: 'DE'\n      }\n    }, {\n      countryCode: 'AZ',\n      displayName: 'Azerbaijan',\n      defaultTimeZoneId: 'Asia/Baku',\n      timeZone: [{\n        timeZoneId: 'Asia/Baku',\n        displayName: '(GMT+04:00) Azerbaijan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'BS',\n      displayName: 'Bahamas',\n      defaultTimeZoneId: 'America/Nassau',\n      timeZone: [{\n        timeZoneId: 'America/Nassau',\n        displayName: '(GMT-04:00) Bahamas Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'BD',\n      displayName: 'Bangladesh',\n      defaultTimeZoneId: 'Asia/Dhaka',\n      timeZone: [{\n        timeZoneId: 'Asia/Dhaka',\n        displayName: '(GMT+06:00) Bangladesh Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'BB',\n      displayName: 'Barbados',\n      defaultTimeZoneId: 'America/Barbados',\n      timeZone: [{\n        timeZoneId: 'America/Barbados',\n        displayName: '(GMT-04:00) Barbados Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'BY',\n      displayName: 'Belarus',\n      defaultTimeZoneId: 'Europe/Minsk',\n      timeZone: [{\n        timeZoneId: 'Europe/Minsk',\n        displayName: '(GMT+03:00) Belarus Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'BE',\n      displayName: 'Belgium',\n      defaultTimeZoneId: 'Europe/Brussels',\n      timeZone: [{\n        timeZoneId: 'Europe/Brussels',\n        displayName: '(GMT+02:00) Belgium Time'\n      }],\n      tosLocale: {\n        language: 'fr',\n        country: 'FR'\n      }\n    }, {\n      countryCode: 'BZ',\n      displayName: 'Belize',\n      defaultTimeZoneId: 'America/Belize',\n      timeZone: [{\n        timeZoneId: 'America/Belize',\n        displayName: '(GMT-06:00) Belize Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'BM',\n      displayName: 'Bermuda',\n      defaultTimeZoneId: 'Atlantic/Bermuda',\n      timeZone: [{\n        timeZoneId: 'Atlantic/Bermuda',\n        displayName: '(GMT-03:00) Bermuda Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'BT',\n      displayName: 'Bhutan',\n      defaultTimeZoneId: 'Asia/Thimphu',\n      timeZone: [{\n        timeZoneId: 'Asia/Thimphu',\n        displayName: '(GMT+06:00) Bhutan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'BO',\n      displayName: 'Bolivia',\n      defaultTimeZoneId: 'America/La_Paz',\n      timeZone: [{\n        timeZoneId: 'America/La_Paz',\n        displayName: '(GMT-04:00) Bolivia Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'BA',\n      displayName: \"Bosnia & Herzegovina\",\n      defaultTimeZoneId: 'Europe/Sarajevo',\n      timeZone: [{\n        timeZoneId: 'Europe/Sarajevo',\n        displayName: \"(GMT+02:00) Bosnia & Herzegovina Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'BR',\n      displayName: 'Brazil',\n      defaultTimeZoneId: 'America/Rio_Branco',\n      timeZone: [{\n        timeZoneId: 'America/Rio_Branco',\n        displayName: '(GMT-05:00) Rio Branco Time'\n      }, {\n        timeZoneId: 'America/Boa_Vista',\n        displayName: '(GMT-04:00) Boa Vista Time'\n      }, {\n        timeZoneId: 'America/Campo_Grande',\n        displayName: '(GMT-04:00) Campo Grande Time'\n      }, {\n        timeZoneId: 'America/Cuiaba',\n        displayName: '(GMT-04:00) Cuiaba Time'\n      }, {\n        timeZoneId: 'America/Manaus',\n        displayName: '(GMT-04:00) Manaus Time'\n      }, {\n        timeZoneId: 'America/Porto_Velho',\n        displayName: '(GMT-04:00) Porto Velho Time'\n      }, {\n        timeZoneId: 'America/Araguaina',\n        displayName: '(GMT-03:00) Araguaina Time'\n      }, {\n        timeZoneId: 'America/Bahia',\n        displayName: '(GMT-03:00) Bahia Time'\n      }, {\n        timeZoneId: 'America/Belem',\n        displayName: '(GMT-03:00) Belem Time'\n      }, {\n        timeZoneId: 'America/Fortaleza',\n        displayName: '(GMT-03:00) Fortaleza Time'\n      }, {\n        timeZoneId: 'America/Maceio',\n        displayName: '(GMT-03:00) Maceio Time'\n      }, {\n        timeZoneId: 'America/Recife',\n        displayName: '(GMT-03:00) Recife Time'\n      }, {\n        timeZoneId: 'America/Sao_Paulo',\n        displayName: '(GMT-03:00) Sao Paulo Time'\n      }, {\n        timeZoneId: 'America/Noronha',\n        displayName: '(GMT-02:00) Noronha Time'\n      }],\n      tosLocale: {\n        language: 'pt',\n        country: 'BR'\n      }\n    }, {\n      countryCode: 'IO',\n      displayName: 'British Indian Ocean Territory',\n      defaultTimeZoneId: 'Indian/Chagos',\n      timeZone: [{\n        timeZoneId: 'Indian/Chagos',\n        displayName: '(GMT+06:00) British Indian Ocean Territory Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'BN',\n      displayName: 'Brunei',\n      defaultTimeZoneId: 'Asia/Brunei',\n      timeZone: [{\n        timeZoneId: 'Asia/Brunei',\n        displayName: '(GMT+08:00) Brunei Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'BG',\n      displayName: 'Bulgaria',\n      defaultTimeZoneId: 'Europe/Sofia',\n      timeZone: [{\n        timeZoneId: 'Europe/Sofia',\n        displayName: '(GMT+03:00) Bulgaria Time'\n      }],\n      tosLocale: {\n        language: 'bg',\n        country: 'BG'\n      }\n    }, {\n      countryCode: 'CA',\n      displayName: 'Canada',\n      defaultTimeZoneId: 'America/Dawson',\n      timeZone: [{\n        timeZoneId: 'America/Dawson',\n        displayName: '(GMT-07:00) Dawson Time'\n      }, {\n        timeZoneId: 'America/Vancouver',\n        displayName: '(GMT-07:00) Vancouver Time'\n      }, {\n        timeZoneId: 'America/Whitehorse',\n        displayName: '(GMT-07:00) Whitehorse Time'\n      }, {\n        timeZoneId: 'America/Edmonton',\n        displayName: '(GMT-06:00) Edmonton Time'\n      }, {\n        timeZoneId: 'America/Yellowknife',\n        displayName: '(GMT-06:00) Yellowknife Time'\n      }, {\n        timeZoneId: 'America/Dawson_Creek',\n        displayName: '(GMT-07:00) Dawson Creek Time'\n      }, {\n        timeZoneId: 'America/Winnipeg',\n        displayName: '(GMT-05:00) Winnipeg Time'\n      }, {\n        timeZoneId: 'America/Regina',\n        displayName: '(GMT-06:00) Regina Time'\n      }, {\n        timeZoneId: 'America/Iqaluit',\n        displayName: '(GMT-04:00) Iqaluit Time'\n      }, {\n        timeZoneId: 'America/Toronto',\n        displayName: '(GMT-04:00) Toronto Time'\n      }, {\n        timeZoneId: 'America/Halifax',\n        displayName: '(GMT-03:00) Halifax Time'\n      }, {\n        timeZoneId: 'America/St_Johns',\n        displayName: \"(GMT-02:30) St. John\\u2019s Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'CV',\n      displayName: 'Cape Verde',\n      defaultTimeZoneId: 'Atlantic/Cape_Verde',\n      timeZone: [{\n        timeZoneId: 'Atlantic/Cape_Verde',\n        displayName: '(GMT-01:00) Cape Verde Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'TD',\n      displayName: 'Chad',\n      defaultTimeZoneId: 'Africa/Ndjamena',\n      timeZone: [{\n        timeZoneId: 'Africa/Ndjamena',\n        displayName: '(GMT+01:00) Chad Time'\n      }],\n      tosLocale: {\n        language: 'fr',\n        country: 'FR'\n      }\n    }, {\n      countryCode: 'CL',\n      displayName: 'Chile',\n      defaultTimeZoneId: 'Pacific/Easter',\n      timeZone: [{\n        timeZoneId: 'Pacific/Easter',\n        displayName: '(GMT-06:00) Easter Time'\n      }, {\n        timeZoneId: 'America/Santiago',\n        displayName: '(GMT-04:00) Chile Time'\n      }, {\n        timeZoneId: 'America/Punta_Arenas',\n        displayName: '(GMT-03:00) Punta Arenas Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'CN',\n      displayName: 'China',\n      defaultTimeZoneId: 'Asia/Shanghai',\n      timeZone: [{\n        timeZoneId: 'Asia/Shanghai',\n        displayName: '(GMT+08:00) China Time'\n      }],\n      tosLocale: {\n        language: 'zh',\n        country: 'CN'\n      }\n    }, {\n      countryCode: 'CX',\n      displayName: 'Christmas Island',\n      defaultTimeZoneId: 'Indian/Christmas',\n      timeZone: [{\n        timeZoneId: 'Indian/Christmas',\n        displayName: '(GMT+07:00) Christmas Island Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'CC',\n      displayName: 'Cocos (Keeling) Islands',\n      defaultTimeZoneId: 'Indian/Cocos',\n      timeZone: [{\n        timeZoneId: 'Indian/Cocos',\n        displayName: '(GMT+06:30) Cocos (Keeling) Islands Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'CO',\n      displayName: 'Colombia',\n      defaultTimeZoneId: 'America/Bogota',\n      timeZone: [{\n        timeZoneId: 'America/Bogota',\n        displayName: '(GMT-05:00) Colombia Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'CK',\n      displayName: 'Cook Islands',\n      defaultTimeZoneId: 'Pacific/Rarotonga',\n      timeZone: [{\n        timeZoneId: 'Pacific/Rarotonga',\n        displayName: '(GMT-10:00) Cook Islands Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'CR',\n      displayName: 'Costa Rica',\n      defaultTimeZoneId: 'America/Costa_Rica',\n      timeZone: [{\n        timeZoneId: 'America/Costa_Rica',\n        displayName: '(GMT-06:00) Costa Rica Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'CI',\n      displayName: \"C\\xF4te d\\u2019Ivoire\",\n      defaultTimeZoneId: 'Africa/Abidjan',\n      timeZone: [{\n        timeZoneId: 'Africa/Abidjan',\n        displayName: \"(GMT+00:00) C\\xF4te d\\u2019Ivoire Time\"\n      }],\n      tosLocale: {\n        language: 'fr',\n        country: 'FR'\n      }\n    }, {\n      countryCode: 'HR',\n      displayName: 'Croatia',\n      defaultTimeZoneId: 'Europe/Zagreb',\n      timeZone: [{\n        timeZoneId: 'Europe/Zagreb',\n        displayName: '(GMT+02:00) Croatia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'CU',\n      displayName: 'Cuba',\n      defaultTimeZoneId: 'America/Havana',\n      timeZone: [{\n        timeZoneId: 'America/Havana',\n        displayName: '(GMT-04:00) Cuba Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'CW',\n      displayName: \"Cura\\xE7ao\",\n      defaultTimeZoneId: 'America/Curacao',\n      timeZone: [{\n        timeZoneId: 'America/Curacao',\n        displayName: \"(GMT-04:00) Cura\\xE7ao Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'CY',\n      displayName: 'Cyprus',\n      defaultTimeZoneId: 'Asia/Nicosia',\n      timeZone: [{\n        timeZoneId: 'Asia/Nicosia',\n        displayName: '(GMT+03:00) Nicosia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'CZ',\n      displayName: 'Czechia',\n      defaultTimeZoneId: 'Europe/Prague',\n      timeZone: [{\n        timeZoneId: 'Europe/Prague',\n        displayName: '(GMT+02:00) Czechia Time'\n      }],\n      tosLocale: {\n        language: 'cs',\n        country: 'CZ'\n      }\n    }, {\n      countryCode: 'DK',\n      displayName: 'Denmark',\n      defaultTimeZoneId: 'Europe/Copenhagen',\n      timeZone: [{\n        timeZoneId: 'Europe/Copenhagen',\n        displayName: '(GMT+02:00) Denmark Time'\n      }],\n      tosLocale: {\n        language: 'da',\n        country: 'DK'\n      }\n    }, {\n      countryCode: 'DO',\n      displayName: 'Dominican Republic',\n      defaultTimeZoneId: 'America/Santo_Domingo',\n      timeZone: [{\n        timeZoneId: 'America/Santo_Domingo',\n        displayName: '(GMT-04:00) Dominican Republic Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'EC',\n      displayName: 'Ecuador',\n      defaultTimeZoneId: 'Pacific/Galapagos',\n      timeZone: [{\n        timeZoneId: 'Pacific/Galapagos',\n        displayName: '(GMT-06:00) Galapagos Time'\n      }, {\n        timeZoneId: 'America/Guayaquil',\n        displayName: '(GMT-05:00) Ecuador Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'EG',\n      displayName: 'Egypt',\n      defaultTimeZoneId: 'Africa/Cairo',\n      timeZone: [{\n        timeZoneId: 'Africa/Cairo',\n        displayName: '(GMT+02:00) Egypt Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'SV',\n      displayName: 'El Salvador',\n      defaultTimeZoneId: 'America/El_Salvador',\n      timeZone: [{\n        timeZoneId: 'America/El_Salvador',\n        displayName: '(GMT-06:00) El Salvador Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'EE',\n      displayName: 'Estonia',\n      defaultTimeZoneId: 'Europe/Tallinn',\n      timeZone: [{\n        timeZoneId: 'Europe/Tallinn',\n        displayName: '(GMT+03:00) Estonia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'FK',\n      displayName: 'Falkland Islands (Islas Malvinas)',\n      defaultTimeZoneId: 'Atlantic/Stanley',\n      timeZone: [{\n        timeZoneId: 'Atlantic/Stanley',\n        displayName: '(GMT-03:00) Falkland Islands (Islas Malvinas) Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'FO',\n      displayName: 'Faroe Islands',\n      defaultTimeZoneId: 'Atlantic/Faeroe',\n      timeZone: [{\n        timeZoneId: 'Atlantic/Faeroe',\n        displayName: '(GMT+01:00) Faroe Islands Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'FJ',\n      displayName: 'Fiji',\n      defaultTimeZoneId: 'Pacific/Fiji',\n      timeZone: [{\n        timeZoneId: 'Pacific/Fiji',\n        displayName: '(GMT+12:00) Fiji Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'FI',\n      displayName: 'Finland',\n      defaultTimeZoneId: 'Europe/Helsinki',\n      timeZone: [{\n        timeZoneId: 'Europe/Helsinki',\n        displayName: '(GMT+03:00) Finland Time'\n      }],\n      tosLocale: {\n        language: 'fi',\n        country: 'FI'\n      }\n    }, {\n      countryCode: 'FR',\n      displayName: 'France',\n      defaultTimeZoneId: 'Europe/Paris',\n      timeZone: [{\n        timeZoneId: 'Europe/Paris',\n        displayName: '(GMT+02:00) France Time'\n      }],\n      tosLocale: {\n        language: 'fr',\n        country: 'FR'\n      }\n    }, {\n      countryCode: 'GF',\n      displayName: 'French Guiana',\n      defaultTimeZoneId: 'America/Cayenne',\n      timeZone: [{\n        timeZoneId: 'America/Cayenne',\n        displayName: '(GMT-03:00) French Guiana Time'\n      }],\n      tosLocale: {\n        language: 'fr',\n        country: 'FR'\n      }\n    }, {\n      countryCode: 'PF',\n      displayName: 'French Polynesia',\n      defaultTimeZoneId: 'Pacific/Tahiti',\n      timeZone: [{\n        timeZoneId: 'Pacific/Tahiti',\n        displayName: '(GMT-10:00) Tahiti Time'\n      }, {\n        timeZoneId: 'Pacific/Marquesas',\n        displayName: '(GMT-09:30) Marquesas Time'\n      }, {\n        timeZoneId: 'Pacific/Gambier',\n        displayName: '(GMT-09:00) Gambier Time'\n      }],\n      tosLocale: {\n        language: 'fr',\n        country: 'FR'\n      }\n    }, {\n      countryCode: 'TF',\n      displayName: 'French Southern Territories',\n      defaultTimeZoneId: 'Indian/Kerguelen',\n      timeZone: [{\n        timeZoneId: 'Indian/Kerguelen',\n        displayName: '(GMT+05:00) French Southern Territories Time'\n      }],\n      tosLocale: {\n        language: 'fr',\n        country: 'FR'\n      }\n    }, {\n      countryCode: 'GE',\n      displayName: 'Georgia',\n      defaultTimeZoneId: 'Asia/Tbilisi',\n      timeZone: [{\n        timeZoneId: 'Asia/Tbilisi',\n        displayName: '(GMT+04:00) Georgia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'DE',\n      displayName: 'Germany',\n      defaultTimeZoneId: 'Europe/Berlin',\n      timeZone: [{\n        timeZoneId: 'Europe/Berlin',\n        displayName: '(GMT+02:00) Germany Time'\n      }],\n      tosLocale: {\n        language: 'de',\n        country: 'DE'\n      }\n    }, {\n      countryCode: 'GH',\n      displayName: 'Ghana',\n      defaultTimeZoneId: 'Africa/Accra',\n      timeZone: [{\n        timeZoneId: 'Africa/Accra',\n        displayName: '(GMT+00:00) Ghana Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'GI',\n      displayName: 'Gibraltar',\n      defaultTimeZoneId: 'Europe/Gibraltar',\n      timeZone: [{\n        timeZoneId: 'Europe/Gibraltar',\n        displayName: '(GMT+02:00) Gibraltar Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'GR',\n      displayName: 'Greece',\n      defaultTimeZoneId: 'Europe/Athens',\n      timeZone: [{\n        timeZoneId: 'Europe/Athens',\n        displayName: '(GMT+03:00) Greece Time'\n      }],\n      tosLocale: {\n        language: 'el',\n        country: 'GR'\n      }\n    }, {\n      countryCode: 'GL',\n      displayName: 'Greenland',\n      defaultTimeZoneId: 'America/Thule',\n      timeZone: [{\n        timeZoneId: 'America/Thule',\n        displayName: '(GMT-03:00) Thule Time'\n      }, {\n        timeZoneId: 'America/Godthab',\n        displayName: '(GMT-02:00) Nuuk Time'\n      }, {\n        timeZoneId: 'America/Scoresbysund',\n        displayName: '(GMT+00:00) Ittoqqortoormiit Time'\n      }, {\n        timeZoneId: 'America/Danmarkshavn',\n        displayName: '(GMT+00:00) Danmarkshavn Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'GU',\n      displayName: 'Guam',\n      defaultTimeZoneId: 'Pacific/Guam',\n      timeZone: [{\n        timeZoneId: 'Pacific/Guam',\n        displayName: '(GMT+10:00) Guam Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'GT',\n      displayName: 'Guatemala',\n      defaultTimeZoneId: 'America/Guatemala',\n      timeZone: [{\n        timeZoneId: 'America/Guatemala',\n        displayName: '(GMT-06:00) Guatemala Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'GW',\n      displayName: 'Guinea-Bissau',\n      defaultTimeZoneId: 'Africa/Bissau',\n      timeZone: [{\n        timeZoneId: 'Africa/Bissau',\n        displayName: '(GMT+00:00) Guinea-Bissau Time'\n      }],\n      tosLocale: {\n        language: 'fr',\n        country: 'FR'\n      }\n    }, {\n      countryCode: 'GY',\n      displayName: 'Guyana',\n      defaultTimeZoneId: 'America/Guyana',\n      timeZone: [{\n        timeZoneId: 'America/Guyana',\n        displayName: '(GMT-04:00) Guyana Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'HT',\n      displayName: 'Haiti',\n      defaultTimeZoneId: 'America/Port-au-Prince',\n      timeZone: [{\n        timeZoneId: 'America/Port-au-Prince',\n        displayName: '(GMT-04:00) Haiti Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'HN',\n      displayName: 'Honduras',\n      defaultTimeZoneId: 'America/Tegucigalpa',\n      timeZone: [{\n        timeZoneId: 'America/Tegucigalpa',\n        displayName: '(GMT-06:00) Honduras Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'HK',\n      displayName: 'Hong Kong',\n      defaultTimeZoneId: 'Asia/Hong_Kong',\n      timeZone: [{\n        timeZoneId: 'Asia/Hong_Kong',\n        displayName: '(GMT+08:00) Hong Kong Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'HU',\n      displayName: 'Hungary',\n      defaultTimeZoneId: 'Europe/Budapest',\n      timeZone: [{\n        timeZoneId: 'Europe/Budapest',\n        displayName: '(GMT+02:00) Hungary Time'\n      }],\n      tosLocale: {\n        language: 'hu',\n        country: 'HU'\n      }\n    }, {\n      countryCode: 'IS',\n      displayName: 'Iceland',\n      defaultTimeZoneId: 'Atlantic/Reykjavik',\n      timeZone: [{\n        timeZoneId: 'Atlantic/Reykjavik',\n        displayName: '(GMT+00:00) Iceland Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'IN',\n      displayName: 'India',\n      defaultTimeZoneId: 'Asia/Calcutta',\n      timeZone: [{\n        timeZoneId: 'Asia/Calcutta',\n        displayName: '(GMT+05:30) India Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'ID',\n      displayName: 'Indonesia',\n      defaultTimeZoneId: 'Asia/Jakarta',\n      timeZone: [{\n        timeZoneId: 'Asia/Jakarta',\n        displayName: '(GMT+07:00) Jakarta Time'\n      }, {\n        timeZoneId: 'Asia/Makassar',\n        displayName: '(GMT+08:00) Makassar Time'\n      }, {\n        timeZoneId: 'Asia/Jayapura',\n        displayName: '(GMT+09:00) Jayapura Time'\n      }],\n      tosLocale: {\n        language: 'in',\n        country: 'ID'\n      }\n    }, {\n      countryCode: 'IR',\n      displayName: 'Iran',\n      defaultTimeZoneId: 'Asia/Tehran',\n      timeZone: [{\n        timeZoneId: 'Asia/Tehran',\n        displayName: '(GMT+04:30) Iran Time'\n      }]\n    }, {\n      countryCode: 'IQ',\n      displayName: 'Iraq',\n      defaultTimeZoneId: 'Asia/Baghdad',\n      timeZone: [{\n        timeZoneId: 'Asia/Baghdad',\n        displayName: '(GMT+03:00) Iraq Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'IE',\n      displayName: 'Ireland',\n      defaultTimeZoneId: 'Europe/Dublin',\n      timeZone: [{\n        timeZoneId: 'Europe/Dublin',\n        displayName: '(GMT+01:00) Ireland Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'IL',\n      displayName: 'Israel',\n      defaultTimeZoneId: 'Asia/Jerusalem',\n      timeZone: [{\n        timeZoneId: 'Asia/Jerusalem',\n        displayName: '(GMT+03:00) Israel Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'IT',\n      displayName: 'Italy',\n      defaultTimeZoneId: 'Europe/Rome',\n      timeZone: [{\n        timeZoneId: 'Europe/Rome',\n        displayName: '(GMT+02:00) Italy Time'\n      }],\n      tosLocale: {\n        language: 'it',\n        country: 'IT'\n      }\n    }, {\n      countryCode: 'JM',\n      displayName: 'Jamaica',\n      defaultTimeZoneId: 'America/Jamaica',\n      timeZone: [{\n        timeZoneId: 'America/Jamaica',\n        displayName: '(GMT-05:00) Jamaica Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'JP',\n      displayName: 'Japan',\n      defaultTimeZoneId: 'Asia/Tokyo',\n      timeZone: [{\n        timeZoneId: 'Asia/Tokyo',\n        displayName: '(GMT+09:00) Japan Time'\n      }],\n      tosLocale: {\n        language: 'ja',\n        country: 'JP'\n      }\n    }, {\n      countryCode: 'JO',\n      displayName: 'Jordan',\n      defaultTimeZoneId: 'Asia/Amman',\n      timeZone: [{\n        timeZoneId: 'Asia/Amman',\n        displayName: '(GMT+03:00) Jordan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'KZ',\n      displayName: 'Kazakhstan',\n      defaultTimeZoneId: 'Asia/Aqtau',\n      timeZone: [{\n        timeZoneId: 'Asia/Aqtau',\n        displayName: '(GMT+05:00) Aqtau Time'\n      }, {\n        timeZoneId: 'Asia/Aqtobe',\n        displayName: '(GMT+05:00) Aqtobe Time'\n      }, {\n        timeZoneId: 'Asia/Almaty',\n        displayName: '(GMT+06:00) Almaty Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'KE',\n      displayName: 'Kenya',\n      defaultTimeZoneId: 'Africa/Nairobi',\n      timeZone: [{\n        timeZoneId: 'Africa/Nairobi',\n        displayName: '(GMT+03:00) Kenya Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'KI',\n      displayName: 'Kiribati',\n      defaultTimeZoneId: 'Pacific/Tarawa',\n      timeZone: [{\n        timeZoneId: 'Pacific/Tarawa',\n        displayName: '(GMT+12:00) Tarawa Time'\n      }, {\n        timeZoneId: 'Pacific/Enderbury',\n        displayName: '(GMT+13:00) Enderbury Time'\n      }, {\n        timeZoneId: 'Pacific/Kiritimati',\n        displayName: '(GMT+14:00) Kiritimati Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'KG',\n      displayName: 'Kyrgyzstan',\n      defaultTimeZoneId: 'Asia/Bishkek',\n      timeZone: [{\n        timeZoneId: 'Asia/Bishkek',\n        displayName: '(GMT+06:00) Kyrgyzstan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'LV',\n      displayName: 'Latvia',\n      defaultTimeZoneId: 'Europe/Riga',\n      timeZone: [{\n        timeZoneId: 'Europe/Riga',\n        displayName: '(GMT+03:00) Latvia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'LB',\n      displayName: 'Lebanon',\n      defaultTimeZoneId: 'Asia/Beirut',\n      timeZone: [{\n        timeZoneId: 'Asia/Beirut',\n        displayName: '(GMT+03:00) Lebanon Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'LR',\n      displayName: 'Liberia',\n      defaultTimeZoneId: 'Africa/Monrovia',\n      timeZone: [{\n        timeZoneId: 'Africa/Monrovia',\n        displayName: '(GMT+00:00) Liberia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'LY',\n      displayName: 'Libya',\n      defaultTimeZoneId: 'Africa/Tripoli',\n      timeZone: [{\n        timeZoneId: 'Africa/Tripoli',\n        displayName: '(GMT+02:00) Libya Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'LT',\n      displayName: 'Lithuania',\n      defaultTimeZoneId: 'Europe/Vilnius',\n      timeZone: [{\n        timeZoneId: 'Europe/Vilnius',\n        displayName: '(GMT+03:00) Lithuania Time'\n      }],\n      tosLocale: {\n        language: 'lt',\n        country: 'LT'\n      }\n    }, {\n      countryCode: 'LU',\n      displayName: 'Luxembourg',\n      defaultTimeZoneId: 'Europe/Luxembourg',\n      timeZone: [{\n        timeZoneId: 'Europe/Luxembourg',\n        displayName: '(GMT+02:00) Luxembourg Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'MO',\n      displayName: 'Macao',\n      defaultTimeZoneId: 'Asia/Macau',\n      timeZone: [{\n        timeZoneId: 'Asia/Macau',\n        displayName: '(GMT+08:00) Macao Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'MY',\n      displayName: 'Malaysia',\n      defaultTimeZoneId: 'Asia/Kuala_Lumpur',\n      timeZone: [{\n        timeZoneId: 'Asia/Kuala_Lumpur',\n        displayName: '(GMT+08:00) Malaysia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'MV',\n      displayName: 'Maldives',\n      defaultTimeZoneId: 'Indian/Maldives',\n      timeZone: [{\n        timeZoneId: 'Indian/Maldives',\n        displayName: '(GMT+05:00) Maldives Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'MT',\n      displayName: 'Malta',\n      defaultTimeZoneId: 'Europe/Malta',\n      timeZone: [{\n        timeZoneId: 'Europe/Malta',\n        displayName: '(GMT+02:00) Malta Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'MH',\n      displayName: 'Marshall Islands',\n      defaultTimeZoneId: 'Pacific/Kwajalein',\n      timeZone: [{\n        timeZoneId: 'Pacific/Kwajalein',\n        displayName: '(GMT+12:00) Kwajalein Time'\n      }, {\n        timeZoneId: 'Pacific/Majuro',\n        displayName: '(GMT+12:00) Marshall Islands Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'MQ',\n      displayName: 'Martinique',\n      defaultTimeZoneId: 'America/Martinique',\n      timeZone: [{\n        timeZoneId: 'America/Martinique',\n        displayName: '(GMT-04:00) Martinique Time'\n      }],\n      tosLocale: {\n        language: 'fr',\n        country: 'FR'\n      }\n    }, {\n      countryCode: 'MU',\n      displayName: 'Mauritius',\n      defaultTimeZoneId: 'Indian/Mauritius',\n      timeZone: [{\n        timeZoneId: 'Indian/Mauritius',\n        displayName: '(GMT+04:00) Mauritius Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'MX',\n      displayName: 'Mexico',\n      defaultTimeZoneId: 'America/Tijuana',\n      timeZone: [{\n        timeZoneId: 'America/Tijuana',\n        displayName: '(GMT-07:00) Tijuana Time'\n      }, {\n        timeZoneId: 'America/Mazatlan',\n        displayName: '(GMT-06:00) Mazatlan Time'\n      }, {\n        timeZoneId: 'America/Hermosillo',\n        displayName: '(GMT-07:00) Hermosillo Time'\n      }, {\n        timeZoneId: 'America/Mexico_City',\n        displayName: '(GMT-05:00) Mexico City Time'\n      }, {\n        timeZoneId: 'America/Cancun',\n        displayName: '(GMT-05:00) Cancun Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'FM',\n      displayName: 'Micronesia',\n      defaultTimeZoneId: 'Pacific/Truk',\n      timeZone: [{\n        timeZoneId: 'Pacific/Truk',\n        displayName: '(GMT+10:00) Chuuk Time'\n      }, {\n        timeZoneId: 'Pacific/Kosrae',\n        displayName: '(GMT+11:00) Kosrae Time'\n      }, {\n        timeZoneId: 'Pacific/Ponape',\n        displayName: '(GMT+11:00) Pohnpei Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'MD',\n      displayName: 'Moldova',\n      defaultTimeZoneId: 'Europe/Chisinau',\n      timeZone: [{\n        timeZoneId: 'Europe/Chisinau',\n        displayName: '(GMT+03:00) Moldova Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'MC',\n      displayName: 'Monaco',\n      defaultTimeZoneId: 'Europe/Monaco',\n      timeZone: [{\n        timeZoneId: 'Europe/Monaco',\n        displayName: '(GMT+02:00) Monaco Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'MN',\n      displayName: 'Mongolia',\n      defaultTimeZoneId: 'Asia/Hovd',\n      timeZone: [{\n        timeZoneId: 'Asia/Hovd',\n        displayName: '(GMT+07:00) Hovd Time'\n      }, {\n        timeZoneId: 'Asia/Choibalsan',\n        displayName: '(GMT+08:00) Choibalsan Time'\n      }, {\n        timeZoneId: 'Asia/Ulaanbaatar',\n        displayName: '(GMT+08:00) Ulaanbaatar Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'MA',\n      displayName: 'Morocco',\n      defaultTimeZoneId: 'Africa/Casablanca',\n      timeZone: [{\n        timeZoneId: 'Africa/Casablanca',\n        displayName: '(GMT+01:00) Morocco Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'MZ',\n      displayName: 'Mozambique',\n      defaultTimeZoneId: 'Africa/Maputo',\n      timeZone: [{\n        timeZoneId: 'Africa/Maputo',\n        displayName: '(GMT+02:00) Mozambique Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'MM',\n      displayName: 'Myanmar (Burma)',\n      defaultTimeZoneId: 'Asia/Rangoon',\n      timeZone: [{\n        timeZoneId: 'Asia/Rangoon',\n        displayName: '(GMT+06:30) Myanmar (Burma) Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'NA',\n      displayName: 'Namibia',\n      defaultTimeZoneId: 'Africa/Windhoek',\n      timeZone: [{\n        timeZoneId: 'Africa/Windhoek',\n        displayName: '(GMT+02:00) Namibia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'NR',\n      displayName: 'Nauru',\n      defaultTimeZoneId: 'Pacific/Nauru',\n      timeZone: [{\n        timeZoneId: 'Pacific/Nauru',\n        displayName: '(GMT+12:00) Nauru Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'NP',\n      displayName: 'Nepal',\n      defaultTimeZoneId: 'Asia/Katmandu',\n      timeZone: [{\n        timeZoneId: 'Asia/Katmandu',\n        displayName: '(GMT+05:45) Nepal Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'NL',\n      displayName: 'Netherlands',\n      defaultTimeZoneId: 'Europe/Amsterdam',\n      timeZone: [{\n        timeZoneId: 'Europe/Amsterdam',\n        displayName: '(GMT+02:00) Netherlands Time'\n      }],\n      tosLocale: {\n        language: 'nl',\n        country: 'NL'\n      }\n    }, {\n      countryCode: 'NC',\n      displayName: 'New Caledonia',\n      defaultTimeZoneId: 'Pacific/Noumea',\n      timeZone: [{\n        timeZoneId: 'Pacific/Noumea',\n        displayName: '(GMT+11:00) New Caledonia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'NZ',\n      displayName: 'New Zealand',\n      defaultTimeZoneId: 'Pacific/Auckland',\n      timeZone: [{\n        timeZoneId: 'Pacific/Auckland',\n        displayName: '(GMT+12:00) New Zealand Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'NI',\n      displayName: 'Nicaragua',\n      defaultTimeZoneId: 'America/Managua',\n      timeZone: [{\n        timeZoneId: 'America/Managua',\n        displayName: '(GMT-06:00) Nicaragua Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'NG',\n      displayName: 'Nigeria',\n      defaultTimeZoneId: 'Africa/Lagos',\n      timeZone: [{\n        timeZoneId: 'Africa/Lagos',\n        displayName: '(GMT+01:00) Nigeria Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'NU',\n      displayName: 'Niue',\n      defaultTimeZoneId: 'Pacific/Niue',\n      timeZone: [{\n        timeZoneId: 'Pacific/Niue',\n        displayName: '(GMT-11:00) Niue Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'NF',\n      displayName: 'Norfolk Island',\n      defaultTimeZoneId: 'Pacific/Norfolk',\n      timeZone: [{\n        timeZoneId: 'Pacific/Norfolk',\n        displayName: '(GMT+11:00) Norfolk Island Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'KP',\n      displayName: 'North Korea',\n      defaultTimeZoneId: 'Asia/Pyongyang',\n      timeZone: [{\n        timeZoneId: 'Asia/Pyongyang',\n        displayName: '(GMT+09:00) North Korea Time'\n      }]\n    }, {\n      countryCode: 'MK',\n      displayName: 'North Macedonia',\n      defaultTimeZoneId: 'Europe/Skopje',\n      timeZone: [{\n        timeZoneId: 'Europe/Skopje',\n        displayName: '(GMT+02:00) North Macedonia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'NO',\n      displayName: 'Norway',\n      defaultTimeZoneId: 'Europe/Oslo',\n      timeZone: [{\n        timeZoneId: 'Europe/Oslo',\n        displayName: '(GMT+02:00) Norway Time'\n      }],\n      tosLocale: {\n        language: 'no',\n        country: 'NO'\n      }\n    }, {\n      countryCode: 'PK',\n      displayName: 'Pakistan',\n      defaultTimeZoneId: 'Asia/Karachi',\n      timeZone: [{\n        timeZoneId: 'Asia/Karachi',\n        displayName: '(GMT+05:00) Pakistan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'PW',\n      displayName: 'Palau',\n      defaultTimeZoneId: 'Pacific/Palau',\n      timeZone: [{\n        timeZoneId: 'Pacific/Palau',\n        displayName: '(GMT+09:00) Palau Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'PS',\n      displayName: 'Palestine',\n      defaultTimeZoneId: 'Asia/Gaza',\n      timeZone: [{\n        timeZoneId: 'Asia/Gaza',\n        displayName: '(GMT+03:00) Gaza Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'PA',\n      displayName: 'Panama',\n      defaultTimeZoneId: 'America/Panama',\n      timeZone: [{\n        timeZoneId: 'America/Panama',\n        displayName: '(GMT-05:00) Panama Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'PG',\n      displayName: 'Papua New Guinea',\n      defaultTimeZoneId: 'Pacific/Port_Moresby',\n      timeZone: [{\n        timeZoneId: 'Pacific/Port_Moresby',\n        displayName: '(GMT+10:00) Port Moresby Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'PY',\n      displayName: 'Paraguay',\n      defaultTimeZoneId: 'America/Asuncion',\n      timeZone: [{\n        timeZoneId: 'America/Asuncion',\n        displayName: '(GMT-04:00) Paraguay Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'PE',\n      displayName: 'Peru',\n      defaultTimeZoneId: 'America/Lima',\n      timeZone: [{\n        timeZoneId: 'America/Lima',\n        displayName: '(GMT-05:00) Peru Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'PH',\n      displayName: 'Philippines',\n      defaultTimeZoneId: 'Asia/Manila',\n      timeZone: [{\n        timeZoneId: 'Asia/Manila',\n        displayName: '(GMT+08:00) Philippines Time'\n      }],\n      tosLocale: {\n        language: 'tl',\n        country: 'PH'\n      }\n    }, {\n      countryCode: 'PN',\n      displayName: 'Pitcairn Islands',\n      defaultTimeZoneId: 'Pacific/Pitcairn',\n      timeZone: [{\n        timeZoneId: 'Pacific/Pitcairn',\n        displayName: '(GMT-08:00) Pitcairn Islands Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'PL',\n      displayName: 'Poland',\n      defaultTimeZoneId: 'Europe/Warsaw',\n      timeZone: [{\n        timeZoneId: 'Europe/Warsaw',\n        displayName: '(GMT+02:00) Poland Time'\n      }],\n      tosLocale: {\n        language: 'pl',\n        country: 'PL'\n      }\n    }, {\n      countryCode: 'PT',\n      displayName: 'Portugal',\n      defaultTimeZoneId: 'Atlantic/Azores',\n      timeZone: [{\n        timeZoneId: 'Atlantic/Azores',\n        displayName: '(GMT+00:00) Azores Time'\n      }, {\n        timeZoneId: 'Europe/Lisbon',\n        displayName: '(GMT+01:00) Portugal Time'\n      }],\n      tosLocale: {\n        language: 'pt',\n        country: 'PT'\n      }\n    }, {\n      countryCode: 'PR',\n      displayName: 'Puerto Rico',\n      defaultTimeZoneId: 'America/Puerto_Rico',\n      timeZone: [{\n        timeZoneId: 'America/Puerto_Rico',\n        displayName: '(GMT-04:00) Puerto Rico Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'QA',\n      displayName: 'Qatar',\n      defaultTimeZoneId: 'Asia/Qatar',\n      timeZone: [{\n        timeZoneId: 'Asia/Qatar',\n        displayName: '(GMT+03:00) Qatar Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'RE',\n      displayName: \"R\\xE9union\",\n      defaultTimeZoneId: 'Indian/Reunion',\n      timeZone: [{\n        timeZoneId: 'Indian/Reunion',\n        displayName: \"(GMT+04:00) R\\xE9union Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'RO',\n      displayName: 'Romania',\n      defaultTimeZoneId: 'Europe/Bucharest',\n      timeZone: [{\n        timeZoneId: 'Europe/Bucharest',\n        displayName: '(GMT+03:00) Romania Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'RU',\n      displayName: 'Russia',\n      defaultTimeZoneId: 'Europe/Kaliningrad',\n      timeZone: [{\n        timeZoneId: 'Europe/Kaliningrad',\n        displayName: '(GMT+02:00) Kaliningrad Time'\n      }, {\n        timeZoneId: 'Europe/Moscow',\n        displayName: '(GMT+03:00) Moscow Time'\n      }, {\n        timeZoneId: 'Europe/Samara',\n        displayName: '(GMT+04:00) Samara Time'\n      }, {\n        timeZoneId: 'Asia/Yekaterinburg',\n        displayName: '(GMT+05:00) Yekaterinburg Time'\n      }, {\n        timeZoneId: 'Asia/Omsk',\n        displayName: '(GMT+06:00) Omsk Time'\n      }, {\n        timeZoneId: 'Asia/Krasnoyarsk',\n        displayName: '(GMT+07:00) Krasnoyarsk Time'\n      }, {\n        timeZoneId: 'Asia/Irkutsk',\n        displayName: '(GMT+08:00) Irkutsk Time'\n      }, {\n        timeZoneId: 'Asia/Yakutsk',\n        displayName: '(GMT+09:00) Yakutsk Time'\n      }, {\n        timeZoneId: 'Asia/Vladivostok',\n        displayName: '(GMT+10:00) Vladivostok Time'\n      }, {\n        timeZoneId: 'Asia/Magadan',\n        displayName: '(GMT+11:00) Magadan Time'\n      }, {\n        timeZoneId: 'Asia/Kamchatka',\n        displayName: '(GMT+12:00) Kamchatka Time'\n      }],\n      tosLocale: {\n        language: 'ru',\n        country: 'RU'\n      }\n    }, {\n      countryCode: 'WS',\n      displayName: 'Samoa',\n      defaultTimeZoneId: 'Pacific/Apia',\n      timeZone: [{\n        timeZoneId: 'Pacific/Apia',\n        displayName: '(GMT+13:00) Samoa Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'SM',\n      displayName: 'San Marino',\n      defaultTimeZoneId: 'Europe/San_Marino',\n      timeZone: [{\n        timeZoneId: 'Europe/San_Marino',\n        displayName: '(GMT+02:00) San Marino Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'ST',\n      displayName: \"S\\xE3o Tom\\xE9 & Pr\\xEDncipe\",\n      defaultTimeZoneId: 'Africa/Sao_Tome',\n      timeZone: [{\n        timeZoneId: 'Africa/Sao_Tome',\n        displayName: \"(GMT+00:00) S\\xE3o Tom\\xE9 & Pr\\xEDncipe Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'SA',\n      displayName: 'Saudi Arabia',\n      defaultTimeZoneId: 'Asia/Riyadh',\n      timeZone: [{\n        timeZoneId: 'Asia/Riyadh',\n        displayName: '(GMT+03:00) Saudi Arabia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'RS',\n      displayName: 'Serbia',\n      defaultTimeZoneId: 'Europe/Belgrade',\n      timeZone: [{\n        timeZoneId: 'Europe/Belgrade',\n        displayName: '(GMT+02:00) Serbia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'SC',\n      displayName: 'Seychelles',\n      defaultTimeZoneId: 'Indian/Mahe',\n      timeZone: [{\n        timeZoneId: 'Indian/Mahe',\n        displayName: '(GMT+04:00) Seychelles Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'SG',\n      displayName: 'Singapore',\n      defaultTimeZoneId: 'Asia/Singapore',\n      timeZone: [{\n        timeZoneId: 'Asia/Singapore',\n        displayName: '(GMT+08:00) Singapore Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'SK',\n      displayName: 'Slovakia',\n      defaultTimeZoneId: 'Europe/Bratislava',\n      timeZone: [{\n        timeZoneId: 'Europe/Bratislava',\n        displayName: '(GMT+02:00) Slovakia Time'\n      }],\n      tosLocale: {\n        language: 'sk',\n        country: 'SK'\n      }\n    }, {\n      countryCode: 'SI',\n      displayName: 'Slovenia',\n      defaultTimeZoneId: 'Europe/Ljubljana',\n      timeZone: [{\n        timeZoneId: 'Europe/Ljubljana',\n        displayName: '(GMT+02:00) Slovenia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'SB',\n      displayName: 'Solomon Islands',\n      defaultTimeZoneId: 'Pacific/Guadalcanal',\n      timeZone: [{\n        timeZoneId: 'Pacific/Guadalcanal',\n        displayName: '(GMT+11:00) Solomon Islands Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'ZA',\n      displayName: 'South Africa',\n      defaultTimeZoneId: 'Africa/Johannesburg',\n      timeZone: [{\n        timeZoneId: 'Africa/Johannesburg',\n        displayName: '(GMT+02:00) South Africa Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'GS',\n      displayName: \"South Georgia & South Sandwich Islands\",\n      defaultTimeZoneId: 'Atlantic/South_Georgia',\n      timeZone: [{\n        timeZoneId: 'Atlantic/South_Georgia',\n        displayName: \"(GMT-02:00) South Georgia & South Sandwich Islands Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'KR',\n      displayName: 'South Korea',\n      defaultTimeZoneId: 'Asia/Seoul',\n      timeZone: [{\n        timeZoneId: 'Asia/Seoul',\n        displayName: '(GMT+09:00) South Korea Time'\n      }],\n      tosLocale: {\n        language: 'ko',\n        country: 'KR'\n      }\n    }, {\n      countryCode: 'ES',\n      displayName: 'Spain',\n      defaultTimeZoneId: 'Atlantic/Canary',\n      timeZone: [{\n        timeZoneId: 'Atlantic/Canary',\n        displayName: '(GMT+01:00) Canary Time'\n      }, {\n        timeZoneId: 'Africa/Ceuta',\n        displayName: '(GMT+02:00) Ceuta Time'\n      }, {\n        timeZoneId: 'Europe/Madrid',\n        displayName: '(GMT+02:00) Spain Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'LK',\n      displayName: 'Sri Lanka',\n      defaultTimeZoneId: 'Asia/Colombo',\n      timeZone: [{\n        timeZoneId: 'Asia/Colombo',\n        displayName: '(GMT+05:30) Sri Lanka Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'PM',\n      displayName: \"St. Pierre & Miquelon\",\n      defaultTimeZoneId: 'America/Miquelon',\n      timeZone: [{\n        timeZoneId: 'America/Miquelon',\n        displayName: \"(GMT-02:00) St. Pierre & Miquelon Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'SD',\n      displayName: 'Sudan',\n      defaultTimeZoneId: 'Africa/Khartoum',\n      timeZone: [{\n        timeZoneId: 'Africa/Khartoum',\n        displayName: '(GMT+02:00) Sudan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'SR',\n      displayName: 'Suriname',\n      defaultTimeZoneId: 'America/Paramaribo',\n      timeZone: [{\n        timeZoneId: 'America/Paramaribo',\n        displayName: '(GMT-03:00) Suriname Time'\n      }],\n      tosLocale: {\n        language: 'nl',\n        country: 'NL'\n      }\n    }, {\n      countryCode: 'SJ',\n      displayName: \"Svalbard & Jan Mayen\",\n      defaultTimeZoneId: 'Arctic/Longyearbyen',\n      timeZone: [{\n        timeZoneId: 'Arctic/Longyearbyen',\n        displayName: \"(GMT+02:00) Svalbard & Jan Mayen Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'SE',\n      displayName: 'Sweden',\n      defaultTimeZoneId: 'Europe/Stockholm',\n      timeZone: [{\n        timeZoneId: 'Europe/Stockholm',\n        displayName: '(GMT+02:00) Sweden Time'\n      }],\n      tosLocale: {\n        language: 'sv',\n        country: 'SE'\n      }\n    }, {\n      countryCode: 'CH',\n      displayName: 'Switzerland',\n      defaultTimeZoneId: 'Europe/Zurich',\n      timeZone: [{\n        timeZoneId: 'Europe/Zurich',\n        displayName: '(GMT+02:00) Switzerland Time'\n      }],\n      tosLocale: {\n        language: 'de',\n        country: 'DE'\n      }\n    }, {\n      countryCode: 'SY',\n      displayName: 'Syria',\n      defaultTimeZoneId: 'Asia/Damascus',\n      timeZone: [{\n        timeZoneId: 'Asia/Damascus',\n        displayName: '(GMT+03:00) Syria Time'\n      }]\n    }, {\n      countryCode: 'TW',\n      displayName: 'Taiwan',\n      defaultTimeZoneId: 'Asia/Taipei',\n      timeZone: [{\n        timeZoneId: 'Asia/Taipei',\n        displayName: '(GMT+08:00) Taiwan Time'\n      }],\n      tosLocale: {\n        language: 'zh',\n        country: 'TW'\n      }\n    }, {\n      countryCode: 'TJ',\n      displayName: 'Tajikistan',\n      defaultTimeZoneId: 'Asia/Dushanbe',\n      timeZone: [{\n        timeZoneId: 'Asia/Dushanbe',\n        displayName: '(GMT+05:00) Tajikistan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'TH',\n      displayName: 'Thailand',\n      defaultTimeZoneId: 'Asia/Bangkok',\n      timeZone: [{\n        timeZoneId: 'Asia/Bangkok',\n        displayName: '(GMT+07:00) Thailand Time'\n      }],\n      tosLocale: {\n        language: 'th',\n        country: 'TH'\n      }\n    }, {\n      countryCode: 'TL',\n      displayName: 'Timor-Leste',\n      defaultTimeZoneId: 'Asia/Dili',\n      timeZone: [{\n        timeZoneId: 'Asia/Dili',\n        displayName: '(GMT+09:00) Timor-Leste Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'TK',\n      displayName: 'Tokelau',\n      defaultTimeZoneId: 'Pacific/Fakaofo',\n      timeZone: [{\n        timeZoneId: 'Pacific/Fakaofo',\n        displayName: '(GMT+13:00) Tokelau Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'TO',\n      displayName: 'Tonga',\n      defaultTimeZoneId: 'Pacific/Tongatapu',\n      timeZone: [{\n        timeZoneId: 'Pacific/Tongatapu',\n        displayName: '(GMT+13:00) Tonga Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'TT',\n      displayName: \"Trinidad & Tobago\",\n      defaultTimeZoneId: 'America/Port_of_Spain',\n      timeZone: [{\n        timeZoneId: 'America/Port_of_Spain',\n        displayName: \"(GMT-04:00) Trinidad & Tobago Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'TN',\n      displayName: 'Tunisia',\n      defaultTimeZoneId: 'Africa/Tunis',\n      timeZone: [{\n        timeZoneId: 'Africa/Tunis',\n        displayName: '(GMT+01:00) Tunisia Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'TR',\n      displayName: 'Turkey',\n      defaultTimeZoneId: 'Europe/Istanbul',\n      timeZone: [{\n        timeZoneId: 'Europe/Istanbul',\n        displayName: '(GMT+03:00) Turkey Time'\n      }],\n      tosLocale: {\n        language: 'tr',\n        country: 'TR'\n      }\n    }, {\n      countryCode: 'TM',\n      displayName: 'Turkmenistan',\n      defaultTimeZoneId: 'Asia/Ashgabat',\n      timeZone: [{\n        timeZoneId: 'Asia/Ashgabat',\n        displayName: '(GMT+05:00) Turkmenistan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'TC',\n      displayName: \"Turks & Caicos Islands\",\n      defaultTimeZoneId: 'America/Grand_Turk',\n      timeZone: [{\n        timeZoneId: 'America/Grand_Turk',\n        displayName: \"(GMT-04:00) Turks & Caicos Islands Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'TV',\n      displayName: 'Tuvalu',\n      defaultTimeZoneId: 'Pacific/Funafuti',\n      timeZone: [{\n        timeZoneId: 'Pacific/Funafuti',\n        displayName: '(GMT+12:00) Tuvalu Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'UM',\n      displayName: 'U.S. Outlying Islands',\n      defaultTimeZoneId: 'Pacific/Wake',\n      timeZone: [{\n        timeZoneId: 'Pacific/Wake',\n        displayName: '(GMT+12:00) Wake Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'UA',\n      displayName: 'Ukraine',\n      defaultTimeZoneId: 'Europe/Kiev',\n      timeZone: [{\n        timeZoneId: 'Europe/Kiev',\n        displayName: '(GMT+03:00) Ukraine Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'AE',\n      displayName: 'United Arab Emirates',\n      defaultTimeZoneId: 'Asia/Dubai',\n      timeZone: [{\n        timeZoneId: 'Asia/Dubai',\n        displayName: '(GMT+04:00) United Arab Emirates Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'GB',\n      displayName: 'United Kingdom',\n      defaultTimeZoneId: 'Etc/GMT',\n      timeZone: [{\n        timeZoneId: 'Etc/GMT',\n        displayName: '(GMT+00:00) GMT'\n      }, {\n        timeZoneId: 'Europe/London',\n        displayName: '(GMT+01:00) United Kingdom Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'US',\n      displayName: 'United States',\n      defaultTimeZoneId: 'America/Los_Angeles',\n      timeZone: [{\n        timeZoneId: 'Pacific/Honolulu',\n        displayName: '(GMT-10:00) Honolulu Time'\n      }, {\n        timeZoneId: 'America/Anchorage',\n        displayName: '(GMT-08:00) Anchorage Time'\n      }, {\n        timeZoneId: 'America/Los_Angeles',\n        displayName: '(GMT-07:00) Los Angeles Time'\n      }, {\n        timeZoneId: 'America/Boise',\n        displayName: '(GMT-06:00) Boise Time'\n      }, {\n        timeZoneId: 'America/Denver',\n        displayName: '(GMT-06:00) Denver Time'\n      }, {\n        timeZoneId: 'America/Phoenix',\n        displayName: '(GMT-07:00) Phoenix Time'\n      }, {\n        timeZoneId: 'America/Chicago',\n        displayName: '(GMT-05:00) Chicago Time'\n      }, {\n        timeZoneId: 'America/Detroit',\n        displayName: '(GMT-04:00) Detroit Time'\n      }, {\n        timeZoneId: 'America/New_York',\n        displayName: '(GMT-04:00) New York Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'UY',\n      displayName: 'Uruguay',\n      defaultTimeZoneId: 'America/Montevideo',\n      timeZone: [{\n        timeZoneId: 'America/Montevideo',\n        displayName: '(GMT-03:00) Uruguay Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'UZ',\n      displayName: 'Uzbekistan',\n      defaultTimeZoneId: 'Asia/Tashkent',\n      timeZone: [{\n        timeZoneId: 'Asia/Tashkent',\n        displayName: '(GMT+05:00) Uzbekistan Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'VU',\n      displayName: 'Vanuatu',\n      defaultTimeZoneId: 'Pacific/Efate',\n      timeZone: [{\n        timeZoneId: 'Pacific/Efate',\n        displayName: '(GMT+11:00) Vanuatu Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'US'\n      }\n    }, {\n      countryCode: 'VA',\n      displayName: 'Vatican City',\n      defaultTimeZoneId: 'Europe/Vatican',\n      timeZone: [{\n        timeZoneId: 'Europe/Vatican',\n        displayName: '(GMT+02:00) Vatican City Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'VE',\n      displayName: 'Venezuela',\n      defaultTimeZoneId: 'America/Caracas',\n      timeZone: [{\n        timeZoneId: 'America/Caracas',\n        displayName: '(GMT-04:00) Venezuela Time'\n      }],\n      tosLocale: {\n        language: 'es',\n        country: 'ES'\n      }\n    }, {\n      countryCode: 'VN',\n      displayName: 'Vietnam',\n      defaultTimeZoneId: 'Asia/Saigon',\n      timeZone: [{\n        timeZoneId: 'Asia/Saigon',\n        displayName: '(GMT+07:00) Vietnam Time'\n      }],\n      tosLocale: {\n        language: 'vi',\n        country: 'VN'\n      }\n    }, {\n      countryCode: 'WF',\n      displayName: \"Wallis & Futuna\",\n      defaultTimeZoneId: 'Pacific/Wallis',\n      timeZone: [{\n        timeZoneId: 'Pacific/Wallis',\n        displayName: \"(GMT+12:00) Wallis & Futuna Time\"\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }, {\n      countryCode: 'EH',\n      displayName: 'Western Sahara',\n      defaultTimeZoneId: 'Africa/El_Aaiun',\n      timeZone: [{\n        timeZoneId: 'Africa/El_Aaiun',\n        displayName: '(GMT+01:00) Western Sahara Time'\n      }],\n      tosLocale: {\n        language: 'en',\n        country: 'GB'\n      }\n    }]\n  }\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/countries-data.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/countries-timezones.js":
/*!*************************************************************!*\
  !*** ./js/modules/analytics-4/utils/countries-timezones.js ***!
  \*************************************************************/
/*! exports provided: allCountries, timeZonesByCountryCode, countriesByCode, countryCodesByTimezone */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"allCountries\", function() { return allCountries; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timeZonesByCountryCode\", function() { return timeZonesByCountryCode; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"countriesByCode\", function() { return countriesByCode; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"countryCodesByTimezone\", function() { return countryCodesByTimezone; });\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 _countries_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./countries-data */ \"./js/modules/analytics-4/utils/countries-data.js\");\n/**\n * Country and Time Zone utilities.\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 * Internal dependencies\n */\n\nvar allCountries = _countries_data__WEBPACK_IMPORTED_MODULE_1__[\"countries\"].default.country;\nvar timeZonesByCountryCode = allCountries.reduce(function (map, country) {\n  map[country.countryCode] = country.timeZone;\n  return map;\n}, {});\nvar countriesByCode = Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"keyBy\"])(allCountries, 'countryCode');\nvar countryCodesByTimezone = allCountries.reduce(function (map, country) {\n  country.timeZone.forEach(\n  // eslint-disable-next-line sitekit/acronym-case\n  function (_ref) {\n    var timeZoneId = _ref.timeZoneId;\n    return map[timeZoneId] = country.countryCode;\n  });\n  return map;\n}, {});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL2NvdW50cmllcy10aW1lem9uZXMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL2NvdW50cmllcy10aW1lem9uZXMuanM/MjdlYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvdW50cnkgYW5kIFRpbWUgWm9uZSB1dGlsaXRpZXMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWN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XMucmVkdWNlKCAoIG1hcCwgY291bnRyeSApID0+IHtcblx0bWFwWyBjb3VudHJ5LmNvdW50cnlDb2RlIF0gPSBjb3VudHJ5LnRpbWVab25lO1xuXG5cdHJldHVybiBtYXA7XG59LCB7fSApO1xuXG5leHBvcnQgY29uc3QgY291bnRyaWVzQnlDb2RlID0ga2V5QnkoIGFsbENvdW50cmllcywgJ2NvdW50cnlDb2RlJyApO1xuXG5leHBvcnQgY29uc3QgY291bnRyeUNvZGVzQnlUaW1lem9uZSA9IGFsbENvdW50cmllcy5yZWR1Y2UoICggbWFwLCBjb3VudHJ5ICkgPT4ge1xuXHRjb3VudHJ5LnRpbWVab25lLmZvckVhY2goXG5cdFx0Ly8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIHNpdGVraXQvYWNyb255bS1jYXNlXG5cdFx0KCB7IHRpbWVab25lSWQgfSApID0+ICggbWFwWyB0aW1lWm9uZUlkIF0gPSBjb3VudHJ5LmNvdW50cnlDb2RlIClcblx0KTtcblxuXHRyZXR1cm4gbWFwO1xufSwge30gKTtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBR0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/countries-timezones.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/custom-dimensions.js":
/*!***********************************************************!*\
  !*** ./js/modules/analytics-4/utils/custom-dimensions.js ***!
  \***********************************************************/
/*! exports provided: provideCustomDimensionError, isInvalidCustomDimensionError */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"provideCustomDimensionError\", function() { return provideCustomDimensionError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isInvalidCustomDimensionError\", function() { return isInvalidCustomDimensionError; });\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\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 * Internal dependencies\n */\n\n\n/**\n * Provides custom dimension error data to the given registry.\n *\n * @since 1.113.0\n *\n * @param {Object} registry                The registry to set up.\n * @param {Object} options                 Error options.\n * @param {string} options.customDimension The custom dimension slug.\n * @param {Object} options.error           The error object.\n */\nfunction provideCustomDimensionError(registry, _ref) {\n  var customDimension = _ref.customDimension,\n    error = _ref.error;\n  var propertyID = registry.select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_0__[\"MODULES_ANALYTICS_4\"]).getPropertyID();\n  var options = [propertyID, _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_0__[\"CUSTOM_DIMENSION_DEFINITIONS\"][customDimension]];\n  registry.dispatch(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_0__[\"MODULES_ANALYTICS_4\"]).receiveError(error, 'createCustomDimension', options);\n}\n\n/**\n * Checks whether the given error is an invalid custom dimension error.\n *\n * @since 1.113.0\n *\n * @param {Object} error Error object instance.\n * @return {boolean} `true` if it is an invalid custom dimension error, otherwise `false`.\n */\nfunction isInvalidCustomDimensionError(error) {\n  var _error$message;\n  return (error === null || error === void 0 ? void 0 : error.code) === 400 && (error === null || error === void 0 ? void 0 : (_error$message = error.message) === null || _error$message === void 0 ? void 0 : _error$message.includes('is not a valid dimension'));\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL2N1c3RvbS1kaW1lbnNpb25zLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC91dGlscy9jdXN0b20tZGltZW5zaW9ucy5qcz9iMWUxIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2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QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBREE7QUFFQTtBQUVBO0FBS0E7QUFHQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUlBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/custom-dimensions.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/extract-dashboard-data.js":
/*!****************************************************************!*\
  !*** ./js/modules/analytics-4/utils/extract-dashboard-data.js ***!
  \****************************************************************/
/*! exports provided: extractAnalytics4DashboardData */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"extractAnalytics4DashboardData\", function() { return extractAnalytics4DashboardData; });\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/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__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/* harmony import */ var _js_util_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util/i18n */ \"./js/util/i18n.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _partition_report__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./partition-report */ \"./js/modules/analytics-4/utils/partition-report.js\");\n/* harmony import */ var _parseDimensionStringToDate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./parseDimensionStringToDate */ \"./js/modules/analytics-4/utils/parseDimensionStringToDate.js\");\n\n/**\n * Analytics-4 Dashboard data extraction functions.\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/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n/**\n * Reduces and processes an array of analytics-4 row data.\n *\n * @since 1.96.0\n *\n * @param {Array}  rows          An array of rows to reduce.\n * @param {number} selectedStats The currently selected stat we need to return data for.\n * @return {Array} Array of selected stats from analytics row data.\n */\nfunction reduceAnalytics4RowsData(rows, selectedStats) {\n  var dataMap = [];\n  rows.forEach(function (row) {\n    if (!row.metricValues) {\n      return;\n    }\n    var value = row.metricValues[selectedStats].value;\n    var dateString = row.dimensionValues[0].value;\n    var date = Object(_parseDimensionStringToDate__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(dateString);\n    dataMap.push([date, value]);\n  });\n  return dataMap;\n}\n\n/**\n * Extracts the data required from an analytics 'site-analytics' request.\n *\n * @since 1.96.0\n * @since 1.98.0 Added chartDataFormats parameter.\n *\n * @param {Object} report             The data returned from the Analytics API call.\n * @param {Array}  selectedStats      The currently selected stat we need to return data for.\n * @param {number} days               The number of days to extract data for. Pads empty data days.\n * @param {string} referenceDate      The reference date.\n * @param {Array}  dataLabels         The labels to be displayed.\n * @param {Array}  tooltipDataFormats The formats to be used for the tooltip data.\n * @param {Array}  chartDataFormats   The formats to be used for the chart data.\n * @return {Array} The dataMap ready for charting.\n */\nfunction extractAnalytics4DashboardData(report, selectedStats, days, referenceDate) {\n  var dataLabels = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Users', 'google-site-kit'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Sessions', 'google-site-kit'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Engagement Rate', 'google-site-kit'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Session Duration', 'google-site-kit')];\n  var tooltipDataFormats = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : [function (x) {\n    return parseFloat(x).toLocaleString();\n  }, function (x) {\n    return parseFloat(x).toLocaleString();\n  }, function (x) {\n    return Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"numFmt\"])(x / 100, {\n      style: 'percent',\n      signDisplay: 'never',\n      maximumFractionDigits: 2\n    });\n  }, function (x) {\n    return Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"numFmt\"])(x, 's');\n  }];\n  var chartDataFormats = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : [lodash__WEBPACK_IMPORTED_MODULE_2__[\"identity\"], lodash__WEBPACK_IMPORTED_MODULE_2__[\"identity\"], function (x) {\n    return x * 100;\n  }, lodash__WEBPACK_IMPORTED_MODULE_2__[\"identity\"]];\n  var rows = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()((report === null || report === void 0 ? void 0 : report.rows) || []); // Copying it to escape side effects by manipulating with rows.\n  var rowLength = rows.length;\n\n  // Pad rows to 2 x number of days data points to accommodate new accounts.\n  if (days * 2 > rowLength) {\n    var date = Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"stringToDate\"])(referenceDate);\n    for (var i = 0; days > i; i++) {\n      var month = (date.getMonth() + 1).toString();\n      var day = date.getDate().toString();\n      var dateString = date.getFullYear().toString() + (2 > month.length ? '0' : '') + month + (2 > day.length ? '0' : '') + day;\n      if (i > rowLength) {\n        var emptyDay = [{\n          dimensionValues: [{\n            value: dateString\n          }, {\n            value: 'date_range_0'\n          }],\n          metricValues: [{\n            value: 0\n          }, {\n            value: 0\n          }]\n        }, {\n          dimensionValues: [{\n            value: dateString\n          }, {\n            value: 'date_range_1'\n          }],\n          metricValues: [{\n            value: 0\n          }, {\n            value: 0\n          }]\n        }];\n        rows.unshift.apply(rows, emptyDay);\n      }\n      date.setDate(date.getDate() - 1);\n    }\n    rows.push({\n      dimensionValues: [{\n        value: '0'\n      }, {\n        value: 'date_range_0'\n      }]\n    }, {\n      dimensionValues: [{\n        value: '0'\n      }, {\n        value: 'date_range_1'\n      }]\n    });\n  }\n  var isSessionDuration = dataLabels[selectedStats] === Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Session Duration', 'google-site-kit');\n  var dataType = isSessionDuration ? 'timeofday' : 'number';\n  var dataMap = [[{\n    type: 'date',\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Day', 'google-site-kit')\n  }, {\n    type: 'string',\n    role: 'tooltip',\n    p: {\n      html: true\n    }\n  }, {\n    type: dataType,\n    label: dataLabels[selectedStats]\n  }, {\n    type: dataType,\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Previous period', 'google-site-kit')\n  }]];\n  var _partitionAnalytics4R = Object(_partition_report__WEBPACK_IMPORTED_MODULE_6__[\"partitionAnalytics4Report\"])(rows, {\n      dateRangeLength: days\n    }),\n    compareRange = _partitionAnalytics4R.compareRange,\n    currentRange = _partitionAnalytics4R.currentRange;\n  var lastMonthData = reduceAnalytics4RowsData(currentRange, selectedStats);\n  var previousMonthData = reduceAnalytics4RowsData(compareRange, selectedStats);\n  var locale = Object(_js_util_i18n__WEBPACK_IMPORTED_MODULE_4__[\"getLocale\"])();\n  var localeDateOptions = {\n    weekday: 'short',\n    month: 'short',\n    day: 'numeric'\n  };\n  lastMonthData.forEach(function (row, i) {\n    if (!row[0] || !row[1] || !previousMonthData[i]) {\n      return;\n    }\n    var chartDataFormat = chartDataFormats[selectedStats];\n    var currentMonthDatum = chartDataFormat(row[1]);\n    var previousMonthDatum = chartDataFormat(previousMonthData[i][1]);\n    var prevMonth = parseFloat(previousMonthDatum);\n    var difference = Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"calculateDifferenceBetweenChartValues\"])(currentMonthDatum, prevMonth);\n    var svgArrow = Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"getChartDifferenceArrow\"])(difference);\n    var dateRange = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: 1: date for user stats, 2: previous date for user stats comparison */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"_x\"])('%1$s vs %2$s', 'Date range for chart tooltip', 'google-site-kit'), row[0].toLocaleDateString(locale, localeDateOptions), previousMonthData[i][0].toLocaleDateString(locale, localeDateOptions));\n    var statInfo = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"_x\"])('%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>', 'Stat information for chart tooltip', 'google-site-kit'), dataLabels[selectedStats], tooltipDataFormats[selectedStats](currentMonthDatum), svgArrow, Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"numFmt\"])(Math.abs(difference), '%'));\n    dataMap.push([row[0], \"<div class=\\\"\".concat(classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-visualization-tooltip', {\n      'googlesitekit-visualization-tooltip--up': difference > 0,\n      'googlesitekit-visualization-tooltip--down': difference < 0\n    }), \"\\\">\\n\\t\\t\\t\\t<p>\").concat(dateRange, \"</p>\\n\\t\\t\\t\\t<p>\").concat(statInfo, \"</p>\\n\\t\\t\\t</div>\"), isSessionDuration ? Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"convertSecondsToArray\"])(currentMonthDatum) : currentMonthDatum, isSessionDuration ? Object(_js_util__WEBPACK_IMPORTED_MODULE_5__[\"convertSecondsToArray\"])(previousMonthDatum) : previousMonthDatum]);\n  });\n  return dataMap;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/extract-dashboard-data.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/formatting.js":
/*!****************************************************!*\
  !*** ./js/modules/analytics-4/utils/formatting.js ***!
  \****************************************************/
/*! exports provided: decodeAmpersand, splitCategories */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"decodeAmpersand\", function() { return decodeAmpersand; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"splitCategories\", function() { return splitCategories; });\n/**\n * Formatting helpers.\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\n/**\n * Converts ampersand HTML entities into characters.\n *\n * @since 1.152.0\n *\n * @param {string} input Input string.\n * @return {string} String with ampersand converted to char, if present.\n */\nfunction decodeAmpersand(input) {\n  return input.replace(/&amp;/gi, '&');\n}\n\n/**\n * Splits a string of categories separated by ; and returns an array of categories.\n * Decodes ampersands before doing so.\n *\n * @since 1.152.0\n *\n * @param {string} input Input string containing categories separated by ;.\n * @return {Array.<string>} Array of categories.\n */\nfunction splitCategories(input) {\n  return decodeAmpersand(input).split('; ');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL2Zvcm1hdHRpbmcuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL2Zvcm1hdHRpbmcuanM/MTA2YSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEZvcm1hdHRpbmcgaGVscGVycy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUs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"./js/modules/analytics-4/utils/google-tag.js":
/*!****************************************************!*\
  !*** ./js/modules/analytics-4/utils/google-tag.js ***!
  \****************************************************/
/*! exports provided: getBestTagID */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getBestTagID\", function() { return getBestTagID; });\n/**\n * Google Tag utilities.\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 * Determines the best Google Tag ID to use from the Google Tag IDs array present in a container response.\n *\n * @since 1.98.0\n *\n * @param {Array}  tagIDs        Array of tag IDs.\n * @param {string} measurementID This will be preferred over other tags that start with \"G-\" in the array.\n * @return {string} Gets the best possible Google Tag ID to set in the plugin from an array of Google Tag IDs.\n */\nfunction getBestTagID(tagIDs, measurementID) {\n  // If there is only one tag id in the array, return it.\n  if (tagIDs.length === 1) {\n    return tagIDs[0];\n  }\n\n  // If there are multiple tags, return the first one that starts with `GT-`.\n  var gtTagID = tagIDs.find(function (tagID) {\n    return tagID.substring(0, 3) === 'GT-';\n  });\n  if (gtTagID) {\n    return gtTagID;\n  }\n\n  // Otherwise, return the `measurement_id` if it is in the array.\n  if (tagIDs.includes(measurementID)) {\n    return measurementID;\n  }\n\n  // Otherwise, return the first one that starts with `G-`.\n  var gTagID = tagIDs.find(function (tagID) {\n    return tagID.substring(0, 2) === 'G-';\n  });\n  if (gTagID) {\n    return gTagID;\n  }\n\n  // If none of the above, return the first one.\n  return tagIDs[0];\n}//# sourceURL=[module]\n//# sourceMappingURL=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FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/google-tag.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/index.js":
/*!***********************************************!*\
  !*** ./js/modules/analytics-4/utils/index.js ***!
  \***********************************************/
/*! exports provided: extractAnalyticsDataForPieChart, isSingleSlice, isZeroReport, normalizeReportOptions, isValidMetrics, isValidDimensions, isValidDimensionFilters, isValidMetricFilters, isValidOrders, extractAnalytics4DashboardData, decodeAmpersand, splitCategories */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chart */ \"./js/modules/analytics-4/utils/chart.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"extractAnalyticsDataForPieChart\", function() { return _chart__WEBPACK_IMPORTED_MODULE_0__[\"extractAnalyticsDataForPieChart\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isSingleSlice\", function() { return _chart__WEBPACK_IMPORTED_MODULE_0__[\"isSingleSlice\"]; });\n\n/* harmony import */ var _is_zero_report__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./is-zero-report */ \"./js/modules/analytics-4/utils/is-zero-report.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isZeroReport\", function() { return _is_zero_report__WEBPACK_IMPORTED_MODULE_1__[\"isZeroReport\"]; });\n\n/* harmony import */ var _report_normalization__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./report-normalization */ \"./js/modules/analytics-4/utils/report-normalization.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"normalizeReportOptions\", function() { return _report_normalization__WEBPACK_IMPORTED_MODULE_2__[\"normalizeReportOptions\"]; });\n\n/* harmony import */ var _report_validation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./report-validation */ \"./js/modules/analytics-4/utils/report-validation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidMetrics\", function() { return _report_validation__WEBPACK_IMPORTED_MODULE_3__[\"isValidMetrics\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidDimensions\", function() { return _report_validation__WEBPACK_IMPORTED_MODULE_3__[\"isValidDimensions\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidDimensionFilters\", function() { return _report_validation__WEBPACK_IMPORTED_MODULE_3__[\"isValidDimensionFilters\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidMetricFilters\", function() { return _report_validation__WEBPACK_IMPORTED_MODULE_3__[\"isValidMetricFilters\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidOrders\", function() { return _report_validation__WEBPACK_IMPORTED_MODULE_3__[\"isValidOrders\"]; });\n\n/* harmony import */ var _extract_dashboard_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./extract-dashboard-data */ \"./js/modules/analytics-4/utils/extract-dashboard-data.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"extractAnalytics4DashboardData\", function() { return _extract_dashboard_data__WEBPACK_IMPORTED_MODULE_4__[\"extractAnalytics4DashboardData\"]; });\n\n/* harmony import */ var _formatting__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./formatting */ \"./js/modules/analytics-4/utils/formatting.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"decodeAmpersand\", function() { return _formatting__WEBPACK_IMPORTED_MODULE_5__[\"decodeAmpersand\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"splitCategories\", function() { return _formatting__WEBPACK_IMPORTED_MODULE_5__[\"splitCategories\"]; });\n\n/**\n * Analytics 4 utility functions.\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\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC91dGlscy9pbmRleC5qcz8yZjFjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQW5hbHl0aWNzIDQgdXRpbGl0eSBmdW5jdGlvbnMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJp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ack-internal:///./js/modules/analytics-4/utils/index.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/is-zero-report.js":
/*!********************************************************!*\
  !*** ./js/modules/analytics-4/utils/is-zero-report.js ***!
  \********************************************************/
/*! exports provided: isZeroReport */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isZeroReport\", function() { return isZeroReport; });\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/**\n * Report utilities.\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 * Checks whether the report data has only zero values.\n *\n * @since 1.95.0\n *\n * @param {Object} report Report data object.\n * @return {(boolean|undefined)} Returns TRUE if the report data is empty or has only zero values, FALSE if there is at least one non-zero value, or undefined if the report data is not resolved yet.\n */\nfunction isZeroReport(report) {\n  var _report$totals;\n  if (report === undefined) {\n    return undefined;\n  }\n\n  // If there is no rows array, no totals array, or totals is an array of empty objects, this is an empty report.\n  if (!(report === null || report === void 0 ? void 0 : report.rows) || !(report === null || report === void 0 ? void 0 : report.totals) || (report === null || report === void 0 ? void 0 : (_report$totals = report.totals) === null || _report$totals === void 0 ? void 0 : _report$totals.every(lodash__WEBPACK_IMPORTED_MODULE_0__[\"isEmpty\"]))) {\n    return true;\n  }\n\n  // false means there _is_ some report data\n  return !report.totals.some(function (totals) {\n    if (!totals.metricValues) {\n      return false;\n    }\n    return totals.metricValues.some(function (_ref) {\n      var value = _ref.value;\n      return value > 0;\n    });\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL2lzLXplcm8tcmVwb3J0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC91dGlscy9pcy16ZXJvLXJlcG9ydC5qcz82ZDdiIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogUmVwb3J0IHV0aWxpdGllcy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJR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9ydC5cblx0aWYgKFxuXHRcdCEgcmVwb3J0Py5yb3dzIHx8XG5cdFx0ISByZXBvcnQ/LnRvdGFscyB8fFxuXHRcdHJlcG9ydD8udG90YWxzPy5ldmVyeSggaXNFbXB0eSApXG5cdCkge1xuXHRcdHJldHVybiB0cnVlO1xuXHR9XG5cblx0Ly8gZmFsc2UgbWVhbnMgdGhlcmUgX2lzXyBzb21lIHJlcG9ydCBkYXRhXG5cdHJldHVybiAhIHJlcG9ydC50b3RhbHMuc29tZSggKCB0b3RhbHMgKSA9PiB7XG5cdFx0aWYgKCAhIHRvdGFscy5tZXRyaWNWYWx1ZXMgKSB7XG5cdFx0XHRyZXR1cm4gZmFsc2U7XG5cdFx0fVxuXG5cdFx0cmV0dXJuIHRvdGFscy5tZXRyaWNWYWx1ZXMuc29tZSggKCB7IHZhbHVlIH0gKSA9PiB2YWx1ZSA+IDAgKTtcblx0fSApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUtBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/is-zero-report.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/overall-page-metrics.js":
/*!**************************************************************!*\
  !*** ./js/modules/analytics-4/utils/overall-page-metrics.js ***!
  \**************************************************************/
/*! exports provided: calculateOverallPageMetricsData */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"calculateOverallPageMetricsData\", function() { return calculateOverallPageMetricsData; });\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _parseDimensionStringToDate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./parseDimensionStringToDate */ \"./js/modules/analytics-4/utils/parseDimensionStringToDate.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * Overall Page Metrics utility functions.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n/**\n * Parse Analytics 4 report into data suitable for rendering the data blocks in the Overall Page Metrics widget.\n *\n * @typedef {Object} OverallPageMetricsData\n * @property {string}         metric          - Google Analytics metric identifier.\n * @property {string}         title           - Translated metric title.\n * @property {Array.<Object>} sparkLineData   - Data for rendering the sparkline.\n * @property {string}         [datapointUnit] - Optional datapoint unit, e.g. '%', 's'.\n * @property {number}         total           - Total count for the metric.\n * @property {number}         change          - Monthly change for the metric.\n *\n * @since 1.96.0\n *\n * @param {Object} report    Analytics report data.\n * @param {string} startDate Start date for the report.\n * @return {Array.<OverallPageMetricsData>} Array of data for rendering the data blocks in the Overall Page Metrics widget.\n */\n\nfunction calculateOverallPageMetricsData(report, startDate) {\n  var _totals$, _totals$2;\n  var metricsData = [{\n    metric: 'screenPageViews',\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Pageviews', 'google-site-kit'),\n    sparkLineData: [[{\n      type: 'date',\n      label: 'Day'\n    }, {\n      type: 'number',\n      label: 'Pageviews'\n    }]],\n    total: 0,\n    change: 0\n  }, {\n    metric: 'sessions',\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Sessions', 'google-site-kit'),\n    sparkLineData: [[{\n      type: 'date',\n      label: 'Day'\n    }, {\n      type: 'number',\n      label: 'Sessions'\n    }]],\n    total: 0,\n    change: 0\n  }, {\n    metric: 'engagementRate',\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Engagement Rate', 'google-site-kit'),\n    sparkLineData: [[{\n      type: 'date',\n      label: 'Day'\n    }, {\n      type: 'number',\n      label: 'Engagement Rate'\n    }]],\n    datapointUnit: '%',\n    total: 0,\n    change: 0\n  }, {\n    metric: 'averageSessionDuration',\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Session Duration', 'google-site-kit'),\n    sparkLineData: [[{\n      type: 'date',\n      label: 'Day'\n    }, {\n      type: 'number',\n      label: 'Session Duration'\n    }]],\n    datapointUnit: 's',\n    total: 0,\n    change: 0\n  }];\n  var _ref = report || {},\n    _ref$totals = _ref.totals,\n    totals = _ref$totals === void 0 ? [] : _ref$totals,\n    _ref$rows = _ref.rows,\n    rows = _ref$rows === void 0 ? [] : _ref$rows;\n  var lastMonth = ((_totals$ = totals[0]) === null || _totals$ === void 0 ? void 0 : _totals$.metricValues) || [];\n  var previousMonth = ((_totals$2 = totals[1]) === null || _totals$2 === void 0 ? void 0 : _totals$2.metricValues) || [];\n  var startDateTime = Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"stringToDate\"])(startDate).getTime();\n  var currentDateRangeRows = rows.filter(function (_ref2) {\n    var dimensionValues = _ref2.dimensionValues;\n    if (dimensionValues[1].value !== 'date_range_0') {\n      return false;\n    }\n\n    // We only want half of the date range, as having a comparison date range in the query doubles the range.\n    // In order to achieve this, we filter out entries before the start date (the comparison start date will be earlier).\n    var rowDate = Object(_parseDimensionStringToDate__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(dimensionValues[0].value);\n    return rowDate.getTime() >= startDateTime;\n  });\n  return metricsData.map(function (_ref3, index) {\n    var _lastMonth$index, _previousMonth$index, _lastMonth$index2;\n    var _ref3$datapointDivide = _ref3.datapointDivider,\n      datapointDivider = _ref3$datapointDivide === void 0 ? 1 : _ref3$datapointDivide,\n      metricData = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default()(_ref3, [\"datapointDivider\"]);\n    currentDateRangeRows.forEach(function (_ref4) {\n      var dimensionValues = _ref4.dimensionValues,\n        metricValues = _ref4.metricValues;\n      var dateString = dimensionValues[0].value;\n      var date = Object(_parseDimensionStringToDate__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(dateString);\n      metricData.sparkLineData.push([date, metricValues[index].value]);\n    });\n    metricData.total = (((_lastMonth$index = lastMonth[index]) === null || _lastMonth$index === void 0 ? void 0 : _lastMonth$index.value) || 0) / datapointDivider;\n    metricData.change = Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"calculateChange\"])(((_previousMonth$index = previousMonth[index]) === null || _previousMonth$index === void 0 ? void 0 : _previousMonth$index.value) || 0, ((_lastMonth$index2 = lastMonth[index]) === null || _lastMonth$index2 === void 0 ? void 0 : _lastMonth$index2.value) || 0);\n    return metricData;\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/overall-page-metrics.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/parseDimensionStringToDate.js":
/*!********************************************************************!*\
  !*** ./js/modules/analytics-4/utils/parseDimensionStringToDate.js ***!
  \********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * `parseDimensionStringToDate` utility.\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 * Converts a dimnension string date into a Date object accounting for differences in timezones.\n *\n * @since 1.10.0\n * @since 1.123.0 Migrated from analytics to analytics-4.\n * @private\n *\n * @param {string} dateString String representing the date in the format of `YYYYMMDD`.\n * @return {(Date|boolean)} Object representing the date passed, or false if parsing fails or a non-string is passed.\n */\nfunction parseDimensionStringToDate(dateString) {\n  if ('string' === typeof dateString && dateString.match(/[0-9]{8}/)) {\n    var year = dateString.slice(0, 4);\n    var monthIndex = Number(dateString.slice(4, 6)) - 1;\n    var day = dateString.slice(6, 8);\n    return new Date(year, monthIndex.toString(), day);\n  }\n  return false;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (parseDimensionStringToDate);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL3BhcnNlRGltZW5zaW9uU3RyaW5nVG9EYXRlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC91dGlscy9wYXJzZURpbWVuc2lvblN0cmluZ1RvRGF0ZS5qcz84MTZkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHBhcnNlRGltZW5zaW9uU3RyaW5nVG9EYXRlYCB1dGlsaXR5LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUy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PSBOdW1iZXIoIGRhdGVTdHJpbmcuc2xpY2UoIDQsIDYgKSApIC0gMTtcblx0XHRjb25zdCBkYXkgPSBkYXRlU3RyaW5nLnNsaWNlKCA2LCA4ICk7XG5cdFx0cmV0dXJuIG5ldyBEYXRlKCB5ZWFyLCBtb250aEluZGV4LnRvU3RyaW5nKCksIGRheSApO1xuXHR9XG5cdHJldHVybiBmYWxzZTtcbn1cblxuZXhwb3J0IGRlZmF1bHQgcGFyc2VEaW1lbnNpb25TdHJpbmdUb0RhdGU7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/parseDimensionStringToDate.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/partition-report.js":
/*!**********************************************************!*\
  !*** ./js/modules/analytics-4/utils/partition-report.js ***!
  \**********************************************************/
/*! exports provided: partitionAnalytics4Report */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"partitionAnalytics4Report\", function() { return partitionAnalytics4Report; });\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\n/**\n * Analytics-4 partition report utility.\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 * Splits report data into segments for current and comparison ranges.\n *\n * @since 1.96.0\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 partitionAnalytics4Report(report, _ref) {\n  var dateRangeLength = _ref.dateRangeLength;\n  invariant__WEBPACK_IMPORTED_MODULE_1___default()(Array.isArray(report), 'report must be an array to partition.');\n  invariant__WEBPACK_IMPORTED_MODULE_1___default()(Number.isInteger(dateRangeLength) && dateRangeLength > 0, 'dateRangeLength must be a positive integer.');\n  function getRowsForDateRange(dateRange) {\n    // Filter the report to get only rows that match the given date range.\n    return report.filter(function (_ref2) {\n      var _ref2$dimensionValues = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref2.dimensionValues, 2),\n        dateValue = _ref2$dimensionValues[1];\n      return dateValue.value === dateRange;\n    });\n  }\n\n  // Use a negative date range length for reverse slicing.\n  var reverseDateRangeLength = -1 * dateRangeLength;\n\n  // Get the rows for the current date range and the compare date range.\n  // The current range should always be sliced from the end.\n  var currentRange = getRowsForDateRange('date_range_0').slice(reverseDateRangeLength);\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  var compareRange = getRowsForDateRange('date_range_1').slice(reverseDateRangeLength * 2, reverseDateRangeLength);\n  return {\n    currentRange: currentRange,\n    compareRange: compareRange\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL3BhcnRpdGlvbi1yZXBvcnQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL3BhcnRpdGlvbi1yZXBvcnQuanM/ZWM5ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFuYWx5dGljcy00IHBhcnRpdGlvbiByZXBvcnQgdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGlu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pack-internal:///./js/modules/analytics-4/utils/partition-report.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/report-args.js":
/*!*****************************************************!*\
  !*** ./js/modules/analytics-4/utils/report-args.js ***!
  \*****************************************************/
/*! exports provided: generateReportDetailArgs, generateReportFilterArgs */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"generateReportDetailArgs\", function() { return generateReportDetailArgs; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"generateReportFilterArgs\", function() { return generateReportFilterArgs; });\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_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__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 _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n\n\n/**\n * Google Analytics 4 report argument utilities.\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/**\n * Internal dependencies\n */\n\n\n/**\n * Generates a set of report detail arguments for a Google Analytics 4 report.\n *\n * @since 1.98.0\n *\n * @param {Object} details Report details.\n * @return {Object} Report detail arguments.\n */\nfunction generateReportDetailArgs(details) {\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(details), 'A valid details object is required.');\n  var metric = details.metric,\n    dimension = details.dimension;\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(!metric || typeof metric === 'string', 'A valid metric string is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(!dimension || typeof dimension === 'string', 'A valid dimension string is required.');\n  if (Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isEmpty\"])(details)) {\n    return {};\n  }\n  var detailArgs = {};\n  if (metric) {\n    detailArgs[_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_4__[\"REPORT_ARGS_SELECTED_METRIC_KEY\"]] = JSON.stringify([metric]);\n  }\n  if (dimension) {\n    detailArgs[_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_4__[\"REPORT_ARGS_SELECTED_DIMENSION_KEY\"]] = JSON.stringify([dimension]);\n  }\n  return detailArgs;\n}\n\n/**\n * Generates a set of report filter arguments for a Google Analytics 4 report.\n *\n * @since 1.98.0\n *\n * @param {Object} filters Report filters.\n * @return {Object} Report filter arguments.\n */\nfunction generateReportFilterArgs(filters) {\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(filters), 'A valid filters object is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(Reflect.ownKeys(filters).every(function (dimensionName) {\n    var dimensionValue = filters[dimensionName];\n    return typeof dimensionName === 'string' && typeof dimensionValue === 'string';\n  }), 'A valid set of dimension names and values is required.');\n  if (Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isEmpty\"])(filters)) {\n    return {};\n  }\n  var dataFilters = Object.entries(filters).map(function (_ref) {\n    var _ref2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_ref, 2),\n      dimensionName = _ref2[0],\n      dimensionValue = _ref2[1];\n    return {\n      type: 1,\n      fieldName: dimensionName,\n      evaluationType: 1,\n      expressionList: [dimensionValue],\n      complement: false,\n      isCaseSensitive: true,\n      expression: ''\n    };\n  });\n  return _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_4__[\"REPORT_ARGS_DATA_FILTERS_KEY\"], JSON.stringify(dataFilters));\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/report-args.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/report-date-range-args.js":
/*!****************************************************************!*\
  !*** ./js/modules/analytics-4/utils/report-date-range-args.js ***!
  \****************************************************************/
/*! exports provided: generateDateRangeArgs */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"generateDateRangeArgs\", function() { return generateDateRangeArgs; });\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/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/**\n * Report date range args utils.\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 * Internal dependencies\n */\n\n\n/**\n * Generates an object with the appropriate structure to pass to report selectors.\n *\n * @since 1.27.0\n * @since 1.123.0 Migrated from analytics to analytics-4.\n *\n * @param {Object} dates                    Object containing the dates.\n * @param {string} dates.startDate          Start date in YYYY-MM-DD format.\n * @param {string} dates.endDate            End date in YYYY-MM-DD format.\n * @param {string} [dates.compareStartDate] Optional. Start date in YYYY-MM-DD format.\n * @param {string} [dates.compareEndDate]   Optional. End date in YYYY-MM-DD format.\n * @return {Object} Date range object.\n */\nfunction generateDateRangeArgs(dates) {\n  var startDate = dates.startDate,\n    endDate = dates.endDate,\n    compareStartDate = dates.compareStartDate,\n    compareEndDate = dates.compareEndDate;\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_js_util__WEBPACK_IMPORTED_MODULE_1__[\"isValidDateString\"])(startDate), 'A valid startDate is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_js_util__WEBPACK_IMPORTED_MODULE_1__[\"isValidDateString\"])(endDate), 'A valid endDate is required.');\n  var range = {\n    '_u.date00': startDate.replace(/-/g, ''),\n    '_u.date01': endDate.replace(/-/g, '')\n  };\n  if (compareStartDate || compareEndDate) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_js_util__WEBPACK_IMPORTED_MODULE_1__[\"isValidDateString\"])(compareStartDate) && Object(_js_util__WEBPACK_IMPORTED_MODULE_1__[\"isValidDateString\"])(compareEndDate), 'Valid compareStartDate and compareEndDate values are required.');\n    range['_u.date10'] = compareStartDate.replace(/-/g, '');\n    range['_u.date11'] = compareEndDate.replace(/-/g, '');\n  }\n  return range;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL3JlcG9ydC1kYXRlLXJhbmdlLWFyZ3MuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL3JlcG9ydC1kYXRlLXJhbmdlLWFyZ3MuanM/N2VhYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcG9ydCBkYXRlIHJhbmdlIGFyZ3MgdXRpbHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdS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\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/report-date-range-args.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/report-normalization.js":
/*!**************************************************************!*\
  !*** ./js/modules/analytics-4/utils/report-normalization.js ***!
  \**************************************************************/
/*! exports provided: normalizeReportOptions */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"normalizeReportOptions\", function() { return normalizeReportOptions; });\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 memize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! memize */ \"../node_modules/memize/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(memize__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\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 * Analytics 4 report normalization utilities.\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 * Normalizes report options.\n *\n * @since 1.94.0\n *\n * @param {Object} options Report options object.\n * @return {Object} Normalized options object.\n */\nvar normalizeReportOptions = memize__WEBPACK_IMPORTED_MODULE_2___default()(function () {\n  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n    metrics = _ref.metrics,\n    dimensions = _ref.dimensions,\n    options = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"metrics\", \"dimensions\"]);\n  return _objectSpread({\n    metrics: normalizeMetrics(metrics),\n    dimensions: normalizeDimensions(dimensions)\n  }, options);\n});\nfunction normalizeMetrics(metrics) {\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"castArray\"])(metrics).map(function (metric) {\n    return typeof metric === 'string' ? {\n      name: metric\n    } : metric;\n  }).filter(function (metric) {\n    return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(metric);\n  });\n}\nfunction normalizeDimensions(dimensions) {\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"castArray\"])(dimensions).map(function (dimension) {\n    return typeof dimension === 'string' ? {\n      name: dimension\n    } : dimension;\n  }).filter(function (dimension) {\n    return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(dimension);\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL3JlcG9ydC1ub3JtYWxpemF0aW9uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC91dGlscy9yZXBvcnQtbm9ybWFsaXphdGlvbi5qcz83YmQ0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQW5hbHl0aWNzIDQgcmVwb3J0IG5vcm1hbGl6YXRpb24gdXRpbGl0aWVzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIEx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O0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFHQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFFQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFFQTtBQUFBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/report-normalization.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/report-rows-with-set-values.js":
/*!*********************************************************************!*\
  !*** ./js/modules/analytics-4/utils/report-rows-with-set-values.js ***!
  \*********************************************************************/
/*! exports provided: reportRowsWithSetValues */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reportRowsWithSetValues\", function() { return reportRowsWithSetValues; });\n/**\n * Utility to filter out Analytics report rows which don't have a value set.\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\nfunction reportRowsWithSetValues(rows) {\n  var maxRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;\n  var rowsWithSetValues = rows.filter(function (_ref) {\n    var dimensionValues = _ref.dimensionValues;\n    return dimensionValues[0].value !== '(not set)' && dimensionValues[0].value !== '';\n  });\n  return rowsWithSetValues.slice(0, maxRows);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ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4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgZnVuY3Rpb24gcmVwb3J0Um93c1dpdGhTZXRWYWx1ZXMoIHJvd3MsIG1heFJvd3MgPSAzICkge1xuXHRjb25zdCByb3dzV2l0aFNldFZhbHVlcyA9IHJvd3MuZmlsdGVyKFxuXHRcdCggeyBkaW1lbnNpb25WYWx1ZXMgfSApID0+XG5cdFx0XHRkaW1lbnNpb25WYWx1ZXNbIDAgXS52YWx1ZSAhPT0gJyhub3Qgc2V0KScgJiZcblx0XHRcdGRpbWVuc2lvblZhbHVlc1sgMCBdLnZhbHVlICE9PSAnJ1xuXHQpO1xuXG5cdHJldHVybiByb3dzV2l0aFNldFZhbHVlcy5zbGljZSggMCwgbWF4Um93cyApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUVBO0FBR0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/report-rows-with-set-values.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/report-validation.js":
/*!***********************************************************!*\
  !*** ./js/modules/analytics-4/utils/report-validation.js ***!
  \***********************************************************/
/*! exports provided: isValidMetrics, isValidDimensions, isValidDimensionFilters, isValidMetricFilters, isValidOrders */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidMetrics\", function() { return isValidMetrics; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDimensions\", function() { return isValidDimensions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDimensionFilters\", function() { return isValidDimensionFilters; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidMetricFilters\", function() { return isValidMetricFilters; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidOrders\", function() { return isValidOrders; });\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 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 _js_util_report_validation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/util/report-validation */ \"./js/util/report-validation.js\");\n\n/**\n * Analytics 4 reporting API validation utilities.\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/* eslint complexity: [ \"error\", 17 ] */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n/**\n * Verifies that provided metrics match allowed values. Metrics can be a string,\n * an array of string, an array of objects or mix of strings and objects.\n * Objects must have a \"name\" property that matches the regex `/^[a-zA-Z0-9_]+$/`\n * to be valid. Objects can optionally include an \"expression\" property.\n *\n * When a single string is provided, it must be a metric name or a comma-separated\n * list of metric names.\n *\n * A metric name must match the regular expression `/^[a-zA-Z0-9_]+$/`.\n *\n * @since 1.94.0\n * @since 1.98.0 Added a regular expression to validate metric names, in keeping with the GA4 API.\n *\n * @param {string|string[]|Object|Object[]} metrics The metrics to check.\n * @return {boolean} TRUE if metrics are valid, otherwise FALSE.\n */\nfunction isValidMetrics(metrics) {\n  function isValidName(metricName) {\n    return typeof metricName === 'string' && /^[a-zA-Z0-9_]+$/.test(metricName);\n  }\n  if (typeof metrics === 'string') {\n    var metricNames = metrics.split(',');\n    return metricNames.every(isValidName);\n  }\n  return Object(_js_util_report_validation__WEBPACK_IMPORTED_MODULE_2__[\"isValidStringsOrObjects\"])(metrics, function (metric) {\n    var validName = metric.hasOwnProperty('name') && isValidName(metric.name);\n\n    // 'expression' is optional, so if it wasn't provided, we can\n    // return early.\n    if (!metric.hasOwnProperty('expression')) {\n      return validName;\n    }\n\n    // 'expression', if provided, must be a string.\n    var validExpression = typeof metric.expression === 'string';\n    return validName && validExpression;\n  }, isValidName);\n}\n\n/**\n * Verifies provided dimensions to make sure it matches allowed values. It can be a string,\n * array of strings, an object with \"name\" field, array of such objects or an array of strings\n * and objects.\n *\n * @since 1.94.0\n *\n * @param {string|string[]|Object|Object[]} dimensions The dimensions to check.\n * @return {boolean} TRUE if dimensions are valid, otherwise FALSE.\n */\nfunction isValidDimensions(dimensions) {\n  return Object(_js_util_report_validation__WEBPACK_IMPORTED_MODULE_2__[\"isValidStringsOrObjects\"])(dimensions, function (dimension) {\n    return dimension.hasOwnProperty('name') && typeof dimension.name === 'string';\n  });\n}\n\n/**\n * Verifies provided dimensionFilters to make sure they match allowed values found in dimensions.\n *\n * @since 1.94.0\n *\n * @param {Object} filters The dimension filters to check.\n * @return {boolean} TRUE if dimension filters are valid, otherwise FALSE.\n */\nfunction isValidDimensionFilters(filters) {\n  // Ensure every dimensionFilter key corresponds to a valid dimension.\n  var validType = ['string'];\n  return Object.keys(filters).every(function (dimension) {\n    if (validType.includes(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(filters[dimension]))) {\n      return true;\n    }\n    if (Array.isArray(filters[dimension])) {\n      return filters[dimension].every(function (param) {\n        return validType.includes(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(param));\n      });\n    }\n    if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(filters[dimension])) {\n      var props = Object.keys(filters[dimension]);\n      if (!props.includes('filterType')) {\n        return false;\n      }\n      if (filters[dimension].filterType !== 'emptyFilter' && !props.includes('value')) {\n        return false;\n      }\n      return true;\n    }\n    return false;\n  });\n}\n\n/**\n * Verifies provided metricFilters to make sure they match allowed values found in metrics and supported filters.\n *\n * @since 1.111.0\n *\n * @param {Object} filters The metric filters to check.\n * @return {boolean} TRUE if dimension filters are valid, otherwise FALSE.\n */\nfunction isValidMetricFilters(filters) {\n  var validType = ['string'];\n  var allowedFilterTypes = ['numericFilter', 'betweenFilter'];\n  return Object.values(filters).every(function (filter) {\n    if (validType.includes(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(filter))) {\n      return true;\n    }\n    if (Array.isArray(filter)) {\n      return filter.every(function (param) {\n        return validType.includes(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(param));\n      });\n    }\n    if (!Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(filter)) {\n      return false;\n    }\n    var filterType = filter.filterType,\n      value = filter.value,\n      fromValue = filter.fromValue,\n      toValue = filter.toValue; // Validate filterType if present\n    if (filterType && !allowedFilterTypes.includes(filterType)) {\n      return false;\n    }\n    var props = Object.keys(filter);\n\n    // Numeric Filter (default if filterType is missing)\n    if (!filterType || filterType === 'numericFilter') {\n      return props.includes('operation') && props.includes('value') && (!Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(value) || 'int64Value' in value);\n    }\n\n    // Between Filter\n    if (filterType === 'betweenFilter') {\n      return props.includes('fromValue') && props.includes('toValue') && [fromValue, toValue].every(function (val) {\n        return !Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(val) || 'int64Value' in val;\n      });\n    }\n    return false;\n  });\n}\n\n/**\n * Verifies that order definitions are valid for a report. It should be an array\n * of objects where each object has either a \"metric\" or a \"dimension\" property,\n * and an optional \"desc\" property. The \"metric\" and \"dimension\" properties should\n * be objects with \"metricName\" and \"dimensionName\" properties respectively.\n *\n * @since 1.95.0\n *\n * @param {Object[]} orders The order definitions to check.\n * @return {boolean} TRUE if order definitions are valid, otherwise FALSE.\n */\nfunction isValidOrders(orders) {\n  if (!Array.isArray(orders)) {\n    return false;\n  }\n  return orders.every(function (order) {\n    if (!Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(order)) {\n      return false;\n    }\n    if (order.hasOwnProperty('desc') && typeof order.desc !== 'boolean') {\n      return false;\n    }\n    if (order.metric) {\n      var _order$metric;\n      return !order.dimension && typeof ((_order$metric = order.metric) === null || _order$metric === void 0 ? void 0 : _order$metric.metricName) === 'string';\n    }\n    if (order.dimension) {\n      var _order$dimension;\n      return typeof ((_order$dimension = order.dimension) === null || _order$dimension === void 0 ? void 0 : _order$dimension.dimensionName) === 'string';\n    }\n    return false;\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/report-validation.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/tag-matchers.js":
/*!******************************************************!*\
  !*** ./js/modules/analytics-4/utils/tag-matchers.js ***!
  \******************************************************/
/*! exports provided: getTagMatchers, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getTagMatchers\", function() { return getTagMatchers; });\n/**\n * Tag matching patterns.\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 * Returns GA4 tag matchers.\n *\n * @since 1.35.0\n *\n * @return {Array.<RegExp>} Array of RegExp objects.\n */\nfunction getTagMatchers() {\n  var tagMatchers = [/__gaTracker\\s*\\(\\s*['|\"]create['|\"]\\s*,\\s*['|\"](G-[a-zA-Z0-9]+)['|\"], ?['|\"]auto['|\"]\\s*\\)/i, /_gaq\\.push\\s*\\(\\s*\\[\\s*['|\"][^_]*_setAccount['|\"]\\s*,\\s*['|\"](G-[a-zA-Z0-9]+)['|\"]\\s*],?\\s*\\)/i, /<amp-analytics\\s+[^>]*type=\"gtag\"[^>]*>[^<]*<script\\s+type=\"application\\/json\">[^<]*\"gtag_id\"\\s*:\\s*\"(G-[a-zA-Z0-9]+)\"/i, /<amp-analytics\\s+[^>]*type=\"googleanalytics\"[^>]*>[^<]*<script\\s+type=\"application\\/json\">[^<]*\"account\"\\s*:\\s*\"(G-[a-zA-Z0-9]+)\"/i];\n  for (var _i = 0, _arr = ['', 'www\\\\.']; _i < _arr.length; _i++) {\n    var subdomain = _arr[_i];\n    tagMatchers.push(new RegExp(\"<script\\\\s+[^>]*src=['|\\\"]https?://\".concat(subdomain, \"googletagmanager\\\\.com/gtag/js\\\\?id=(G-[a-zA-Z0-9]+)['|\\\"][^>]*></script>\"), 'i'), new RegExp(\"<script\\\\s+[^>]*src=['|\\\"]https?://\".concat(subdomain, \"googletagmanager\\\\.com/gtag/js\\\\?id=(G-[a-zA-Z0-9]+)['|\\\"][^/]*/>\"), 'i'));\n  }\n  for (var _i2 = 0, _arr2 = ['__gaTracker', 'ga', 'gtag']; _i2 < _arr2.length; _i2++) {\n    var func = _arr2[_i2];\n    tagMatchers.push(new RegExp(\"\".concat(func, \"\\\\s*\\\\(\\\\s*['|\\\"]create['|\\\"]\\\\s*,\\\\s*['|\\\"](G-[a-zA-Z0-9]+)['|\\\"],\\\\s*['|\\\"]auto['|\\\"]\\\\s*\\\\)\"), 'i'), new RegExp(\"\".concat(func, \"\\\\s*\\\\(\\\\s*['|\\\"]config['|\\\"]\\\\s*,\\\\s*['|\\\"](G-[a-zA-Z0-9]+)['|\\\"]\\\\s*\\\\)\"), 'i'));\n  }\n  return tagMatchers;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (getTagMatchers());//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL3RhZy1tYXRjaGVycy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvdXRpbHMvdGFnLW1hdGNoZXJzLmpzPzM2M2QiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUYWcgbWF0Y2hpbmcgcGF0dGVybnMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZ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************************************************!*\
  !*** ./js/modules/analytics-4/utils/validation.js ***!
  \****************************************************/
/*! exports provided: isValidAccountSelection, isValidAccountID, isValidPropertyID, isValidPropertySelection, isValidWebDataStreamID, isValidWebDataStreamSelection, isValidWebDataStreamName, isValidMeasurementID, isValidGoogleTagID, isValidGoogleTagAccountID, isValidGoogleTagContainerID, validateReport, validateAudience */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountSelection\", function() { return isValidAccountSelection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidPropertyID\", function() { return isValidPropertyID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidPropertySelection\", function() { return isValidPropertySelection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidWebDataStreamID\", function() { return isValidWebDataStreamID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidWebDataStreamSelection\", function() { return isValidWebDataStreamSelection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidWebDataStreamName\", function() { return isValidWebDataStreamName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidMeasurementID\", function() { return isValidMeasurementID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidGoogleTagID\", function() { return isValidGoogleTagID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidGoogleTagAccountID\", function() { return isValidGoogleTagAccountID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidGoogleTagContainerID\", function() { return isValidGoogleTagContainerID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateReport\", function() { return validateReport; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateAudience\", function() { return validateAudience; });\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/* 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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountID\", function() { return _js_util__WEBPACK_IMPORTED_MODULE_3__[\"isValidNumericID\"]; });\n\n/* harmony import */ var _js_util_report_validation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util/report-validation */ \"./js/util/report-validation.js\");\n/* harmony import */ var _report_normalization__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./report-normalization */ \"./js/modules/analytics-4/utils/report-normalization.js\");\n/* harmony import */ var _report_validation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./report-validation */ \"./js/modules/analytics-4/utils/report-validation.js\");\n/**\n * Validation 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 * Internal dependencies\n */\n\n\n\n\n\n\n/**\n * Checks if the given value is a valid selection for an Account.\n *\n * @since 1.119.0\n *\n * @param {?string} value Selected value.\n * @return {boolean} True if valid, otherwise false.\n */\nfunction isValidAccountSelection(value) {\n  if (value === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_CREATE\"]) {\n    return true;\n  }\n  return Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"isValidNumericID\"])(value);\n}\n\n/**\n * Checks if the given account ID appears to be a valid Analytics account.\n *\n * @since 1.8.0\n * @since 1.121.0 Migrated from analytics to analytics-4.\n *\n * @param {(string|number)} accountID Account ID to test.\n * @return {boolean} Whether or not the given account ID is valid.\n */\n\n\n/**\n * Checks whether the given property ID appears to be valid.\n *\n * @since 1.31.0\n *\n * @param {*} propertyID Property ID to check.\n * @return {boolean} Whether or not the given property ID is valid.\n */\nfunction isValidPropertyID(propertyID) {\n  return typeof propertyID === 'string' && /^\\d+$/.test(propertyID);\n}\n\n/**\n * Checks if the given value is a valid selection for a Property.\n *\n * @since 1.31.0\n *\n * @param {?string} value Selected value.\n * @return {boolean} True if valid, otherwise false.\n */\nfunction isValidPropertySelection(value) {\n  if (value === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"PROPERTY_CREATE\"]) {\n    return true;\n  }\n  return isValidPropertyID(value);\n}\n\n/**\n * Checks whether the given web data stream ID appears to be valid.\n *\n * @since 1.33.0\n *\n * @param {*} webDataStreamID Web data stream ID to check.\n * @return {boolean} TRUE if the web data stream ID is valid, otherwise FALSE.\n */\nfunction isValidWebDataStreamID(webDataStreamID) {\n  return typeof webDataStreamID === 'string' && /^\\d+$/.test(webDataStreamID);\n}\n\n/**\n * Checks whether the given web data stream is a valid selection.\n *\n * @since 1.35.0\n *\n * @param {?string} webDataStreamID Web data stream to check.\n * @return {boolean} TRUE if the web data stream selection is valid, otherwise FALSE.\n */\nfunction isValidWebDataStreamSelection(webDataStreamID) {\n  if (webDataStreamID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"WEBDATASTREAM_CREATE\"]) {\n    return true;\n  }\n  return isValidWebDataStreamID(webDataStreamID);\n}\n\n/**\n * Checks if the given web data stream name appears to be valid.\n *\n * @since 1.124.0\n *\n * @param {string} value Web data stream name to test.\n * @return {boolean} True if valid, otherwise false.\n */\nfunction isValidWebDataStreamName(value) {\n  return typeof value === 'string' && value.trim().length > 0;\n}\n\n/**\n * Checks whether the given measurementID appears to be valid.\n *\n * @since 1.35.0\n *\n * @param {*} measurementID Web data stream measurementID to check.\n * @return {boolean} TRUE if the measurementID is valid, otherwise FALSE.\n */\nfunction isValidMeasurementID(measurementID) {\n  return typeof measurementID === 'string' && /^G-[a-zA-Z0-9]+$/.test(measurementID);\n}\n\n/**\n * Checks whether the given googleTagId appears to be valid.\n *\n * @since 1.90.0\n *\n * @param {*} googleTagID Google Tag ID to check.\n * @return {boolean} TRUE if the googleTagID is valid, otherwise FALSE.\n */\nfunction isValidGoogleTagID(googleTagID) {\n  return typeof googleTagID === 'string' && /^(G|GT|AW)-[a-zA-Z0-9]+$/.test(googleTagID);\n}\n\n/**\n * Checks whether the given googleTagAccountID appears to be valid.\n *\n * @since 1.90.0\n *\n * @param {*} googleTagAccountID Google Tag ID to check.\n * @return {boolean} TRUE if the googleTagAccountID is valid, otherwise FALSE.\n */\nfunction isValidGoogleTagAccountID(googleTagAccountID) {\n  return Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"isValidNumericID\"])(googleTagAccountID);\n}\n\n/**\n * Checks whether the given googleTagContainerID appears to be valid.\n *\n * @since 1.90.0\n *\n * @param {*} googleTagContainerID Google Tag ID to check.\n * @return {boolean} TRUE if the googleTagContainerID is valid, otherwise FALSE.\n */\nfunction isValidGoogleTagContainerID(googleTagContainerID) {\n  return Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"isValidNumericID\"])(googleTagContainerID);\n}\n\n/**\n * Checks whether a given report options object is valid.\n *\n * @since 1.130.0\n *\n * @param {Object} options The options for the report.\n */\nfunction validateReport(options) {\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(options), 'options for Analytics 4 report must be an object.');\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_js_util_report_validation__WEBPACK_IMPORTED_MODULE_4__[\"isValidDateRange\"])(options), 'Either date range or start/end dates must be provided for Analytics 4 report.');\n  var _normalizeReportOptio = Object(_report_normalization__WEBPACK_IMPORTED_MODULE_5__[\"normalizeReportOptions\"])(options),\n    metrics = _normalizeReportOptio.metrics,\n    dimensions = _normalizeReportOptio.dimensions,\n    dimensionFilters = _normalizeReportOptio.dimensionFilters,\n    metricFilters = _normalizeReportOptio.metricFilters,\n    orderby = _normalizeReportOptio.orderby;\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(metrics.length, 'Requests must specify at least one metric for an Analytics 4 report.');\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidMetrics\"])(metrics), 'metrics for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a \"name\" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.');\n  if (dimensions) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidDimensions\"])(dimensions), 'dimensions for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a \"name\" property.');\n  }\n  if (dimensionFilters) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidDimensionFilters\"])(dimensionFilters), 'dimensionFilters for an Analytics 4 report must be a map of dimension names as keys and dimension values as values.');\n  }\n  if (metricFilters) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidMetricFilters\"])(metricFilters), 'metricFilters for an Analytics 4 report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType.');\n  }\n  if (orderby) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidOrders\"])(orderby), 'orderby for an Analytics 4 report must be an array of OrderBy objects where each object should have either a \"metric\" or \"dimension\" property, and an optional \"desc\" property.');\n  }\n}\n\n/**\n * Checks whether the passed audience object is valid.\n *\n * @since 1.120.0\n *\n * @param {Object} audience Audience object to check.\n */\nfunction validateAudience(audience) {\n  var audienceFields = ['displayName', 'description', 'membershipDurationDays', 'eventTrigger', 'exclusionDurationMode', 'filterClauses'];\n  var audienceRequiredFields = ['displayName', 'description', 'membershipDurationDays', 'filterClauses'];\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(audience), 'Audience must be an object.');\n  Object.keys(audience).forEach(function (key) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(audienceFields.includes(key), \"Audience object must contain only valid keys. Invalid key: \\\"\".concat(key, \"\\\"\"));\n  });\n  audienceRequiredFields.forEach(function (key) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(audience[key], \"Audience object must contain required keys. Missing key: \\\"\".concat(key, \"\\\"\"));\n  });\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(audience.filterClauses), 'filterClauses must be an array with AudienceFilterClause objects.');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/validation.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/withCustomDimensions.js":
/*!**************************************************************!*\
  !*** ./js/modules/analytics-4/utils/withCustomDimensions.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return withCustomDimensions; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\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/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.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/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_components_KeyMetrics_key_metrics_widgets__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/components/KeyMetrics/key-metrics-widgets */ \"./js/components/KeyMetrics/key-metrics-widgets.js\");\n/* harmony import */ var _js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _js_modules_analytics_4_components_key_metrics__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/modules/analytics-4/components/key-metrics */ \"./js/modules/analytics-4/components/key-metrics/index.js\");\n/* harmony import */ var _js_modules_analytics_4_hooks_useCustomDimensionsData__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/hooks/useCustomDimensionsData */ \"./js/modules/analytics-4/hooks/useCustomDimensionsData.js\");\n\n\n\n\n/**\n * `withCustomDimensions` HOC.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nfunction withCustomDimensions() {\n  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var dimensions = options.dimensions,\n    infoTooltip = options.infoTooltip,\n    wrappedReportOptions = options.reportOptions,\n    title = options.title;\n  return function (WrappedComponent) {\n    function WithCustomDimensionsComponent(props) {\n      var isViewOnly = Object(_js_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_12__[\"default\"])();\n      var Widget = props.Widget,\n        widgetSlug = props.widgetSlug;\n      var _ref = _js_components_KeyMetrics_key_metrics_widgets__WEBPACK_IMPORTED_MODULE_9__[\"KEY_METRICS_WIDGETS\"][widgetSlug] || {},\n        description = _ref.description,\n        definedInfoTooltip = _ref.infoTooltip,\n        definedTitle = _ref.title;\n      var tileTitle = title || definedTitle;\n      var tileInfoTooltip = infoTooltip || definedInfoTooltip || description;\n      var _useCustomDimensionsD = Object(_js_modules_analytics_4_hooks_useCustomDimensionsData__WEBPACK_IMPORTED_MODULE_14__[\"default\"])({\n          dimensions: dimensions,\n          widgetSlug: widgetSlug,\n          reportOptions: wrappedReportOptions\n        }),\n        customDimensions = _useCustomDimensionsD.customDimensions,\n        hasCustomDimensions = _useCustomDimensionsD.hasCustomDimensions,\n        customDimensionsCreationErrors = _useCustomDimensionsD.customDimensionsCreationErrors,\n        hasAnalyticsEditScope = _useCustomDimensionsD.hasAnalyticsEditScope,\n        isSyncingAvailableCustomDimensions = _useCustomDimensionsD.isSyncingAvailableCustomDimensions,\n        loading = _useCustomDimensionsD.loading,\n        isGatheringData = _useCustomDimensionsD.isGatheringData,\n        hasInvalidCustomDimensionError = _useCustomDimensionsD.hasInvalidCustomDimensionError,\n        invalidCustomDimensionReportOptions = _useCustomDimensionsD.invalidCustomDimensionReportOptions,\n        redirectURL = _useCustomDimensionsD.redirectURL;\n      var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANALYTICS_4\"]),\n        clearError = _useDispatch.clearError,\n        scheduleSyncAvailableCustomDimensions = _useDispatch.scheduleSyncAvailableCustomDimensions;\n      var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]),\n        setValues = _useDispatch2.setValues;\n      var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]),\n        setPermissionScopeError = _useDispatch3.setPermissionScopeError;\n      var handleCreateCustomDimensions = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(function () {\n        if (loading) {\n          return;\n        }\n        setValues(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_CUSTOM_DIMENSIONS_CREATE\"], {\n          autoSubmit: true\n        });\n        if (!hasAnalyticsEditScope) {\n          setPermissionScopeError({\n            code: _js_util_errors__WEBPACK_IMPORTED_MODULE_11__[\"ERROR_CODE_MISSING_REQUIRED_SCOPE\"],\n            message: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Additional permissions are required to create new Analytics custom dimensions', 'google-site-kit'),\n            data: {\n              status: 403,\n              scopes: [_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"EDIT_SCOPE\"]],\n              skipModal: true,\n              redirectURL: redirectURL\n            }\n          });\n        }\n      }, [hasAnalyticsEditScope, loading, setPermissionScopeError, setValues, redirectURL]);\n\n      // If the list of available custom dimensions is outdated, sync it.\n      Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n        if (!customDimensions || !hasInvalidCustomDimensionError || isSyncingAvailableCustomDimensions || isViewOnly) {\n          return;\n        }\n        _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee() {\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                  _context.next = 2;\n                  return Promise.all(invalidCustomDimensionReportOptions.map(function (args) {\n                    return clearError('getReport', [args]);\n                  }));\n                case 2:\n                  // Sync available custom dimensions.\n                  scheduleSyncAvailableCustomDimensions();\n                case 3:\n                case \"end\":\n                  return _context.stop();\n              }\n            }\n          }, _callee);\n        }))();\n      }, [clearError, customDimensions, hasInvalidCustomDimensionError, invalidCustomDimensionReportOptions, isSyncingAvailableCustomDimensions, isViewOnly, scheduleSyncAvailableCustomDimensions]);\n\n      // Return early if the wrapped widget doesn't need custom dimensions.\n      if (!customDimensions) {\n        return /*#__PURE__*/React.createElement(WrappedComponent, props);\n      }\n\n      // Show loading state.\n      if (loading || isGatheringData === undefined) {\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileWrapper\"], {\n          infoTooltip: tileInfoTooltip,\n          moduleSlug: \"analytics-4\",\n          title: tileTitle,\n          Widget: Widget,\n          loading: true\n        });\n      }\n      var commonErrorProps = {\n        headerText: tileTitle,\n        infoTooltip: tileInfoTooltip\n      };\n      if (customDimensionsCreationErrors === null || customDimensionsCreationErrors === void 0 ? void 0 : customDimensionsCreationErrors.some(_js_util_errors__WEBPACK_IMPORTED_MODULE_11__[\"isInsufficientPermissionsError\"])) {\n        // Handle permissions error encountered while creating\n        // custom dimensions.\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"InsufficientPermissionsError\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, commonErrorProps, {\n          moduleSlug: \"analytics-4\",\n          onRetry: handleCreateCustomDimensions\n        }));\n      } else if ((customDimensionsCreationErrors === null || customDimensionsCreationErrors === void 0 ? void 0 : customDimensionsCreationErrors.length) > 0) {\n        // Handle generic errors encountered while creating\n        // custom dimensions.\n        return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_key_metrics__WEBPACK_IMPORTED_MODULE_13__[\"AnalyticsUpdateError\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, commonErrorProps, {\n          error: customDimensionsCreationErrors[0],\n          onRetry: handleCreateCustomDimensions\n        }));\n      } else if (false === hasCustomDimensions) {\n        return /*#__PURE__*/React.createElement(_js_modules_analytics_4_components_key_metrics__WEBPACK_IMPORTED_MODULE_13__[\"CustomDimensionsMissingError\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, commonErrorProps, {\n          onRetry: handleCreateCustomDimensions\n        }));\n      }\n      if (isGatheringData) {\n        return /*#__PURE__*/React.createElement(_js_components_KeyMetrics__WEBPACK_IMPORTED_MODULE_10__[\"MetricTileTable\"], {\n          infoTooltip: tileInfoTooltip,\n          moduleSlug: \"analytics-4\",\n          title: tileTitle,\n          Widget: Widget,\n          ZeroState: function ZeroState() {\n            return /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('Setup successful: Analytics is gathering data for this metric', 'google-site-kit'));\n          }\n        });\n      }\n      return /*#__PURE__*/React.createElement(WrappedComponent, props);\n    }\n    WithCustomDimensionsComponent.displayName = 'WithCustomDimensions';\n    if (WrappedComponent.displayName || WrappedComponent.name) {\n      WithCustomDimensionsComponent.displayName += \"(\".concat(WrappedComponent.displayName || WrappedComponent.name, \")\");\n    }\n    return WithCustomDimensionsComponent;\n  };\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/modules/analytics-4/utils/withCustomDimensions.js\n");

/***/ }),

/***/ "./js/modules/search-console/constants.js":
/*!************************************************!*\
  !*** ./js/modules/search-console/constants.js ***!
  \************************************************/
/*! exports provided: MODULE_SLUG_SEARCH_CONSOLE */
/***/ (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_SEARCH_CONSOLE\", function() { return MODULE_SLUG_SEARCH_CONSOLE; });\n/**\n * Search Console 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_SEARCH_CONSOLE = 'search-console';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3NlYXJjaC1jb25zb2xlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvc2VhcmNoLWNvbnNvbGUvY29uc3RhbnRzLmpzPzBkYmYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTZWFyY2ggQ29uc29sZSBtb2R1bGUgY29uc3RhbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IGNvbnN0IE1PRFVMRV9TTFVHX1NFQVJDSF9DT05TT0xFID0gJ3NlYXJjaC1jb25zb2xlJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/search-console/constants.js\n");

/***/ }),

/***/ "./js/modules/search-console/datastore/constants.js":
/*!**********************************************************!*\
  !*** ./js/modules/search-console/datastore/constants.js ***!
  \**********************************************************/
/*! exports provided: MODULES_SEARCH_CONSOLE, DATE_RANGE_OFFSET */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULES_SEARCH_CONSOLE\", function() { return MODULES_SEARCH_CONSOLE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DATE_RANGE_OFFSET\", function() { return DATE_RANGE_OFFSET; });\n/**\n * `modules/search-console` 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 MODULES_SEARCH_CONSOLE = 'modules/search-console';\n\n// Date range offset days for Search Console report requests.\nvar DATE_RANGE_OFFSET = 1;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3NlYXJjaC1jb25zb2xlL2RhdGFzdG9yZS9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL3NlYXJjaC1jb25zb2xlL2RhdGFzdG9yZS9jb25zdGFudHMuanM/MGNlMyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGBtb2R1bGVzL3NlYXJjaC1jb25zb2xlYCBkYXRhIHN0b3JlIGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbmV4cG9ydCBjb25zdCBNT0RVTEVTX1NFQVJDSF9DT05TT0xFID0gJ21vZHVsZXMvc2VhcmNoLWNvbnNvbGUnO1xuXG4vLyBEYXRlIHJhbmdlIG9mZnNldCBkYXlzIGZvciBTZWFyY2ggQ29uc29sZSByZXBvcnQgcmVxdWVzdHMuXG5leHBvcnQgY29uc3QgREFURV9SQU5HRV9PRkZTRVQgPSAxO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/search-console/datastore/constants.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/datastore/constants.js":
/*!******************************************************!*\
  !*** ./js/modules/tagmanager/datastore/constants.js ***!
  \******************************************************/
/*! exports provided: MODULES_TAGMANAGER, ACCOUNT_CREATE, CONTAINER_CREATE, CONTEXT_WEB, CONTEXT_AMP, FORM_SETUP, READ_SCOPE, EDIT_SCOPE, SETUP_MODE_WITH_ANALYTICS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULES_TAGMANAGER\", function() { return MODULES_TAGMANAGER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_CREATE\", function() { return ACCOUNT_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTAINER_CREATE\", function() { return CONTAINER_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_WEB\", function() { return CONTEXT_WEB; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_AMP\", function() { return CONTEXT_AMP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_SETUP\", function() { return FORM_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"READ_SCOPE\", function() { return READ_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EDIT_SCOPE\", function() { return EDIT_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SETUP_MODE_WITH_ANALYTICS\", function() { return SETUP_MODE_WITH_ANALYTICS; });\n/**\n * `modules/tagmanager` 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 MODULES_TAGMANAGER = 'modules/tagmanager';\n\n// A special Account ID value used for the \"Set up a new account\" option.\nvar ACCOUNT_CREATE = 'account_create';\n// A special Container ID value used for the \"Set up a new container\" option.\nvar CONTAINER_CREATE = 'container_create';\n// Usage context for web containers.\nvar CONTEXT_WEB = 'web';\n// Usage context for AMP containers.\nvar CONTEXT_AMP = 'amp';\n// Form ID for the module setup form.\nvar FORM_SETUP = 'tagmanagerSetup';\n// OAuth scope needed for viewing containers.\nvar READ_SCOPE = 'https://www.googleapis.com/auth/tagmanager.readonly';\n// OAuth scope needed for creating containers.\nvar EDIT_SCOPE = 'https://www.googleapis.com/auth/tagmanager.edit.containers';\n// A special setupMode value for when completing setup with Analytics.\nvar SETUP_MODE_WITH_ANALYTICS = 'SETUP_WITH_ANALYTICS';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvdGFnbWFuYWdlci9kYXRhc3RvcmUvY29uc3RhbnRzLmpzPzk4NzYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgbW9kdWxlcy90YWdtYW5hZ2VyYCBkYXRhIHN0b3JlIGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGlj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BuZWVkZWQgZm9yIHZpZXdpbmcgY29udGFpbmVycy5cbmV4cG9ydCBjb25zdCBSRUFEX1NDT1BFID0gJ2h0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvdGFnbWFuYWdlci5yZWFkb25seSc7XG4vLyBPQXV0aCBzY29wZSBuZWVkZWQgZm9yIGNyZWF0aW5nIGNvbnRhaW5lcnMuXG5leHBvcnQgY29uc3QgRURJVF9TQ09QRSA9XG5cdCdodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL3RhZ21hbmFnZXIuZWRpdC5jb250YWluZXJzJztcbi8vIEEgc3BlY2lhbCBzZXR1cE1vZGUgdmFsdWUgZm9yIHdoZW4gY29tcGxldGluZyBzZXR1cCB3aXRoIEFuYWx5dGljcy5cbmV4cG9ydCBjb25zdCBTRVRVUF9NT0RFX1dJVEhfQU5BTFlUSUNTID0gJ1NFVFVQX1dJVEhfQU5BTFlUSUNTJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/constants.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"caseInsensitiveListSort\", function() { return caseInsensitiveListSort; });\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 * Sorting functions.\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 the provided list in a case-insensitive manner.\n *\n * @since 1.138.0\n *\n * @param {Array}  listToSort The list to sort (Array of objects or arrays).\n * @param {string} orderBy    The field by which the list should be ordered.\n * @return {Array} The sorted list.\n */\nfunction caseInsensitiveListSort(listToSort, orderBy) {\n  return _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(listToSort).sort(function (a, b) {\n    var _a$orderBy, _b$orderBy;\n    var nameA = ((_a$orderBy = a[orderBy]) === null || _a$orderBy === void 0 ? void 0 : _a$orderBy.toLowerCase()) || '';\n    var nameB = ((_b$orderBy = b[orderBy]) === null || _b$orderBy === void 0 ? void 0 : _b$orderBy.toLowerCase()) || '';\n    return nameA.localeCompare(nameB);\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJ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:///./js/util/case-insensitive-sort.js\n");

/***/ }),

/***/ "./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}//#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FRpbWUoKVxuXHRcdFx0OiBkYXRlU3RyaW5nVmFsdWU7XG5cblx0aWYgKCBpc05hTiggdW5peFRpbWVzdGFtcCApIHx8ICEgdW5peFRpbWVzdGFtcCApIHtcblx0XHRyZXR1cm4gMDtcblx0fVxuXG5cdHJldHVybiB1bml4VGltZXN0YW1wO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBTUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/convert-time.js\n");

/***/ }),

/***/ "./js/util/create-incremental-array-by-size.js":
/*!*****************************************************!*\
  !*** ./js/util/create-incremental-array-by-size.js ***!
  \*****************************************************/
/*! exports provided: createIncrementalArrayBySize */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createIncrementalArrayBySize\", function() { return createIncrementalArrayBySize; });\n/**\n * Create Incremental Array by Size 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 * Creates an array of length equal to size with incremental values starting at 0.\n *\n * @since 1.28.0\n *\n * @param {number} size Array length.\n * @return {number[]} Array of incremental numbers.\n * @example createIncrementalArrayBySize(3); // [0, 1, 2]\n */\nfunction createIncrementalArrayBySize(size) {\n  return new Array(size !== null && size !== void 0 ? size : 0).fill().map(function (_, i) {\n    return i;\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2NyZWF0ZS1pbmNyZW1lbnRhbC1hcnJheS1ieS1zaXplLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9jcmVhdGUtaW5jcmVtZW50YWwtYXJyYXktYnktc2l6ZS5qcz85Zjc4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ3JlYXRlIEluY3JlbWVudGFsIEFycmF5IGJ5IFNpemUgdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcm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DQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/create-incremental-array-by-size.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/errors.js":
/*!***************************!*\
  !*** ./js/util/errors.js ***!
  \***************************/
/*! exports provided: ERROR_CODE_MISSING_REQUIRED_SCOPE, ERROR_REASON_INSUFFICIENT_PERMISSIONS, ERROR_REASON_FORBIDDEN, ERROR_INTERNAL_SERVER_ERROR, ERROR_INVALID_JSON, ERROR_REASON_BAD_REQUEST, isWPError, isPermissionScopeError, isInsufficientPermissionsError, isAuthError, isErrorRetryable, getReportErrorMessage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_CODE_MISSING_REQUIRED_SCOPE\", function() { return ERROR_CODE_MISSING_REQUIRED_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_REASON_INSUFFICIENT_PERMISSIONS\", function() { return ERROR_REASON_INSUFFICIENT_PERMISSIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_REASON_FORBIDDEN\", function() { return ERROR_REASON_FORBIDDEN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_INTERNAL_SERVER_ERROR\", function() { return ERROR_INTERNAL_SERVER_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_INVALID_JSON\", function() { return ERROR_INVALID_JSON; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_REASON_BAD_REQUEST\", function() { return ERROR_REASON_BAD_REQUEST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isWPError\", function() { return isWPError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPermissionScopeError\", function() { return isPermissionScopeError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isInsufficientPermissionsError\", function() { return isInsufficientPermissionsError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isAuthError\", function() { return isAuthError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isErrorRetryable\", function() { return isErrorRetryable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getReportErrorMessage\", function() { return getReportErrorMessage; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/**\n * Error 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 * WordPress dependencies\n */\n\n\n// Error codes and reasons.\nvar ERROR_CODE_MISSING_REQUIRED_SCOPE = 'missing_required_scopes'; // When scopes are missing.\nvar ERROR_REASON_INSUFFICIENT_PERMISSIONS = 'insufficientPermissions';\nvar ERROR_REASON_FORBIDDEN = 'forbidden';\nvar ERROR_INTERNAL_SERVER_ERROR = 'internal_server_error';\nvar ERROR_INVALID_JSON = 'invalid_json';\nvar ERROR_REASON_BAD_REQUEST = 'bad_request';\n\n/**\n * Checks if the provided object is an instance of WP_Error class.\n *\n * @since 1.13.0\n *\n * @param {Object} obj The object to check.\n * @return {boolean} TRUE if the object has \"code\", \"data\" and \"message\" properties, otherwise FALSE.\n */\nfunction isWPError(obj) {\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"isPlainObject\"])(obj) && obj.hasOwnProperty('code') && (typeof obj.code === 'string' || typeof obj.code === 'number') && obj.hasOwnProperty('message') && typeof obj.message === 'string' && obj.hasOwnProperty('data'); // We don't check \"obj.data\" type because it can be anything.\n}\n\n/**\n * Checks if the given error is a permission scope error.\n *\n * @since 1.9.0\n * @private\n *\n * @param {Object} error Input to test as a possible permission scope error.\n * @return {boolean} TRUE if permission scope error, otherwise FALSE.\n */\nfunction isPermissionScopeError(error) {\n  return (error === null || error === void 0 ? void 0 : error.code) === ERROR_CODE_MISSING_REQUIRED_SCOPE;\n}\n\n/**\n * Checks if the given error has insufficient permissions reason.\n *\n * @since 1.16.0\n * @since 1.70.0 Add support for \"forbidden\" reason.\n *\n * @param {Object} error The error object to check.\n * @return {boolean} TRUE if it's insufficient permissions error, otherwise FALSE.\n */\nfunction isInsufficientPermissionsError(error) {\n  var _error$data;\n  return [ERROR_REASON_INSUFFICIENT_PERMISSIONS, ERROR_REASON_FORBIDDEN].includes(error === null || error === void 0 ? void 0 : (_error$data = error.data) === null || _error$data === void 0 ? void 0 : _error$data.reason);\n}\n\n/**\n * Checks if the given error is an auth error.\n *\n * @since 1.78.0\n *\n * @param {Object} error The error object to check.\n * @return {boolean} TRUE if it's an auth error, otherwise FALSE.\n */\nfunction isAuthError(error) {\n  var _error$data2;\n  return !!(error === null || error === void 0 ? void 0 : (_error$data2 = error.data) === null || _error$data2 === void 0 ? void 0 : _error$data2.reconnectURL);\n}\n\n/**\n * Checks if the given error can be retried.\n *\n * @since 1.86.0\n *\n * @param {Object} error          The error object to check.\n * @param {Object} [selectorData] The error's associated selector data object.\n * @return {boolean} TRUE if the error is retryable, otherwise FALSE.\n */\nfunction isErrorRetryable(error, selectorData) {\n  return !!(selectorData === null || selectorData === void 0 ? void 0 : selectorData.storeName) && !isInsufficientPermissionsError(error) && !isPermissionScopeError(error) && !isAuthError(error);\n}\n\n/**\n * Sets the error message for specific error codes.\n *\n * @since 1.92.0\n *\n * @param {Object} error The error object to check.\n * @return {Object} The updated error object.\n */\nfunction getReportErrorMessage(error) {\n  if ((error === null || error === void 0 ? void 0 : error.code) === ERROR_INTERNAL_SERVER_ERROR) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('There was a critical error on this website while fetching data', 'google-site-kit');\n  } else if ((error === null || error === void 0 ? void 0 : error.code) === ERROR_INVALID_JSON) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('The server provided an invalid response', 'google-site-kit');\n  }\n  return error === null || error === void 0 ? void 0 : error.message;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/errors.js\n");

/***/ }),

/***/ "./js/util/escape-uri.js":
/*!*******************************!*\
  !*** ./js/util/escape-uri.js ***!
  \*******************************/
/*! exports provided: escapeURI */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"escapeURI\", function() { return escapeURI; });\n/**\n * Escape URI components 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 * Escapes URI components in a template string as a tag function.\n *\n * @example\n * // escape redirect url\n * const redirectTo = 'http://localhost/admin/';\n * const loginUrl = escapeURI`http://localhost/login?redirect=${ redirectTo }`;\n *\n * @since 1.11.0\n *\n * @param {string[]} strings The array of static strings in the template.\n * @param {...*}     values  The array of expressions used in the template.\n * @return {string} Escaped URI string.\n */\nfunction escapeURI(strings) {\n  for (var _len = arguments.length, values = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n    values[_key - 1] = arguments[_key];\n  }\n  return strings.reduce(function (acc, string, idx) {\n    return acc + string + encodeURIComponent(values[idx] || '');\n  }, '');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2VzY2FwZS11cmkuanMuanMiLCJzb3VyY2V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Q0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/escape-uri.js\n");

/***/ }),

/***/ "./js/util/finite-number-or-zero.js":
/*!******************************************!*\
  !*** ./js/util/finite-number-or-zero.js ***!
  \******************************************/
/*! exports provided: finiteNumberOrZero */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"finiteNumberOrZero\", function() { return finiteNumberOrZero; });\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/**\n * Utility function `finiteNumberOrZero()`.\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 * Returns the passed value if it's a finite number, otherwise returns 0.\n *\n * @since 1.98.0\n *\n * @param {any} value The value to check.\n * @return {number} The finite number `value`, or 0 if `value` is not a finite number.\n */\nfunction finiteNumberOrZero(value) {\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"isFinite\"])(value) ? value : 0;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJma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biAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBpc0Zpbml0ZSB9IGZyb20gJ2xvZGFzaCc7XG5cbi8qKlxuICogUmV0dXJucyB0aGUgcGFzc2VkIHZhbHVlIGlmIGl0J3MgYSBmaW5pdGUgbnVtYmVyLCBvdGhlcndpc2UgcmV0dXJucyAwLlxuICpcbiAqIEBzaW5jZSAxLjk4LjBcbiAqXG4gKiBAcGFyYW0ge2FueX0gdmFsdWUgVGhlIHZhbHVlIHRvIGNoZWNrLlxuICogQHJldHVybiB7bnVtYmVyfSBUaGUgZmluaXRlIG51bWJlciBgdmFsdWVgLCBvciAwIGlmIGB2YWx1ZWAgaXMgbm90IGEgZmluaXRlIG51bWJlci5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGZpbml0ZU51bWJlck9yWmVybyggdmFsdWUgKSB7XG5cdHJldHVybiBpc0Zpbml0ZSggdmFsdWUgKSA/IHZhbHVlIDogMDtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/finite-number-or-zero.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/initialize-google-global.js":
/*!*********************************************!*\
  !*** ./js/util/initialize-google-global.js ***!
  \*********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("/* WEBPACK VAR INJECTION */(function(global) {/**\n * Side Effect to initialize `google` global.\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\nif (!Object.prototype.hasOwnProperty.call(global, 'google')) {\n  global.google = {};\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2luaXRpYWxpemUtZ29vZ2xlLWdsb2JhbC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvaW5pdGlhbGl6ZS1nb29nbGUtZ2xvYmFsLmpzPzZjOWMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaWRlIEVmZmVjdCB0byBpbml0aWFsaXplIGBnb29nbGVgIGdsb2JhbC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbmlmICggISBPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoIGdsb2JhbCwgJ2dvb2dsZScgKSApIHtcblx0Z2xvYmFsLmdvb2dsZSA9IHt9O1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/initialize-google-global.js\n");

/***/ }),

/***/ "./js/util/insufficient-permissions-error-description.js":
/*!***************************************************************!*\
  !*** ./js/util/insufficient-permissions-error-description.js ***!
  \***************************************************************/
/*! exports provided: getInsufficientPermissionsErrorDescription */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getInsufficientPermissionsErrorDescription\", function() { return getInsufficientPermissionsErrorDescription; });\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _js_modules_search_console_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/modules/search-console/constants */ \"./js/modules/search-console/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/**\n * `getInsufficientPermissionsErrorDescription` 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\n/**\n * Gets a description for an insufficient permissions error.\n *\n * @since 1.16.0\n *\n * @param {string} error              Original error message.\n * @param {Object} module             Module data.\n * @param {string} module.name        The name of the module.\n * @param {string} module.slug        The slug of the module.\n * @param {Object} module.owner       The owner of the module.\n * @param {string} module.owner.login The The login of the current owner.\n * @return {string}                   Error description.\n */\nfunction getInsufficientPermissionsErrorDescription() {\n  var error = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  var module = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _ref = module || {},\n    _ref$slug = _ref.slug,\n    slug = _ref$slug === void 0 ? '' : _ref$slug,\n    _ref$name = _ref.name,\n    name = _ref$name === void 0 ? '' : _ref$name,\n    _ref$owner = _ref.owner,\n    owner = _ref$owner === void 0 ? {} : _ref$owner; // If no module data provided, it is impossible to provide a more clear message.\n  if (!slug || !name) {\n    return error;\n  }\n  var message = '';\n  var userInfo = '';\n  if (_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULE_SLUG_ANALYTICS_4\"] === slug) {\n    if (error.match(/account/i)) {\n      message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit');\n    } else if (error.match(/property/i)) {\n      message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit');\n    } else if (error.match(/view/i)) {\n      message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit');\n    }\n  } else if (_js_modules_search_console_constants__WEBPACK_IMPORTED_MODULE_1__[\"MODULE_SLUG_SEARCH_CONSOLE\"] === slug) {\n    message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit');\n  }\n  if (!message) {\n    message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"sprintf\"])(/* translators: %s: module name */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit'), name);\n  }\n  if (owner && owner.login) {\n    userInfo = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"sprintf\"])(/* translators: %s: owner name */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('This service was originally connected by the administrator \"%s\" — you can contact them for more information.', 'google-site-kit'), owner.login);\n  }\n  if (!userInfo) {\n    userInfo = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('This service was originally connected by an administrator — you can contact them for more information.', 'google-site-kit');\n  }\n  return \"\".concat(message, \" \").concat(userInfo);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/insufficient-permissions-error-description.js\n");

/***/ }),

/***/ "./js/util/is-site-kit-screen.js":
/*!***************************************!*\
  !*** ./js/util/is-site-kit-screen.js ***!
  \***************************************/
/*! exports provided: isSiteKitScreen */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isSiteKitScreen\", function() { return isSiteKitScreen; });\n/* harmony import */ var _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\n/**\n * Utility function to check whether or not a view-context is a Site Kit view.\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 * Internal dependencies\n */\n\n\n/**\n * Checks whether or not the current viewContext is a Site Kit screen.\n *\n * @since 1.80.0\n *\n * @param {string} viewContext The view-context.\n * @return {boolean} TRUE if the passed view-context is a site kit view; otherwise FALSE.\n */\nfunction isSiteKitScreen(viewContext) {\n  return _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"SITE_KIT_VIEW_CONTEXTS\"].includes(viewContext);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzLXNpdGUta2l0LXNjcmVlbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvaXMtc2l0ZS1raXQtc2NyZWVuLmpzP2ViMzkiXSwic291cmNlc0NvbnR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tICdAL2pzL2dvb2dsZXNpdGVraXQvY29uc3RhbnRzJztcblxuLyoqXG4gKiBDaGVja3Mgd2hldGhlciBvciBub3QgdGhlIGN1cnJlbnQgdmlld0NvbnRleHQgaXMgYSBTaXRlIEtpdCBzY3JlZW4uXG4gKlxuICogQHNpbmNlIDEuODAuMFxuICpcbiAqIEBwYXJhbSB7c3RyaW5nfSB2aWV3Q29udGV4dCBUaGUgdmlldy1jb250ZXh0LlxuICogQHJldHVybiB7Ym9vbGVhbn0gVFJVRSBpZiB0aGUgcGFzc2VkIHZpZXctY29udGV4dCBpcyBhIHNpdGUga2l0IHZpZXc7IG90aGVyd2lzZSBGQUxTRS5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGlzU2l0ZUtpdFNjcmVlbiggdmlld0NvbnRleHQgKSB7XG5cdHJldHVybiBTSVRFX0tJVF9WSUVXX0NPTlRFWFRTLmluY2x1ZGVzKCB2aWV3Q29udGV4dCApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/is-site-kit-screen.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/MjU1NiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFV0aWxpdHkgZnVuY3Rpb24gcmVsYXRlZCB0byBjaGVja2luZyBpZiBhIGdpdmVuIHZhbHVlIGlzIG51bWVyaWMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0a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XG5cdGlmICggISBOdW1iZXIuaXNJbnRlZ2VyKCBpZCApICkge1xuXHRcdHJldHVybiBmYWxzZTtcblx0fVxuXG5cdHJldHVybiBpZCA+IDA7XG59XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzbnVtZXJpYy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvaXNudW1lcmljLmpzPzliNDkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBVdGlsaXR5IGZ1bmN0aW9uIHJlbGF0ZWQgdG8gY2hlY2tpbmcgaWYgYSBnaXZlbiB2YWx1ZSBpcyBudW1lcmljLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBM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\
  !*** ./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL21hcmtkb3duLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9tYXJrZG93bi5qcz9kYjAyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTWFya2Rvd24gdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW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E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/markdown.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/NTk4MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcG9ydCBwYXJ0aXRpb25pbmcgdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZS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MZW5ndGggKSxcblx0fTtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUlBO0FBQ0E7QUFJQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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/report-validation.js":
/*!**************************************!*\
  !*** ./js/util/report-validation.js ***!
  \**************************************/
/*! exports provided: isValidStringsOrObjects, isValidDateRange, isValidOrders, isValidStringularItems */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidStringsOrObjects\", function() { return isValidStringsOrObjects; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDateRange\", function() { return isValidDateRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidOrders\", function() { return isValidOrders; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidStringularItems\", function() { return isValidStringularItems; });\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\n/**\n * Reporting API validation 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 * Validates data that can be either string or object of the certain type, or array of them.\n *\n * @since 1.13.0\n * @since 1.98.0 Added verifyStringFunction parameter.\n *\n * @param {string|string[]|Object|Object[]} data                   The data to check.\n * @param {Function}                        verifyObjectFunction   The callback to verify an object.\n * @param {Function}                        [verifyStringFunction] The callback to verify a string (optional).\n * @return {boolean} TRUE if data is valid, otherwise FALSE.\n */\nfunction isValidStringsOrObjects(data, verifyObjectFunction) {\n  var verifyStringFunction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {\n    return true;\n  };\n  if (typeof data === 'string') {\n    return verifyStringFunction(data);\n  }\n  if (_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(data) === 'object' && verifyObjectFunction(data)) {\n    return true;\n  }\n  if (Array.isArray(data)) {\n    return data.every(function (item) {\n      if (typeof item === 'string') {\n        return verifyStringFunction(item);\n      }\n      if (_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(item) === 'object') {\n        return verifyObjectFunction(item);\n      }\n      return false;\n    });\n  }\n\n  // Arguably this should fail/throw, because none of our allowed types were encountered.\n  return false;\n}\n\n/**\n * Verifies that either date range or start and end dates are valid.\n *\n * @since 1.13.0\n *\n * @param {Object} dates           The object containing dates to check.\n * @param {string} dates.startDate The start date to check.\n * @param {string} dates.endDate   The end date to check.\n * @return {boolean} TRUE if either date range or start/end dates are valid, otherwise FALSE.\n */\nfunction isValidDateRange(_ref) {\n  var startDate = _ref.startDate,\n    endDate = _ref.endDate;\n  var validStartDate = startDate && startDate.match(/^\\d{4}-\\d{2}-\\d{2}$/);\n  var validEndDate = endDate && endDate.match(/^\\d{4}-\\d{2}-\\d{2}$/);\n  return validStartDate && validEndDate;\n}\n\n/**\n * Verifies that order definitions are valid. It can be either an object or an array\n * of objects where each object has \"fieldName\" and valid \"sortOrder\" properties.\n *\n * @since 1.13.0\n *\n * @param {Object|Object[]} orders The order definitions to check.\n * @return {boolean} TRUE if order definitions are valid, otherwise FALSE.\n */\nfunction isValidOrders(orders) {\n  function isValidOrder(order) {\n    var isValidFieldName = order.hasOwnProperty('fieldName') && !!order.fieldName;\n    var isValidSortOrder = order.hasOwnProperty('sortOrder') && /(ASCENDING|DESCENDING)/i.test(order.sortOrder.toString());\n    return isValidFieldName && isValidSortOrder;\n  }\n  if (Array.isArray(orders)) {\n    return orders.every(function (item) {\n      return _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(item) === 'object' && isValidOrder(item);\n    });\n  }\n  if (_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(orders) === 'object') {\n    return isValidOrder(orders);\n  }\n\n  // Arguably this should fail/throw, because none of our allowed types were encountered.\n  return false;\n}\n\n/**\n * Verifies that provided parameter is either a string or an array of strings.\n *\n * @since 1.15.0\n *\n * @param {(string|Array.<string>)} items Items to validate.\n * @return {boolean} TRUE if items are either a string or an array of strings, otherwise FALSE.\n */\nfunction isValidStringularItems(items) {\n  if (typeof items === 'string') {\n    return true;\n  }\n  if (Array.isArray(items)) {\n    return items.every(function (item) {\n      return typeof item === 'string';\n    });\n  }\n  return false;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/report-validation.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3NhZmVseS1zb3J0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9zYWZlbHktc29ydC5qcz8zMzQ3Il0sInNvdXJj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m90IGFuIGFycmF5LCBpdCByZXR1cm5zIHRoZSBwYXJhbWV0ZXIgYXMgaXMuXG4gKlxuICogQHNpbmNlIDEuMTEwLjBcbiAqIEBzaW5jZSAxLjEyOC4wIE1vdmVkIHRvIHRoZSBjb21tb24gdXRpbGl0eSBkaXJlY3RvcnkgZnJvbSB0aGUga2V5IG1ldHJpY3MgZGlyZWN0b3J5LlxuICpcbiAqIEBwYXJhbSB7QXJyYXl8Kn0gYXJyIFBhcmFtIHRvIGJlIHNvcnRlZC5cbiAqIEByZXR1cm4ge0FycmF5fCp9IFx0U2FmZWx5IHNvcnRlZCBhcnJheSB3aXRob3V0IG11dGF0aW9uLlxuICovXG5leHBvcnQgZnVuY3Rpb24gc2FmZWx5U29ydCggYXJyICkge1xuXHRyZXR1cm4gQXJyYXkuaXNBcnJheSggYXJyICkgPyBbIC4uLmFyciBdLnNvcnQoKSA6IGFycjtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3Nhbml0aXplLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9zYW5pdGl6ZS5qcz8yZmFkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IHB1cmlmeSB9I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wic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/util/sanitize.js\n");

/***/ }),

/***/ "./js/util/scroll.js":
/*!***************************!*\
  !*** ./js/util/scroll.js ***!
  \***************************/
/*! exports provided: getNavigationalScrollTop, getStickyHeaderHeight, getStickyHeaderHeightWithoutNav */
/***/ (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__, \"getNavigationalScrollTop\", function() { return getNavigationalScrollTop; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStickyHeaderHeight\", function() { return getStickyHeaderHeight; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStickyHeaderHeightWithoutNav\", function() { return getStickyHeaderHeightWithoutNav; });\n/* harmony import */ var _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _finite_number_or_zero__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./finite-number-or-zero */ \"./js/util/finite-number-or-zero.js\");\n/**\n * Utility functions related to window scrolling.\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 * Gets the y coordinate to scroll to the top of a context element, taking the sticky admin bar, header and navigation height into account.\n *\n * @since 1.137.0 Renamed from getContextScrollTop to getNavigationalScrollTop.\n *\n * @param {string} selector   Selector for the element to scroll to. The id (prepend #) or class (prepend .).\n * @param {string} breakpoint The current breakpoint.\n * @return {number} The offset to scroll to.\n */\nfunction getNavigationalScrollTop(selector, breakpoint) {\n  var contextElement = document.querySelector(selector);\n  if (!contextElement) {\n    return 0;\n  }\n  var contextTop = contextElement.getBoundingClientRect().top;\n  var headerHeight = getStickyHeaderHeight(breakpoint);\n  return contextTop + global.scrollY - headerHeight;\n}\n\n/**\n * Gets the height of the sticky header.\n *\n * @since 1.69.0\n * @since 1.98.0 Renamed from `getHeaderHeight()` to `getStickyHeaderHeight()`.\n *\n * @param {string} breakpoint The current breakpoint.\n * @return {number} The height of the sticky header.\n */\nfunction getStickyHeaderHeight(breakpoint) {\n  var headerHeight = getStickyHeaderHeightWithoutNav(breakpoint);\n  var navigation = document.querySelectorAll('.googlesitekit-navigation, .googlesitekit-entity-header');\n  headerHeight += Array.from(navigation).reduce(function (height, el) {\n    return height + el.offsetHeight;\n  }, 0);\n  return headerHeight;\n}\n\n/**\n * Returns the height of the sticky WordPress admin bar, if present.\n *\n * @since 1.98.0\n *\n * @param {string} breakpoint The current breakpoint.\n * @return {number} The height of the sticky WordPress admin bar, if present.\n */\nfunction getWordPressAdminBarHeight(breakpoint) {\n  // WordPress admin bar is only sticky for breakpoints larger than BREAKPOINT_SMALL. If it's also not sticky then we can return a height of 0.\n  var wpAdminBar = document.querySelector('#wpadminbar');\n  if (wpAdminBar && breakpoint !== _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_0__[\"BREAKPOINT_SMALL\"]) {\n    return wpAdminBar.offsetHeight;\n  }\n  return 0;\n}\n\n/**\n * Returns the height of the sticky Site Kit header including the sticky WordPress admin bar when it's present.\n *\n * @since 1.98.0\n *\n * @param {string} breakpoint The current breakpoint.\n * @return {number} The height of the sticky Site Kit header including the sticky WordPress admin bar when it's present.\n */\nfunction getGoogleSiteKitHeaderHeight(breakpoint) {\n  // This function calculates the height of the sticky Site Kit header including the sticky WordPress admin bar when it's present.\n  var header = document.querySelector('.googlesitekit-header');\n  if (header) {\n    // If the breakpoint is BREAKPOINT_SMALL, the WordPress admin bar is not sticky and we can return the height of the Site Kit header alone.\n    // Otherwise, we use the value of the bottom of the Site Kit header's bounding box as this will take into account the sticky WordPress admin bar.\n    if (breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_0__[\"BREAKPOINT_SMALL\"]) {\n      return header.offsetHeight;\n    }\n    var headerBottom = header.getBoundingClientRect().bottom;\n    // In case the header is unexpectedly _not_ sticky and the value for .bottom is negative, we return 0.\n    return headerBottom < 0 ? 0 : headerBottom;\n  }\n  return 0;\n}\n\n/**\n * Gets the height of the sticky header without the Site Kit navigation bar.\n *\n * @since 1.95.0\n * @since 1.98.0 Renamed from `getHeaderHeightWithoutNav()` to `getStickyHeaderHeightWithoutNav()`.\n *\n * @param {string} breakpoint The current breakpoint.\n * @return {number} The height of the sticky header without the navigation bar.\n */\nfunction getStickyHeaderHeightWithoutNav(breakpoint) {\n  var headerHeight = 0;\n  var header = document.querySelector('.googlesitekit-header');\n  var isSiteKitHeaderSticky = !!header && global.getComputedStyle(header).position === 'sticky';\n  if (isSiteKitHeaderSticky) {\n    headerHeight = getGoogleSiteKitHeaderHeight(breakpoint);\n  } else {\n    // If the Site Kit header is not sticky, we only need to calculate the height of the sticky WordPress admin bar.\n    headerHeight = getWordPressAdminBarHeight(breakpoint);\n  }\n\n  // Provide a safety net in case something unexpected has happened.\n  headerHeight = Object(_finite_number_or_zero__WEBPACK_IMPORTED_MODULE_1__[\"finiteNumberOrZero\"])(headerHeight);\n  return headerHeight < 0 ? 0 : headerHeight;\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/scroll.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3N0cmluZ2lmeS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvc3RyaW5naWZ5LmpzP2I3NGUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTdHJpbmdpZnkgZnVuY3Rpb24uXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxu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JuIG1kNSggSlNPTi5zdHJpbmdpZnkoIHNvcnRPYmplY3RQcm9wZXJ0aWVzKCBvYmogKSApICk7XG59XG5cbmZ1bmN0aW9uIHNvcnRPYmplY3RQcm9wZXJ0aWVzKCBvYmogKSB7XG5cdGNvbnN0IG9yZGVyZWREYXRhID0ge307XG5cdE9iamVjdC5rZXlzKCBvYmogKVxuXHRcdC5zb3J0KClcblx0XHQuZm9yRWFjaCggKCBrZXkgKSA9PiB7XG5cdFx0XHRsZXQgdmFsID0gb2JqWyBrZXkgXTtcblx0XHRcdGlmICggdmFsICYmICdvYmplY3QnID09PSB0eXBlb2YgdmFsICYmICEgQXJyYXkuaXNBcnJheSggdmFsICkgKSB7XG5cdFx0XHRcdHZhbCA9IHNvcnRPYmplY3RQcm9wZXJ0aWVzKCB2YWwgKTtcblx0XHRcdH1cblx0XHRcdG9yZGVyZWREYXRhWyBrZXkgXSA9IHZhbDtcblx0XHR9ICk7XG5cdHJldHVybiBvcmRlcmVkRGF0YTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvdHJhY2tpbmcvY29uc3RhbnRzLmpzPzJkNjgiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDb25zdGFudHMgcmVsYXRlZCB0byBldmVudCB0cmFja2luZy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0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Xhwb3J0IGNvbnN0IFNDUklQVF9JREVOVElGSUVSID0gJ2RhdGEtZ29vZ2xlc2l0ZWtpdC1ndGFnJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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/ZTAyZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBEQVRBX0xBWUVSIH0gZnJvbSAnLi9jb25zdGFudHMnO1xuXG4vKipcbiAqIFJldHVybnMgYSBmdW5jdGlvbiB3aGljaCwgd2hlbiBpbnZva2VkIHdpbGwgaW5pdGlhbGl6ZSB0aGUgZGF0YUxheWVyIGFuZCBwdXNoIGRhdGEgb250byBpdC5cbiAqXG4gKiBAc2luY2UgMS4zLjBcbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gdGFyZ2V0IE9iamVjdCB0byBlbmhhbmNlIHdpdGggZGF0YUxheWVyIGRhdGEuXG4gKiBAcmV0dXJuIHtGdW5jdGlvbn0gRnVuY3Rpb24gdGhhdCBwdXNoZXMgZGF0YSBvbnRvIHRoZSBkYXRhTGF5ZXIuXG4gKi9cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIGNyZWF0ZURhdGFMYXllclB1c2goIHRhcmdldCApIHtcblx0LyoqXG5cdCAqIFB1c2hlcyBkYXRhIG9udG8gdGhlIGRhdGEgbGF5ZXIuXG5cdCAqXG5cdCAqIE11c3QgcHVzaCBhbiBpbnN0YW5jZSBvZiBBcmd1bWVudHMgdG8gdGhlIHRhcmdldC5cblx0ICogVXNpbmcgYW4gRVM2IHNwcmVhZCBvcGVyYXRvciAoaS5lLiBgLi4uYXJnc2ApIHdpbGwgY2F1c2UgdHJhY2tpbmcgZXZlbnRzIHRvXG5cdCAqIF9zaWxlbnRseV8gZmFpbC5cblx0ICpcblx0ICogQHNpbmNlIDEuMC4wXG5cdCAqIEBzZWUge0BsaW5rIGh0dHBzOi8vZ2l0aHViLmNvbS9nb29nbGUvc2l0ZS1raXQtd3AvaXNzdWVzLzExODF9XG5cdCAqL1xuXHRyZXR1cm4gZnVuY3Rpb24gZGF0YUxheWVyUHVzaCgpIHtcblx0XHR0YXJnZXRbIERBVEFfTEFZRVIgXSA9IHRhcmdldFsgREFUQV9MQVlFUiBdIHx8IFtdO1xuXHRcdHRhcmdldFsgREFUQV9MQVlFUiBdLnB1c2goIGFyZ3VtZW50cyApO1xuXHR9O1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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//# sourceMapping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7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0EiLCJzb3VyY2VSb290IjoiIn0=\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");

/***/ }),

/***/ "./js/util/when-active.js":
/*!********************************!*\
  !*** ./js/util/when-active.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return whenActive; });\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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_transform_case__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/data/transform-case */ \"./js/googlesitekit/data/transform-case.js\");\n\n/**\n * `whenActive` HOC.\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 * Higher-Order Component to render wrapped components when selected module is active and connected.\n *\n * A higher-order component is used here instead of hooks because there is potential for\n * related selectors in components this HOC wraps to call out to resolvers that call endpoints\n * for modules that aren't active. This would cause 404s at best and possibly errors, so\n * it's better to wrap them in HOCs and \"return early\".\n *\n * @since 1.16.0\n *\n * @param {Object}      options                       Options for enhancing function.\n * @param {string}      options.moduleName            Name of a module to check.\n * @param {WPComponent} [options.FallbackComponent]   Optional. Fallback component to render when the module is not active.\n * @param {WPComponent} [options.IncompleteComponent] Optional. Fallback component to render when the module is active but not connected.\n * @return {Function} Enhancing function.\n */\nfunction whenActive(_ref) {\n  var moduleName = _ref.moduleName,\n    FallbackComponent = _ref.FallbackComponent,\n    IncompleteComponent = _ref.IncompleteComponent;\n  return function (WrappedComponent) {\n    function WhenActiveComponent(props) {\n      var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n        return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_MODULES\"]).getModule(moduleName);\n      }, [moduleName]);\n\n      // Return null if the module is not loaded yet or doesn't exist.\n      if (!module) {\n        return null;\n      }\n\n      // This component isn't widget-specific but widgets need to use `WidgetNull`\n      // from props when rendering \"null\" output.\n      var DefaultFallbackComponent = FallbackComponent || props.WidgetNull || null;\n\n      // Return a fallback if the module is not active.\n      if (module.active === false) {\n        return DefaultFallbackComponent && /*#__PURE__*/React.createElement(DefaultFallbackComponent, props);\n      }\n\n      // Return a fallback if the module is active but not connected yet.\n      if (module.connected === false) {\n        // If no IncompleteComponent is provided, use the default fallback.\n        var IncompleteFallbackComponent = IncompleteComponent || DefaultFallbackComponent;\n        return IncompleteFallbackComponent && /*#__PURE__*/React.createElement(IncompleteFallbackComponent, props);\n      }\n\n      // Return the active and connected component.\n      return /*#__PURE__*/React.createElement(WrappedComponent, props);\n    }\n    WhenActiveComponent.displayName = \"When\".concat(Object(_js_googlesitekit_data_transform_case__WEBPACK_IMPORTED_MODULE_3__[\"hyphenCaseToPascalCase\"])(moduleName), \"Active\");\n    if (WrappedComponent.displayName || WrappedComponent.name) {\n      WhenActiveComponent.displayName += \"(\".concat(WrappedComponent.displayName || WrappedComponent.name, \")\");\n    }\n    return WhenActiveComponent;\n  };\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/when-active.js\n");

/***/ }),

/***/ "./js/util/withIntersectionObserver.js":
/*!*********************************************!*\
  !*** ./js/util/withIntersectionObserver.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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return withIntersectionObserver; });\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_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__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 _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);\n\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_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 * `withIntersectionObserver` HOC.\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\n\n/**\n * Higher-Order Component to render a wrapped component and trigger a callback when it becomes in view.\n *\n * This was initially added to provide a workaround for a limitation with the `useIntersection` hook from `react-use`.\n * We should replace `useIntersection()` with a version that doesn't have this limitation.\n * See https://github.com/streamich/react-use/issues/2359.\n *\n * This HOC can however remain as an abstraction around `useIntersection()` to avoid repeating the same logic.\n *\n * @since 1.125.0\n *\n * @param {WPComponent} WrappedComponent Component to wrap.\n * @return {Function} Enhancing function.\n */\nfunction withIntersectionObserver(WrappedComponent) {\n  function WithIntersectionObserverComponent(_ref) {\n    var onInView = _ref.onInView,\n      props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default()(_ref, [\"onInView\"]);\n    var inViewRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useRef\"])();\n    var intersectionEntry = Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useIntersection\"])(inViewRef, {\n      root: null,\n      threshold: 0.45\n    });\n    var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useState\"])(false),\n      _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n      hasBeenInView = _useState2[0],\n      setHasBeenInView = _useState2[1];\n    var inView = !!(intersectionEntry === null || intersectionEntry === void 0 ? void 0 : intersectionEntry.isIntersecting) && !!(intersectionEntry === null || intersectionEntry === void 0 ? void 0 : intersectionEntry.intersectionRatio);\n    Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useEffect\"])(function () {\n      if (!intersectionEntry) {\n        return;\n      }\n      if (inView && !hasBeenInView) {\n        onInView();\n        setHasBeenInView(true);\n      }\n    }, [hasBeenInView, inView, intersectionEntry, onInView]);\n    return /*#__PURE__*/React.createElement(WrappedComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({\n      ref: inViewRef\n    }, props));\n  }\n  WithIntersectionObserverComponent.displayName = 'WithIntersectionObserverComponent';\n  if (WrappedComponent.displayName || WrappedComponent.name) {\n    WithIntersectionObserverComponent.displayName += \"(\".concat(WrappedComponent.displayName || WrappedComponent.name, \")\");\n  }\n  WithIntersectionObserverComponent.propTypes = _objectSpread({\n    onInView: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func.isRequired\n  }, WrappedComponent.propTypes);\n  return WithIntersectionObserverComponent;\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/withIntersectionObserver.js\n");

/***/ }),

/***/ "./svg/graphics/analytics-audience-segmentation-tile-error.svg":
/*!*********************************************************************!*\
  !*** ./svg/graphics/analytics-audience-segmentation-tile-error.svg ***!
  \*********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M11.755 110.799a44.227 44.227 0 004.457 4.095c14.958 11.965 27.316 11.946 44.424 9.762 15.862-2.025 17.862-10.923 35.362-10.923 17.5 0 25.665 6.38 46 5s38.081-23.761 44.757-41.774c9.833-26.528-4.519-57.596-24.82-66.096-18.699-8.5-31.437.01-51.437-3.63C84.998 2.59 79.998-4.051 60.636 4c-20.53 8.701-20.455 23.533-32.699 38.667C18.974 53.747 4.956 56.312.734 76.959c-2.673 13.07 3.077 25.467 11.021 33.84z\",\n  fill: \"#F3F5F7\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z\",\n  fill: \"#161B18\",\n  opacity: 0.1\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M96.07 141.772c39.765 0 72-2.014 72-4.5 0-2.485-32.235-4.5-72-4.5-39.764 0-72 2.015-72 4.5 0 2.486 32.236 4.5 72 4.5z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M72.657 62.826c2.14 7.94 9.59 13.553 17.488 15.847 7.898 2.295 16.295 1.846 24.51 1.435 3.883-.192 7.855-.363 11.576.764 3.72 1.127 7.202 3.821 8.191 7.58.568 2.16.147 4.49-.959 6.424\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.7,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M57.306 76.348c-1.237 19.582-8.053 37.15-3.497 59.224h-5.188M63.171 135.572h-5.19l9.173-59.224\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.705,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M40.754 70.174c-4.429 2-12.93 6.455-12.929 15.5\",\n  stroke: \"#000\",\n  strokeWidth: 1.7,\n  strokeLinecap: \"round\"\n});\nvar _ref7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M76.804 102.64l-3.602.327-21.976 1.988-12.845 1.16-1.22-28.616-2.118-49.8 40.092-1.46.81 37.088.109 4.993.745 34.204.005.116z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M73.203 102.967l2.067-.188 1.537-.139-1.671-76.403-2.303.105 1.24 72.43-35.862 3.393.125 2.852.048 1.095 12.845-1.159 21.977-1.989-.003.003z\",\n  fill: \"#999F9B\"\n});\nvar _ref9 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M27.827 85.674c0 5.264 5.99 9.06 10.262 7.203\",\n  stroke: \"#000\",\n  strokeWidth: 1.7,\n  strokeLinecap: \"round\"\n});\nvar _ref10 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M145.07 26.773l-28 108.499\",\n  stroke: \"#7B807D\",\n  strokeWidth: 4.393,\n  strokeMiterlimit: 10,\n  strokeLinecap: \"round\"\n});\nvar _ref11 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M143.121 18.374L101.519 60.22a4.387 4.387 0 00-1.124 4.247 4.395 4.395 0 003.116 3.096l57.038 15.105a4.394 4.394 0 005.365-5.402l-15.439-56.943a4.393 4.393 0 00-7.354-1.949z\",\n  fill: \"#E77D5B\"\n});\nvar _ref12 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M138.137 42.556l2.44-9.216 4.756 1.26-2.44 9.215-3.501 11.163-3.78-1.001 2.525-11.421zm-3.301 22.078a3.372 3.372 0 01-2.088-1.553 3.37 3.37 0 01-.316-2.584c.24-.906.753-1.588 1.541-2.046a3.375 3.375 0 012.584-.316c.906.24 1.588.754 2.046 1.542.458.788.567 1.635.327 2.54a3.375 3.375 0 01-1.553 2.09c-.788.457-1.635.567-2.541.327z\",\n  fill: \"#962C0A\"\n});\nvar _ref13 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M133.461 94.876a8.345 8.345 0 01-4.565 3.774c-4.063 1.39-9.013-.82-10.694-4.77\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.7,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nfunction SvgAnalyticsAudienceSegmentationTileError(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 190 142\",\n    fill: \"none\"\n  }, props), _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAnalyticsAudienceSegmentationTileError);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/analytics-audience-segmentation-tile-error.svg\n");

/***/ }),

/***/ "./svg/graphics/analytics.svg":
/*!************************************!*\
  !*** ./svg/graphics/analytics.svg ***!
  \************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  fill: \"none\",\n  fillRule: \"evenodd\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M48 46.376a6.629 6.629 0 01-2.18 4.952 6.466 6.466 0 01-5.11 1.625c-3.339-.495-5.789-3.433-5.708-6.848V6.891C34.925 3.475 37.379.537 40.72.045a6.469 6.469 0 015.102 1.631A6.63 6.63 0 0148 6.622v39.754z\",\n  fill: \"#F9AB00\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M6.5 40.002a6.489 6.489 0 014.594 1.901 6.51 6.51 0 011.906 4.6 6.51 6.51 0 01-1.906 4.596A6.489 6.489 0 016.5 53a6.489 6.489 0 01-4.594-1.9A6.51 6.51 0 010 46.501a6.51 6.51 0 011.905-4.6A6.489 6.489 0 016.5 40v.002zM24.348 20.002c-3.62.197-6.429 3.256-6.346 6.908v17.644c0 4.79 2.092 7.696 5.16 8.314a6.498 6.498 0 005.442-1.358A6.61 6.61 0 0031 46.4V26.605a6.624 6.624 0 00-1.912-4.668A6.519 6.519 0 0024.459 20l-.111.002z\",\n  fill: \"#E37400\",\n  fillRule: \"nonzero\"\n}));\nfunction SvgAnalytics(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 48 53\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAnalytics);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvZ3JhcGhpY3MvYW5hbHl0aWNzLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9ncmFwaGljcy9hbmFseXRpY3Muc3ZnP2Y2NzUiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNf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DAwLTEuOTEyLTQuNjY4QTYuNTE5IDYuNTE5IDAgMDAyNC40NTkgMjBsLS4xMTEuMDAyelwiLFxuICBmaWxsOiBcIiNFMzc0MDBcIixcbiAgZmlsbFJ1bGU6IFwibm9uemVyb1wiXG59KSk7XG5mdW5jdGlvbiBTdmdBbmFseXRpY3MocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCA0OCA1M1wiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdBbmFseXRpY3M7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/graphics/analytics.svg\n");

/***/ }),

/***/ "./svg/graphics/audience-connect-analytics-cta-graphic-tablet.svg":
/*!************************************************************************!*\
  !*** ./svg/graphics/audience-connect-analytics-cta-graphic-tablet.svg ***!
  \************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z\",\n  fill: \"#B8E6CA\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z\",\n  fill: \"#B8E6CA\"\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714)\",\n  mask: \"url(#audience-connect-analytics-cta-graphic-tablet_svg__a)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 93,\n  y: 29.181,\n  width: 112.625,\n  height: 153.111,\n  rx: 8.097,\n  fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 107.008,\n  y: 92.222,\n  width: 39.025,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 107.008,\n  y: 81.214,\n  width: 14.009,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 107.008,\n  y: 117.295,\n  width: 14.009,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 106.984,\n  y: 44.639,\n  width: 26.5,\n  height: 6.625,\n  rx: 3.313,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z\",\n  fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 106.008,\n  y: 128.303,\n  width: 41.027,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M205.625 64.882H93.736\",\n  stroke: \"#EBEEF0\",\n  strokeWidth: 1.472\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 220.348,\n  y: 29.181,\n  width: 112.625,\n  height: 153.111,\n  rx: 8.097,\n  fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 234.301,\n  y: 92.222,\n  width: 38.871,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 234.301,\n  y: 81.214,\n  width: 13.954,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 234.301,\n  y: 117.295,\n  width: 13.954,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 234.332,\n  y: 44.639,\n  width: 26.5,\n  height: 6.625,\n  rx: 3.313,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M325.613 64.882H220.349\",\n  stroke: \"#EBEEF0\",\n  strokeWidth: 1.472\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z\",\n  fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 233.305,\n  y: 128.303,\n  width: 40.864,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 347.695,\n  y: 29.181,\n  width: 112.625,\n  height: 153.111,\n  rx: 8.097,\n  fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 361.648,\n  y: 92.222,\n  width: 38.871,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 361.648,\n  y: 81.214,\n  width: 13.954,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 361.648,\n  y: 117.295,\n  width: 13.954,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z\",\n  fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 361.68,\n  y: 44.639,\n  width: 26.5,\n  height: 6.625,\n  rx: 3.313,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M452.961 64.882H347.697\",\n  stroke: \"#EBEEF0\",\n  strokeWidth: 1.472\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 360.652,\n  y: 128.303,\n  width: 40.864,\n  height: 7.005,\n  rx: 3.502,\n  fill: \"#EBEEF0\"\n}));\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"clipPath\", {\n  id: \"audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fill: \"#fff\",\n  d: \"M0 0h553v158H0z\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"audience-connect-analytics-cta-graphic-tablet_svg__filter0_d_2898_16714\",\n  x: 77,\n  y: 17.181,\n  width: 399.32,\n  height: 185.111,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 4\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 8\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_2898_16714\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_2898_16714\",\n  result: \"shape\"\n})));\nfunction SvgAudienceConnectAnalyticsCtaGraphicTablet(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 553 146\",\n    fill: \"none\"\n  }, props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n    clipPath: \"url(#audience-connect-analytics-cta-graphic-tablet_svg__clip0_2898_16714)\"\n  }, _ref, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"mask\", {\n    id: \"audience-connect-analytics-cta-graphic-tablet_svg__a\",\n    style: {\n      maskType: \"alpha\"\n    },\n    maskUnits: \"userSpaceOnUse\",\n    x: 48,\n    y: 1,\n    width: 441,\n    height: 237\n  }, _ref2), _ref3), _ref4);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceConnectAnalyticsCtaGraphicTablet);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/audience-connect-analytics-cta-graphic-tablet.svg\n");

/***/ }),

/***/ "./svg/graphics/audience-connect-analytics-cta-graphic.svg":
/*!*****************************************************************!*\
  !*** ./svg/graphics/audience-connect-analytics-cta-graphic.svg ***!
  \*****************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"audience-connect-analytics-cta-graphic_svg__c\",\n  x: 109.551,\n  y: 18.171,\n  width: 144.59,\n  height: 185.064,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 4\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 8\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_1731_24094\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_1731_24094\",\n  result: \"shape\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"audience-connect-analytics-cta-graphic_svg__d\",\n  x: 236.859,\n  y: 18.171,\n  width: 144.59,\n  height: 185.064,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 4\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 8\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_1731_24094\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_1731_24094\",\n  result: \"shape\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"clipPath\", {\n  id: \"audience-connect-analytics-cta-graphic_svg__a\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fill: \"#fff\",\n  d: \"M0 0h480v150H0z\"\n})));\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z\",\n  fill: \"#B8E6CA\"\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M91.722 36.579a71.937 71.937 0 017.307-6.582c24.521-19.234 44.779-19.204 72.826-15.693 18.961 2.373 30.038 11.4 55.889 9.98 25.851-1.42 32.474-7.992 64.117-5.887 25.048 1.667 36.285 6.612 58.554 18.182 20.61 10.707 39.324 29.519 48.728 54.397 16.12 42.644-12.622 119.393-51.166 123.012-27.93 2.623-50.979-28.308-79.169-21.145-17.366 4.414-27.666 22.927-41.064 35.144-15.631 14.255-49.304 13.359-67.607 5.751-17.442-7.248-34.409-21.615-40.106-42.775-4.337-16.114-5.519-35.322-17.661-50.04-14.694-17.811-23.672-25.756-28.716-49.947-4.382-21.009 5.045-40.938 18.068-54.397z\",\n  fill: \"#B8E6CA\"\n});\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  mask: \"url(#audience-connect-analytics-cta-graphic_svg__b)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#audience-connect-analytics-cta-graphic_svg__c)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 125.551,\n  y: 30.171,\n  width: 112.591,\n  height: 153.065,\n  rx: 8.095,\n  fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 139.555,\n  y: 93.193,\n  width: 39.014,\n  height: 7.002,\n  rx: 3.501,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 139.555,\n  y: 82.189,\n  width: 14.005,\n  height: 7.002,\n  rx: 3.501,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 139.555,\n  y: 118.259,\n  width: 14.005,\n  height: 7.002,\n  rx: 3.501,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M202.578 91.693a6.502 6.502 0 016.502-6.503h10.004a6.502 6.502 0 010 13.005H209.08a6.502 6.502 0 01-6.502-6.502z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 139.535,\n  y: 45.625,\n  width: 26.492,\n  height: 6.623,\n  rx: 3.311,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M202.578 127.763a6.502 6.502 0 016.502-6.502h10.004a6.502 6.502 0 110 13.004H209.08a6.502 6.502 0 01-6.502-6.502z\",\n  fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 138.555,\n  y: 129.263,\n  width: 41.014,\n  height: 7.002,\n  rx: 3.501,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M238.141 65.862H126.286\",\n  stroke: \"#EBEEF0\",\n  strokeWidth: 1.472\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#audience-connect-analytics-cta-graphic_svg__d)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 252.859,\n  y: 30.171,\n  width: 112.591,\n  height: 153.065,\n  rx: 8.095,\n  fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 266.809,\n  y: 93.193,\n  width: 38.859,\n  height: 7.002,\n  rx: 3.501,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 266.809,\n  y: 82.189,\n  width: 13.949,\n  height: 7.002,\n  rx: 3.501,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 266.805,\n  y: 118.259,\n  width: 13.949,\n  height: 7.002,\n  rx: 3.501,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M329.582 91.693a6.502 6.502 0 016.502-6.503h9.912a6.502 6.502 0 110 13.005h-9.912a6.502 6.502 0 01-6.502-6.502z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 266.844,\n  y: 45.625,\n  width: 26.492,\n  height: 6.623,\n  rx: 3.311,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M358.094 65.862H252.862\",\n  stroke: \"#EBEEF0\",\n  strokeWidth: 1.472\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M329.582 127.763a6.502 6.502 0 016.502-6.502h9.912a6.502 6.502 0 110 13.004h-9.912a6.502 6.502 0 01-6.502-6.502z\",\n  fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 265.812,\n  y: 129.263,\n  width: 40.852,\n  height: 7.002,\n  rx: 3.501,\n  fill: \"#EBEEF0\"\n}));\nfunction SvgAudienceConnectAnalyticsCtaGraphic(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"-3 1 333.666 149.252\",\n    fill: \"none\"\n  }, props), _ref, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n    clipPath: \"url(#audience-connect-analytics-cta-graphic_svg__a)\",\n    transform: \"translate(-73)\"\n  }, _ref2, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"mask\", {\n    id: \"audience-connect-analytics-cta-graphic_svg__b\",\n    style: {\n      maskType: \"alpha\"\n    },\n    maskUnits: \"userSpaceOnUse\",\n    x: 72,\n    y: 12,\n    width: 332,\n    height: 228\n  }, _ref3), _ref4));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceConnectAnalyticsCtaGraphic);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/audience-connect-analytics-cta-graphic.svg\n");

/***/ }),

/***/ "./svg/graphics/audience-segmentation-collecting-data.svg":
/*!****************************************************************!*\
  !*** ./svg/graphics/audience-segmentation-collecting-data.svg ***!
  \****************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M54.323 93.529c21.908 0 39.667-17.76 39.667-39.667 0-21.908-17.76-39.667-39.667-39.667s-39.667 17.76-39.667 39.667 17.76 39.667 39.667 39.667z\",\n  fill: \"#EBEEF0\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M37.717 38.469l52.162 18.445a12.955 12.955 0 0016.533-7.896v0a12.948 12.948 0 00-3.553-13.955 12.952 12.952 0 00-4.349-2.582L87.023 28.42l-.014.042c.3-1.877.323-3.787.07-5.67\",\n  stroke: \"#161B18\",\n  strokeWidth: 2.578,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M70.947 38.469L18.785 56.914A12.955 12.955 0 012.25 49.018v0a12.955 12.955 0 017.902-16.537L21.64 28.42l.016.042a19.431 19.431 0 01-.07-5.668\",\n  stroke: \"#161B18\",\n  strokeWidth: 2.578,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z\",\n  fill: \"#70B2F5\"\n});\nvar _ref5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M27.61.51l.497 83.126a39.625 39.625 0 0053.598-1.071l1.19-82.11L27.61.51z\",\n  fill: \"#77AD8C\"\n});\nvar _ref6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M82.648 17.112l.24-16.66h-5.853l-1.033 86.633a39.782 39.782 0 005.702-4.526l.944-65.447z\",\n  fill: \"#77AD8C\",\n  opacity: 0.2\n});\nvar _ref7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M44.723 46.377c4.916 3.946 11.868 4.892 19.218.273\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.785,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M80.38 24.992c0-9.563-11.446-17.056-26.059-17.056-14.613 0-26.06 7.49-26.06 17.056h52.12z\",\n  fill: \"#7B807D\"\n});\nvar _ref9 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M39.588 39.736c8.143 0 14.744-6.6 14.744-14.744 0-8.143-6.601-14.744-14.744-14.744s-14.744 6.601-14.744 14.744 6.601 14.744 14.744 14.744z\",\n  fill: \"#fff\",\n  stroke: \"#464B48\",\n  strokeWidth: 4.363,\n  strokeLinejoin: \"round\"\n});\nvar _ref10 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M69.076 39.736c8.143 0 14.745-6.6 14.745-14.744 0-8.143-6.602-14.744-14.745-14.744-8.143 0-14.744 6.601-14.744 14.744s6.601 14.744 14.744 14.744z\",\n  fill: \"#fff\",\n  stroke: \"#464B48\",\n  strokeWidth: 4.363,\n  strokeLinejoin: \"round\"\n});\nvar _ref11 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M30.86 24.992a8.739 8.739 0 018.726-8.726M60.348 24.992a8.738 8.738 0 018.726-8.726\",\n  stroke: \"#B8BDB9\",\n  strokeWidth: 3.173,\n  strokeLinejoin: \"round\"\n});\nfunction SvgAudienceSegmentationCollectingData(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 109 94\",\n    fill: \"none\"\n  }, props), _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceSegmentationCollectingData);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/audience-segmentation-collecting-data.svg\n");

/***/ }),

/***/ "./svg/graphics/audience-segmentation-error-full-width.svg":
/*!*****************************************************************!*\
  !*** ./svg/graphics/audience-segmentation-error-full-width.svg ***!
  \*****************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M2.956 80.014a32.365 32.365 0 006.283 9.673c10.459 11.015 25.911 11.949 40.083 9.193A98.307 98.307 0 0088.91 81.449c6.738-4.994 13.394-11.19 22.316-11.467 3.35-.103 6.814.82 9.345 2.998 5.259 4.497 5.165 12.186 9.269 17.516 5.458 7.088 13.308 9.283 21.87 10.101 24.191 2.309 53.006-5.265 69.646-23.694 14.857-16.452 16.64-42.63-1.343-57.629-8.216-6.852-19.483-9.992-30.117-8.392-8.127 1.223-16.378 4.942-24.791 5.977-9.908 1.22-16.033-2.943-24.05-7.79C127.086.641 108.62-2.597 92.807 2.292 77.671 6.972 66.777 19.747 52.048 25.36c-12.727 4.852-27.762 4.114-38.82 12.017C.143 46.727-3.146 65.603 2.956 80.014z\",\n  fill: \"#F3F5F7\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z\",\n  fill: \"#161B18\",\n  opacity: 0.1\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M118.945 116.194c32.642 0 59.104-1.654 59.104-3.694s-26.462-3.694-59.104-3.694c-32.643 0-59.105 1.654-59.105 3.694s26.462 3.694 59.105 3.694z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M99.725 51.387c1.758 6.518 7.872 11.126 14.356 13.01 6.484 1.882 13.377 1.514 20.12 1.177 3.188-.158 6.449-.298 9.503.627 3.054.925 5.912 3.137 6.724 6.222.466 1.773.121 3.686-.787 5.274\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.396,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M87.114 62.487c-1.015 16.075-6.61 30.497-2.87 48.618h-4.26M91.929 111.105h-4.261l7.53-48.618\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.4,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M73.527 57.419c-3.635 1.642-10.613 5.299-10.613 12.724\",\n  stroke: \"#000\",\n  strokeWidth: 1.396,\n  strokeLinecap: \"round\"\n});\nvar _ref7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M103.118 84.07l-2.957.269-18.04 1.632-10.545.952-1-23.491-1.74-40.88 32.912-1.199.664 30.445.09 4.099.612 28.078.004.095z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M100.163 84.338l1.697-.154 1.261-.114-1.371-62.719-1.891.087 1.017 59.457-29.439 2.786.103 2.34.04.9 10.544-.952 18.041-1.632-.002.001z\",\n  fill: \"#999F9B\"\n});\nvar _ref9 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M62.912 70.143c0 4.321 4.917 7.437 8.424 5.913\",\n  stroke: \"#000\",\n  strokeWidth: 1.396,\n  strokeLinecap: \"round\"\n});\nvar _ref10 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M159.169 21.79l-22.985 89.068\",\n  stroke: \"#7B807D\",\n  strokeWidth: 3.607,\n  strokeMiterlimit: 10,\n  strokeLinecap: \"round\"\n});\nvar _ref11 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M157.57 14.896l-34.151 34.351a3.61 3.61 0 00.016 5.1 3.608 3.608 0 001.62.929l46.822 12.4a3.606 3.606 0 004.404-4.435l-12.674-46.745a3.599 3.599 0 00-2.557-2.542 3.605 3.605 0 00-3.48.942z\",\n  fill: \"#E77D5B\"\n});\nvar _ref12 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M153.345 35.252l2.003-7.566 3.905 1.034-2.003 7.566-2.874 9.163-3.103-.822 2.072-9.375zm-2.709 18.123a2.77 2.77 0 01-1.715-1.274 2.768 2.768 0 01-.259-2.121c.197-.744.619-1.304 1.265-1.68a2.77 2.77 0 012.121-.259c.744.197 1.304.619 1.68 1.266.375.646.465 1.342.268 2.085a2.77 2.77 0 01-1.275 1.715c-.646.376-1.342.465-2.085.268z\",\n  fill: \"#962C0A\"\n});\nvar _ref13 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M149.639 77.697a6.848 6.848 0 01-3.747 3.098c-3.335 1.14-7.399-.673-8.778-3.916\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.396,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nfunction SvgAudienceSegmentationErrorFullWidth(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 233 117\",\n    fill: \"none\"\n  }, props), _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceSegmentationErrorFullWidth);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/audience-segmentation-error-full-width.svg\n");

/***/ }),

/***/ "./svg/graphics/audience-segmentation-introductory-graphic-desktop.svg":
/*!*****************************************************************************!*\
  !*** ./svg/graphics/audience-segmentation-introductory-graphic-desktop.svg ***!
  \*****************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  clipPath: \"url(#audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: -10,\n  y: 25,\n  width: 153,\n  height: 174,\n  rx: 11,\n  fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 9.031,\n  y: 110.641,\n  width: 53.016,\n  height: 9.516,\n  rx: 4.758,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 9.031,\n  y: 95.688,\n  width: 19.031,\n  height: 9.516,\n  rx: 4.758,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 9.031,\n  y: 148.703,\n  width: 19.031,\n  height: 9.516,\n  rx: 4.758,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M94.672 108.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 010 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 9,\n  y: 46,\n  width: 36,\n  height: 9,\n  rx: 4.5,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M94.672 161.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z\",\n  fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 152,\n  y: 25,\n  width: 153,\n  height: 174,\n  rx: 11,\n  fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 170.955,\n  y: 110.641,\n  width: 52.805,\n  height: 9.516,\n  rx: 4.758,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 170.955,\n  y: 95.688,\n  width: 18.956,\n  height: 9.516,\n  rx: 4.758,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 170.955,\n  y: 148.703,\n  width: 18.956,\n  height: 9.516,\n  rx: 4.758,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M256.256 108.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 171,\n  y: 46,\n  width: 36,\n  height: 9,\n  rx: 4.5,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M295 73.5H152\",\n  stroke: \"#EBEEF0\",\n  strokeWidth: 2\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M256.256 161.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z\",\n  fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M143 73.5H0\",\n  stroke: \"#EBEEF0\",\n  strokeWidth: 2\n}));\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972\",\n  x: -26,\n  y: 13,\n  width: 185,\n  height: 206,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 4\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 8\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_1395_20972\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_1395_20972\",\n  result: \"shape\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972\",\n  x: 136,\n  y: 13,\n  width: 185,\n  height: 206,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 4\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 8\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_1395_20972\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_1395_20972\",\n  result: \"shape\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"clipPath\", {\n  id: \"audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z\",\n  fill: \"#fff\"\n})));\nfunction SvgAudienceSegmentationIntroductoryGraphicDesktop(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 296 163\",\n    fill: \"none\"\n  }, props), _ref, _ref2);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceSegmentationIntroductoryGraphicDesktop);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/audience-segmentation-introductory-graphic-desktop.svg\n");

/***/ }),

/***/ "./svg/graphics/audience-segmentation-introductory-graphic-mobile.svg":
/*!****************************************************************************!*\
  !*** ./svg/graphics/audience-segmentation-introductory-graphic-mobile.svg ***!
  \****************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z\",\n  fill: \"#B8E6CA\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z\",\n  fill: \"#B8E6CA\"\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  mask: \"url(#audience-segmentation-introductory-graphic-mobile_svg__a)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 71.449,\n  y: 21.433,\n  width: 100.401,\n  height: 136.493,\n  rx: 7.218,\n  fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 83.941,\n  y: 77.631,\n  width: 34.79,\n  height: 6.244,\n  rx: 3.122,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 83.941,\n  y: 67.819,\n  width: 12.489,\n  height: 6.244,\n  rx: 3.122,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 83.941,\n  y: 99.983,\n  width: 12.489,\n  height: 6.244,\n  rx: 3.122,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M140.133 76.293a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.596h-8.921a5.798 5.798 0 01-5.798-5.798z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 83.926,\n  y: 35.213,\n  width: 23.624,\n  height: 5.906,\n  rx: 2.953,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M140.133 108.458a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.597h-8.921a5.798 5.798 0 01-5.798-5.799z\",\n  fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 83.043,\n  y: 109.796,\n  width: 36.574,\n  height: 6.244,\n  rx: 3.122,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M171.848 53.259H72.103\",\n  stroke: \"#EBEEF0\",\n  strokeWidth: 1.312\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 184.973,\n  y: 21.433,\n  width: 100.401,\n  height: 136.493,\n  rx: 7.218,\n  fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 197.414,\n  y: 77.631,\n  width: 34.652,\n  height: 6.244,\n  rx: 3.122,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 197.414,\n  y: 67.819,\n  width: 12.439,\n  height: 6.244,\n  rx: 3.122,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 197.41,\n  y: 99.983,\n  width: 12.439,\n  height: 6.244,\n  rx: 3.122,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M253.391 76.293a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.596h-8.839a5.798 5.798 0 01-5.798-5.798z\",\n  fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 197.449,\n  y: 35.213,\n  width: 23.624,\n  height: 5.906,\n  rx: 2.953,\n  fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M278.82 53.259h-93.838\",\n  stroke: \"#EBEEF0\",\n  strokeWidth: 1.312\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M253.391 108.458a5.798 5.798 0 015.798-5.798h8.839a5.798 5.798 0 010 11.597h-8.839a5.798 5.798 0 01-5.798-5.799z\",\n  fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 196.523,\n  y: 109.796,\n  width: 36.429,\n  height: 6.244,\n  rx: 3.122,\n  fill: \"#EBEEF0\"\n}));\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651\",\n  x: 55.449,\n  y: 9.433,\n  width: 132.402,\n  height: 168.493,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 4\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 8\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_2898_16651\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_2898_16651\",\n  result: \"shape\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"audience-segmentation-introductory-graphic-mobile_svg__filter1_d_2898_16651\",\n  x: 168.973,\n  y: 9.433,\n  width: 132.402,\n  height: 168.493,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 4\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 8\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_2898_16651\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_2898_16651\",\n  result: \"shape\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"clipPath\", {\n  id: \"audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fill: \"#fff\",\n  d: \"M0 0h343v128H0z\"\n})));\nfunction SvgAudienceSegmentationIntroductoryGraphicMobile(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 343 123\",\n    fill: \"none\"\n  }, props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n    clipPath: \"url(#audience-segmentation-introductory-graphic-mobile_svg__clip0_2898_16651)\"\n  }, _ref, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"mask\", {\n    id: \"audience-segmentation-introductory-graphic-mobile_svg__a\",\n    style: {\n      maskType: \"alpha\"\n    },\n    maskUnits: \"userSpaceOnUse\",\n    x: 24,\n    y: 5,\n    width: 295,\n    height: 203\n  }, _ref2), _ref3), _ref4);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceSegmentationIntroductoryGraphicMobile);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/audience-segmentation-introductory-graphic-mobile.svg\n");

/***/ }),

/***/ "./svg/graphics/banner-audience-segmentation-setup-cta-mobile.svg?url":
/*!****************************************************************************!*\
  !*** ./svg/graphics/banner-audience-segmentation-setup-cta-mobile.svg?url ***!
  \****************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"data:image/svg+xml;base64, \");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/banner-audience-segmentation-setup-cta-mobile.svg?url\n");

/***/ }),

/***/ "./svg/graphics/banner-audience-segmentation-setup-cta.svg?url":
/*!*********************************************************************!*\
  !*** ./svg/graphics/banner-audience-segmentation-setup-cta.svg?url ***!
  \*********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"data:image/svg+xml;base64, \");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/banner-audience-segmentation-setup-cta.svg?url\n");

/***/ }),

/***/ "./svg/graphics/banner-conversions-setup-cta-mobile.svg?url":
/*!******************************************************************!*\
  !*** ./svg/graphics/banner-conversions-setup-cta-mobile.svg?url ***!
  \******************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"data:image/svg+xml;base64, \");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/banner-conversions-setup-cta-mobile.svg?url\n");

/***/ }),

/***/ "./svg/graphics/banner-conversions-setup-cta.svg?url":
/*!***********************************************************!*\
  !*** ./svg/graphics/banner-conversions-setup-cta.svg?url ***!
  \***********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"data:image/svg+xml;base64, \");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/banner-conversions-setup-cta.svg?url\n");

/***/ }),

/***/ "./svg/graphics/banner-enhanced-measurement-setup-cta-mobile.svg?url":
/*!***************************************************************************!*\
  !*** ./svg/graphics/banner-enhanced-measurement-setup-cta-mobile.svg?url ***!
  \***************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"data:image/svg+xml;base64, \");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/banner-enhanced-measurement-setup-cta-mobile.svg?url\n");

/***/ }),

/***/ "./svg/graphics/banner-enhanced-measurement-setup-cta.svg?url":
/*!********************************************************************!*\
  !*** ./svg/graphics/banner-enhanced-measurement-setup-cta.svg?url ***!
  \********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"data:image/svg+xml;base64, \");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/banner-enhanced-measurement-setup-cta.svg?url\n");

/***/ }),

/***/ "./svg/graphics/banner-error.svg?url":
/*!*******************************************!*\
  !*** ./svg/graphics/banner-error.svg?url ***!
  \*******************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"data:image/svg+xml;base64, \");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/banner-error.svg?url\n");

/***/ }),

/***/ "./svg/graphics/banner-warning.svg?url":
/*!*********************************************!*\
  !*** ./svg/graphics/banner-warning.svg?url ***!
  \*********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"data:image/svg+xml;base64, \");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/banner-warning.svg?url\n");

/***/ }),

/***/ "./svg/graphics/key-metrics-no-selected-items.svg":
/*!********************************************************!*\
  !*** ./svg/graphics/key-metrics-no-selected-items.svg ***!
  \********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M59.238 58.571c-2.136 20.178 4.272 29.099 20.48 53.216 16.209 24.118-29.092 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.443-3.208 57.819 12.98 90.86 5.9 33.04-7.08 46.385-42.599 43.153-68.059-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86-18.53 5.918-32.662 22.571-34.335 38.621z\",\n  fill: \"#B8E6CA\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#key-metrics-no-selected-items_svg__filter0_d_2200_11981)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 242.455,\n  y: 45.266,\n  width: 130.621,\n  height: 89.651,\n  rx: 10.957,\n  transform: \"rotate(15 242.455 45.266)\",\n  fill: \"#fff\"\n}));\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 253.726,\n  y: 64.785,\n  width: 24.903,\n  height: 7.969,\n  rx: 3.985,\n  transform: \"rotate(15 253.726 64.785)\",\n  fill: \"#EBEEF0\"\n});\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 249.342,\n  y: 81.144,\n  width: 49.806,\n  height: 19.923,\n  rx: 9.961,\n  transform: \"rotate(15 249.342 81.144)\",\n  fill: \"#FFDED3\"\n});\nvar _ref5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 240.436,\n  y: 114.357,\n  width: 99.428,\n  height: 8.773,\n  rx: 3.985,\n  transform: \"rotate(15 240.436 114.357)\",\n  fill: \"#EBEEF0\"\n});\nvar _ref6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M256.195 90.198l4.644 8.044m0 0l1.412-4.986m-1.412 4.986l-5.023-1.27\",\n  stroke: \"#fff\",\n  strokeWidth: 1.494,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 268.706,\n  y: 93.551,\n  width: 19.923,\n  height: 5.977,\n  rx: 1.992,\n  transform: \"rotate(15 268.706 93.55)\",\n  fill: \"#fff\"\n});\nvar _ref8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#key-metrics-no-selected-items_svg__filter1_d_2200_11981)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 13.887,\n  y: 79.094,\n  width: 130.621,\n  height: 89.68,\n  rx: 10.957,\n  transform: \"rotate(-15 13.887 79.094)\",\n  fill: \"#fff\"\n}));\nvar _ref9 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 32.989,\n  y: 90.122,\n  width: 62.386,\n  height: 7.798,\n  rx: 3.899,\n  transform: \"rotate(-15 32.99 90.122)\",\n  fill: \"#EBEEF0\"\n});\nvar _ref10 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 37.691,\n  y: 106.902,\n  width: 49.806,\n  height: 19.923,\n  rx: 9.961,\n  transform: \"rotate(-15 37.691 106.902)\",\n  fill: \"#FFDED3\"\n});\nvar _ref11 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 46.612,\n  y: 140.967,\n  width: 99.428,\n  height: 7.798,\n  rx: 3.899,\n  transform: \"rotate(-15 46.612 140.967)\",\n  fill: \"#EBEEF0\"\n});\nvar _ref12 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M48.152 111.318l8.044 4.645m0 0l-1.27-5.024m1.27 5.024l-4.986 1.411\",\n  stroke: \"#fff\",\n  strokeWidth: 1.494,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref13 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 60.663,\n  y: 107.966,\n  width: 19.923,\n  height: 5.977,\n  rx: 1.992,\n  transform: \"rotate(-15 60.663 107.966)\",\n  fill: \"#fff\"\n});\nvar _ref14 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  filter: \"url(#key-metrics-no-selected-items_svg__filter2_d_2200_11981)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 126.251,\n  y: 37.4,\n  width: 130.621,\n  height: 89.68,\n  rx: 10.957,\n  fill: \"#fff\"\n}));\nvar _ref15 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 143.013,\n  y: 53.134,\n  width: 98.333,\n  height: 7.867,\n  rx: 3.933,\n  fill: \"#EBEEF0\"\n});\nvar _ref16 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 142.369,\n  y: 70.423,\n  width: 49.806,\n  height: 19.923,\n  rx: 9.961,\n  fill: \"#B8E6CA\"\n});\nvar _ref17 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 143.013,\n  y: 105.84,\n  width: 33.04,\n  height: 7.867,\n  rx: 3.933,\n  fill: \"#EBEEF0\"\n});\nvar _ref18 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M151.336 84.036l6.568-6.567m0 0l-5.182-.073m5.182.073l.073 5.18\",\n  stroke: \"#fff\",\n  strokeWidth: 1.494,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref19 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n  x: 164.287,\n  y: 77.395,\n  width: 19.923,\n  height: 5.977,\n  rx: 1.992,\n  fill: \"#fff\"\n});\nvar _ref20 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M59.237 58.571C57.1 78.75 63.509 87.67 79.717 111.787c16.209 24.118-29.091 62.914 5.475 101.268 33.827 37.532 69.419.009 111.314-4.555 29.444-3.208 57.82 12.98 90.86 5.9s46.385-42.599 43.153-68.059c-5.59-44.041-26.24-49.107-34.893-66.461-8.654-17.354 2.902-52.997-30.287-73.16-33.19-20.163-76.71 14.42-112.503 12.37-20.651-1.182-40.932-4.995-59.264.86C75.042 25.867 60.91 42.52 59.237 58.57z\",\n  fill: \"#B8E6CA\"\n});\nvar _ref21 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  mask: \"url(#key-metrics-no-selected-items_svg__a)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M227.674 108.973l11.312-8.418M218.925 98.852l2.868-12.68M205.623 102.87l-5.375-13.037\",\n  stroke: \"#CBD0D3\",\n  strokeWidth: 3.147,\n  strokeMiterlimit: 10\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M63.953 190.487c16.127 12.193 38.716 10.349 55.335 5.162 16.618-5.187 31.107-14.61 45.314-23.791 6.717-4.337 13.617-8.738 21.496-11.119 7.878-2.381 17.057-2.39 22.958 1.658 3.392 2.328 5.205 5.923 5.36 9.702\",\n  stroke: \"#3C7251\",\n  strokeWidth: 9.44,\n  strokeLinejoin: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M215.831 109.67l-19.169 71.73\",\n  stroke: \"#CBD0D3\",\n  strokeWidth: 9.44,\n  strokeMiterlimit: 10,\n  strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M213.975 116.472l-19.169 71.731\",\n  stroke: \"#161B18\",\n  strokeWidth: 9.44,\n  strokeMiterlimit: 10\n}));\nvar _ref22 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"key-metrics-no-selected-items_svg__filter0_d_2200_11981\",\n  x: 205.773,\n  y: 35.772,\n  width: 176.33,\n  height: 147.36,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 3.985\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 7.969\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_2200_11981\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_2200_11981\",\n  result: \"shape\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"key-metrics-no-selected-items_svg__filter1_d_2200_11981\",\n  x: 0.409,\n  y: 35.793,\n  width: 176.337,\n  height: 147.388,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 3.985\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 7.969\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_2200_11981\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_2200_11981\",\n  result: \"shape\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n  id: \"key-metrics-no-selected-items_svg__filter2_d_2200_11981\",\n  x: 110.313,\n  y: 25.447,\n  width: 162.497,\n  height: 121.556,\n  filterUnits: \"userSpaceOnUse\",\n  colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n  floodOpacity: 0,\n  result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  in: \"SourceAlpha\",\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n  result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n  dy: 3.985\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n  stdDeviation: 7.969\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n  in2: \"hardAlpha\",\n  operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n  values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in2: \"BackgroundImageFix\",\n  result: \"effect1_dropShadow_2200_11981\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feBlend\", {\n  in: \"SourceGraphic\",\n  in2: \"effect1_dropShadow_2200_11981\",\n  result: \"shape\"\n})));\nfunction SvgKeyMetricsNoSelectedItems(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 383 238\",\n    fill: \"none\"\n  }, props), _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"mask\", {\n    id: \"key-metrics-no-selected-items_svg__a\",\n    style: {\n      maskType: \"alpha\"\n    },\n    maskUnits: \"userSpaceOnUse\",\n    x: 58,\n    y: 0,\n    width: 273,\n    height: 230\n  }, _ref20), _ref21, _ref22);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgKeyMetricsNoSelectedItems);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/key-metrics-no-selected-items.svg\n");

/***/ }),

/***/ "./svg/graphics/no-audience-banner-graphic.svg":
/*!*****************************************************!*\
  !*** ./svg/graphics/no-audience-banner-graphic.svg ***!
  \*****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M2.675 72.31a29.248 29.248 0 005.678 8.74c9.451 9.955 23.416 10.799 36.223 8.308a88.838 88.838 0 0035.776-15.752c6.09-4.513 12.104-10.113 20.167-10.363 3.027-.093 6.158.741 8.445 2.71 4.753 4.063 4.668 11.012 8.377 15.829 4.932 6.405 12.026 8.389 19.764 9.128 21.862 2.086 47.902-4.758 62.939-21.412 13.426-14.868 15.038-38.526-1.214-52.08-7.425-6.192-17.606-9.03-27.216-7.584-7.345 1.105-14.801 4.467-22.404 5.401-8.954 1.103-14.49-2.659-21.734-7.04C114.852.58 98.164-2.345 83.874 2.072 70.195 6.301 60.35 17.846 47.04 22.918c-11.502 4.385-25.089 3.717-35.082 10.86C.133 42.228-2.84 59.286 2.675 72.31z\",\n  fill: \"#B8E6CA\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z\",\n  fill: \"#161B18\",\n  opacity: 0.1\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M108.273 109c54.612 0 98.883-1.735 98.883-3.874 0-2.14-44.271-3.875-98.883-3.875-54.611 0-98.882 1.735-98.882 3.875 0 2.139 44.27 3.874 98.882 3.874z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M134.765 53.225c-1.065 16.927-6.936 32.112-3.012 51.193h-4.468M139.814 104.418h-4.47l7.9-51.193\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.472,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M120.504 36.651c-3.814 1.73-11.135 5.58-11.135 13.398M147.266 35.787c3.493 1.787 11.06 7.678 11.977 13.225\",\n  stroke: \"#000\",\n  strokeWidth: 1.468,\n  strokeLinecap: \"round\"\n});\nvar _ref6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M151.555 75.952l-3.102.282-18.926 1.719-11.063 1.002-1.049-24.735-1.825-43.046 34.528-1.262.697 32.058.094 4.316.642 29.565.004.1z\",\n  fill: \"#77AD8C\"\n});\nvar _ref7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M148.453 76.234l1.78-.162 1.323-.12-1.439-66.042-1.983.091 1.281 63.2-24.976 2.127.862-19.15-7.844-1.074.86 20.438.107 2.465.041.946 11.063-1.002 18.927-1.719-.002.002z\",\n  fill: \"#5C9271\"\n});\nvar _ref8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M135.891 70.752c.032.916-.392-20.197-.629-27.044-6.628-3.008-13.797-3.559-20.67-1.228l.628 27.043c6.874-2.33 14.043-1.779 20.671 1.23z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref9 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M135.926 70.752c.01.916-.547-20.194-.629-27.044 6.481-3.306 13.617-4.182 20.592-2.166l.629 27.043c-6.975-2.015-14.111-1.139-20.592 2.167z\",\n  fill: \"#EBEEF0\"\n});\nvar _ref10 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M133.233 60.796c-.083-3.907-.202-9.298-.333-14.96l.196-.005a8403.731 8403.731 0 01.43 19.559l.023 1.18.004.262a.337.337 0 010 .046v.004l-.001.008a.179.179 0 01-.093.083.177.177 0 01-.1-.08l-.002-.007v-.004-.003l-.001-.02h.001v-.025l-.004-.26-.023-1.18-.097-4.598zm.126 6.063a.19.19 0 01.093-.08.19.19 0 01.097.073l-.19.007zm.194.01v-.001.001zM130.917 60.007c-.084-3.912-.203-9.29-.334-14.911l.197-.004a10934.46 10934.46 0 01.432 19.528l.024 1.198.004.271.001.05v.008l-.004.02c-.054.062-.17.035-.189-.002a.054.054 0 01-.003-.015l-.001-.005v-.018-.035l-.005-.27-.024-1.198c-.022-1.071-.055-2.66-.098-4.617zm.129 6.12l.193-.006-.001-.006c-.02-.037-.135-.063-.19-.002a.079.079 0 00-.002.014zM128.613 59.401c-.086-3.923-.206-9.285-.335-14.834l.197-.005a9889.942 9889.942 0 01.459 20.704l.005.284.001.055v.008l-.001.006a.179.179 0 01-.094.087.184.184 0 01-.1-.082l-.001-.007-.001-.017h.001l-.001-.047-.005-.283-.025-1.221-.1-4.648zm.131 6.199l.195-.007a.192.192 0 00-.1-.081.187.187 0 00-.095.086v.002zM126.303 58.977c-.087-3.938-.207-9.284-.334-14.744l.196-.005c.127 5.46.248 10.807.335 14.744l.102 4.688a412.921 412.921 0 01.032 1.545l.001.061v.012l-.001.009c-.005.02-.109.084-.191.017a.156.156 0 01-.004-.02v-.004-.002-.002l-.001-.007h.001v-.001l-.001-.06-.006-.296-.026-1.248-.103-4.688zm.136 6.292l.195-.007a.08.08 0 00-.004-.018c-.081-.066-.186-.003-.19.017l-.001.008zm.196-.002zM124.002 58.73c-.088-3.958-.209-9.292-.334-14.653l.196-.004a14128.617 14128.617 0 01.439 19.391l.028 1.28.006.312.002.068v.015l-.002.014c-.08.078-.19.014-.194-.004l-.001-.007v-.002-.007l.196-.006v-.005c-.005-.018-.114-.082-.194-.004a.157.157 0 00-.002.014v-.006l-.001-.066-.006-.312-.028-1.28-.105-4.738zM121.709 58.698c-.09-3.97-.211-9.281-.333-14.54l.196-.005a15730.945 15730.945 0 01.44 19.316l.029 1.306.006.327.002.074v.021a.191.191 0 01-.021.056.165.165 0 01-.175-.05v-.006l-.001-.004.197-.007-.001-.003a.163.163 0 00-.174-.05.193.193 0 00-.021.056v.003l-.001-.013-.001-.073-.007-.326-.028-1.307-.107-4.775zM119.414 58.855c-.091-3.986-.212-9.28-.332-14.44l.196-.005c.12 5.16.242 10.454.333 14.44l.109 4.818.03 1.336.008.34.001.082.001.017v.006c0 .004-.098.096-.196.009l-.001-.007v-.002l.197-.006-.001-.006c-.098-.087-.196.005-.196.01v.001V65.43l-.002-.081-.007-.34-.03-1.336-.11-4.819zM116.797 44.873l.196-.004.489 21.033h-.01a271.267 271.267 0 01-.186.005l-.489-21.034z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref11 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M133.317 67.22c-5.153-1.86-10.563-2.237-15.85-.939a.388.388 0 11-.188-.754c5.447-1.338 11.016-.948 16.306.963a.388.388 0 11-.268.73zM133.267 64.222c-5.159-1.867-10.574-2.245-15.866-.946a.388.388 0 11-.189-.754c5.454-1.34 11.027-.947 16.323.97a.387.387 0 01.234.498.392.392 0 01-.502.232zM133.204 61.217c-5.162-1.867-10.576-2.245-15.866-.946a.393.393 0 01-.475-.284.389.389 0 01.287-.47c5.45-1.339 11.023-.946 16.323.97a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.134 58.212c-5.163-1.866-10.576-2.245-15.866-.946a.388.388 0 11-.189-.755c5.451-1.338 11.024-.945 16.323.97a.386.386 0 01.234.499.392.392 0 01-.502.232zM133.071 55.213c-5.163-1.872-10.584-2.252-15.881-.95a.388.388 0 11-.189-.754c5.459-1.342 11.038-.947 16.339.974a.388.388 0 01.234.498.393.393 0 01-.503.232zM133.001 52.208c-5.164-1.87-10.584-2.252-15.882-.95a.389.389 0 11-.188-.755c5.458-1.34 11.038-.945 16.339.975a.388.388 0 11-.269.73z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref12 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M116.886 44.87c5.378-1.32 10.878-.934 16.11.963l.054 2.999c-5.227-1.891-10.721-2.276-16.094-.957l-.07-3.004z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref13 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M117.284 45.175l.051 2.211c5.118-1.161 10.331-.806 15.312.893l-.039-2.17c-4.989-1.759-10.21-2.127-15.324-.934zm-.494-.68c5.459-1.342 11.038-.948 16.339.974l.253.091.069 3.832-.536-.194c-5.159-1.867-10.574-2.245-15.866-.945l-.475.116-.089-3.8.305-.075z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref14 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M137.87 60.692a7073.26 7073.26 0 01-.362-14.961l.196-.005a8741.186 8741.186 0 00.48 19.558 754.986 754.986 0 00.04 1.44v.025h.001l.001.02-.001.003v.012a.187.187 0 01-.097.084.178.178 0 01-.097-.08l-.002-.008v-.003l-.002-.046-.008-.262-.032-1.18c-.028-1.06-.068-2.644-.117-4.597zm.352 6.057a.189.189 0 00-.096-.076.184.184 0 00-.093.078l.189-.002zm-.193.018v0zM140.148 59.798c-.098-3.912-.228-9.29-.359-14.91l.196-.005a10306.992 10306.992 0 00.507 20.724l.008.27.001.036h.001v.023a.13.13 0 01-.002.015c-.018.038-.132.07-.189.01l-.005-.02v-.004-.004l-.002-.05a1047.874 1047.874 0 01-.04-1.47c-.027-1.07-.068-2.659-.116-4.615zm.352 6.115l-.003-.014c-.057-.06-.172-.027-.189.01l-.001.006.193-.002zM142.426 59.087c-.097-3.922-.227-9.284-.356-14.834l.197-.004c.129 5.55.258 10.911.355 14.834l.116 4.647.032 1.22.008.284.002.047v.024a.185.185 0 01-.096.086.186.186 0 01-.099-.082l-.001-.006v-.008l-.002-.055a22.176 22.176 0 01-.008-.284l-.032-1.22-.116-4.648zm.353 6.194v-.002a.187.187 0 00-.099-.082.18.18 0 00-.095.086l.194-.002zM144.711 58.559c-.096-3.937-.225-9.283-.352-14.744l.197-.004c.127 5.46.255 10.806.351 14.743l.115 4.688.032 1.247.008.297.002.059v.001h.001V64.857l-.001.004a.121.121 0 01-.003.02c-.078.07-.186.012-.191-.008l-.002-.01v-.004-.007l-.002-.06-.008-.298-.032-1.248-.115-4.687zm.353 6.287l-.001-.008c-.006-.02-.113-.078-.191-.008l-.004.018.196-.002zm-.196.007c0 .001 0 0 0 0z\",\n  fill: \"#EBEEF0\"\n});\nvar _ref15 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M137.979 66.391c5.195-2.149 10.74-2.792 16.244-1.703a.389.389 0 11-.153.762c-5.342-1.057-10.728-.435-15.789 1.659a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.889 63.393c5.201-2.155 10.751-2.8 16.261-1.71a.39.39 0 01.308.457.392.392 0 01-.461.305c-5.348-1.058-10.739-.434-15.806 1.665a.392.392 0 01-.512-.209.387.387 0 01.21-.508zM137.823 60.389c5.2-2.155 10.749-2.8 16.256-1.71a.388.388 0 11-.153.762c-5.345-1.057-10.735-.434-15.801 1.665a.394.394 0 01-.513-.21.388.388 0 01.211-.508zM137.749 57.383c5.2-2.154 10.748-2.8 16.256-1.71a.388.388 0 11-.154.762c-5.344-1.057-10.735-.433-15.8 1.665a.393.393 0 01-.513-.209.388.388 0 01.211-.508zM137.663 54.385c5.206-2.16 10.761-2.807 16.276-1.716a.389.389 0 11-.153.763c-5.352-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.208.388.388 0 01.211-.509zM137.596 51.38c5.206-2.16 10.762-2.808 16.277-1.716a.39.39 0 01.308.457.393.393 0 01-.462.305c-5.352-1.06-10.749-.432-15.82 1.67a.393.393 0 01-.513-.208.387.387 0 01.21-.508zM137.542 48.368c5.201-2.154 10.751-2.8 16.26-1.71a.389.389 0 11-.153.763c-5.346-1.058-10.739-.434-15.805 1.665a.393.393 0 01-.513-.21.388.388 0 01.211-.508zM137.456 45.37c5.206-2.16 10.761-2.808 16.276-1.716a.39.39 0 01.308.457.392.392 0 01-.461.306c-5.353-1.06-10.75-.434-15.821 1.67a.394.394 0 01-.513-.209.388.388 0 01.211-.508z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref16 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M137.608 45.729c5.139-2.133 10.618-2.768 16.049-1.693l.21 9.014c-5.434-1.075-10.91-.439-16.049 1.693l-.21-9.014z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref17 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M138.005 45.986l.19 8.184c4.901-1.928 10.097-2.52 15.267-1.592l-.191-8.22c-5.162-.96-10.364-.356-15.266 1.628zm-.55-.616c5.206-2.16 10.765-2.807 16.277-1.716a.39.39 0 01.315.372l.21 9.015a.387.387 0 01-.14.307.394.394 0 01-.329.083c-5.352-1.06-10.749-.434-15.82 1.67a.395.395 0 01-.365-.032.387.387 0 01-.178-.317l-.21-9.015a.389.389 0 01.24-.367z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref18 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M159.24 49.011c.761 4.603-4.117 7.506-7.486 6.434M109.37 50.05c.001 4.55 5.159 7.83 8.838 6.226\",\n  stroke: \"#000\",\n  strokeWidth: 1.468,\n  strokeLinecap: \"round\"\n});\nvar _ref19 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M31.757 63.326l-5.175 13.74a22.86 22.86 0 00-.534 1.593c-1.686 5.718-.919 11.872 1.862 17.155l4.678 8.598h-4.473\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.472,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref20 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M39.988 67.196l.768 37.221\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.472,\n  strokeMiterlimit: 10,\n  strokeLinecap: \"round\"\n});\nvar _ref21 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M31.757 63.326a27.536 27.536 0 00-2.058 5.225\",\n  stroke: \"#1967D2\",\n  strokeWidth: 2.748,\n  strokeLinejoin: \"round\"\n});\nvar _ref22 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M47.8 52.642c4.738 2.161 9.71 4.53 10.766 11.237M13.781 61.718c-2.557 3.62-6.986 9.225-5.039 14.72\",\n  stroke: \"#000\",\n  strokeWidth: 1.468,\n  strokeLinecap: \"round\"\n});\nvar _ref23 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z\",\n  fill: \"#70B2F5\"\n});\nvar _ref24 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M1.535 51.315L54.34 35.316s5.107 29.415-22.04 34.95c-.009 0-18.561 4.185-30.764-18.952z\",\n  fill: \"#77AD8C\"\n});\nvar _ref25 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M33.856 67.557S16.353 71.503 4.163 50.519l-2.628.796C13.738 74.452 32.29 70.266 32.29 70.266c10.329-2.105 15.985-7.67 19.032-13.753-3.297 4.975-8.696 9.256-17.466 11.044z\",\n  fill: \"#5C9271\"\n});\nvar _ref26 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M45.22 104.418h-4.47\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.472,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref27 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M38.095 85.802c.172.861-3.494-19.049-4.776-25.49-6.736-1.845-13.604-1.284-19.746 1.959l4.776 25.49c6.143-3.243 13.01-3.804 19.746-1.96z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref28 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M38.129 85.796c.152.865-3.64-19.022-4.776-25.491 5.62-4.106 12.236-6.013 19.146-5.159l4.776 25.49c-6.91-.853-13.525 1.053-19.146 5.16z\",\n  fill: \"#EBEEF0\"\n});\nvar _ref29 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M34.042 76.784c-.683-3.684-1.629-8.766-2.629-14.104l.185-.033A7851.454 7851.454 0 0135.233 82.2a55.731 55.731 0 01.052.29v.011a.174.174 0 01-.075.093.175.175 0 01-.106-.06l-.003-.007v-.003l-.001-.003v-.001a3796.705 3796.705 0 00-1.057-5.736zm1.057 5.717a.18.18 0 01.075-.09c.05.007.09.041.103.055l-.178.035zm.184-.02zM31.73 76.386A9015.12 9015.12 0 0029.11 62.33l.184-.034a9007.929 9007.929 0 013.637 19.54 80.445 80.445 0 01.055.307v.024c-.042.066-.155.058-.18.026a.162.162 0 01-.004-.013l-.001-.006a.528.528 0 01-.004-.016h.001l-.006-.034a4684.226 4684.226 0 00-1.06-5.738zm1.068 5.771l.181-.035a.058.058 0 00-.002-.005c-.024-.032-.137-.04-.178.026l-.001.014zM29.453 76.162c-.687-3.698-1.63-8.753-2.61-13.984l.185-.033a10403.315 10403.315 0 013.636 19.517 66.685 66.685 0 01.058.32v.008l.001.006a.176.176 0 01-.076.096.178.178 0 01-.107-.063l-.002-.006-.003-.016a4941.913 4941.913 0 00-1.082-5.845zm1.083 5.845l.183-.035a.181.181 0 00-.107-.063.176.176 0 00-.076.096v.002zM27.204 76.11c-.69-3.712-1.631-8.752-2.596-13.898l.185-.034a13167.584 13167.584 0 013.687 19.775l.01.057.002.007v.013c0 .02-.09.095-.177.045a.185.185 0 01-.008-.023v-.001-.002l-.002-.007a6801.028 6801.028 0 00-1.1-5.932zm1.101 5.932l.184-.035a.257.257 0 00-.006-.017c-.088-.05-.177.025-.178.045v.007zm.185-.03v-.001zM24.99 76.224c-.695-3.732-1.634-8.76-2.58-13.813l.184-.033a16040.945 16040.945 0 013.637 19.486l.055.294c.005.03.01.052.011.064a.39.39 0 01.003.028c-.063.086-.176.042-.183.025a.13.13 0 01-.002-.006v-.003l-.002-.005.184-.036v-.005c-.008-.016-.12-.06-.184.026V82.254a16.67 16.67 0 00-.066-.357l-.224-1.206-.832-4.467zM22.813 76.54c-.698-3.743-1.634-8.749-2.563-13.706l.185-.034a20172.54 20172.54 0 013.701 19.818l.003.014v.005a.19.19 0 01-.01.057c-.09.047-.172-.018-.174-.022v-.006l-.002-.002.185-.037-.001-.003c-.001-.004-.083-.069-.173-.021a.191.191 0 00-.01.059l-.003-.012-.012-.07a302.24 302.24 0 00-.057-.307l-.23-1.232-.839-4.501zM20.668 77.034l-2.547-13.61.184-.034a29372.29 29372.29 0 013.69 19.733l.015.076.003.017v.005c.001.004-.077.105-.183.038a.117.117 0 01-.001-.006v-.002l.184-.035-.002-.006c-.106-.067-.184.035-.183.038v.002-.002l-.003-.016-.014-.076-.06-.32-.235-1.26-.848-4.542zM16.023 64.202l.185-.034 3.715 19.826-.01.001-.165.03-.01.002-3.715-19.825z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref30 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M35.112 82.85c-5.163-.983-10.34-.522-15.14 1.505a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.947-2.089 10.276-2.56 15.576-1.551a.373.373 0 01.298.436.375.375 0 01-.44.295zM34.601 80.02c-5.17-.987-10.35-.527-15.157 1.502a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.953-2.09 10.287-2.561 15.593-1.548a.373.373 0 01.299.436.375.375 0 01-.44.296zM34.078 77.187c-5.173-.986-10.353-.526-15.157 1.501a.377.377 0 01-.493-.197.37.37 0 01.198-.488c4.95-2.09 10.283-2.56 15.593-1.547a.373.373 0 11-.141.731zM33.547 74.355c-5.173-.986-10.354-.527-15.157 1.5a.377.377 0 01-.493-.196.371.371 0 01.198-.489c4.95-2.089 10.282-2.559 15.593-1.547a.373.373 0 01.298.436.375.375 0 01-.44.296zM33.023 71.527c-5.175-.991-10.362-.532-15.172 1.5a.377.377 0 01-.493-.197.37.37 0 01.198-.489c4.957-2.093 10.296-2.563 15.609-1.545a.373.373 0 11-.142.73zM32.492 68.695c-5.175-.99-10.362-.532-15.172 1.5a.377.377 0 01-.494-.198.37.37 0 01.198-.488c4.957-2.093 10.297-2.562 15.61-1.546a.373.373 0 11-.142.732z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref31 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M16.109 64.187c4.884-2.062 10.147-2.527 15.39-1.523l.515 2.83c-5.238-1-10.495-.535-15.374 1.525l-.531-2.832z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref32 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M16.538 64.414l.39 2.084c4.663-1.872 9.65-2.323 14.625-1.468l-.373-2.047c-4.991-.91-9.988-.47-14.642 1.431zm-.572-.57c4.957-2.093 10.296-2.563 15.609-1.545l.253.048.658 3.614-.538-.102c-5.169-.987-10.35-.527-15.157 1.502l-.43.182-.672-3.582.277-.117z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref33 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M38.41 75.985c-.698-3.682-1.656-8.762-2.656-14.1l.185-.033a7931.958 7931.958 0 003.477 18.43 592.343 592.343 0 00.26 1.357l.005.023h.001a.711.711 0 01.004.022v.011a.173.173 0 01-.077.094.175.175 0 01-.105-.06.16.16 0 01-.003-.01 3677.586 3677.586 0 01-1.092-5.733zm1.269 5.677a.182.182 0 00-.102-.057.181.181 0 00-.077.088l.179-.03zm-.18.046v0zM40.426 74.796c-.697-3.687-1.652-8.755-2.645-14.053l.185-.034a9325.56 9325.56 0 003.684 19.53l.049.255.006.034h.001a.53.53 0 01.003.016v.019c-.01.04-.113.087-.176.04a.164.164 0 01-.008-.023l-.001-.004-.01-.046-.049-.256c-.046-.242-.12-.624-.215-1.128a5105.31 5105.31 0 01-.824-4.35zm1.278 5.732a.194.194 0 00-.005-.013c-.063-.047-.166 0-.177.039v.005l.182-.031zM42.474 73.78c-.698-3.697-1.65-8.75-2.63-13.98l.184-.034a10585.806 10585.806 0 003.678 19.51l.05.266.01.044.003.016a.07.07 0 010 .006.176.176 0 01-.077.097.178.178 0 01-.106-.063l-.002-.006a2.407 2.407 0 01-.012-.06l-.051-.266-.219-1.15c-.194-1.023-.48-2.532-.828-4.38zm1.291 5.806v-.001a.178.178 0 00-.106-.063.178.178 0 00-.077.096l.183-.032zM44.553 72.934c-.7-3.71-1.647-8.748-2.612-13.895l.185-.034a13096.468 13096.468 0 003.722 19.768l.011.055v.001l.002.007v.027c-.062.078-.172.039-.181.021a.116.116 0 01-.005-.02l-.011-.056a264.523 264.523 0 01-.277-1.456l-.834-4.418zm1.306 5.895l-.002-.007c-.008-.017-.119-.057-.182.021v.018l.184-.032zm-.184.037z\",\n  fill: \"#EBEEF0\"\n});\nvar _ref34 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M39.398 81.36c4.582-2.818 9.729-4.263 15.104-4.064.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.217-.193-10.217 1.208-14.681 3.953a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM38.848 78.537c4.587-2.824 9.738-4.273 15.12-4.073.207.007.369.18.361.386a.374.374 0 01-.389.358c-5.222-.193-10.227 1.211-14.695 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM38.316 75.705c4.587-2.824 9.737-4.272 15.115-4.073.208.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.69 3.962a.378.378 0 01-.518-.12.37.37 0 01.12-.513zM37.789 72.873c4.587-2.824 9.736-4.272 15.115-4.073.207.007.37.18.362.386a.374.374 0 01-.389.358c-5.22-.193-10.223 1.211-14.691 3.962a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM37.243 70.05c4.591-2.83 9.747-4.282 15.134-4.082.207.007.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM36.712 67.216c4.591-2.829 9.747-4.281 15.134-4.08.207.007.369.18.361.385a.374.374 0 01-.389.358c-5.227-.194-10.236 1.214-14.71 3.97a.378.378 0 01-.516-.12.37.37 0 01.12-.513zM36.195 64.376c4.588-2.824 9.74-4.273 15.12-4.074.207.008.37.181.362.386a.374.374 0 01-.39.359c-5.22-.194-10.226 1.21-14.695 3.961a.378.378 0 01-.517-.12.37.37 0 01.12-.513zM35.65 61.552c4.59-2.83 9.747-4.281 15.133-4.081.207.008.37.18.362.386a.374.374 0 01-.39.358c-5.227-.194-10.236 1.213-14.709 3.97a.378.378 0 01-.517-.12.37.37 0 01.12-.513z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref35 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M35.851 61.868c4.532-2.793 9.618-4.222 14.922-4.025l1.592 8.497c-5.307-.198-10.39 1.232-14.922 4.025l-1.592-8.497z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref36 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M36.268 62.051l1.446 7.715c4.338-2.565 9.162-3.91 14.197-3.812l-1.452-7.749c-5.032-.127-9.86 1.23-14.191 3.846zm-.615-.5c4.591-2.83 9.75-4.28 15.134-4.08a.375.375 0 01.355.304l1.593 8.497a.37.37 0 01-.085.31.376.376 0 01-.298.13c-5.228-.195-10.237 1.212-14.71 3.97a.378.378 0 01-.568-.25l-1.592-8.496a.37.37 0 01.171-.384z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref37 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M58.565 63.879c.876 5.566-4.736 9.076-8.612 7.78M8.738 76.438c1.616 4.56 7.623 6.458 13.652 0\",\n  stroke: \"#000\",\n  strokeWidth: 1.468,\n  strokeLinecap: \"round\"\n});\nvar _ref38 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M160.68 68.356c.934 6.676 1.531 14.409 0 20.996M171.536 72.568l-3.781 31.849h-4.47\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.472,\n  strokeMiterlimit: 10,\n  strokeLinecap: \"round\"\n});\nvar _ref39 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M187.455 104.418h-4.471c.637-10.18 1.817-24.67 1.817-24.67\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.472,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref40 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M199.766 66.904c2.35 3.645 6.395 13.017 4.381 17.69M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127\",\n  stroke: \"#000\",\n  strokeWidth: 1.468,\n  strokeLinecap: \"round\"\n});\nvar _ref41 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M161.004 59.99c-3.656 2.734-9.85 8.336-9.904 15.127-.045 5.634 4.35 10.804 12.101 6.915\",\n  stroke: \"#000\",\n  strokeWidth: 1.468,\n  strokeLinecap: \"round\"\n});\nvar _ref42 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M188.416 36.69c5.324 1.935 9.926 5.533 12.45 10.684 5.586 11.402.195 27.178-11.38 32.714-10.499 5.032-24.499 1.152-30.83-8.532-6.33-9.683-4.157-23.882 4.792-31.286 6.7-5.538 16.706-6.574 24.968-3.58z\",\n  fill: \"#77AD8C\"\n});\nvar _ref43 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M200.868 47.374a19.785 19.785 0 00-4.03-5.505c.638.885 1.2 1.822 1.68 2.8 5.587 11.402.196 27.177-11.38 32.714-9.081 4.35-20.778 2.028-27.868-4.939 6.584 9.03 20.044 12.517 30.218 7.648 11.568-5.54 16.966-21.316 11.38-32.718z\",\n  fill: \"#5C9271\"\n});\nvar _ref44 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M182.034 67.78c-2.79 3.71-7.987 4.925-11.944.505\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.105,\n  strokeMiterlimit: 10,\n  strokeLinecap: \"round\"\n});\nvar _ref45 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M175.979 96.185c-.089.946 2.303-20.818 2.977-27.89-6.413-3.959-13.71-5.464-21.09-3.967l-2.976 27.888c7.38-1.496 14.677.009 21.089 3.969z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref46 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M176.015 96.189c-.112.943 2.142-20.835 2.976-27.89 7.107-2.55 14.561-2.518 21.463.468l-2.976 27.888c-6.902-2.985-14.356-3.017-21.463-.466z\",\n  fill: \"#EBEEF0\"\n});\nvar _ref47 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M174.58 85.6c.437-4.028 1.037-9.587 1.66-15.427l.203.022a8024.607 8024.607 0 01-2.178 20.167 469.931 469.931 0 01-.165 1.486l-.006.048-.001.004a.035.035 0 01-.002.008.188.188 0 01-.107.073.193.193 0 01-.093-.094v-.009-.003l.001-.003v-.001l.002-.02h.001l.003-.026.03-.268.135-1.217.517-4.74zm-.683 6.25a.196.196 0 01.106-.07.2.2 0 01.09.089l-.196-.018zm.198.037v-.002.002zM172.305 84.486c.438-4.034 1.035-9.579 1.654-15.376l.203.022a10437.849 10437.849 0 01-2.172 20.136l-.136 1.235-.031.28-.006.05-.001.005-.001.004-.007.02c-.063.057-.179.014-.194-.027l-.001-.015.001-.006.001-.018h.001l.004-.036.032-.28.135-1.234c.121-1.104.3-2.743.518-4.76zm-.688 6.31l.2.019-.001-.006c-.015-.04-.13-.083-.194-.028a.101.101 0 00-.005.015zM170.011 83.561c.437-4.044 1.033-9.574 1.643-15.297l.203.022a10697.615 10697.615 0 01-2.163 20.089l-.138 1.259-.033.292-.007.057-.001.008-.001.007a.196.196 0 01-.109.076.19.19 0 01-.092-.097v-.007l.001-.018h.001l.006-.049.032-.291.138-1.258.52-4.793zm-.696 6.391l.201.019a.192.192 0 00-.091-.097.189.189 0 00-.109.077l-.001.001zM167.698 82.823c.438-4.06 1.03-9.573 1.631-15.204l.202.021a14091.811 14091.811 0 01-2.153 20.038l-.141 1.287-.033.306-.008.063-.001.007v.004a.05.05 0 01-.002.01c-.008.02-.124.072-.199-.008-.001-.008-.002-.019-.001-.021v-.004-.002-.002l.001-.007v-.001l.007-.061.034-.306.14-1.287c.124-1.136.304-2.803.523-4.833zm-.704 6.488l.202.018a.171.171 0 00-.002-.018c-.074-.08-.19-.028-.198-.008l-.002.008zm.202.024zM165.365 82.269c.44-4.083 1.03-9.583 1.62-15.111l.202.021a15535.246 15535.246 0 01-2.146 19.997l-.143 1.319-.035.322-.008.07-.002.015-.004.015c-.092.07-.196-.01-.198-.03v-.01l.001-.006.202.019v-.005c-.002-.02-.106-.1-.198-.03a.088.088 0 00-.004.014v.002l.001-.008.007-.068.036-.322.143-1.319.526-4.885zM163.009 81.934c.44-4.093 1.027-9.57 1.606-14.994l.202.021a31558.74 31558.74 0 01-2.135 19.918l-.146 1.348-.037.336-.008.077-.002.016-.001.006a.204.204 0 01-.029.055.17.17 0 01-.173-.075v-.007l.001-.003.202.019.001-.004c0-.005-.066-.097-.173-.075a.225.225 0 00-.03.055v.003l.001-.012.009-.076.037-.337.145-1.347.53-4.924zM160.626 81.796c.441-4.111 1.025-9.57 1.593-14.891l.203.02c-.568 5.322-1.153 10.781-1.593 14.892l-.533 4.968-.148 1.378-.038.35a8.768 8.768 0 01-.009.084l-.002.018-.001.006c0 .004-.113.086-.202-.016V88.596l.203.02v-.007c-.089-.102-.202-.02-.202-.016l-.001.002.001-.002.001-.017a8.44 8.44 0 00.009-.084l.038-.35.148-1.378.533-4.968zM159.809 67.077l.202.02-2.315 21.692h-.01l-.182-.02h-.01l2.315-21.692z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref48 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M173.801 92.217c-5.049-2.588-10.56-3.683-16.171-3.04a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.78-.662 11.454.468 16.637 3.125a.401.401 0 01.174.543.408.408 0 01-.548.173zM174.149 89.126c-5.054-2.595-10.57-3.692-16.187-3.048a.406.406 0 01-.45-.354.405.405 0 01.358-.447c5.787-.663 11.465.47 16.654 3.134a.401.401 0 01.173.543.408.408 0 01-.548.172zM174.49 86.028c-5.059-2.594-10.575-3.691-16.188-3.048a.405.405 0 01-.45-.354.405.405 0 01.358-.447c5.783-.662 11.461.47 16.653 3.134a.4.4 0 01.174.543.407.407 0 01-.547.172zM174.822 82.93c-5.059-2.595-10.575-3.692-16.188-3.049a.405.405 0 01-.45-.354.405.405 0 01.358-.446c5.783-.663 11.461.47 16.653 3.133a.4.4 0 01.174.543.407.407 0 01-.547.173zM175.157 79.838c-5.059-2.6-10.581-3.7-16.202-3.055a.404.404 0 11-.093-.8c5.792-.665 11.476.47 16.669 3.14a.4.4 0 01.174.543.409.409 0 01-.548.172zM175.485 76.739c-5.059-2.6-10.581-3.7-16.202-3.056a.404.404 0 11-.093-.8c5.792-.665 11.476.472 16.67 3.14a.401.401 0 01.173.543.408.408 0 01-.548.173z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref49 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M159.902 67.086c5.707-.655 11.31.463 16.436 3.098l-.346 3.09c-5.121-2.628-10.719-3.743-16.42-3.09l.33-3.098z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref50 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M160.27 67.451l-.243 2.28c5.417-.524 10.73.523 15.624 2.922l.251-2.237c-4.894-2.461-10.214-3.522-15.632-2.965zm-.416-.765c5.792-.665 11.476.47 16.67 3.14l.247.127-.442 3.949-.526-.27c-5.054-2.594-10.571-3.691-16.187-3.047l-.504.057.419-3.919.323-.037z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref51 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M179.36 86.1c.423-4.031 1.009-9.591 1.632-15.431l.203.021c-.623 5.84-1.21 11.4-1.632 15.43-.211 2.015-.382 3.648-.495 4.742l-.125 1.218-.027.269-.002.025h.001a.222.222 0 01-.003.02l-.001.004v.004a.035.035 0 01-.002.008.191.191 0 01-.11.074.188.188 0 01-.09-.094v-.01-.002l.004-.049.027-.27.125-1.217.495-4.743zm-.449 6.274a.193.193 0 00-.088-.09.197.197 0 00-.107.067l.195.023zm-.201-.007v0zM181.821 85.478c.424-4.035 1.01-9.582 1.628-15.378l.203.02a9452.743 9452.743 0 00-2.255 21.376l-.029.28a.595.595 0 01-.003.036h.001a.189.189 0 01-.003.018l-.001.006-.004.015c-.023.037-.145.055-.195-.013-.002-.008-.002-.02-.002-.022v-.004-.004l.005-.052.028-.28.128-1.236.499-4.762zm-.457 6.334a.084.084 0 00-.002-.015c-.051-.068-.172-.05-.196-.013l-.001.005.199.023zM184.261 85.046c.426-4.045 1.011-9.576 1.622-15.299l.202.021c-.61 5.723-1.195 11.254-1.621 15.3-.213 2.022-.387 3.674-.503 4.793l-.131 1.26-.03.291-.005.05h.001l-.002.017a.024.024 0 01-.002.006.19.19 0 01-.11.077.198.198 0 01-.091-.097l.001-.007v-.008l.005-.057.03-.293.131-1.26.503-4.794zm-.466 6.415v-.002a.189.189 0 00-.09-.097.193.193 0 00-.11.076l.2.023zM186.679 84.801c.429-4.06 1.013-9.574 1.614-15.205l.202.02a14313.317 14313.317 0 00-2.288 21.634l-.007.061v.001h.001l-.001.008v.002l-.001.002v.003l-.006.021c-.09.062-.193-.012-.196-.033v-.01-.005l.001-.007.006-.063.031-.306.135-1.288.509-4.835zm-.479 6.511v-.008c-.003-.02-.106-.095-.195-.033l-.006.018.201.023zm-.202-.018z\",\n  fill: \"#EBEEF0\"\n});\nvar _ref52 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M178.707 91.973c5.63-1.53 11.417-1.465 16.931.375.212.07.327.3.255.51a.408.408 0 01-.515.254c-5.351-1.786-10.973-1.852-16.457-.361a.407.407 0 01-.499-.282.403.403 0 01.285-.496zM179.019 88.88c5.636-1.536 11.429-1.473 16.948.368a.403.403 0 11-.259.764c-5.357-1.787-10.984-1.851-16.475-.356a.403.403 0 11-.214-.777zM179.351 85.78c5.635-1.534 11.427-1.471 16.943.369a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.47-.356a.403.403 0 11-.214-.777zM179.683 82.682c5.635-1.535 11.427-1.472 16.943.368a.403.403 0 11-.259.764c-5.354-1.786-10.98-1.85-16.469-.355a.403.403 0 11-.215-.777zM179.994 79.588c5.643-1.54 11.442-1.479 16.966.365.213.071.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.853-16.49-.352a.403.403 0 11-.216-.777zM180.323 76.489c5.642-1.54 11.441-1.479 16.965.365.213.072.327.3.255.51a.407.407 0 01-.515.254c-5.361-1.79-10.994-1.852-16.49-.352a.403.403 0 11-.215-.777zM180.671 73.385c5.637-1.534 11.43-1.471 16.949.37.212.071.327.3.255.51a.407.407 0 01-.515.254c-5.356-1.787-10.984-1.852-16.474-.357a.402.402 0 11-.215-.777zM180.987 70.291c5.642-1.54 11.441-1.478 16.965.366.213.071.327.3.255.51a.406.406 0 01-.514.254c-5.362-1.79-10.995-1.853-16.491-.353a.403.403 0 11-.215-.777z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref53 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M181.096 70.68c5.569-1.52 11.288-1.457 16.728.358l-.992 9.297c-5.443-1.817-11.159-1.88-16.728-.36l.992-9.296z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref54 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M181.469 70.996l-.901 8.44c5.297-1.34 10.719-1.27 15.911.361l.905-8.477c-5.179-1.662-10.609-1.722-15.915-.323zm-.482-.705c5.642-1.54 11.444-1.477 16.965.366.18.06.294.236.274.424l-.992 9.296a.404.404 0 01-.534.34c-5.361-1.79-10.994-1.853-16.49-.352a.409.409 0 01-.371-.082.402.402 0 01-.141-.349l.992-9.296a.404.404 0 01.297-.347z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref55 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M204.146 84.595c-1.671 3.879-7.751 2.74-10.354-.297M151.096 75.116c-.045 5.635 4.349 10.805 12.1 6.915\",\n  stroke: \"#000\",\n  strokeWidth: 1.468,\n  strokeLinecap: \"round\"\n});\nvar _ref56 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M91.429 81.618c-.729 8.2-.457 15.965 1.975 22.796h4.47M80.227 81.238c-.76 8.178-.245 15.966 2.153 23.178h-4.478\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.472,\n  strokeLinecap: \"round\",\n  strokeLinejoin: \"round\"\n});\nvar _ref57 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M118.418 79.006c7.32 3.89 10.2 8.445 9.473 12.335M60.719 71.227c-7.51 3.313-11.627 6.373-11.627 13.398\",\n  stroke: \"#000\",\n  strokeWidth: 1.468,\n  strokeLinecap: \"round\"\n});\nvar _ref58 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M57.84 49.763l-3.38 33.985 68.342 6.303 1.443-32.81-66.405-7.478z\",\n  fill: \"#77AD8C\"\n});\nvar _ref59 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M57.476 82.268l2.638-32.25-2.273-.255-3.38 33.985 68.341 6.303.127-2.876-65.453-4.907z\",\n  fill: \"#5C9271\"\n});\nvar _ref60 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M80.625 72.749c3.832 4.721 11.357 6.736 17.468 1.896\",\n  stroke: \"#161B18\",\n  strokeWidth: 1.105,\n  strokeMiterlimit: 10,\n  strokeLinecap: \"round\"\n});\nvar _ref61 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M86.74 98.236c-.1.945 2.55-20.79 3.308-27.852-6.365-4.035-13.644-5.624-21.041-4.213L65.7 94.023c7.397-1.41 14.676.179 21.04 4.213z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref62 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M86.776 98.24c-.123.942 2.39-20.808 3.308-27.852 7.137-2.468 14.59-2.35 21.455.717l-3.307 27.851c-6.865-3.065-14.319-3.184-21.456-.716z\",\n  fill: \"#EBEEF0\"\n});\nvar _ref63 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M85.467 87.637c.485-4.024 1.151-9.575 1.844-15.407l.202.023a8546.627 8546.627 0 01-2.418 20.141 653.021 653.021 0 01-.192 1.544.19.19 0 01-.108.072.188.188 0 01-.091-.095v-.009-.003-.005l.002-.02h.001l.004-.025.033-.268.15-1.215.573-4.733zm-.757 6.242a.197.197 0 01.106-.069c.05.022.08.071.089.09l-.195-.021zm.197.038v-.001.001zM83.205 86.496c.485-4.028 1.149-9.566 1.836-15.355l.202.023a9660.973 9660.973 0 01-2.561 21.343 80.824 80.824 0 01-.042.335l-.001.004a.187.187 0 01-.007.02c-.065.056-.18.012-.194-.03a.164.164 0 010-.02c0-.005 0-.011.002-.019l.005-.036.035-.278.15-1.233.575-4.754zm-.763 6.302l.199.02v-.005c-.015-.041-.13-.085-.194-.03a.183.183 0 00-.005.015zM80.927 85.544c.485-4.04 1.146-9.561 1.825-15.277l.202.023A11320.95 11320.95 0 0180.4 91.61a113.556 113.556 0 01-.043.35.14.14 0 01-.003.014.192.192 0 01-.11.076.19.19 0 01-.09-.1.14.14 0 01.001-.023l.007-.05.036-.29.153-1.257.577-4.786zm-.772 6.383l.201.02a.193.193 0 00-.09-.097.194.194 0 00-.11.075v.002zM78.619 84.779c.486-4.055 1.144-9.56 1.811-15.184l.203.024a14137.83 14137.83 0 01-2.593 21.664l-.001.007a.093.093 0 01-.003.014c-.008.02-.124.07-.198-.01a.187.187 0 01-.002-.025v-.002-.001l.001-.008.001-.001.008-.06.037-.306.156-1.285.58-4.827zm-.781 6.48l.202.02-.002-.019c-.074-.08-.19-.03-.198-.01l-.002.008zm.201.026zM76.295 84.198c.488-4.077 1.144-9.57 1.8-15.091l.201.023a17204.58 17204.58 0 01-2.59 21.68l-.002.015-.004.014c-.093.07-.196-.012-.198-.032V90.798v-.007l.203.022v-.005c-.001-.02-.104-.101-.198-.033a.244.244 0 00-.004.015v.001l.001-.007.009-.069c.008-.067.02-.174.039-.32l.158-1.318c.14-1.157.341-2.84.585-4.88zM73.94 83.836c.489-4.088 1.14-9.558 1.784-14.975l.202.024a21886.98 21886.98 0 01-2.584 21.65l-.002.017v.005a.206.206 0 01-.03.055.17.17 0 01-.172-.077v-.01l.203.021v-.003a.17.17 0 00-.172-.077.208.208 0 00-.03.054v.004l.001-.013.01-.076.04-.336.162-1.346.588-4.917zM71.563 83.67l1.77-14.872.201.024a33930.12 33930.12 0 01-2.568 21.56l-.01.083-.002.018v.006c-.001.004-.115.084-.203-.019V90.461l.203.022v-.006c-.088-.103-.201-.023-.202-.019v.002-.001l.002-.018.01-.083.042-.35.165-1.376.592-4.962zM70.918 68.942l.202.023-2.572 21.664-.01-.001a70.908 70.908 0 01-.182-.022h-.01l2.572-21.664z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref64 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M84.613 94.243c-5.017-2.647-10.516-3.805-16.133-3.227a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.789-.596 11.448.6 16.6 3.318a.401.401 0 01.167.545.408.408 0 01-.55.166zM84.997 91.157c-5.023-2.653-10.527-3.815-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.794-.596 11.459.603 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.372 88.063c-5.028-2.653-10.53-3.814-16.15-3.236a.405.405 0 01-.446-.36.404.404 0 01.363-.442c5.791-.595 11.455.604 16.615 3.327a.4.4 0 01.167.545.408.408 0 01-.55.166zM85.739 84.969c-5.027-2.653-10.53-3.815-16.15-3.237a.405.405 0 01-.446-.359.404.404 0 01.363-.442c5.791-.596 11.455.603 16.615 3.326a.401.401 0 01.168.545.408.408 0 01-.55.167zM86.113 81.88c-5.027-2.658-10.536-3.822-16.165-3.243a.405.405 0 01-.445-.359.404.404 0 01.362-.442c5.8-.598 11.47.604 16.631 3.333a.401.401 0 01.167.546.408.408 0 01-.55.165zM86.477 78.786c-5.028-2.658-10.537-3.823-16.165-3.243a.405.405 0 01-.446-.36.404.404 0 01.362-.442c5.8-.597 11.47.606 16.632 3.334a.401.401 0 01.167.545.408.408 0 01-.55.166z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref65 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M71.012 68.953c5.714-.588 11.303.594 16.398 3.288l-.383 3.087c-5.09-2.688-10.674-3.868-16.383-3.28l.368-3.095z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref66 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M71.377 69.322l-.27 2.277c5.424-.461 10.724.647 15.589 3.103l.277-2.234c-4.864-2.518-10.171-3.64-15.596-3.146zm-.406-.77c5.8-.597 11.47.604 16.63 3.334l.247.13-.49 3.943-.522-.276c-5.023-2.652-10.526-3.814-16.15-3.235l-.504.052.465-3.915.323-.033z\",\n  fill: \"#B8BDB9\"\n});\nvar _ref67 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M90.243 88.191c.47-4.025 1.123-9.578 1.816-15.41l.202.023a8576.285 8576.285 0 00-2.367 20.146 755.542 755.542 0 00-.172 1.51h.001a.8.8 0 01-.003.02v.006l-.001.002a.145.145 0 01-.002.008.19.19 0 01-.111.073.19.19 0 01-.089-.096v-.008-.004l.005-.047.03-.27.14-1.216.551-4.737zm-.523 6.269a.194.194 0 00-.088-.091.197.197 0 00-.107.066l.195.025zm-.201-.01zM92.712 87.598c.472-4.03 1.124-9.57 1.811-15.359l.203.024a9910.386 9910.386 0 00-2.51 21.348l-.031.279-.004.036c0 .008 0 .014-.002.018v.006l-.005.015c-.024.036-.146.053-.195-.016a.181.181 0 01-.002-.021v-.005-.004l.006-.051.031-.28.143-1.234.555-4.756zm-.532 6.328c0-.004 0-.01-.002-.015-.05-.069-.171-.052-.195-.016l-.002.006.199.025zM95.153 87.195c.475-4.041 1.125-9.564 1.804-15.28l.202.023a11129.421 11129.421 0 00-2.509 21.325 89.368 89.368 0 00-.038.34.504.504 0 01-.002.018l-.002.007a.192.192 0 01-.111.075.19.19 0 01-.09-.098v-.007l.001-.008.007-.057.033-.293a5635.92 5635.92 0 01.706-6.046zm-.542 6.409v-.002c0-.007-.03-.07-.09-.099a.194.194 0 00-.11.075l.2.026zM97.576 86.978c.478-4.056 1.127-9.562 1.795-15.186l.202.023a13876.904 13876.904 0 00-2.546 21.606l-.007.06v.013l-.001.004a.203.203 0 01-.007.02c-.09.062-.192-.014-.195-.035v-.01-.004l.001-.008.007-.063.035-.306.15-1.285.566-4.83zm-.556 6.505v-.008c-.003-.021-.104-.097-.195-.036a.18.18 0 00-.006.018l.201.026zm-.202-.02z\",\n  fill: \"#EBEEF0\"\n});\nvar _ref68 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M89.522 94.057c5.648-1.465 11.434-1.333 16.925.57a.401.401 0 01.249.514.407.407 0 01-.517.247c-5.33-1.848-10.95-1.978-16.452-.552a.403.403 0 11-.205-.78zM89.865 90.966c5.655-1.47 11.446-1.34 16.943.566a.4.4 0 01.249.514.407.407 0 01-.517.247c-5.336-1.85-10.961-1.979-16.47-.547a.403.403 0 11-.206-.78zM90.236 87.872c5.654-1.47 11.444-1.34 16.938.565a.4.4 0 01.249.513.407.407 0 01-.517.248c-5.333-1.849-10.957-1.978-16.464-.547a.403.403 0 11-.205-.78zM90.603 84.776c5.654-1.469 11.444-1.339 16.939.566a.402.402 0 11-.269.76c-5.332-1.848-10.957-1.977-16.464-.546a.403.403 0 11-.206-.78zM90.954 81.687c5.66-1.474 11.458-1.346 16.96.563a.402.402 0 01.249.513.408.408 0 01-.518.247c-5.339-1.852-10.971-1.98-16.485-.544a.403.403 0 11-.206-.78zM91.317 78.592c5.66-1.473 11.458-1.346 16.961.563a.402.402 0 11-.269.76c-5.34-1.852-10.972-1.979-16.486-.544a.403.403 0 11-.206-.78zM91.705 75.492c5.654-1.469 11.447-1.339 16.943.567a.402.402 0 01.249.513.407.407 0 01-.518.247c-5.334-1.849-10.96-1.978-16.469-.548a.403.403 0 11-.205-.78zM92.056 72.402c5.66-1.474 11.458-1.345 16.96.563a.402.402 0 01.249.513.407.407 0 01-.518.248c-5.34-1.852-10.972-1.98-16.486-.544a.403.403 0 11-.206-.78z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref69 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M92.158 72.792c5.587-1.455 11.305-1.326 16.723.553l-1.103 9.284c-5.421-1.88-11.136-2.008-16.723-.553l1.103-9.284z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref70 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M92.53 73.113l-1.002 8.43c5.313-1.28 10.734-1.147 15.906.545l1.005-8.467c-5.159-1.721-10.587-1.844-15.91-.508zm-.475-.71c5.66-1.475 11.461-1.345 16.961.562.179.062.291.24.269.427l-1.103 9.285a.4.4 0 01-.188.294.41.41 0 01-.35.039c-5.339-1.852-10.971-1.98-16.485-.544a.408.408 0 01-.37-.086.4.4 0 01-.136-.35l1.102-9.285c.02-.164.139-.3.3-.343z\",\n  fill: \"#CBD0D3\"\n});\nvar _ref71 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M127.892 91.34c-1.329 7.115-12.918 8.843-24.256 0M49.088 84.625c0 6.05 9.181 11.081 24.545 3.457\",\n  stroke: \"#000\",\n  strokeWidth: 1.468,\n  strokeLinecap: \"round\"\n});\nfunction SvgNoAudienceBannerGraphic(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 211 109\",\n    fill: \"none\"\n  }, props), _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _ref27, _ref28, _ref29, _ref30, _ref31, _ref32, _ref33, _ref34, _ref35, _ref36, _ref37, _ref38, _ref39, _ref40, _ref41, _ref42, _ref43, _ref44, _ref45, _ref46, _ref47, _ref48, _ref49, _ref50, _ref51, _ref52, _ref53, _ref54, _ref55, _ref56, _ref57, _ref58, _ref59, _ref60, _ref61, _ref62, _ref63, _ref64, _ref65, _ref66, _ref67, _ref68, _ref69, _ref70, _ref71);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgNoAudienceBannerGraphic);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/graphics/no-audience-banner-graphic.svg\n");

/***/ }),

/***/ "./svg/icons/arrow-inverse.svg":
/*!*************************************!*\
  !*** ./svg/icons/arrow-inverse.svg ***!
  \*************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  fill: \"none\",\n  fillRule: \"evenodd\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n  fill: \"#FFF\",\n  cx: 6.5,\n  cy: 6.5,\n  r: 6.5\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z\",\n  fill: \"currentColor\"\n}), \".\");\nfunction SvgArrowInverse(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 13 13\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgArrowInverse);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXJyb3ctaW52ZXJzZS5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvYXJyb3ctaW52ZXJzZS5zdmc/ZjkyYiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwiZ1wiLCB7XG4gIGZpbGw6IFwibm9uZVwiLFxuICBmaWxsUnVsZTogXCJldmVub2RkXCJcbn0sIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwiY2lyY2xlXCIsIHtcbiAgZmlsbDogXCIjRkZGXCIsXG4gIGN4OiA2LjUsXG4gIGN5OiA2LjUsXG4gIHI6IDYuNVxufSksIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTMuNDYxIDYuOTZoNS4xNUw2LjM2IDkuMjFhLjQ2NC40NjQgMCAwMC4zMjUuNzkuNDU5LjQ1OSAwIDAwLjMyNS0uMTM1bDMuMDM3LTMuMDM4YS40NTkuNDU5IDAgMDAwLS42NUw3LjAxNSAzLjEzNWEuNDYuNDYgMCAwMC0uNjUuNjVMOC42MSA2LjAzOUgzLjQ2MWEuNDYyLjQ2MiAwIDAwLS40NjEuNDZjMCAuMjU0LjIwNy40NjIuNDYxLjQ2MnpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSksIFwiLlwiKTtcbmZ1bmN0aW9uIFN2Z0Fycm93SW52ZXJzZShwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDEzIDEzXCJcbiAgfSwgcHJvcHMpLCBfcmVmKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z0Fycm93SW52ZXJzZTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/arrow-inverse.svg\n");

/***/ }),

/***/ "./svg/icons/arrow.svg":
/*!*****************************!*\
  !*** ./svg/icons/arrow.svg ***!
  \*****************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  fill: \"none\",\n  fillRule: \"evenodd\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n  fill: \"currentColor\",\n  cx: 6.5,\n  cy: 6.5,\n  r: 6.5\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z\",\n  fill: \"#FFF\"\n}), \".\");\nfunction SvgArrow(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 13 13\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgArrow);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXJyb3cuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2Fycm93LnN2Zz9lNGNjIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rp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b3cocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAxMyAxM1wiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdBcnJvdzsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/arrow.svg\n");

/***/ }),

/***/ "./svg/icons/audience-metric-icon-cities.svg":
/*!***************************************************!*\
  !*** ./svg/icons/audience-metric-icon-cities.svg ***!
  \***************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M10 18.333a.776.776 0 01-.5-.166 1.012 1.012 0 01-.312-.438 11.597 11.597 0 00-1-2.188c-.39-.68-.938-1.479-1.646-2.395-.708-.917-1.285-1.792-1.73-2.625-.43-.834-.645-1.84-.645-3.021 0-1.625.562-3 1.687-4.125C6.994 2.235 8.375 1.667 10 1.667s3 .569 4.125 1.708c1.14 1.125 1.709 2.5 1.709 4.125 0 1.264-.243 2.32-.73 3.166-.472.834-1.02 1.66-1.645 2.48-.75 1-1.32 1.833-1.709 2.5a11.765 11.765 0 00-.937 2.083.94.94 0 01-.334.458.814.814 0 01-.479.146zm0-2.979c.236-.472.5-.938.792-1.396.306-.458.75-1.07 1.333-1.833a19.693 19.693 0 001.459-2.146c.389-.667.583-1.493.583-2.48 0-1.152-.41-2.131-1.23-2.937-.805-.82-1.784-1.229-2.937-1.229-1.152 0-2.139.41-2.958 1.23-.806.805-1.208 1.784-1.208 2.937 0 .986.187 1.812.562 2.479.39.653.882 1.368 1.48 2.146.583.764 1.02 1.375 1.312 1.833.305.458.576.924.812 1.396zm0-5.77c.584 0 1.077-.202 1.48-.605.402-.403.604-.896.604-1.48 0-.582-.202-1.076-.604-1.478A2.012 2.012 0 0010 5.417c-.583 0-1.076.2-1.479.604A2.012 2.012 0 007.917 7.5c0 .583.201 1.076.604 1.479.403.403.896.604 1.48.604z\",\n  fill: \"currentColor\"\n});\nfunction SvgAudienceMetricIconCities(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 20 20\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceMetricIconCities);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXVkaWVuY2UtbWV0cmljLWljb24tY2l0aWVzLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9hdWRpZW5jZS1tZXRyaWMtaWNvbi1jaXRpZXMuc3ZnPzNhYjYiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4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AyMFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdBdWRpZW5jZU1ldHJpY0ljb25DaXRpZXM7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/audience-metric-icon-cities.svg\n");

/***/ }),

/***/ "./svg/icons/audience-metric-icon-pages-per-visit.svg":
/*!************************************************************!*\
  !*** ./svg/icons/audience-metric-icon-pages-per-visit.svg ***!
  \************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M13.125 16.667H3.334c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H15.5l-3.916-3.917c-.292.195-.611.34-.959.438-.333.097-.68.146-1.041.146-1.042 0-1.93-.362-2.667-1.084-.722-.736-1.083-1.625-1.083-2.666 0-1.042.36-1.924 1.083-2.646a3.633 3.633 0 012.667-1.104c1.041 0 1.923.368 2.646 1.104.736.722 1.104 1.604 1.104 2.646 0 .375-.049.729-.146 1.062a3.393 3.393 0 01-.438.938L16.167 15h.5V5H3.334v10h8.125l1.666 1.667zm-3.541-5c.583 0 1.076-.202 1.479-.604.403-.403.604-.896.604-1.48 0-.583-.201-1.076-.604-1.479a2.012 2.012 0 00-1.48-.604c-.583 0-1.076.202-1.479.604a2.012 2.012 0 00-.604 1.48c0 .583.202 1.076.604 1.479.403.402.896.604 1.48.604zM3.334 15V5v10z\",\n  fill: \"currentColor\"\n});\nfunction SvgAudienceMetricIconPagesPerVisit(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 20 20\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceMetricIconPagesPerVisit);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXVkaWVuY2UtbWV0cmljLWljb24tcGFnZXMtcGVyLXZpc2l0LnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9hdWRpZW5jZS1tZXRyaWMtaWNvbi1wYWdlcy1wZXItdmlzaXQuc3ZnPzk3Y2QiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamV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xNWguNVY1SDMuMzM0djEwaDguMTI1bDEuNjY2IDEuNjY3em0tMy41NDEtNWMuNTgzIDAgMS4wNzYtLjIwMiAxLjQ3OS0uNjA0LjQwMy0uNDAzLjYwNC0uODk2LjYwNC0xLjQ4IDAtLjU4My0uMjAxLTEuMDc2LS42MDQtMS40NzlhMi4wMTIgMi4wMTIgMCAwMC0xLjQ4LS42MDRjLS41ODMgMC0xLjA3Ni4yMDItMS40NzkuNjA0YTIuMDEyIDIuMDEyIDAgMDAtLjYwNCAxLjQ4YzAgLjU4My4yMDIgMS4wNzYuNjA0IDEuNDc5LjQwMy40MDIuODk2LjYwNCAxLjQ4LjYwNHpNMy4zMzQgMTVWNXYxMHpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSk7XG5mdW5jdGlvbiBTdmdBdWRpZW5jZU1ldHJpY0ljb25QYWdlc1BlclZpc2l0KHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjAgMjBcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnQXVkaWVuY2VNZXRyaWNJY29uUGFnZXNQZXJWaXNpdDsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/audience-metric-icon-pages-per-visit.svg\n");

/***/ }),

/***/ "./svg/icons/audience-metric-icon-pageviews.svg":
/*!******************************************************!*\
  !*** ./svg/icons/audience-metric-icon-pageviews.svg ***!
  \******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M4.167 17.5c-.459 0-.854-.16-1.188-.48-.32-.332-.479-.728-.479-1.187V4.167c0-.459.16-.848.48-1.167.333-.333.728-.5 1.187-.5h11.666c.459 0 .848.167 1.167.5.333.32.5.708.5 1.167v11.666c0 .459-.167.854-.5 1.188-.32.32-.708.479-1.167.479H4.167zm0-1.667h11.666v-10H4.167v10zM10 14.167c-1.139 0-2.16-.306-3.063-.917A5.398 5.398 0 015 10.833a5.271 5.271 0 011.938-2.396C7.84 7.814 8.86 7.5 10 7.5c1.139 0 2.153.313 3.042.938A5.229 5.229 0 0115 10.832a5.353 5.353 0 01-1.958 2.417c-.89.611-1.903.917-3.042.917zm0-1.25c.778 0 1.486-.18 2.125-.542a4 4 0 001.5-1.542 3.854 3.854 0 00-1.5-1.52A4.12 4.12 0 0010 8.75a4.12 4.12 0 00-2.125.563 3.854 3.854 0 00-1.5 1.52 4 4 0 001.5 1.542 4.243 4.243 0 002.125.542zm0-.834a1.26 1.26 0 01-.896-.354 1.26 1.26 0 01-.354-.896c0-.347.118-.639.354-.875.25-.25.549-.375.896-.375s.639.125.875.375c.25.236.375.528.375.875 0 .348-.125.646-.375.896a1.189 1.189 0 01-.875.354z\",\n  fill: \"currentColor\"\n});\nfunction SvgAudienceMetricIconPageviews(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 20 20\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceMetricIconPageviews);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXVkaWVuY2UtbWV0cmljLWljb24tcGFnZXZpZXdzLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9hdWRpZW5jZS1tZXRyaWMtaWNvbi1wYWdldmlld3Muc3ZnPzYxYzciXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk00LjE2NyAxNy41Yy0uNDU5IDAtLjg1NC0uMTYtMS4xODgtLjQ4LS4zMi0uMzMyLS40NzktLjcyOC0uNDc5LTEuMTg3VjQuMTY3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jUuNjQ2LS4zNzUuODk2YTEuMTg5IDEuMTg5IDAgMDEtLjg3NS4zNTR6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnQXVkaWVuY2VNZXRyaWNJY29uUGFnZXZpZXdzKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjAgMjBcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnQXVkaWVuY2VNZXRyaWNJY29uUGFnZXZpZXdzOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/audience-metric-icon-pageviews.svg\n");

/***/ }),

/***/ "./svg/icons/audience-metric-icon-top-content.svg":
/*!********************************************************!*\
  !*** ./svg/icons/audience-metric-icon-top-content.svg ***!
  \********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M3.334 16.667c-.459 0-.855-.16-1.188-.48-.32-.333-.479-.729-.479-1.187V5c0-.458.16-.847.48-1.167.332-.333.728-.5 1.187-.5h13.333c.458 0 .847.167 1.167.5.333.32.5.709.5 1.167v10c0 .459-.167.854-.5 1.188-.32.32-.709.479-1.167.479H3.334zm0-1.667h8.75v-2.916h-8.75V15zm10.416 0h2.917V7.5H13.75V15zM3.334 10.417h8.75V7.5h-8.75v2.917z\",\n  fill: \"currentColor\"\n});\nfunction SvgAudienceMetricIconTopContent(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 20 20\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceMetricIconTopContent);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXVkaWVuY2UtbWV0cmljLWljb24tdG9wLWNvbnRlbnQuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2F1ZGllbmNlLW1ldHJpYy1pY29uLXRvcC1jb250ZW50LnN2Zz9mY2JiIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXld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0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/audience-metric-icon-top-content.svg\n");

/***/ }),

/***/ "./svg/icons/audience-metric-icon-visitors.svg":
/*!*****************************************************!*\
  !*** ./svg/icons/audience-metric-icon-visitors.svg ***!
  \*****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M.833 16.667v-2.334c0-.472.118-.902.354-1.291a2.48 2.48 0 01.98-.917c.86-.43 1.735-.75 2.624-.958a11.126 11.126 0 012.709-.333c.916 0 1.82.11 2.708.333.889.208 1.764.528 2.625.958.403.209.722.514.958.917.25.389.375.82.375 1.292v2.333H.833zm15 0v-2.5c0-.611-.174-1.195-.52-1.75-.334-.57-.813-1.056-1.438-1.458.708.083 1.375.229 2 .437a9.852 9.852 0 011.75.73c.5.277.882.59 1.145.937.264.333.396.701.396 1.104v2.5h-3.333zM7.5 10a3.21 3.21 0 01-2.354-.979 3.21 3.21 0 01-.98-2.354c0-.917.327-1.702.98-2.354a3.21 3.21 0 012.354-.98 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354 3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98zm8.333-3.333a3.21 3.21 0 01-.98 2.354 3.21 3.21 0 01-2.353.98c-.153 0-.348-.015-.584-.042a6.732 6.732 0 01-.583-.125c.375-.445.66-.938.854-1.48a4.662 4.662 0 00.313-1.687c0-.583-.104-1.146-.313-1.688a4.784 4.784 0 00-.854-1.479c.194-.07.389-.11.583-.125a4.12 4.12 0 01.584-.042 3.21 3.21 0 012.354.98 3.21 3.21 0 01.979 2.354zM2.5 15h10v-.666a.735.735 0 00-.125-.417.737.737 0 00-.292-.292 10.446 10.446 0 00-2.27-.833 9.342 9.342 0 00-4.626 0c-.764.18-1.52.458-2.27.833a.894.894 0 00-.313.292.843.843 0 00-.104.417V15zm5-6.666c.458 0 .847-.16 1.166-.48.334-.333.5-.729.5-1.187 0-.458-.166-.847-.5-1.167-.32-.333-.708-.5-1.166-.5-.459 0-.854.167-1.188.5-.32.32-.479.708-.479 1.167 0 .458.16.854.48 1.187.333.32.728.48 1.187.48z\",\n  fill: \"currentColor\"\n});\nfunction SvgAudienceMetricIconVisitors(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 20 20\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceMetricIconVisitors);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXVkaWVuY2UtbWV0cmljLWljb24tdmlzaXRvcnMuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2F1ZGllbmNlLW1ldHJpYy1pY29uLXZpc2l0b3JzLnN2Zz9iMmEwIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA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uODQ3LS41LTEuMTY3LS4zMi0uMzMzLS43MDgtLjUtMS4xNjYtLjUtLjQ1OSAwLS44NTQuMTY3LTEuMTg4LjUtLjMyLjMyLS40NzkuNzA4LS40NzkgMS4xNjcgMCAuNDU4LjE2Ljg1NC40OCAxLjE4Ny4zMzMuMzIuNzI4LjQ4IDEuMTg3LjQ4elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z0F1ZGllbmNlTWV0cmljSWNvblZpc2l0b3JzKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjAgMjBcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnQXVkaWVuY2VNZXRyaWNJY29uVmlzaXRvcnM7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/audience-metric-icon-visitors.svg\n");

/***/ }),

/***/ "./svg/icons/audience-metric-icon-visits-per-visitor.svg":
/*!***************************************************************!*\
  !*** ./svg/icons/audience-metric-icon-visits-per-visitor.svg ***!
  \***************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M10 17.5a7.443 7.443 0 01-2.938-.583 8.045 8.045 0 01-2.375-1.605 8.045 8.045 0 01-1.604-2.374A7.443 7.443 0 012.5 10c0-1.042.194-2.014.583-2.917a7.7 7.7 0 011.604-2.375 7.548 7.548 0 012.375-1.604A7.221 7.221 0 0110 2.5c1.139 0 2.215.243 3.23.73a7.252 7.252 0 012.603 2.062V3.333H17.5v5h-5V6.667h2.292a6.194 6.194 0 00-2.104-1.834A5.625 5.625 0 0010 4.167c-1.625 0-3.007.57-4.146 1.708C4.73 7 4.167 8.375 4.167 10s.562 3.007 1.687 4.146c1.14 1.125 2.521 1.687 4.146 1.687 1.458 0 2.73-.472 3.813-1.416 1.097-.945 1.743-2.14 1.937-3.584h1.708c-.208 1.903-1.027 3.493-2.458 4.771-1.417 1.264-3.083 1.896-5 1.896zm2.333-4l-3.166-3.167v-4.5h1.666v3.834l2.667 2.666-1.167 1.167z\",\n  fill: \"currentColor\"\n});\nfunction SvgAudienceMetricIconVisitsPerVisitor(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 20 20\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAudienceMetricIconVisitsPerVisitor);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXVkaWVuY2UtbWV0cmljLWljb24tdmlzaXRzLXBlci12aXNpdG9yLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFj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ric-icon-visits-per-visitor.svg\n");

/***/ }),

/***/ "./svg/icons/back.svg":
/*!****************************!*\
  !*** ./svg/icons/back.svg ***!
  \****************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z\"\n});\nfunction SvgBack(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"currentColor\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgBack);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYmFjay5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvYmFjay5zdmc/NWY3MCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTEyIDIwbC04LTggOC04IDEuNDI1IDEuNC01LjYgNS42SDIwdjJINy44MjVsNS42IDUuNkwxMiAyMHpcIlxufSk7XG5mdW5jdGlvbiBTdmdCYWNrKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjQgMjRcIixcbiAgICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdCYWNrOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/back.svg\n");

/***/ }),

/***/ "./svg/icons/check-2.svg":
/*!*******************************!*\
  !*** ./svg/icons/check-2.svg ***!
  \*******************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M2 5.309l1.474 2.14c.69 1.001 1.946 1.001 2.636 0L10 1.8\",\n  stroke: \"currentColor\",\n  strokeWidth: 1.6,\n  strokeLinecap: \"square\"\n});\nfunction SvgCheck2(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 12 9\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgCheck2);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvY2hlY2stMi5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvY2hlY2stMi5zdmc/OTQ3MiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTIgNS4zMDlsMS40NzQgMi4xNGMuNjkgMS4wMDEgMS45NDYgMS4wMDEgMi42MzYgMEwxMCAxLjhcIixcbiAgc3Ryb2tlOiBcImN1cnJlbnRDb2xvclwiLFxuICBzdHJva2VXaWR0aDogMS42LFxuICBzdHJva2VMaW5lY2FwOiBcInNxdWFyZVwiXG59KTtcbmZ1bmN0aW9uIFN2Z0NoZWNrMihwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDEyIDlcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnQ2hlY2syOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/check-2.svg\n");

/***/ }),

/***/ "./svg/icons/check-fill.svg":
/*!**********************************!*\
  !*** ./svg/icons/check-fill.svg ***!
  \**********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z\",\n  fill: \"currentColor\"\n});\nfunction SvgCheckFill(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgCheckFill);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvY2hlY2stZmlsbC5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvY2hlY2stZmlsbC5zdmc/ODdlYiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmpl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biAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyNCAyNFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdDaGVja0ZpbGw7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/check-fill.svg\n");

/***/ }),

/***/ "./svg/icons/close.svg":
/*!*****************************!*\
  !*** ./svg/icons/close.svg ***!
  \*****************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z\",\n  fill: \"currentColor\"\n});\nfunction SvgClose(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 14 14\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgClose);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvY2xvc2Uuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2Nsb3NlLnN2Zz8xOGRhIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNMTQgMS40MUwxMi41OSAwIDcgNS41OSAxLjQxIDAgMCAxLjQxIDUuNTkgNyAwIDEyLjU5IDEuNDEgMTQgNyA4LjQxIDEyLjU5IDE0IDE0IDEyLjU5IDguNDEgNyAxNCAxLjQxelwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z0Nsb3NlKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMTQgMTRcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnQ2xvc2U7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/close.svg\n");

/***/ }),

/***/ "./svg/icons/external.svg":
/*!********************************!*\
  !*** ./svg/icons/external.svg ***!
  \********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z\"\n});\nfunction SvgExternal(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"currentColor\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgExternal);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZXh0ZXJuYWwuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2V4dGVybmFsLnN2Zz8yNzhhIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNNSAyMWExLjk5IDEuOTkgMCAwMS0xLjQyNS0uNTc1QTEuOTkgMS45OSAwIDAxMyAxOVY1YzAtLjU1LjE5Mi0xLjAxNy41NzUtMS40LjQtLjQuODc1LS42IDEuNDI1LS42aDd2Mkg1djE0aDE0di03aDJ2N2MwIC41NS0uMiAxLjAyNS0uNiAxLjQyNS0uMzgzLjM4My0uODUuNTc1LTEuNC41NzVINXptNC43LTUuM2wtMS40LTEuNEwxNy42IDVIMTRWM2g3djdoLTJWNi40bC05LjMgOS4zelwiXG59KTtcbmZ1bmN0aW9uIFN2Z0V4dGVybmFsKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjQgMjRcIixcbiAgICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdFeHRlcm5hbDsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/external.svg\n");

/***/ }),

/***/ "./svg/icons/info-circle.svg":
/*!***********************************!*\
  !*** ./svg/icons/info-circle.svg ***!
  \***********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M11.5 22c-1.522 0-2.952-.284-4.29-.852a11.303 11.303 0 01-3.493-2.366 11.303 11.303 0 01-2.365-3.492A10.86 10.86 0 01.5 11c0-1.522.284-2.952.853-4.29a11.302 11.302 0 012.364-3.493A10.92 10.92 0 017.21.88 10.567 10.567 0 0111.5 0c1.522 0 2.952.293 4.29.88a10.92 10.92 0 013.492 2.337c.99.99 1.77 2.155 2.338 3.493.587 1.338.88 2.768.88 4.29 0 1.522-.293 2.952-.88 4.29a10.92 10.92 0 01-2.338 3.492c-.99.99-2.154 1.779-3.492 2.366A10.86 10.86 0 0111.5 22zm0-14.3c.312 0 .569-.1.77-.303.22-.22.33-.485.33-.797a.999.999 0 00-.33-.77.999.999 0 00-.77-.33c-.311 0-.577.11-.797.33a1.043 1.043 0 00-.303.77c0 .312.101.578.303.798.22.201.486.302.797.302zm-1.1 8.8V9.9h2.2v6.6h-2.2z\",\n  fill: \"currentColor\"\n});\nfunction SvgInfoCircle(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 23 22\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgInfoCircle);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvaW5mby1jaXJjbGUuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2luZm8tY2lyY2xlLnN2Zz8xNmFlIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZ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jUgMjJ6bTAtMTQuM2MuMzEyIDAgLjU2OS0uMS43Ny0uMzAzLjIyLS4yMi4zMy0uNDg1LjMzLS43OTdhLjk5OS45OTkgMCAwMC0uMzMtLjc3Ljk5OS45OTkgMCAwMC0uNzctLjMzYy0uMzExIDAtLjU3Ny4xMS0uNzk3LjMzYTEuMDQzIDEuMDQzIDAgMDAtLjMwMy43N2MwIC4zMTIuMTAxLjU3OC4zMDMuNzk4LjIyLjIwMS40ODYuMzAyLjc5Ny4zMDJ6bS0xLjEgOC44VjkuOWgyLjJ2Ni42aC0yLjJ6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnSW5mb0NpcmNsZShwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDIzIDIyXCIsXG4gICAgZmlsbDogXCJub25lXCJcbiAgfSwgcHJvcHMpLCBfcmVmKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z0luZm9DaXJjbGU7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/info-circle.svg\n");

/***/ }),

/***/ "./svg/icons/info-green.svg":
/*!**********************************!*\
  !*** ./svg/icons/info-green.svg ***!
  \**********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M7.334 11.333h1.333v-4H7.334v4zM8.001 6a.658.658 0 00.667-.667.605.605 0 00-.2-.467.605.605 0 00-.467-.2.658.658 0 00-.667.667c0 .189.061.35.183.483A.69.69 0 008.001 6zm0 8.666a6.583 6.583 0 01-2.6-.516 6.85 6.85 0 01-2.117-1.434A6.85 6.85 0 011.851 10.6 6.582 6.582 0 011.334 8c0-.923.172-1.79.517-2.6a6.85 6.85 0 011.433-2.117c.6-.6 1.306-1.072 2.117-1.417A6.404 6.404 0 018 1.333c.922 0 1.789.178 2.6.533a6.618 6.618 0 012.116 1.417c.6.6 1.072 1.306 1.417 2.117.355.81.533 1.677.533 2.6 0 .922-.178 1.789-.533 2.6a6.619 6.619 0 01-1.417 2.116 6.85 6.85 0 01-2.116 1.434 6.583 6.583 0 01-2.6.516zm0-1.333c1.489 0 2.75-.517 3.783-1.55s1.55-2.294 1.55-3.783c0-1.49-.517-2.75-1.55-3.784-1.033-1.033-2.294-1.55-3.783-1.55-1.49 0-2.75.517-3.784 1.55C3.184 5.25 2.667 6.511 2.667 8c0 1.489.517 2.75 1.55 3.783 1.034 1.033 2.295 1.55 3.784 1.55z\",\n  fill: \"currentColor\"\n});\nfunction SvgInfoGreen(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 16 16\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgInfoGreen);//# sourceURL=[module]\n//# sourceMapp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9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnSW5mb0dyZWVuOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/info-green.svg\n");

/***/ }),

/***/ "./svg/icons/lightbulb.svg":
/*!*********************************!*\
  !*** ./svg/icons/lightbulb.svg ***!
  \*********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fill: \"currentColor\",\n  d: \"M10 18.333c-.458 0-.854-.16-1.188-.479a1.66 1.66 0 01-.479-1.188h3.334c0 .459-.167.855-.5 1.188-.32.32-.709.48-1.167.48zm-3.333-2.5v-1.667h6.666v1.667H6.667zm.208-2.5a6.47 6.47 0 01-2.292-2.292c-.555-.958-.833-2-.833-3.125 0-1.736.604-3.208 1.813-4.416C6.784 2.278 8.262 1.667 10 1.667c1.736 0 3.208.61 4.417 1.833 1.222 1.208 1.833 2.68 1.833 4.417a6.008 6.008 0 01-.854 3.124 6.303 6.303 0 01-2.271 2.292h-6.25zm.5-1.667h5.25a4.528 4.528 0 001.438-1.645c.347-.653.52-1.355.52-2.105 0-1.277-.444-2.36-1.333-3.25-.889-.888-1.972-1.333-3.25-1.333s-2.361.445-3.25 1.333c-.889.89-1.333 1.973-1.333 3.25 0 .75.166 1.452.5 2.105a4.722 4.722 0 001.458 1.645z\"\n});\nfunction SvgLightbulb(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgLightbulb);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvbGlnaHRidWxiLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9saWdodGJ1bGIuc3ZnP2QzM2EiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBmaWxsOiBcIm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lxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnTGlnaHRidWxiOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/lightbulb.svg\n");

/***/ }),

/***/ "./svg/icons/pencil-alt.svg":
/*!**********************************!*\
  !*** ./svg/icons/pencil-alt.svg ***!
  \**********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M12.149 7.96l-5.166 5.166a.344.344 0 00-.094.176l-.35 1.755a.344.344 0 00.404.404l1.755-.35a.344.344 0 00.175-.095l5.166-5.165-1.89-1.89zm2.301-1.814a1.031 1.031 0 00-1.458 0L6.497 12.64a1.031 1.031 0 00-.282.527l-.35 1.755a1.031 1.031 0 001.213 1.213l1.754-.35c.2-.04.383-.139.527-.283l6.495-6.494a1.031 1.031 0 000-1.459L14.45 6.146z\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M12.149 7.96l.117-.116a.165.165 0 00-.234 0l.117.117zm-5.166 5.166l-.116-.116.116.116zm-.094.176l.162.033-.162-.033zm-.35 1.755l.161.032-.162-.032zm.404.404l.032.162-.032-.162zm1.755-.35l.032.161-.032-.162zm.175-.095l.117.117-.117-.117zm5.166-5.165l.116.116a.165.165 0 000-.233l-.116.117zm-1.047-3.705l.116.116-.116-.116zm1.458 0l-.116.116.116-.116zM6.497 12.64l.117.117-.117-.117zm-.282.527l-.162-.032.162.032zm-.35 1.755l.161.032-.162-.032zm1.213 1.213l-.033-.162.033.162zm1.754-.35l.033.161-.033-.162zm.527-.283l.117.117-.117-.117zm6.495-6.494l-.117-.117.117.117zm0-1.459l.117-.116-.117.116zm-3.822.295L6.867 13.01l.233.233 5.166-5.165-.234-.234zM6.867 13.01a.509.509 0 00-.14.26l.324.065a.18.18 0 01.05-.092l-.234-.233zm-.14.26l-.35 1.754.323.065.351-1.755-.323-.064zm-.35 1.754a.509.509 0 00.598.599l-.064-.324a.179.179 0 01-.21-.21l-.324-.065zm.598.599l1.755-.35-.065-.325-1.754.351.064.324zm1.755-.35a.508.508 0 00.26-.14l-.233-.233a.18.18 0 01-.092.048l.065.324zm.26-.14l5.165-5.166-.233-.233L8.757 14.9l.233.233zm3.042-7.055l1.89 1.89.233-.234-1.89-1.89-.233.234zm1.076-1.816a.866.866 0 011.226 0l.233-.233a1.196 1.196 0 00-1.692 0l.233.233zm-6.494 6.495l6.494-6.495-.233-.233-6.494 6.495.233.233zm-.237.443a.866.866 0 01.237-.443l-.233-.233c-.167.167-.281.38-.328.61l.324.066zm-.35 1.754l.35-1.754-.324-.065-.35 1.755.323.064zm1.018 1.02a.866.866 0 01-1.019-1.02l-.323-.065a1.196 1.196 0 001.407 1.408l-.065-.324zm1.755-.351l-1.755.35.065.324 1.755-.35-.065-.324zm.443-.237a.866.866 0 01-.443.237l.065.323c.231-.046.444-.16.611-.327l-.233-.233zm6.494-6.495l-6.494 6.495.233.233 6.495-6.494-.234-.234zm0-1.225a.866.866 0 010 1.225l.234.234a1.196 1.196 0 000-1.692l-.234.233zm-1.403-1.404l1.403 1.404.234-.233-1.404-1.404-.233.233z\"\n});\nfunction SvgPencilAlt(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 22 22\",\n    fill: \"currentColor\"\n  }, props), _ref, _ref2);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgPencilAlt);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./svg/icons/pencil-alt.svg\n");

/***/ }),

/***/ "./svg/icons/pie-chart-zero-data.svg":
/*!*******************************************!*\
  !*** ./svg/icons/pie-chart-zero-data.svg ***!
  \*******************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M119 238c65.722 0 119-53.278 119-119C238 53.278 184.722 0 119 0 53.278 0 0 53.278 0 119c0 65.722 53.278 119 119 119zm0-42c42.526 0 77-34.474 77-77s-34.474-77-77-77-77 34.474-77 77 34.474 77 77 77z\",\n  fill: \"currentColor\"\n});\nfunction SvgPieChartZeroData(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 238 238\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgPieChartZeroData);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvcGllLWNoYXJ0LXplcm8tZGF0YS5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvcGllLWNoYXJ0LXplcm8tZGF0YS5zdmc/MWM0OSJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGZpbGxSdWxlOiBcImV2ZW5vZGRcIixcbiAgY2xpcFJ1bGU6IFwiZXZlbm9kZFwiLFxuICBkOiBcIk0xMTkgMjM4YzY1LjcyMiAwIDExOS01My4yNzggMTE5LTExOUMyMzggNTMuMjc4IDE4NC43MjIgMCAxMTkgMCA1My4yNzggMCAwIDUzLjI3OCAwIDExOWMwIDY1LjcyMiA1My4yNzggMTE5IDExOSAxMTl6bTAtNDJjNDIuNTI2IDAgNzctMzQuNDc0IDc3LTc3cy0zNC40NzQtNzctNzctNzctNzcgMzQuNDc0LTc3IDc3IDM0LjQ3NCA3NyA3NyA3N3pcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSk7XG5mdW5jdGlvbiBTdmdQaWVDaGFydFplcm9EYXRhKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjM4IDIzOFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdQaWVDaGFydFplcm9EYXRhOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/pie-chart-zero-data.svg\n");

/***/ }),

/***/ "./svg/icons/star-fill.svg":
/*!*********************************!*\
  !*** ./svg/icons/star-fill.svg ***!
  \*********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M5.825 22l2.325-7.6L2 10h7.6L12 2l2.4 8H22l-6.15 4.4 2.325 7.6L12 17.3 5.825 22z\",\n  fill: \"currentColor\"\n});\nfunction SvgStarFill(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgStarFill);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvc3Rhci1maWxsLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9zdGFyLWZpbGwuc3ZnP2EzN2QiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk01LjgyNSAyMmwyLjMyNS03LjZMMiAxMGg3LjZMMTIgMmwyLjQgOEgyMmwtNi4xNSA0LjQgMi4zMjUgNy42TDEyIDE3LjMgNS44MjUgMjJ6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnU3RhckZpbGwocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyNCAyNFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdTdGFyRmlsbDsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/star-fill.svg\n");

/***/ }),

/***/ "./svg/icons/tick.svg":
/*!****************************!*\
  !*** ./svg/icons/tick.svg ***!
  \****************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M1 3.838L4.106 7 10 1\",\n  stroke: \"currentColor\",\n  strokeWidth: 1.5\n});\nfunction SvgTick(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 11 9\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgTick);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvdGljay5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvdGljay5zdmc/MTc3MyJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTEgMy44MzhMNC4xMDYgNyAxMCAxXCIsXG4gIHN0cm9rZTogXCJjdXJyZW50Q29sb3JcIixcbiAgc3Ryb2tlV2lkdGg6IDEuNVxufSk7XG5mdW5jdGlvbiBTdmdUaWNrKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMTEgOVwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdUaWNrOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/tick.svg\n");

/***/ }),

/***/ "./svg/icons/visibility.svg":
/*!**********************************!*\
  !*** ./svg/icons/visibility.svg ***!
  \**********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M12.907 10.523l-1.088-1.088c.113-.587-.056-1.137-.506-1.65-.45-.512-1.031-.712-1.743-.6L8.482 6.098c.213-.1.425-.175.638-.225.225-.05.462-.075.712-.075.938 0 1.731.331 2.381.994.663.65.994 1.443.994 2.381 0 .25-.025.487-.075.712-.05.213-.125.425-.225.638zm2.4 2.362l-1.088-1.05a8.11 8.11 0 001.257-1.18 6.69 6.69 0 00.956-1.482 7.287 7.287 0 00-2.7-3c-1.162-.75-2.462-1.125-3.9-1.125-.362 0-.719.025-1.069.075-.35.05-.693.125-1.031.225L6.57 4.185a7.851 7.851 0 011.575-.468 8.22 8.22 0 011.687-.169c1.887 0 3.569.525 5.044 1.575a8.87 8.87 0 013.206 4.05 8.766 8.766 0 01-1.144 2.063 8.16 8.16 0 01-1.631 1.65zm.375 4.613l-3.15-3.113a9.803 9.803 0 01-1.331.32 9.675 9.675 0 01-1.369.093c-1.887 0-3.569-.519-5.044-1.556a8.983 8.983 0 01-3.206-4.07 8.663 8.663 0 01.994-1.837c.4-.575.856-1.087 1.369-1.537l-2.063-2.1 1.05-1.05 13.8 13.8-1.05 1.05zM4.995 6.848A8.054 8.054 0 004 7.917c-.3.387-.556.806-.769 1.256a7.46 7.46 0 002.681 3.019c1.175.737 2.482 1.106 3.919 1.106.25 0 .494-.013.731-.038.238-.037.481-.075.731-.112l-.675-.713a5.889 5.889 0 01-.393.094 3.96 3.96 0 01-.394.019c-.937 0-1.737-.325-2.4-.975-.65-.662-.975-1.463-.975-2.4 0-.138.006-.269.019-.394.025-.125.056-.256.094-.394L4.995 6.848z\",\n  fill: \"currentColor\"\n});\nfunction SvgVisibility(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 19 19\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgVisibility);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ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ljg4OSAwIDAxLS4zOTMuMDk0IDMuOTYgMy45NiAwIDAxLS4zOTQuMDE5Yy0uOTM3IDAtMS43MzctLjMyNS0yLjQtLjk3NS0uNjUtLjY2Mi0uOTc1LTEuNDYzLS45NzUtMi40IDAtLjEzOC4wMDYtLjI2OS4wMTktLjM5NC4wMjUtLjEyNS4wNTYtLjI1Ni4wOTQtLjM5NEw0Ljk5NSA2Ljg0OHpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSk7XG5mdW5jdGlvbiBTdmdWaXNpYmlsaXR5KHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMTkgMTlcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnVmlzaWJpbGl0eTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/visibility.svg\n");

/***/ }),

/***/ "./svg/icons/warning-notice.svg":
/*!**************************************!*\
  !*** ./svg/icons/warning-notice.svg ***!
  \**************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1zm0 14a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm-1-2h2V6h-2v7z\",\n  fill: \"currentColor\"\n});\nfunction SvgWarningNotice(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgWarningNotice);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvd2FybmluZy1ub3RpY2Uuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL3dhcm5pbmctbm90aWNlLnN2Zz8xYjMxIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNMTIgMWM2LjA3NSAwIDExIDQuOTI1IDExIDExcy00LjkyNSAxMS0xMSAxMVMxIDE4LjA3NSAxIDEyIDUuOTI1IDEgMTIgMXptMCAxNGExLjUgMS41IDAgMTAwIDMgMS41IDEuNSAwIDAwMC0zem0tMS0yaDJWNmgtMnY3elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z1dhcm5pbmdOb3RpY2UocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyNCAyNFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdXYXJuaW5nTm90aWNlOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/warning-notice.svg\n");

/***/ }),

/***/ "./svg/icons/warning-v2.svg":
/*!**********************************!*\
  !*** ./svg/icons/warning-v2.svg ***!
  \**********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z\",\n  fill: \"currentColor\"\n});\nfunction SvgWarningV2(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 22 19\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgWarningV2);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvd2FybmluZy12Mi5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvd2FybmluZy12Mi5zdmc/MjMxNCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTAgMTloMjJMMTEgMCAwIDE5em0xMi0zaC0ydi0yaDJ2MnptMC00aC0yVjhoMnY0elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z1dhcm5pbmdWMihwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDIyIDE5XCJcbiAgfSwgcHJvcHMpLCBfcmVmKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z1dhcm5pbmdWMjsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/warning-v2.svg\n");

/***/ }),

/***/ "./svg/icons/warning.svg":
/*!*******************************!*\
  !*** ./svg/icons/warning.svg ***!
  \*******************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M0 0h24v24H0z\",\n  fill: \"none\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z\"\n});\nfunction SvgWarning(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    fill: \"currentColor\",\n    viewBox: \"0 0 24 24\",\n    \"aria-labelledby\": \"warning-title warning-desc\"\n  }, props), _ref, _ref2);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgWarning);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvd2FybmluZy5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvd2FybmluZy5zdmc/NDE0MiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0O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ress/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-components":
/*!***********************************************!*\
  !*** external ["googlesitekit","components"] ***!
  \***********************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = googlesitekit[\"components\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlc2l0ZWtpdC1jb21wb25lbnRzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2V4dGVybmFsIFtcImdvb2dsZXNpdGVraXRcIixcImNvbXBvbmVudHNcIl0/ZmZlYiJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGdvb2dsZXNpdGVraXRbXCJjb21wb25lbnRzXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///googlesitekit-components\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");

/***/ }),

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

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

/***/ }),

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

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

/***/ }),

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

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

/***/ })

},[["./js/googlesitekit-modules-analytics-4.js","runtime","googlesitekit-vendor"]]]);