4399 lines
4.0 MiB
JavaScript
4399 lines
4.0 MiB
JavaScript
|
|
(window["__googlesitekit_webpackJsonp"] = window["__googlesitekit_webpackJsonp"] || []).push([["googlesitekit-modules-adsense"],{
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9hcGktZmV0Y2gtc2hpbS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2FwaS1mZXRjaC1zaGltLmpzPzMzYTYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBUEkgRmV0Y2ggU2hpbS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1x
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0FjY2Vzc2libGVXYXJuaW5nSWNvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvQWNjZXNzaWJsZVdhcm5pbmdJY29uLmpzP2YzNWYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBY2Nlc3NpYmxlV2FybmluZ0ljb24gY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _JoyrideTooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../JoyrideTooltip */ \"./js/components/JoyrideTooltip.js\");\n/* harmony import */ var _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.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\nfunction AdminMenuTooltip() {\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_UI\"]),\n setValue = _useDispatch.setValue;\n var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n return select(_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 _useSelect$rehideAdmi = _useSelect.rehideAdminMenu,\n rehideAdminMenu = _useSelect$rehideAdmi === void 0 ? false : _useSelect$rehideAdmi,\n _useSelect$rehideAdmi2 = _useSelect.rehideAdminSubMenu,\n rehideAdminSubMenu = _useSelect$rehideAdmi2 === void 0 ? false : _useSelect$rehideAdmi2,\n tooltipSlug = _useSelect.tooltipSlug,\n title = _useSelect.title,\n content = _useSelect.content,\n dismissLabel = _useSelect.dismissLabel;\n var handleViewTooltip = function handleViewTooltip() {\n Object(_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 // If the WordPress admin menu was closed, re-close it.\n if (rehideAdminMenu) {\n var isAdminMenuOpen = document.querySelector('#adminmenu').offsetHeight > 0;\n if (isAdminMenuOpen) {\n var _document$getElementB;\n (_document$getElementB = document.getElementById('wp-admin-bar-menu-toggle')) === null || _document$getElementB === void
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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_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 _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/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\n\n\nfunction useShowTooltip(tooltipSettings) {\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]),\n setValue = _useDispatch.setValue;\n var hasMinimumWordPress62 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).hasMinimumWordPressVersion('6.2');\n });\n var hasMinimumWordPress64 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).hasMinim
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0JhZGdlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9CYWRnZS5qcz8zN2ZlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQmFkZ2UgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICp
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ChangeArrow.js":
|
|||
|
|
/*!**************************************!*\
|
|||
|
|
!*** ./js/components/ChangeArrow.js ***!
|
|||
|
|
\**************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n\n/**\n * External dependencies\n */\n\n\nfunction ChangeArrow(_ref) {\n var direction = _ref.direction,\n invertColor = _ref.invertColor,\n width = _ref.width,\n height = _ref.height;\n return /*#__PURE__*/React.createElement(\"svg\", {\n className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-change-arrow', \"googlesitekit-change-arrow--\".concat(direction), {\n 'googlesitekit-change-arrow--inverted-color': invertColor\n }),\n width: width,\n height: height,\n viewBox: \"0 0 10 10\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z\",\n fill: \"currentColor\"\n }));\n}\nChangeArrow.propTypes = {\n direction: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n invertColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n width: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n height: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number\n};\nChangeArrow.defaultProps = {\n direction: 'up',\n invertColor: false,\n width: 9,\n height: 9\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ChangeArrow);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0NoYW5nZUFycm93LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9DaGFuZ2VBcnJvdy5qcz9iNjAwIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5pbXBvcnQgY2xhc3NuYW1lcyBmcm9tICdjbGFzc25hbWVzJztcblxuZnVuY3Rpb24gQ2hhbmdlQXJyb3coIHsgZGlyZWN0aW9uLCBpbnZlcnRDb2xvciwgd2lkdGgsIGhlaWdodCB9ICkge1xuXHRyZXR1cm4gKFxuXHRcdDxzdmdcblx0XHRcdGNsYXNzTmFtZT17IGNsYXNzbmFtZXMoXG5cdFx0XHRcdCdnb29nbGVzaXRla2l0LWNoYW5nZS1hcnJvdycsXG5cdFx0XHRcdGBnb29nbGVzaXRla2l0LWNoYW5nZS1hcnJvdy0tJHsgZGlyZWN0aW9uIH1gLFxuXHRcdFx0XHR7ICdnb29nbGVzaXRla2l0LWNoYW5nZS1hcnJvdy0taW52ZXJ0ZWQtY29sb3InOiBpbnZlcnRDb2xvciB9XG5cdFx0XHQpIH1cblx0XHRcdHdpZHRoPXsgd2lkdGggfVxuXHRcdFx0aGVpZ2h0PXsgaGVpZ2h0IH1cblx0XHRcdHZpZXdCb3g9XCIwIDAgMTAgMTBcIlxuXHRcdFx0ZmlsbD1cIm5vbmVcIlxuXHRcdFx0eG1sbnM9XCJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Z1wiXG5cdFx0PlxuXHRcdFx0PHBhdGhcblx0XHRcdFx0ZD1cIk01LjYyNSAxMEw1LjYyNSAyLjM3NUw5LjEyNSA1Ljg3NUwxMCA1TDUgLTEuNzY1NTVlLTA3TC0yLjcwNTVlLTA3IDVMMC44NzUgNS44NzVMNC4zNzUgMi4zNzVMNC4zNzUgMTBMNS42MjUgMTBaXCJcblx0XHRcdFx0ZmlsbD1cImN1cnJlbnRDb2xvclwiXG5cdFx0XHQvPlxuXHRcdDwvc3ZnPlxuXHQpO1xufVxuXG5DaGFuZ2VBcnJvdy5wcm9wVHlwZXMgPSB7XG5cdGRpcmVjdGlvbjogUHJvcFR5cGVzLnN0cmluZyxcblx0aW52ZXJ0Q29sb3I6IFByb3BUeXBlcy5ib29sLFxuXHR3aWR0aDogUHJvcFR5cGVzLm51bWJlcixcblx0aGVpZ2h0OiBQcm9wVHlwZXMubnVtYmVyLFxufTtcblxuQ2hhbmdlQXJyb3cuZGVmYXVsdFByb3BzID0ge1xuXHRkaXJlY3Rpb246ICd1cCcsXG5cdGludmVydENvbG9yOiBmYWxzZSxcblx0d2lkdGg6IDksXG5cdGhlaWdodDogOSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IENoYW5nZUFycm93O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../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(_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(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0NoYW5nZUJhZGdlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9DaGFuZ2VCYWRnZS5qcz9lNzU4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ2hhbmdlQmFkZ2UgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIG
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/DashboardNavigation/Navigation.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./js/components/DashboardNavigation/Navigation.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 Navigation; });\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 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 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 react_use__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _material_react_chips__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @material/react-chips */ \"../node_modules/@material/react-chips/dist/index.js\");\n/* harmony import */ var _material_react_chips__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_material_react_chips__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 _svg_icons_nav_key_metrics_icon_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../svg/icons/nav-key-metrics-icon.svg */ \"./svg/icons/nav-key-metrics-icon.svg\");\n/* harmony import */ var _svg_icons_nav_traffic_icon_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../svg/icons/nav-traffic-icon.svg */ \"./svg/icons/nav-traffic-icon.svg\");\n/* harmony import */ var _svg_icons_nav_content_icon_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../svg/icons/nav-content-icon.svg */ \"./svg/icons/nav-content-icon.svg\");\n/* harmony import */ var _svg_icons_nav_speed_icon_svg__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../svg/icons/nav-speed-icon.svg */ \"./svg/icons/nav-speed-icon.svg\");\n/* harmony import */ var _svg_icons_nav_monetization_icon_svg__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../svg/icons/nav-monetization-icon.svg */ \"./svg/icons/nav-monetization-icon.svg\");\n/* harmony import */ var _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/DashboardNavigation/index.js":
|
|||
|
|
/*!****************************************************!*\
|
|||
|
|
!*** ./js/components/DashboardNavigation/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 DashboardNavigation; });\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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _LoadingWrapper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../LoadingWrapper */ \"./js/components/LoadingWrapper.js\");\n/* harmony import */ var _Navigation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Navigation */ \"./js/components/DashboardNavigation/Navigation.js\");\n\n/**\n * DashboardNavigation 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 * Internal dependencies\n */\n\n\n\n\n\nfunction DashboardNavigation() {\n var viewOnlyDashboard = Object(_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n var viewableModules = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n if (!viewOnlyDashboard) {\n return null;\n }\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).getViewableModules();\n });\n var keyMetrics = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).getKeyMetrics();\n });\n\n // The Navigation component relies on the resolution of the above selectors to check if individual\n // widgetContexts are active. The results of these checks are used to determine the `defaultChipID`\n // which 'highlights' the first chip and sets the corresponding hash on page load.\n return /*#__PURE__*/React.createElement(_LoadingWrapper__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n loading: viewableModules === undefined || keyMetrics === undefined,\n width: \"100%\",\n smallHeight: \"59px\",\n height: \"71px\"\n }, /*#__PURE__*/React.createElement(_Navigation__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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Rhc2hib2FyZE5hdmlnYXRpb24vaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0Rhc2hib2FyZE5hdmlnYXRpb24vaW5kZXguanM/ODk1NiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERhc2hib2FyZE5hdmlnYXRpb24gY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIH
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _ChangeArrow__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../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(_util__WEBPACK_IMPORTED_MODULE_4__[\"numFmt\"])(change, {\n style: 'percent',\n signDisplay: 'never',\n maximumFractionDigits: 1\n });\n } else {\n changeFormatted = Object(_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(_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 changeD
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/NjdiOCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNwYXJrbGluZSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuXG4vKipcbiAqIFdvcmRQcmVzcyBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgY2xvbmVFbGVtZW50IH0gZnJvbSAnQHdvcmRwcmVzcy9lbGVtZW50JztcblxuZnVuY3Rpb24gU3BhcmtsaW5lKCB7IHNwYXJrbGluZSwgaW52ZXJ0Q2hhbmdlQ29sb3IgfSApIHtcblx0Ly8gVGhlIGBzcGFya2xpbmVgIHByb3AgaXMgcGFzc2VkIGFzIGEgY29tcG9uZW50LCBidXQgaWYgYGludmVydENoYW5nZUNvbG9yYFxuXHQvLyBpcyBzZXQsIHdlIHNob3VsZCBwYXNzIHRoYXQgdG8gYDxTcGFya2xpbmU+YC4gSW4gd
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _GatheringDataNotice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../GatheringDataNotice */ \"./js/components/GatheringDataNotice.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _Sparkline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Sparkline */ \"./js/components/DataBlock/Sparkline.js\");\n/* harmony import */ var _Badge__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Badge */ \"./js/components/Badge.js\");\n/* harmony import */ var _Change__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Change */ \"./js/components/DataBlock/Change.js\");\n/* harmony import */ var _SourceLink__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../SourceLink */ \"./js/components/SourceLink.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/* eslint complexity: [ \"error\", 16 ] */\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\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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _hooks_useDebounce__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../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 var adjustFontSize = function adjustFontSize() {\n var _ref$current, _blocks$, _global, _global$getComputedSt;\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) {\n return;\n }\n var firstDataPoint = (_blocks$ = blocks[0]) === null || _blocks$ === void 0 ? void 0 : _blocks$.querySelector('.googlesitekit-data-block__datapoint');\n if (!firstDataPoint) {\n return;\n }\n\n // Reset font sizes, so on screen rotation/resize the font size\n // can be re-calculated.\n setFontSizes(blocks, '');\n\n // Set the default value to the current font size of the blocks.\n var originalSize = parseInt((_global = global) === null || _global === void 0 ? void 0 : (_global$getComputedSt = _global.getComputedStyle(firstDataPoint)) === null || _global$getComputedSt === void 0 ? void 0 : _global$getComputedSt.fontSize, 10);\n var adjustedSize = originalSize;\n\n // Loop through the blocks to determine the smallest size needed to fit\n // if any of the blocks are outside their container.\n blocks.forEach(function (block) {\n var _global2, _global2$getComputedS, _dataPoint$parentElem;\n var dataPoint = block.querySelector('.googlesitekit-data-block__datapoint');\n if (!dataPoint) {\n return;\n }\n var fontSize = parseInt((_global2 = global) === null || _global2 === void 0 ? void 0 : (_global2$getComputedS = _global2.getComputedStyle(dataPoint)) === null || _global2$getComputedS === void 0 ? void 0 : _global2$getComputedS.fontSize, 10);\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\n // If the block value overflows the parent container, we want to keep\n // decrementing the font size by 1 until it fits the container,\n // so we can find the optimal font size. And it should't go below minimal value\n // which is 14px.\n if (dataPoint.scrollWidth > parentWidth && fontSize > 14) {\n while (dataPoint.scrollWidth > parentWidth && fontSize > 14) {\n fontSize -= 1;\n dataPoint.style.fontSize = \"\".concat(fontSize, \"px\");\n }\n adjustedSize = f
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Rpc3BsYXlTZXR0aW5nLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9EaXNwbGF5U2V0dGluZy5qcz83MDQ0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRGlzcGxheVNldHRpbmcgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGNvbnN0IEJMQU5LX1NQQUNFID0gJ1xcdTAwQTAnO1xuXG5mdW5jdGlvbiBEaXNwbGF5U2V0dGluZyggeyB2YWx1ZSB9ICkge1xuXHRyZXR1cm4gdmFsdWUgfHwgQkxBTktfU1BBQ0U7XG59XG5cbkRpc3BsYXlTZXR0aW5nLnByb3BUeXBlcyA9IHtcblx0dmFsdWU6IFByb3BUeXBlcy5vbmVPZlR5cGUoIFtcblx0XHRQcm9wVHlwZXMuc3RyaW5nLFxuXHRcdFByb3BUeXBlcy5ib29sLFxuXHRcdFByb3BUeXBlcy5udW1iZXIsXG5cdF0gKSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IERpc3BsYXlTZXR0aW5nO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFLQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/DisplaySetting.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/EntityHeader.js":
|
|||
|
|
/*!***************************************!*\
|
|||
|
|
!*** ./js/components/EntityHeader.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 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 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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _svg_icons_keyboard_backspace_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../svg/icons/keyboard-backspace.svg */ \"./svg/icons/keyboard-backspace.svg\");\n/* harmony import */ var _googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n/* harmony import */ var _util_urls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/urls */ \"./js/util/urls.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../hooks/useDashboardType */ \"./js/hooks/useDashboardType.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n\n/**\n * EntityHeader 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 * In
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 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 _util_errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _ErrorText__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ErrorText */ \"./js/components/ErrorText.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 * Internal dependencies\n */\n\n\n\n\nfunction ErrorNotice(_ref) {\n var _error$data;\n var 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 Icon = _ref.Icon;\n var dispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])();\n var selectorData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"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, or if the error is for missing scopes.\n if (!error || Object(_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isPermissionScopeError\"])(error)) {\n return null;\n }\n var shouldDisplayRetry = hasButton && Object(_util_errors__WEBPACK_IMPORTED
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ErrorText.js":
|
|||
|
|
/*!************************************!*\
|
|||
|
|
!*** ./js/components/ErrorText.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_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 _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util */ \"./js/util/index.js\");\n\n/**\n * Error Text 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\nfunction ErrorText(_ref) {\n var message = _ref.message,\n reconnectURL = _ref.reconnectURL,\n _ref$noPrefix = _ref.noPrefix,\n noPrefix = _ref$noPrefix === void 0 ? false : _ref$noPrefix;\n if (!message) {\n return null;\n }\n var error = message;\n if (!noPrefix) {\n error = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: Error message */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Error: %s', 'google-site-kit'), message);\n }\n if (reconnectURL && Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_2__[\"isURL\"])(reconnectURL)) {\n error = error + ' ' + Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: Reconnect URL */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('To fix this, <a href=\"%s\">redo the plugin setup</a>.', 'google-site-kit'), reconnectURL);\n }\n var sanitizeArgs = {\n ALLOWED_TAGS: ['a'],\n ALLOWED_ATTR: ['href']\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-error-text\"\n }, /*#__PURE__*/React.createElement(\"p\", {\n dangerouslySetInnerHTML: Object(_util__WEBPACK_IMPORTED_MODULE_4__[\"sanitizeHTML\"])(error, sanitizeArgs)\n }));\n}\nErrorText.propTypes = {\n message: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n reconnectURL: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n noPrefix: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\nErrorText.defaultProps = {\n reconnectURL: '',\n noPrefix: false\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ErrorText);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Vycm9yVGV4dC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvRXJyb3JUZXh0LmpzPzFiZjIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBFcnJvciBUZXh0IGNvbXBvbmVudC5cbiA
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/MzZlZiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdhdGhlcmluZ0RhdGFOb3RpY2UgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0dlbmVyaWNFcnJvckhhbmRsZXJBY3Rpb25zLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9HZW5lcmljRXJyb3JIYW5kbGVyQWN0aW9ucy5qcz81ZDY3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJpY0Vycm9ySGFuZGxlckFjdGlvbnMgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGV
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useDebounce__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks/useDebounce */ \"./js/hooks/useDebounce.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../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(_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(_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(_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEvent\"])(eventCategory, 'chart_tooltip_view');\n }, [eventCategory]);\n var handleTooltipOpen = Object(_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/
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util_initialize_google_global__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util/initialize-google-global */ \"./js/util/initialize-google-global.js\");\n/* harmony import */ var _util_initialize_google_global__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_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__WE
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../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 */\nvar getFilteredChartData = function 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|
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _notifications_CTA__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../notifications/CTA */ \"./js/components/notifications/CTA.js\");\n/* harmony import */ var _GenericErrorHandlerActions__WEBPACK_IMPORTED_MODULE_11__ = __web
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/Header.js":
|
|||
|
|
/*!*********************************!*\
|
|||
|
|
!*** ./js/components/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 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 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 react_use_observer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-use-observer */ \"../node_modules/react-use-observer/es/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 _Logo__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Logo */ \"./js/components/Logo.js\");\n/* harmony import */ var _UserMenu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./UserMenu */ \"./js/components/UserMenu/index.js\");\n/* harmony import */ var _notifications_ErrorNotifications__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./notifications/ErrorNotifications */ \"./js/components/notifications/ErrorNotifications.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _DashboardNavigation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./DashboardNavigation */ \"./js/components/DashboardNavigation/index.js\");\n/* harmony import */ var _EntityHeader__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./EntityHeader */ \"./js/components/EntityHeader.js\");\n/* harmony import */ var _ViewOnlyMenu__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ViewOnlyMenu */ \"./js/components/ViewOnlyMenu/index.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../hooks/useDashboardType */ \"./js/hooks/useDashboardType.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n/* harmony import */ var _notifications_SubtleNotifications__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./notifications/SubtleNotifications */ \"./js/components/noti
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0ljb25XcmFwcGVyLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9JY29uV3JhcHBlci5qcz82NzBlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSWNvbldyYXBwZXIgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gSWNvbldyYXBwZXIoIHsgY2hpbGRyZW4sIG1hcmdpbkxlZnQsIG1hcmdpblJpZ2h0IH0gKSB7XG5cdHJldHVybiAoXG5cdFx0PHNwYW5cblx0XHRcdGNsYXNzTmFtZT1cImdvb2dsZXNpdGVraXQtaWNvbi13cmFwcGVyXCJcblx0XHRcdHN0eWxlPXsge1xuXHRcdFx0XHRtYXJnaW5MZWZ0LFxuXHRcdFx0XHRtYXJnaW5SaWdodCxcblx0XHRcdH0gfVxuXHRcdD5cblx0XHRcdHsgY2hpbGRyZW4gfVxuXHRcdDwvc3Bhbj5cblx0KTtcbn1cblxuSWNvbldyYXBwZXIucHJvcFR5cGVzID0ge1xuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUuaXNSZXF1aXJlZCxcblx0bWFyZ2luTGVmdDogUHJvcFR5cGVzLm51bWJlcixcblx0bWFyZ2luUmlnaHQ6IFByb3BUeXBlcy5udW1iZXIsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FB
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0luVmlld1Byb3ZpZGVyL0luVmlld0NvbnRleHQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0luVmlld1Byb3ZpZGVyL0luVmlld0NvbnRleHQuanM/MDE1MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEluVmlldyBjb250ZXh0IGZvciBSZWFjdCBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBXb3JkUHJlc3MgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGNyZWF0ZUNvbnRleHQgfSBmcm9tICdAd29yZHByZXNzL2VsZW1lbnQnO1xuXG5jb25zdCBJblZpZXdDb250ZXh0ID0gY3JlYXRlQ29udGV4dCggZmFsc2UgKTtcblxuZXhwb3J0IGRlZmF1bHQgSW5WaWV3Q29udGV4dDtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/InViewProvider/InViewContext.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 interactive: true,\n onOpen: onOpen\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0luZm9Ub29sdGlwLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9JbmZvVG9vbHRpcC5qcz9kMjFhIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW5mb1Rvb2x0aXAgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gK
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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\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\nfunction JoyrideTooltip(props)
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../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 _Link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../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 _util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../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(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]).getKeyMetrics();\n });\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"])();\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_UI\"]),\n setValue = _useDispatch.setValue;\n var openMetricsSelectionPanel = Object(_wordpress_e
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../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 _components_Null__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../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, _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, _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[slu
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_ui_constants__WEBPACK_IMP
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../googlesitekit/widgets/datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_widgets_default_areas__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../googlesitekit/widgets/default-areas */ \"./js/googlesitekit/widgets/default-areas.js\");\n/* harmony import */ var _hooks_useActivateModuleCallback__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/useActivateModuleCallback */ \"./js/hooks/useActivateModuleCallback.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../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(_hooks_useActivateModuleCallback__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(moduleSlug);\n var m
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../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(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvR2V0SGVscExpbmsuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvR2V0SGVscExpbmsuanM/OTVmOCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdldEhlbHBMaW5rIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5cbi8qKlxuI
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../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(_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n width: \"100%\",\n height: \"90px\"\n })\n }, /*#__PURE__*/React.createElement(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvR2hvc3RDYXJkR3JlZW5TVkcuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvR2hvc3RDYXJkR3JlZW5TVkcuanM/YTJiNCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdob3N0Q2FyZEdyZWVuU1ZHIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIH
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../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(_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n width: \"100%\",\n height: \"90px\"\n })\n }, /*#__PURE__*/React.createElement(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvR2hvc3RDYXJkUmVkU1ZHLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL0dob3N0Q2FyZFJlZFNWRy5qcz9hOGJmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2hvc3RDYXJkUmVkU1ZHIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../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 _MetricTileError__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MetricTileError */ \"./js/components/KeyMetrics/MetricTileError.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../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(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"])();\n var helpLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_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(_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(_util__WEBPACK_IMPORTED_MODULE_7__[\"trackEvent\"])(\"\".concat(viewContext, \"_kmw\"), 'insufficient_permissions_error_retry');\n onRetry === null || onRetry === void 0 ? void 0 : onRetry
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/KeyMetrics/KeyMetricsCTAContent.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./js/components/KeyMetrics/KeyMetricsCTAContent.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 KeyMetricsCTAContent; });\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 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 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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _KeyMetricsSetupDesktopSVG__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./KeyMetricsSetupDesktopSVG */ \"./js/components/KeyMetrics/KeyMetricsSetupDesktopSVG.js\");\n/* harmony import */ var _KeyMetricsSetupSmallDesktopSVG__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./KeyMetricsSetupSmallDesktopSVG */ \"./js/components/KeyMetrics/KeyMetricsSetupSmallDesktopSVG.js\");\n/* harmony import */ var _KeyMetricsSetupTabletSVG__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./KeyMetricsSetupTabletSVG */ \"./js/components/KeyMetrics/KeyMetricsSetupTabletSVG.js\");\n/* harmony import */ var _KeyMetricsSetupMobileSVG__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./KeyMetricsSetupMobileSVG */ \"./js/components/KeyMetrics/KeyMetricsSetupMobileSVG.js\");\n/* harmony import */ var _hooks_useWindowSize__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../hooks/useWindowSize */ \"./js/hooks/useWindowSize.js\");\n\n\n/**\n * KeyMetricsCTAContent component.\n *\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apac
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/KeyMetrics/KeyMetricsCTAFooter.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./js/components/KeyMetrics/KeyMetricsCTAFooter.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 KeyMetricsCTAFooter; });\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 _material_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Link */ \"./js/components/Link.js\");\n\n/**\n * KeyMetricsCTAFooter 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 KeyMetricsCTAFooter(_ref) {\n var _ref$onActionClick = _ref.onActionClick,\n onActionClick = _ref$onActionClick === void 0 ? function () {} : _ref$onActionClick,\n showDismiss = _ref.showDismiss;\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Row\"], {\n className: \"googlesitekit-widget-key-metrics-footer\"\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Cell\"], {\n size: 12,\n className: \"googlesitekit-widget-key-metrics-footer__cta-wrapper\"\n }, !showDismiss && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Interested in specific metrics?', 'google-site-kit')), /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n onClick: onActionClick\n }, showDismiss ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Maybe later', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Select your own metrics', 'google-site-kit'))));\n}\nKeyMetricsCTAFooter.propTypes = {\n onActionClick: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvS2V5TWV0cmljc0NUQUZvb3Rlci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvS2V5TWV0cmljcy9LZXlNZXRyaWNzQ1RBRm9vdGVyLmpzP2FkY2UiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBLZXlNZXRyaWNzQ1RBRm9vdGVyIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZ
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/KeyMetrics/KeyMetricsSetupCTARenderedEffect.js":
|
|||
|
|
/*!**********************************************************************!*\
|
|||
|
|
!*** ./js/components/KeyMetrics/KeyMetricsSetupCTARenderedEffect.js ***!
|
|||
|
|
\**********************************************************************/
|
|||
|
|
/*! exports provided: UI_KEY_KEY_METRICS_SETUP_CTA_RENDERED, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_KEY_KEY_METRICS_SETUP_CTA_RENDERED\", function() { return UI_KEY_KEY_METRICS_SETUP_CTA_RENDERED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return KeyMetricsSetupCTARenderedEffect; });\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 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_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/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 * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nvar UI_KEY_KEY_METRICS_SETUP_CTA_RENDERED = 'KEY_METRICS_SETUP_CTA_RENDERED';\nfunction KeyMetricsSetupCTARenderedEffect() {\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_UI\"]),\n setValue = _useDispatch.setValue;\n Object(react_use__WEBPACK_IMPORTED_MODULE_0__[\"useEffectOnce\"])(function () {\n setValue(UI_KEY_KEY_METRICS_SETUP_CTA_RENDERED, true);\n });\n return null;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvS2V5TWV0cmljc1NldHVwQ1RBUmVuZGVyZWRFZmZlY3QuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvS2V5TWV0cmljc1NldHVwQ1RBUmVuZGVyZWRFZmZlY3QuanM/ZjM1YSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgdXNlRWZmZWN0T25jZSB9IGZyb20gJ3JlYWN0LXVzZSc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IHVzZURpc3BhdGNoIH0gZnJvbSAnZ29vZ2xlc2l0ZWtpdC1kYXRhJztcbmltcG9ydCB7IENPUkVfVUkgfSBmcm9tICcuLi8uLi9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS91aS9jb25zdGFudHMnO1xuXG5leHBvcnQgY29uc3QgVUlfS0VZX0tFWV9NRVRSSUNTX1NFVFVQX0NUQV9SRU5ERVJFRCA9XG5cdCdLRVlfTUVUUklDU19TRVRVUF9DVEFfUkVOREVSRUQnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBLZXlNZXRyaWNzU2V0dXBDVEFSZW5kZXJlZEVmZmVjdCgpIHtcblx0Y29uc3QgeyBzZXRWYWx1ZSB9ID0gdXNlRGlzcGF0Y2goIENPUkVfVUkgKTtcblxuXHR1c2VFZm
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _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 _KeyMetricsCTAContent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./KeyMetricsCTAContent */ \"./js/components/KeyMetrics/KeyMetricsCTAContent.js\");\n/* harmony import */ var _KeyMetricsCTAFooter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./KeyMetricsCTAFooter */ \"./js/components/KeyMetrics/KeyMetricsCTAFooter.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _util_when_active__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../AdminMenuTooltip */ \"./js/components/AdminMenuTooltip/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useDisplayCTAWidget__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./hooks/useDisplayCTAWidget *
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/KeyMetrics/KeyMetricsSetupDesktopSVG.js":
|
|||
|
|
/*!***************************************************************!*\
|
|||
|
|
!*** ./js/components/KeyMetrics/KeyMetricsSetupDesktopSVG.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 KeyMetricsSetupDesktopSVG; });\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 _components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/MediaErrorHandler */ \"./js/components/MediaErrorHandler/index.js\");\n\n/**\n * KeyMetricsSetupDesktopSVG 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\nvar LazyDesktopGraphicSVG = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"lazy\"])(function () {\n return __webpack_require__.e(/*! import() */ 5).then(__webpack_require__.bind(null, /*! ../../../svg/graphics/key-metrics-setup-cta-desktop.svg */ \"./svg/graphics/key-metrics-setup-cta-desktop.svg\"));\n});\nfunction KeyMetricsSetupDesktopSVG() {\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Suspense\"], {\n fallback: /*#__PURE__*/React.createElement(_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n width: \"100%\",\n height: \"235px\"\n })\n }, /*#__PURE__*/React.createElement(_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(LazyDesktopGraphicSVG, 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvS2V5TWV0cmljc1NldHVwRGVza3RvcFNWRy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvS2V5TWV0cmljcy9LZXlNZXRyaWNzU2V0dXBEZXNrdG9wU1ZHLmpzPzQwMTEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBLZXlNZXRyaWNzU2V0dXBEZXNrdG9wU1ZHIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGh
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/KeyMetrics/KeyMetricsSetupMobileSVG.js":
|
|||
|
|
/*!**************************************************************!*\
|
|||
|
|
!*** ./js/components/KeyMetrics/KeyMetricsSetupMobileSVG.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 KeyMetricsSetupMobileSVG; });\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 _components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/MediaErrorHandler */ \"./js/components/MediaErrorHandler/index.js\");\n\n/**\n * KeyMetricsSetupMobileSVG 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\nvar LazyMobileGraphicSVG = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"lazy\"])(function () {\n return __webpack_require__.e(/*! import() */ 6).then(__webpack_require__.bind(null, /*! ../../../svg/graphics/key-metrics-setup-cta-mobile.svg */ \"./svg/graphics/key-metrics-setup-cta-mobile.svg\"));\n});\nfunction KeyMetricsSetupMobileSVG() {\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Suspense\"], {\n fallback: /*#__PURE__*/React.createElement(_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n width: \"100%\",\n height: \"235px\"\n })\n }, /*#__PURE__*/React.createElement(_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(LazyMobileGraphicSVG, 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvS2V5TWV0cmljc1NldHVwTW9iaWxlU1ZHLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL0tleU1ldHJpY3NTZXR1cE1vYmlsZVNWRy5qcz80ODFlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogS2V5TWV0cmljc1NldHVwTW9iaWxlU1ZHIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZm
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/KeyMetrics/KeyMetricsSetupSmallDesktopSVG.js":
|
|||
|
|
/*!********************************************************************!*\
|
|||
|
|
!*** ./js/components/KeyMetrics/KeyMetricsSetupSmallDesktopSVG.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 KeyMetricsSetupSmallDesktopSVG; });\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 _components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/MediaErrorHandler */ \"./js/components/MediaErrorHandler/index.js\");\n\n/**\n * KeyMetricsSetupSmallDesktopSVG 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\nvar LazyDesktopGraphicSVG = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"lazy\"])(function () {\n return __webpack_require__.e(/*! import() */ 7).then(__webpack_require__.bind(null, /*! ../../../svg/graphics/key-metrics-setup-cta-small-desktop.svg */ \"./svg/graphics/key-metrics-setup-cta-small-desktop.svg\"));\n});\nfunction KeyMetricsSetupSmallDesktopSVG() {\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Suspense\"], {\n fallback: /*#__PURE__*/React.createElement(_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n width: \"100%\",\n height: \"235px\"\n })\n }, /*#__PURE__*/React.createElement(_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(LazyDesktopGraphicSVG, 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvS2V5TWV0cmljc1NldHVwU21hbGxEZXNrdG9wU1ZHLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL0tleU1ldHJpY3NTZXR1cFNtYWxsRGVza3RvcFNWRy5qcz83NjNkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogS2V5TWV0cmljc1NldHVwU21hbGxEZXNrdG9wU1ZHIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3Ig
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/KeyMetrics/KeyMetricsSetupTabletSVG.js":
|
|||
|
|
/*!**************************************************************!*\
|
|||
|
|
!*** ./js/components/KeyMetrics/KeyMetricsSetupTabletSVG.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 KeyMetricsSetupTabletSVG; });\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 _components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/MediaErrorHandler */ \"./js/components/MediaErrorHandler/index.js\");\n\n/**\n * KeyMetricsSetupTabletSVG 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\nvar LazyTabletGraphicSVG = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"lazy\"])(function () {\n return __webpack_require__.e(/*! import() */ 8).then(__webpack_require__.bind(null, /*! ../../../svg/graphics/key-metrics-setup-cta-tablet.svg */ \"./svg/graphics/key-metrics-setup-cta-tablet.svg\"));\n});\nfunction KeyMetricsSetupTabletSVG() {\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Suspense\"], {\n fallback: /*#__PURE__*/React.createElement(_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n width: \"100%\",\n height: \"235px\"\n })\n }, /*#__PURE__*/React.createElement(_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(LazyTabletGraphicSVG, 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvS2V5TWV0cmljc1NldHVwVGFibGV0U1ZHLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL0tleU1ldHJpY3NTZXR1cFRhYmxldFNWRy5qcz9mNWNmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogS2V5TWV0cmljc1NldHVwVGFibGV0U1ZHIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZm
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _notifications_CTA__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../notifications/CTA */ \"./js/components/notifications/CTA.js\");\n/* harmony import */ var _InfoTooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../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(_notifications_CTA__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n title: title,\n headerText: headerText,\n headerContent: infoTooltip && /*#__PURE__*/React.createElement(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZUVycm9yLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL01ldHJpY1RpbGVFcnJvci5qcz8zNTliIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTWV0cmljVGlsZUVycm9yIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBDVEEgZnJvbSAnLi4vbm90aWZpY2F0aW9ucy9DVEEnO1xuaW1wb3J0IEluZm9Ub29sdGlwIGZyb20gJy4uL0luZm9Ub29sdGlwJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gTWV0cmljVGlsZUVycm9yKCBwcm9wcyApIHtcblx0Y29uc3QgeyBjaGlsZHJlbiwgaGVhZGVyVGV4dCwgaW5mb1Rvb2x0aXAsIHRpdGxlIH0gPSBwcm9wcztcblxuXHRyZXR1cm4gKFxuXHRcdDxkaXYgY2xhc3NOYW1lPVwiZ29vZ2xlc2l0ZWtpdC1rbS13aWRnZXQtdGlsZS0tZXJyb3JcIj5cblx0XHRcdDxDVEFcblx0XHRcdFx0dGl0bGU9eyB0aXRsZSB9XG5cdFx0XHRcdGhlYWRlclRleHQ9eyBoZWFkZXJUZXh0IH1cblx0XHRcdFx0aGVhZGVyQ29udGVudD17XG5cdFx0XHRcdFx0aW5mb1Rvb2x0aXAgJiYgPEluZm9Ub29sdGlwIHRpdGxlPXsgaW5mb1Rvb2x0aXAgfSAvPlxuXHRcdFx0XHR9XG5cd
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _InfoTooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../InfoTooltip */ \"./js/components/InfoTooltip.js\");\n/* harmony import */ var _VisuallyHidden__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../VisuallyHidden */ \"./js/components/VisuallyHidden.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\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(\"h3\", {\n className: \"googlesitekit-km-widget-tile__title\"\n }, title), loading ? /*#__PURE__*/React.createElement(_VisuallyHidden__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, /*#__PURE__*/React.createElement(_InfoTooltip__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n title: infoTooltip\n })) : /*#__PURE__*/React.createElement(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZUhlYWRlci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvS2V5TWV0cmljcy9NZXRyaWNUaWxlSGVhZGVyLmpzP2ZmODciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBNZXRyaWNUaWxlSGVhZGVyIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5z
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _PreviewBlock__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../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(_PreviewBlock__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n className: \"googlesitekit-km-widget-tile__loading-header\",\n width: \"100%\",\n height: \"14px\"\n }), /*#__PURE__*/React.createElement(_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//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZUxvYWRlci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvS2V5TWV0cmljcy9NZXRyaWNUaWxlTG9hZGVyLmpzPzU4ZTUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBMb2FkZXIgZm9yIGBNZXRyaWNUaWxlYCBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IFByZXZpZXdCbG9jayBmcm9tICcuLi9QcmV2aWV3QmxvY2snO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBNZXRyaWNUaWxlTG9hZGVyKCkge1xuXHRyZXR1cm4gKFxuXHRcdDxkaXYgY2xhc3NOYW1lPVwiZ29vZ2xlc2l0ZWtpdC1rbS13aWRnZXQtdGlsZV9fbG9hZGluZ1wiPlxuXHRcdFx0PFByZXZpZXdCbG9ja1xuXHRcdFx0XHRjbGFzc05hbWU9XCJnb29nbGVzaXRla2l0LWttLXdpZGdldC10aWxlX19sb2FkaW5nLWhlYWRlclwiXG5cdFx0XHRcdHdpZHRoPVwiMTAwJVwiXG5cdFx0XHRcdGhlaWdodD1cIjE0cHhcIlxuXHRcdFx0Lz5cblx0XHRcdDxQcmV2aWV3QmxvY2tcblx0XHRcdFx0Y2xhc3NOYW1lPVwiZ29vZ2xlc2l0ZWtpdC1rbS13aWRnZXQtdGlsZV9fbG9hZGluZy1ib2R5XCJcblx0XHRcdFx0d2lkdGg9XCIxMDAlXCJcblx0XHRcdFx0aGVpZ2h0PVwiNTNweFwiXG5cdFx0XHQvPlxuXHRcdDwvZGl2PlxuXHQpO1xufVxuIl0sIm1hcHBpbmdzIjoiOzs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7Q
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _ChangeBadge__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../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(_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(_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-wid
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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;\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvTWV0cmljVGlsZVRhYmxlUGxhaW5UZXh0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL01ldHJpY1RpbGVUYWJsZVBsYWluVGV4dC5qcz83ODIxIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTWV0cmljVGlsZVRhYmxlUGxhaW5UZXh0IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIE1ldHJpY1RpbGVUYWJsZVBsYWluVGV4dCggeyBjb250ZW50IH0gKSB7XG5cdHJldHVybiAoXG5cdFx0PHAgY2xhc3NOYW1lPVwiZ29vZ2xlc2l0ZWtpdC1rbS13aWRnZXQtdGlsZV9fdGFibGUtcGxhaW4tdGV4dFwiPlxuXHRcdFx0eyBjb250ZW50IH1cblx0XHQ8L3A+XG5cdCk7XG59XG5cbk1ldHJpY1RpbGVUYWJsZVBsYWluVGV4dC5wcm9wVHlwZXMgPSB7XG5cdGNvbnRlbnQ6IFByb3BUeXBlcy5zdHJpbmcuaXNSZXF1aXJlZCxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\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 _ChangeBadge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ChangeBadge */ \"./js/components/ChangeBadge.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../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(_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(_ChangeB
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _ReportErrorActions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../ReportErrorActions */ \"./js/components/ReportErrorActions.js\");\n/* harmony import */ var _util_errors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../googlesitekit/widgets/datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _SelectionPanel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../SelectionPanel */ \"./js/components/SelectionPanel/index.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\nfunction MetricItem(_ref) {\n var slug = _ref.slug,\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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _surveys_SurveyViewTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../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(_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(_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(_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(_surveys_SurveyViewTrigger__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n triggerID: \"view_kmw\",\n ttl: _util__WEBPACK_IMPORTED_MODULE_4__[\"WEEK_IN_SECONDS\"]\n }), isKeyMetricsSetupCompletedBy === currentUserID && /*#__PURE__*/React.createElement(_surveys_SurveyViewTrigger__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n triggerID: \"view_kmw_setup_completed\",\n ttl: _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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvU2V0dXBDb21wbGV0ZWRTdXJ2ZXlUcmlnZ2
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _feature_tours_shared_key_metrics__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../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 {boolean} renderChangeMetricLink If metric link meets the conditions to render.\n */\nvar useChangeMetricsFeatureTourEffect = function useChangeMetricsFeatureTourEffect(renderChangeMetricLink) {\n var keyMetricsSetupCompletedBy = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n return select(_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(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getID();\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_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(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0tleU1ldHJpY3MvaG9va3MvdXNlQ2hhbmdlTWV0cmljc0ZlYXR1cmVUb3VyRWZmZWN0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9LZXlNZXRyaWNzL2hvb2tzL3VzZUNoYW5nZU1ldHJpY3NGZWF0dXJlVG91ckVmZmVjdC5qcz9hMWY5Il0sInNv
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../constants */ \"./js/components/KeyMetrics/constants.js\");\n/* harmony import */ var _modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _modules_search_console_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../modules/search-console/datastore/constants */ \"./js/modules/search-console/datastore/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 * 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(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).isItemDismissed(_constants__WEBPACK_IMPORTED_MODULE_3__[\"KEY_METRICS_SETUP_CTA_WIDGET_SLUG\"]);\n var isDismissingItem = select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).isDismissingItem(_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, 'search-console', _modules_search_console_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_SEARCH_CONSOLE\"]);\n var analyticsDataAvailableOnLoad = isModuleDataAvailableOnLoad(select, 'analytics-4', _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(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_MODULES\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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:ap
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../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 {Function} select Data store select function.\n * @param {boolean} isViewOnlyDashboard Whether the current dashboard is view only.\n * @return {boolean} Whether to display the widget.\n */\nfunction shouldDisplayWidgetWithAnalytics4AndAdSenseLinked(select, isViewOnlyDashboard) {\n if (!isViewOnlyDashboard) {\n return true;\n }\n if (isViewOnlyDashboard && select(_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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\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 {Function} select Data store select function.\n * @param {boolean} isViewOnlyDashboard Whether the current dashboard is view only.\n * @param {string} slug Key metric widget slug.\n * @return {boolean} Whether to display the widget.\n */\nfunction shouldDisplayWidgetWithConversionEvent(select, isViewOnlyDashboard, slug) {\n return select(_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(_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/ZDg0MCJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDT1JFX1VTRVIgfSBmcm9tICcuLi8uLi9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS91c2VyL2NvbnN0YW50cyc7XG5pbXBvcnQgeyBNT0RVTEVTX0FOQUxZVElDU180IH0gZnJvbSAnLi4vLi4vbW9kdWxlcy9hbmFseXRpY3MtNC9kYXRhc3RvcmUvY29uc3RhbnRzJztcblxuLyoqXG4gKiBEZXRlcm1pbmVzIHdoZXRoZXIgdG8gZGlzcGxheSBhIHdpZGdldCB0aGF0IHJlcXVpcmVzIGNvbnZlcnNpb24gcmVwb3J0aW5nIGV2ZW50c1xuICogaW4gdGhlIGtleSBtZXRyaWNzIHNlbGVjdGlvbiBwYW5lbC5cbiAqXG4gKiBUaGlzIGZ1bmN0aW9uIGlzIGF0dGFjaGVkIHRvIHRoZSB3aWRnZXQgb2JqZWN0IHRoYXQgcmVxdWlyZXMgdGhlIGNvbnZlcnNpb24gcmVwb3J0aW5nIGV2ZW50cyBhbmRcbiAqIGhhcyB0aGUgYHJlcXVpcmVkQ29udmVyc2lvbkV2ZW50TmFtZWAgcHJvcGVydHkuXG4gKlxuICogQHNpbmNlIDEuMTM2LjBcbiAqIEBzaW5jZSAxLjEzNy4wIE1vdmVkIGZ1bmN0aW9uIHRvIGl0cyBvd24gZmlsZS5cbiAqXG4gKiBAcGFyYW0ge0Z1bmN0aW9ufSBzZWxlY3QgICAgICAgICAgICAgIERhdGEgc3RvcmUgc2VsZWN0IGZ1bmN0aW9uLlxuICogQHBhcmFtIHtib29sZWFufSAgaXNWaWV3T25seURhc2hib2FyZCBXaGV0aGVyIHRoZSBjdXJyZW50IGRhc2hib2FyZCBpcyB2aWV3IG9ubHkuXG4gKiBAcGFyYW0ge3N0cmluZ30gICBzbHVnICAgICAgICAgICAgICAgIEtleSBtZXRyaWMgd2lkZ2V0IHNsdWcuXG4gKiBAcmV0dXJuIHtib29sZWFufSBXaGV0aGVyIHRvIGRpc3BsYXkgdGhlIHdpZGdldC5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIHNob3VsZERpc3BsYXlXaWRnZXRXaXRoQ29udmVyc2lvbkV2ZW50KFxuXHRzZWxlY3QsXG5cdGlzVmlld09ubHlEYXNoYm9hcmQsXG5cdHNsdWdcbikge1xuXHRyZXR1cm4gKFxuXHRcdHNlbGVjdCggTU9EVUxFU19BTkFMWVRJQ1NfNCApLmhhc0NvbnZlcnNpb25SZXBvcnRpbmdFdmVudHMoXG5cdFx0XHQvLyBUaGlzIHByb3BlcnR5IGlzIGF2YWlsYWJsZSB0byB0aGUgd2lkZ2V0IG9iamVjdCB0aGF0IHJlcXVpcmVzIHRoZVxuXHRcdFx0Ly8gY29udmVyc2lvbiByZXBvcnRpbmcgZXZlbnRzLCB3aGVyZSB0aGUgZnVuY3Rpb24gaXMgYXR0YWNoZWQuXG5cdFx0XHR0aGlzLnJlcXVpcmVkQ29udmVyc2lvbkV2ZW50TmFtZVxuXHRcdCkgfHwgc2VsZWN0KCBDT1JFX1VTRVIgKS5pc0tleU1ldHJpY0FjdGl2ZSggc2x1ZyApXG5cdCk7XG59XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUdBIiwic
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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\"])(fun
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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_MODUL
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/Logo.js":
|
|||
|
|
/*!*******************************!*\
|
|||
|
|
!*** ./js/components/Logo.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 _svg_graphics_logo_g_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../svg/graphics/logo-g.svg */ \"./svg/graphics/logo-g.svg\");\n/* harmony import */ var _svg_graphics_logo_sitekit_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../svg/graphics/logo-sitekit.svg */ \"./svg/graphics/logo-sitekit.svg\");\n/* harmony import */ var _VisuallyHidden__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./VisuallyHidden */ \"./js/components/VisuallyHidden.js\");\n\n/**\n * Logo 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 * Internal dependencies\n */\n\n\n\nfunction Logo() {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-logo\",\n \"aria-hidden\": \"true\"\n }, /*#__PURE__*/React.createElement(_svg_graphics_logo_g_svg__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n className: \"googlesitekit-logo__logo-g\",\n height: \"34\",\n width: \"32\"\n }), /*#__PURE__*/React.createElement(_svg_graphics_logo_sitekit_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n className: \"googlesitekit-logo__logo-sitekit\",\n height: \"26\",\n width: \"99\"\n }), /*#__PURE__*/React.createElement(_VisuallyHidden__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Site Kit by Google Logo', 'google-site-kit')));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Logo);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0xvZ28uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0xvZ28uanM/Njk2MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIExvZ28gY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBXb3JkUHJlc3MgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IF9fIH0gZnJvbSAnQHdvcmRwcmVzcy9pMThuJztcblxuLyoqXG4gKiBJbnRlcm5hbCB
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _ErrorText__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ErrorText */ \"./js/components/ErrorText.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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ModalDialog.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$handleDialog = _ref.handleDialog,\n handleDialog = _ref$handleDialog === void 0 ? null : _ref$handleDialog,\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$buttonLin
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/OptIn.js":
|
|||
|
|
/*!********************************!*\
|
|||
|
|
!*** ./js/components/OptIn.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 OptIn; });\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 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_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 _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _util_tracking__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/tracking */ \"./js/util/tracking/index.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n\n\n/**\n * OptIn 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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/PageHeader.js":
|
|||
|
|
/*!*************************************!*\
|
|||
|
|
!*** ./js/components/PageHeader.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 PageHeader; });\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 _material_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _svg_icons_connected_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../svg/icons/connected.svg */ \"./svg/icons/connected.svg\");\n/* harmony import */ var _svg_icons_exclamation_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../svg/icons/exclamation.svg */ \"./svg/icons/exclamation.svg\");\n/* harmony import */ var _IconWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./IconWrapper */ \"./js/components/IconWrapper.js\");\n\n/**\n * PageHeader 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 * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction PageHeader(props) {\n var title = props.title,\n icon = props.icon,\n className = props.className,\n status = props.status,\n statusText = props.statusText,\n fullWidth = props.fullWidth,\n children = props.children;\n var titleCellProps = fullWidth ? {\n size: 12\n } : {\n smSize: 4,\n mdSize: 4,\n lgSize: 6\n };\n\n // Determine whether the details cell should display.\n var hasDetails = '' !== status || Boolean(children);\n return /*#__PURE__*/React.createElement(\"header\", {\n className: \"googlesitekit-page-header\"\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Row\"], null, title && /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Cell\"], titleCellProps, icon, /*#__PURE__*/React.createElement(\"h1\", {\n className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-page-header__title', className)\n }, title)), hasDetails && /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Cell\"], {\n alignBottom: true,\n mdAlignRight: true,\n smSize: 4,\n mdSize: 4,\n lgSize: 6\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-page-header__details\"\n }, status && /*#__PURE__*/React.createElement(\"span\", {\n className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-page-header__status', \"googlesitekit-page-header__status--\".concat(status))\n }, statusText, /*#__PURE__*/React.createElement(_IconWrapper__WEBPACK_IMPORTED_MODULE_6__[\"default\"], null, 'connected' === status ? /*#__PURE__*/React.creat
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1BvcnRhbC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvUG9ydGFsLmpzPzZhNzMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBQb3J0YWwgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../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(_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"useBreakpoint\"])();\n var blockDimensions = {\n width: (_width = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_width, _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"], smallWidth), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_width, _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_TABLET\"], tabletWidth), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_width, _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_DESKTOP\"], desktopWidth), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_width, _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_XLARGE\"], desktopWidth), _width),\n height: (_height = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_height, _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"], smallHeight), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_height, _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_TABLET\"], tabletHeight), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_height, _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_DESKTOP\"], desktopHeight), _babel_runtime_helpers_definePropert
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1ByZXZpZXdUYWJsZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvUHJldmlld1RhYmxlLmpzPzg4OTciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBQcmV2aWV3VGFibGUgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMa
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _util_errors__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../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 * y
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 var onErrorClick = function onErrorClick() {\n // Copy message with wrapping backticks for code block formatting on wp.org.\n clipboard_copy__WEBPACK_IMPORTED_MODULE_2___default()(\"`\".concat(message, \"\\n\").concat(componentStack, \"`\"));\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_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 f
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1Jvb3QvVmlld0NvbnRleHRDb250ZXh0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9Sb290L1ZpZXdDb250ZXh0Q29udGV4dC5qcz9iYjZmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVmlldyBDb250ZXh0IGNvbnRleHQgZm9yIFJlYWN0IGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIFdvcmRQcmVzcyBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgY3JlYXRlQ29udGV4dCB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlbWVudCc7XG5cbmNvbnN0IFZpZXdDb250ZXh0Q29udGV4dCA9IGNyZWF0ZUNvbnRleHQoICcnICk7XG5cbmV4cG9ydCBjb25zdCB7IENvbnN1bWVyLCBQcm92aWRlciB9ID0gVmlld0NvbnRleHRDb250ZXh0O1xuXG5leHBvcnQgZGVmYXVsdCBWaWV3Q29udGV4dENvbnRleHQ7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBRUE7QUFBQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NlbGVjdGlvbkJveC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvU2VsZWN0aW9uQm94LmpzPzcwZWUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTZWxlY3Rpb25Cb3ggY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdC
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _SideSheet__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../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(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NlbGVjdGlvblBhbmVsL1NlbGVjdGlvblBhbmVsLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TZWxlY3Rpb25QYW5lbC9TZWxlY3Rpb25QYW5lbC5qcz82NjQzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2VsZWN0aW9uIFBhbmVsIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZ
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _ErrorNotice__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../ErrorNotice */ \"./js/components/ErrorNotice.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _PreviewBlock__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _ErrorText__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ErrorText */ \"./js/components/ErrorText.js\");\n\n\n\n\n/**\n * Selection Panel Footer component.\n *\n * Site Kit by Google, Copyright 2
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _Link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../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\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\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(\"h3\", null, title), /*#__PURE__*/React.createElement(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NlbGVjdGlvblBhbmVsL1NlbGVjdGlvblBhbmVsSGVhZGVyLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TZWxlY3Rpb25QYW5lbC9TZWxlY3Rpb25QYW5lbEhlYWRlci5qcz81NDUyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2VsZWN0aW9uIFBhbmVsIEhlYWRlciBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5n
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _SelectionBox__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../SelectionBox */ \"./js/components/SelectionBox.js\");\n/* harmony import */ var _Badge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../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(_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(_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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 var renderItems = 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-se
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NlbGVjdGlvblBhbmVsL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TZWxlY3Rpb25QYW5lbC9pbmRleC5qcz9hZDkyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2VsZWN0aW9uIFBhbmVsIGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgU2VsZWN0aW9uUGFuZWwgZnJvbSAnLi9TZWxlY3Rpb25QYW5lbCc7XG5cbmV4cG9ydCB7IGRlZmF1bHQgYXMgU2VsZWN0aW9uUGFuZWxIZWFkZXIgfSBmcm9tICcuL1NlbGVjdGlvblBhbmVsSGVhZGVyJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgU2VsZWN0aW9uUGFuZWxJdGVtIH0gZnJvbSAnLi9TZWxlY3Rpb25QYW5lbEl0ZW0nO1xuZXhwb3J0IHsgZGVmYXVs
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/SettingsNotice/SettingsNotice.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./js/components/SettingsNotice/SettingsNotice.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 _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 _SettingsNoticeSingleRow__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SettingsNoticeSingleRow */ \"./js/components/SettingsNotice/SettingsNoticeSingleRow.js\");\n/* harmony import */ var _SettingsNoticeMultiRow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SettingsNoticeMultiRow */ \"./js/components/SettingsNotice/SettingsNoticeMultiRow.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils */ \"./js/components/SettingsNotice/utils.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\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 react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n\n/**\n * Settings notice 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\n\n\n\nvar SettingsNotice = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_10__[\"forwardRef\"])(function (props, ref) {\n var className = props.className,\n children = props.children,\n type = props.type,\n _props$dismiss = props.dismiss,\n dismiss = _props$dismiss === void 0 ? '' : _props$dismiss,\n dismissCallback = props.dismissCallback,\n _props$dismissLabel = props.dismissLabe
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/SettingsNotice/SettingsNoticeMultiRow.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./js/components/SettingsNotice/SettingsNoticeMultiRow.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 SettingsNoticeMultiRow; });\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 * Settings notice SettingsNoticeMultiRow 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\nfunction SettingsNoticeMultiRow(_ref) {\n var notice = _ref.notice,\n LearnMore = _ref.LearnMore,\n CTA = _ref.CTA,\n children = _ref.children;\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-settings-notice__text\"\n }, notice), /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-settings-notice__inner-row\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-settings-notice__children-container\"\n }, children), LearnMore && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-settings-notice__learn-more\"\n }, /*#__PURE__*/React.createElement(LearnMore, null)), CTA && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-settings-notice__cta\"\n }, /*#__PURE__*/React.createElement(CTA, null))));\n}\nSettingsNoticeMultiRow.propTypes = {\n children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,\n notice: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,\n LearnMore: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType,\n CTA: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NldHRpbmdzTm90aWNlL1NldHRpbmdzTm90aWNlTXVsdGlSb3cuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1NldHRpbmdzTm90aWNlL1NldHRpbmdzTm90aWNlTXVsdGlSb3cuanM/NGZhMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNldHRpbmdzIG5vdGljZSBTZXR0aW5nc05vdGljZU11bHRpUm93IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/SettingsNotice/SettingsNoticeSingleRow.js":
|
|||
|
|
/*!*****************************************************************!*\
|
|||
|
|
!*** ./js/components/SettingsNotice/SettingsNoticeSingleRow.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 SettingsNoticeSingleRow; });\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 * Settings notice SettingsNoticeSingleRow 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\nfunction SettingsNoticeSingleRow(_ref) {\n var notice = _ref.notice,\n LearnMore = _ref.LearnMore,\n CTA = _ref.CTA;\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-settings-notice__text\"\n }, notice), LearnMore && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-settings-notice__learn-more\"\n }, /*#__PURE__*/React.createElement(LearnMore, null)), CTA && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-settings-notice__cta\"\n }, /*#__PURE__*/React.createElement(CTA, null)));\n}\nSettingsNoticeSingleRow.propTypes = {\n notice: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,\n LearnMore: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType,\n CTA: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NldHRpbmdzTm90aWNlL1NldHRpbmdzTm90aWNlU2luZ2xlUm93LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TZXR0aW5nc05vdGljZS9TZXR0aW5nc05vdGljZVNpbmdsZVJvdy5qcz8yMjQ0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2V0dGluZ3Mgbm90aWNlIFNldHRpbmdzTm90aWNlU2luZ2xlUm93IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5cbi8qKlxuICogV29yZFByZXNzIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBGcmFnbWVudCB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlbWVudCc7XG5cbmV4cG9
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/SettingsNotice/index.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./js/components/SettingsNotice/index.js ***!
|
|||
|
|
\***********************************************/
|
|||
|
|
/*! exports provided: default, TYPE_WARNING, TYPE_INFO, TYPE_SUGGESTION */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _SettingsNotice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SettingsNotice */ \"./js/components/SettingsNotice/SettingsNotice.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _SettingsNotice__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ \"./js/components/SettingsNotice/utils.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TYPE_WARNING\", function() { return _utils__WEBPACK_IMPORTED_MODULE_1__[\"TYPE_WARNING\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TYPE_INFO\", function() { return _utils__WEBPACK_IMPORTED_MODULE_1__[\"TYPE_INFO\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TYPE_SUGGESTION\", function() { return _utils__WEBPACK_IMPORTED_MODULE_1__[\"TYPE_SUGGESTION\"]; });\n\n/**\n * Settings notice 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 * Internal dependencies\n */\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NldHRpbmdzTm90aWNlL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TZXR0aW5nc05vdGljZS9pbmRleC5qcz9jZDg5Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2V0dGluZ3Mgbm90aWNlIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmV4cG9ydCB7IGRlZmF1bHQgfSBmcm9tICcuL1NldHRpbmdzTm90aWNlJztcbmV4cG9ydCB7IFRZUEVfV0FSTklORywgVFlQRV9JTkZPLCBUWVBFX1NVR0dFU1RJT04gfSBmcm9tICcuL3V0aWxzJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/SettingsNotice/index.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/SettingsNotice/utils.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./js/components/SettingsNotice/utils.js ***!
|
|||
|
|
\***********************************************/
|
|||
|
|
/*! exports provided: TYPE_WARNING, TYPE_INFO, TYPE_SUGGESTION, getIconFromType */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_WARNING\", function() { return TYPE_WARNING; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_INFO\", function() { return TYPE_INFO; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_SUGGESTION\", function() { return TYPE_SUGGESTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getIconFromType\", function() { return getIconFromType; });\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 _svg_icons_info_icon_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../svg/icons/info-icon.svg */ \"./svg/icons/info-icon.svg\");\n/* harmony import */ var _svg_icons_suggestion_icon_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../svg/icons/suggestion-icon.svg */ \"./svg/icons/suggestion-icon.svg\");\n/* harmony import */ var _svg_icons_warning_icon_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../svg/icons/warning-icon.svg */ \"./svg/icons/warning-icon.svg\");\n/* harmony import */ var _Null__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Null */ \"./js/components/Null.js\");\n\nvar _typeIconMap;\n/**\n * Settings notice utils.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n\nvar TYPE_WARNING = 'warning';\nvar TYPE_INFO = 'info';\nvar TYPE_SUGGESTION = 'suggestion';\nvar typeIconMap = (_typeIconMap = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, TYPE_INFO, _svg_icons_info_icon_svg__WEBPACK_IMPORTED_MODULE_1__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, TYPE_WARNING, _svg_icons_warning_icon_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, TYPE_SUGGESTION, _svg_icons_suggestion_icon_svg__WEBPACK_IMPORTED_MODULE_2__[\"default\"]), _typeIconMap);\nvar getIconFromType = function getIconFromType(type) {\n return typeIconMap[type] || _Null__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1NldHRpbmdzTm90aWNlL3V0aWxzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TZXR0aW5nc05vdGljZS91dGlscy5qcz8wMzI1Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2V0dGluZ3Mgbm90aWNlIHV0aWxzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZG
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 speci
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../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(_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/YjIxNiJdLCJzb3VyY2V
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/Stepper/Step.js":
|
|||
|
|
/*!***************************************!*\
|
|||
|
|
!*** ./js/components/Stepper/Step.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 Step; });\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 _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./js/components/Stepper/constants.js\");\n\n/**\n * Step 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 Step(_ref) {\n var children = _ref.children,\n title = _ref.title,\n stepStatus = _ref.stepStatus;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-stepper__step-info\"\n }, /*#__PURE__*/React.createElement(\"h2\", {\n className: \"googlesitekit-stepper__step-title\"\n }, title), /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-stepper__step-content-container\"\n }, stepStatus === _constants__WEBPACK_IMPORTED_MODULE_2__[\"STEP_STATUS\"].ACTIVE && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-stepper__step-content\"\n }, children)));\n}\nStep.propTypes = {\n children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,\n title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n stepStatus: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(Object.values(_constants__WEBPACK_IMPORTED_MODULE_2__[\"STEP_STATUS\"]))\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1N0ZXBwZXIvU3RlcC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvU3RlcHBlci9TdGVwLmpzPzM3MTciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTdGVwIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IFNURVBfU1RBVFVTIH0gZnJvbSAnLi9jb25zdGFudHMnO1xuXG5leHBv
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/Stepper/constants.js":
|
|||
|
|
/*!********************************************!*\
|
|||
|
|
!*** ./js/components/Stepper/constants.js ***!
|
|||
|
|
\********************************************/
|
|||
|
|
/*! exports provided: STEP_STATUS */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"STEP_STATUS\", function() { return STEP_STATUS; });\n/**\n * Stepper 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\nvar STEP_STATUS = {\n UPCOMING: 'upcoming',\n ACTIVE: 'active',\n COMPLETED: 'completed'\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1N0ZXBwZXIvY29uc3RhbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TdGVwcGVyL2NvbnN0YW50cy5qcz8yNzVmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU3RlcHBlciBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgU1RFUF9TVEFUVVMgPSB7XG5cdFVQQ09NSU5HOiAndXBjb21pbmcnLFxuXHRBQ1RJVkU6ICdhY3RpdmUnLFxuXHRDT01QTEVURUQ6ICdjb21wbGV0ZWQnLFxufTtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Stepper/constants.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/Stepper/index.js":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./js/components/Stepper/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 Stepper; });\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 _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 _svg_icons_tick_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../svg/icons/tick.svg */ \"./svg/icons/tick.svg\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/components/Stepper/constants.js\");\n\n/**\n * Stepper 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\nfunction Stepper(_ref) {\n var children = _ref.children,\n activeStep = _ref.activeStep,\n className = _ref.className;\n var childCount = _wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Children\"].count(children);\n function getStepStatus() {\n var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;\n if (index < activeStep) {\n return _constants__WEBPACK_IMPORTED_MODULE_5__[\"STEP_STATUS\"].COMPLETED;\n }\n if (index === activeStep) {\n return _constants__WEBPACK_IMPORTED_MODULE_5__[\"STEP_STATUS\"].ACTIVE;\n }\n return _constants__WEBPACK_IMPORTED_MODULE_5__[\"STEP_STATUS\"].UPCOMING;\n }\n function getNumberTitle(childNumber, stepStatus) {\n switch (stepStatus) {\n case _constants__WEBPACK_IMPORTED_MODULE_5__[\"STEP_STATUS\"].UPCOMING:\n return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: 1: The number of the current step. 2: The total number of steps. */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Step %1$s of %2$s (upcoming).', 'google-site-kit'), childNumber, childCount);\n case _constants__WEBPACK_IMPORTED_MODULE_5__[\"STEP_STATUS\"].ACTIVE:\n return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: 1: The number of the current step. 2: The total number of steps. */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Step %1$s of %2$s (active).', 'google-site-kit'), childNumber, childCount);\n case _constants__WEBPACK_IMPORTED_MODULE_5__[\"STEP_STATUS\"].COMPLETED:\n return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _util_errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _util_insufficient_permissions_error_description__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../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(_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(_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isInsufficientPermissionsError\"])(error)) {\n message = Object(_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 hasBu
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../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(_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/@wordpre
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 var setIsScrolling = 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__c
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util_create_incremental_array_by_size__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../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\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\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(_util_create_incremental_array_by_size__WEBPACK_IMPORTED_MODULE_7__[\"createIncrementalArrayBySize\"])(size) : [];\n var getIndicatorClassName = function getIndicatorClassName(indicatorIndex) {\n return classnames__WEBPAC
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _util_tracking__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../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 _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../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(t
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/UserMenu/Details.js":
|
|||
|
|
/*!*******************************************!*\
|
|||
|
|
!*** ./js/components/UserMenu/Details.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 Details; });\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 _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n\n/**\n * UserMenu Details 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\nfunction Details() {\n var userPicture = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getPicture();\n });\n var userFullName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getFullName();\n });\n var userEmail = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getEmail();\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-user-menu__details\",\n \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Google account', 'google-site-kit')\n }, !!userPicture && /*#__PURE__*/React.createElement(\"img\", {\n className: \"googlesitekit-user-menu__details-avatar\",\n src: userPicture,\n alt: \"\"\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-user-menu__details-info\"\n }, /*#__PURE__*/React.createElement(\"p\", {\n className: \"googlesitekit-user-menu__details-info__name\"\n }, userFullName), /*#__PURE__*/React.createElement(\"p\", {\n className: \"googlesitekit-user-menu__details-info__email\",\n \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Email', 'google-site-kit')\n }, userEmail)));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1VzZXJNZW51L0RldGFpbHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1VzZXJNZW51L0RldGFpbHMuanM/MjNjZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFVzZXJNZW51IERldGFpbHMgY29tcG9uZW50LlxuICpcbiAqIF
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/UserMenu/Item.js":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./js/components/UserMenu/Item.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 Item; });\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 * UserMenu Item 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 Item(_ref) {\n var icon = _ref.icon,\n label = _ref.label;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-user-menu__item\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-user-menu__item-icon\"\n }, icon), /*#__PURE__*/React.createElement(\"span\", {\n className: \"googlesitekit-user-menu__item-label\"\n }, label));\n}\nItem.propTypes = {\n icon: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n label: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1VzZXJNZW51L0l0ZW0uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1VzZXJNZW51L0l0ZW0uanM/Mjg4ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFVzZXJNZW51IEl0ZW0gY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gSXRlbSggeyBpY29uLCBsYWJlbCB9ICkge1xuXHRyZXR1cm4gKFxuXHRcdDxkaXYgY2xhc3NOYW1lPVwiZ29vZ2xlc2l0ZWtpdC11c2VyLW1lbnVfX2l0ZW1cIj5cblx0XHRcdDxkaXYgY2xhc3NOYW1lPVwiZ29vZ2xlc2l0ZWtpdC11c2VyLW1lbnVfX2l0ZW0taWNvblwiPnsgaWNvbiB9PC9kaXY+XG5cdFx0XHQ8c3BhbiBjbGFzc05hbWU9XCJnb29nbGVzaXRla2l0LXVzZXItbWVudV9faXRlbS1sYWJlbFwiPlxuXHRcdFx0XHR7IGxhYmVsIH1cblx0XHRcdDwvc3Bhbj5cblx0XHQ8L2Rpdj5cblx0KTtcbn1cblxuSXRlbS5wcm9wVHlwZXMgPSB7XG5cdGljb246IFByb3BUeXBlcy5ub2RlLFxuXHRsYWJlbDogUHJvcFR5cGVzLnN0cmluZyxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/UserMenu/index.js":
|
|||
|
|
/*!*****************************************!*\
|
|||
|
|
!*** ./js/components/UserMenu/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 UserMenu; });\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 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 _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/keycodes */ \"../node_modules/@wordpress/keycodes/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 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 _ModalDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../ModalDialog */ \"./js/components/ModalDialog.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../googlesitekit/api/cache */ \"./js/googlesitekit/api/cache.js\");\n/* harmony import */ var _Portal__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../Portal */ \"./js/components/Portal.js\");\n/* harmony import */ var _Details__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Details */ \"./js/components/UserMenu/Details.js\");\n/* harmony import */ var _Item__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Item */ \"./js/components/UserMenu/Item.js\");\n/* harmony import */ var _svg_icons_disconnect_svg__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../svg/icons/disconnect.svg */ \"./svg/icons/disconnect.svg\");\n/* harmony import */ var _svg_icons_manage_sites_svg__WEBPACK_IMPORTED_MODULE_16__ = __w
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ViewOnlyMenu/Description.js":
|
|||
|
|
/*!***************************************************!*\
|
|||
|
|
!*** ./js/components/ViewOnlyMenu/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 _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 _googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _components_Link__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../googlesitekit/api/cache */ \"./js/googlesitekit/api/cache.js\");\n\n\n\n/**\n * ViewOnlyMenu > Description 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 th
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ViewOnlyMenu/Service.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./js/components/ViewOnlyMenu/Service.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 Service; });\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_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n\n/**\n * ViewOnlyMenu > Service 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\nfunction Service(_ref) {\n var module = _ref.module;\n var canAuthenticate = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).hasCapability(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"PERMISSION_AUTHENTICATE\"]);\n });\n var _useSelect = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModule(module) || {};\n }),\n name = _useSelect.name,\n owner = _useSelect.owner;\n var Icon = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleIcon(module);\n });\n return /*#__PURE__*/React.createElement(\"li\", {\n className: \"googlesitekit-view-only-menu__service\"\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"googlesitekit-view-only-menu__service--icon\"\n }, /*#__PURE__*/React.createElement(Icon, {\n height: 26\n })), /*#__PURE__*/React.createElement(\"span\", {\n className: \"googlesitekit-view-only-menu__service--name\"\n }, name), canAuthenticate && (owner === null || owner === void 0 ? void 0 : owner.login) && /*#__PURE__*/React.createElement(\"span\", {\n classNam
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ViewOnlyMenu/SharedServices.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./js/components/ViewOnlyMenu/SharedServices.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 SharedServices; });\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 _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _Service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Service */ \"./js/components/ViewOnlyMenu/Service.js\");\n\n/**\n * ViewOnlyMenu > SharedServices 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\nfunction SharedServices() {\n var viewableModules = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getViewableModules();\n });\n if (viewableModules === undefined) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"li\", {\n className: \"googlesitekit-view-only-menu__list-item\"\n }, /*#__PURE__*/React.createElement(\"h4\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Shared services', 'google-site-kit')), /*#__PURE__*/React.createElement(\"ul\", null, viewableModules.map(function (moduleSlug) {\n return /*#__PURE__*/React.createElement(_Service__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n key: moduleSlug,\n module: moduleSlug\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1ZpZXdPbmx5TWVudS9TaGFyZWRTZXJ2aWNlcy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvVmlld09ubHlNZW51L1NoYXJlZFNlcnZpY2VzLmpzPzQ5NTciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBWaWV3T25seU1lbnUgPiBTaGFyZWRTZXJ2aWNlcyBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlI
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ViewOnlyMenu/Tracking.js":
|
|||
|
|
/*!************************************************!*\
|
|||
|
|
!*** ./js/components/ViewOnlyMenu/Tracking.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 Tracking; });\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 _OptIn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../OptIn */ \"./js/components/OptIn.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * ViewOnlyMenu > Tracking 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\nfunction Tracking() {\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n return /*#__PURE__*/React.createElement(\"li\", {\n className: \"googlesitekit-view-only-menu__list-item\"\n }, /*#__PURE__*/React.createElement(\"p\", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Thanks for using Site Kit!<br />Help us make it even better', 'google-site-kit'), {\n br: /*#__PURE__*/React.createElement(\"br\", null)\n })), /*#__PURE__*/React.createElement(_OptIn__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n trackEventCategory: \"\".concat(viewContext, \"_headerbar_viewonly\"),\n alignCheckboxLeft: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1ZpZXdPbmx5TWVudS9UcmFja2luZy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvVmlld09ubHlNZW51L1RyYWNraW5nLmpzPzFjZDMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBWaWV3T25seU1lbnUgPiBUcmFja2luZyBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIFdvcmRQcmVzcyBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgY3JlYXRlSW50ZXJwb2xhdGVFbGVtZW50IH0gZnJvbSAnQHdvcmRwcmVzcy9lbGVtZW50JztcbmltcG9ydCB7IF9fIH0gZnJvbSAnQHdvcmRwcmVzcy9pMThuJztcblxuLyoqX
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ViewOnlyMenu/index.js":
|
|||
|
|
/*!*********************************************!*\
|
|||
|
|
!*** ./js/components/ViewOnlyMenu/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 ViewOnlyMenu; });\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 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/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/keycodes */ \"../node_modules/@wordpress/keycodes/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 _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useKeyCodesInside__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/useKeyCodesInside */ \"./js/hooks/useKeyCodesInside.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _svg_icons_view_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../svg/icons/view.svg */ \"./svg/icons/view.svg\");\n/* harmony import */ var _Description__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Description */ \"./js/components/ViewOnlyMenu/Description.js\");\n/* harmony import */ var _SharedServices__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./SharedServices */ \"./js/components/ViewOnlyMenu/SharedServices.js\");\n/* harmony import */ var _Tracking__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Tracking */ \"./js/components/ViewOnlyMenu/Tracking.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n\n\n/**\n * ViewOnlyMenu 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/license
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1Zpc3VhbGx5SGlkZGVuLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9WaXN1YWxseUhpZGRlbi5qcz9kODE4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVmlzdWFsbHkgSGlkZGVuIGNvbXBvbmVudCwgbWFpbmx5IHVzZWQgZm9yIHNjcmVlbi1yZWFkZXIgdGV4dC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSB
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/WarningNotice.js":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./js/components/WarningNotice.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 WarningNotice; });\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 * WarningNotice 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 WarningNotice(_ref) {\n var children = _ref.children,\n className = _ref.className;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-warning-notice', className)\n }, children);\n}\nWarningNotice.propTypes = {\n children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node.isRequired,\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1dhcm5pbmdOb3RpY2UuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1dhcm5pbmdOb3RpY2UuanM/ZTFjZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFdhcm5pbmdOb3RpY2UgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IGNsYXNzbmFtZXMgZnJvbSAnY2xhc3NuYW1lcyc7XG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBXYXJuaW5nTm90aWNlKCB7IGNoaWxkcmVuLCBjbGFzc05hbWUgfSApIHtcblx0cmV0dXJuIChcblx0XHQ8ZGl2XG5cdFx0XHRjbGFzc05hbWU9eyBjbGFzc25hbWVzKFxuXHRcdFx0XHQnZ29vZ2xlc2l0ZWtpdC13YXJuaW5nLW5vdGljZScsXG5cdFx0XHRcdGNsYXNzTmFtZVxuXHRcdFx0KSB9XG5cdFx0PlxuXHRcdFx0eyBjaGlsZHJlbiB9XG5cdFx0PC9kaXY+XG5cdCk7XG59XG5cbldhcm5pbmdOb3RpY2UucHJvcFR5cGVzID0ge1xuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUuaXNSZXF1aXJlZCxcblx0Y2xhc3NOYW1lOiBQcm9wVHl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../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(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL2NvbnZlcnNpb24tdHJhY2tpbmcvU2V0dXBFbmhhbmNlZENvbnZlcnNpb25UcmFja2luZ05vdGljZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvY29udmVyc2lvbi10cmFja2luZy9TZXR1cEVuaGFuY2VkQ29udmVyc2lvblRyYWNraW5nTm90aWNlLmpzP2Q0YjMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBjbGFzc
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/help/HelpMenu.js":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./js/components/help/HelpMenu.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 HelpMenu; });\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 react_use__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/keycodes */ \"../node_modules/@wordpress/keycodes/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 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_help_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../svg/icons/help.svg */ \"./svg/icons/help.svg\");\n/* harmony import */ var _hooks_useKeyCodesInside__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/useKeyCodesInside */ \"./js/hooks/useKeyCodesInside.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _HelpMenuLink__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./HelpMenuLink */ \"./js/components/help/HelpMenuLink.js\");\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n\n\n/**\n * HelpMenu 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 u
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/help/HelpMenuLink.js":
|
|||
|
|
/*!********************************************!*\
|
|||
|
|
!*** ./js/components/help/HelpMenuLink.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 _Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Link */ \"./js/components/Link.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n\n\n/**\n * HelpMenuLink 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 HelpMenuLink(_ref) {\n var children = _ref.children,\n href = _ref.href,\n gaEventLabel = _ref.gaEventLabel;\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n var onClick = 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 if (!gaEventLabel) {\n _context.next = 3;\n break;\n }\n _context.next = 3;\n return Object(_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEvent\"])(\"\".concat(viewContext, \"_headerbar_helpmenu\"), 'click_outgoing_link', gaEventLabel);\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n })), [gaEventLabel, viewContext]);\n return /*#__PURE__*/React.createElement(\"li\", {\n className: \"googlesitekit-help-menu-link mdc-list-item\",\n role: \"none\"\n }, /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n className: \"mdc-list-item__text\",\n href: href,\n external: t
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/layout/Layout.js":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./js/components/layout/Layout.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_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 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 _LayoutHeader__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./LayoutHeader */ \"./js/components/layout/LayoutHeader.js\");\n/* harmony import */ var _LayoutFooter__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./LayoutFooter */ \"./js/components/layout/LayoutFooter.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; i
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/layout/LayoutFooter.js":
|
|||
|
|
/*!**********************************************!*\
|
|||
|
|
!*** ./js/components/layout/LayoutFooter.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_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 _material_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _SourceLink__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../SourceLink */ \"./js/components/SourceLink.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 * LayoutFooter component.\n *\n * Site Kit by Google, Copyright 2021 Goog
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/layout/LayoutHeader.js":
|
|||
|
|
/*!**********************************************!*\
|
|||
|
|
!*** ./js/components/layout/LayoutHeader.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_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 _material_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Link */ \"./js/components/Link.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 * LayoutHeader component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Lic
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/AdBlockerWarning.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/AdBlockerWarning.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 AdBlockerWarning; });\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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _AdBlockerWarningMessage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AdBlockerWarningMessage */ \"./js/components/notifications/AdBlockerWarningMessage.js\");\n\n/**\n * AdSense AdBlockerWarning 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\nfunction AdBlockerWarning(_ref) {\n var moduleSlug = _ref.moduleSlug,\n className = _ref.className;\n var storeName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleStoreName(moduleSlug);\n });\n var adBlockerWarningMessage = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n var _select;\n return (_select = select(storeName)) === null || _select === void 0 ? void 0 : _select.getAdBlockerWarningMessage();\n });\n var getHelpLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getDocumentationLinkURL(\"\".concat(moduleSlug, \"-ad-blocker-detected\"));\n });\n return /*#__PURE__*/React.createElement(_AdBlockerWarningMessage__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n className: className,\n getHelpLink: getHelpLink,\n warningMessage: adBlockerWarningMessage\n });\n}\nAdBlockerWarning.propTypes = {\n className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhd
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/AdBlockerWarningMessage.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/AdBlockerWarningMessage.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 AdBlockerWarningMessage; });\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 _WarningNotice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../WarningNotice */ \"./js/components/WarningNotice.js\");\n/* harmony import */ var _svg_icons_external_rounded_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../svg/icons/external-rounded.svg */ \"./svg/icons/external-rounded.svg\");\n\n/**\n * AdBlockerWarningMessage 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 AdBlockerWarningMessage(_ref) {\n var _ref$className = _ref.className,\n className = _ref$className === void 0 ? '' : _ref$className,\n _ref$getHelpLink = _ref.getHelpLink,\n getHelpLink = _ref$getHelpLink === void 0 ? '' : _ref$getHelpLink,\n _ref$warningMessage = _ref.warningMessage,\n warningMessage = _ref$warningMessage === void 0 ? null : _ref$warningMessage;\n if (!warningMessage) {\n return null;\n }\n return /*#__PURE__*/React.createElement(_WarningNotice__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n className: className\n }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: 1: The warning message. 2: \"Get help\" text. */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%1$s. <Link>%2$s</Link>', 'google-site-kit'), warningMessage, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Get help', 'google-site-kit')), {\n Link: /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n href: getHelpLink,\n external: true,\n hideExternalIndicator: true,\n trailingIcon: /*#__PURE__*/React.createElement(_svg_icons_external_rounded_svg__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n width: 15,\n height: 15\n })\n })\n }));\n}\nAdBlockerWarningMessage.propTypes = {\n className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n getHelpLink: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n warningMessage: 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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/BannerNotification/Banner.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/BannerNotification/Banner.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 _material_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../material-components */ \"./js/material-components/index.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 * Internal dependencies\n */\n\nvar Banner = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n var id = _ref.id,\n className = _ref.className,\n children = _ref.children,\n secondaryPane = _ref.secondaryPane;\n return /*#__PURE__*/React.createElement(\"section\", {\n id: id,\n className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(className, 'googlesitekit-publisher-win'),\n ref: ref\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Grid\"], null, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Row\"], null, children)), secondaryPane && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-publisher-win__secondary-pane-divider\"\n }), /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Grid\"], {\n className: \"googlesitekit-publisher-win__secondary-pane\"\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Row\"], null, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Cell\"], {\n className: \"googlesitekit-publisher-win__secondary-pane\",\n size: 12\n }, secondaryPane)))));\n});\nBanner.displayName = 'Banner';\nBanner.propTypes = {\n id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n secondaryPane: prop_types__WEBPACK_IMPORTED_MODULE_1___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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvQmFubmVyTm90aWZpY2F0aW9uL0Jhbm5lci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9CYW5uZXJOb3RpZmljYXRpb24vQmFubmVyLmpzPzliN2UiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBM
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/BannerNotification/BannerActions.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/BannerNotification/BannerActions.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 BannerActions; });\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 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 _googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n\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 * WordPress dependencies\n */\n\n\n/*\n * Internal dependencies\n */\n\n\n\nfunction BannerActions(props) {\n var ctaLink = props.ctaLink,\n ctaLabel = props.ctaLabel,\n ctaComponent = props.ctaComponent,\n ctaTarget = props.ctaTarget,\n ctaCallback = props.ctaCallback,\n dismissLabel = props.dismissLabel,\n dismissCallback = props.dismissCallback,\n dismissIsTertiary = props
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/BannerNotification/BannerTitle.js":
|
|||
|
|
/*!***********************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/BannerNotification/BannerTitle.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 BannerTitle; });\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 _Badge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Badge */ \"./js/components/Badge.js\");\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 * Internal dependencies\n */\n\nfunction BannerTitle(props) {\n var title = props.title,\n badgeLabel = props.badgeLabel,\n WinImageSVG = props.WinImageSVG,\n _props$winImageFormat = props.winImageFormat,\n winImageFormat = _props$winImageFormat === void 0 ? '' : _props$winImageFormat,\n _props$smallWinImageS = props.smallWinImageSVGWidth,\n smallWinImageSVGWidth = _props$smallWinImageS === void 0 ? 75 : _props$smallWinImageS,\n _props$smallWinImageS2 = props.smallWinImageSVGHeight,\n smallWinImageSVGHeight = _props$smallWinImageS2 === void 0 ? 75 : _props$smallWinImageS2;\n if (!title) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-publisher-win__title-image-wrapper\"\n }, /*#__PURE__*/React.createElement(\"h3\", {\n className: \"googlesitekit-heading-2 googlesitekit-publisher-win__title\"\n }, title, badgeLabel && /*#__PURE__*/React.createElement(_Badge__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n label: badgeLabel\n })), WinImageSVG && /*#__PURE__*/React.createElement(\"div\", {\n className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, \"googlesitekit-publisher-win__image-\".concat(winImageFormat), winImageFormat))\n }, /*#__PURE__*/React.createElement(WinImageSVG, {\n width: smallWinImageSVGWidth,\n height: smallWinImageSVGHeight\n })));\n}\nBannerTitle.propTypes = {\n title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n badgeLabel: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n WinImageSVG: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType,\n winImageFormat: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n smallWinImageSVGWidth: prop_types__WEBPACK_IM
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Link */ \"./js/components/Link.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\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(\"h2\", {\n className: \"googlesitekit-cta__header_text\"\n }, headerText), headerContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-cta__body\"\n }, title && /*#__PURE__*/React.createElement(\"h3\", {\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(_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 titl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/ErrorNotifications.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/ErrorNotifications.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 ErrorNotifications; });\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 _InternalServerError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InternalServerError */ \"./js/components/notifications/InternalServerError.js\");\n/* harmony import */ var _Notifications__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Notifications */ \"./js/components/notifications/Notifications.js\");\n/* harmony import */ var _googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n\n/**\n * ErrorNotifications 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 * Internal dependencies\n */\n\n\n\nfunction ErrorNotifications() {\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_InternalServerError__WEBPACK_IMPORTED_MODULE_1__[\"default\"], null), /*#__PURE__*/React.createElement(_Notifications__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n areaSlug: _googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"NOTIFICATION_AREAS\"].ERRORS\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvRXJyb3JOb3RpZmljYXRpb25zLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL0Vycm9yTm90aWZpY2F0aW9ucy5qcz83MTJlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXJyb3JOb3RpZmljYXRpb25zIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogV29yZFByZXNzIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBGcmFnbWVudCB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlbWVudCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBJbnRlcm5hbFNlcnZlckVycm9yIGZyb20gJy4vSW50ZXJuYWxTZXJ2ZXJFcnJvcic7XG5pbXBvcnQgTm90aWZpY2F0aW9ucyBmcm9tICcuL05vdGlmaWNhdGlvbnMnO1xuaW1wb3J0IHsgTk9USUZJQ0FUSU9OX0FSRUFTIH0gZnJvbSAnLi4vLi4vZ29vZ2xlc2l0ZWtpdC9ub3RpZmljYXRpb25zL2RhdGFzdG9yZS9jb25zdGFudHMnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBFcnJvc
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/InternalServerError.js":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/InternalServerError.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 InternalServerError; });\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_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_notifications_components_layout_NotificationError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/notifications/components/layout/NotificationError */ \"./js/googlesitekit/notifications/components/layout/NotificationError.js\");\n/* harmony import */ var _googlesitekit_notifications_components_Notification__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../googlesitekit/notifications/components/Notification */ \"./js/googlesitekit/notifications/components/Notification/index.js\");\n/* harmony import */ var _googlesitekit_notifications_components_common_Description__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../googlesitekit/notifications/components/common/Description */ \"./js/googlesitekit/notifications/components/common/Description.js\");\n\n/**\n * InternalServerError 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 * Internal dependencies\n */\n\n\n\n\n\nfunction InternalServerError() {\n var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_SITE\"]).getInternalServerError();\n });\n if (!error) {\n return null;\n }\n return /*#__PURE__*/React.createElement(_googlesitekit_notifications_components_Notification__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n className: \"googlesitekit-publisher-win googlesitekit-publisher-win--win-error\"\n }, /*#__PURE__*/React.createElement(_googlesitekit_notifications_components_layout_NotificationError__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n title: error.title,\n description: /*#__PURE__*/React.createElement(_googlesitekit_notifications_components_common_Description__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n text: error.description\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvSW50ZXJuYWxTZXJ2ZXJFcnJvci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9JbnRlcm5hbFNlcnZlckVycm9yLmpzPzkzYjYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBJbnRlcm5hbFNlcnZlckVycm9yIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2V
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/ModuleSettingsWarning.js":
|
|||
|
|
/*!**************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/ModuleSettingsWarning.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 ModuleSettingsWarning; });\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_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _WarningNotice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../WarningNotice */ \"./js/components/WarningNotice.js\");\n/* harmony import */ var _AdBlockerWarning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AdBlockerWarning */ \"./js/components/notifications/AdBlockerWarning.js\");\n\n/**\n * ModuleSettingsWarning 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 * Internal dependencies\n */\n\n\n\n\n\nfunction ModuleSettingsWarning(_ref) {\n var slug = _ref.slug;\n var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n var _select;\n return (_select = select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_MODULES\"])) === null || _select === void 0 ? void 0 : _select.getCheckRequirementsError(slug);\n });\n if (!error) {\n return null;\n }\n\n // The AdBlockerWarning component also renders the \"Get help\"\n // documentation URL in addition to the error message.\n if (_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"ERROR_CODE_ADBLOCKER_ACTIVE\"] === error.code) {\n return /*#__PURE__*/React.createElement(_AdBlockerWarning__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n moduleSlug: slug\n });\n }\n return /*#__PURE__*/React.createElement(_WarningNotice__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null, error.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvTW9kdWxlU2V0dGluZ3NXYXJuaW5nLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL01vZHVsZVNldHRpbmdzV2FybmluZy5qcz9lNTQwIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTW9kdWxlU2V0dGluZ3NXYXJuaW5nIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8v
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/Notifications.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/Notifications.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 Notifications; });\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 _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_notifications_util_component_props__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../googlesitekit/notifications/util/component-props */ \"./js/googlesitekit/notifications/util/component-props.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 * Notifications 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\nfunction Notifications(_ref) {\n var _queuedNotifications$;\n var areaSlug = _ref.areaSlug,\n _ref$groupID = _ref.groupID,\n groupID = _ref$groupID === void 0 ? _googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"NOTIFICATION_GROUPS\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/SubtleNotifications.js":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/SubtleNotifications.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 SubtleNotifications; });\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 _Notifications__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Notifications */ \"./js/components/notifications/Notifications.js\");\n/* harmony import */ var _googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n\n/**\n * SubtleNotifications 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\nfunction SubtleNotifications() {\n return /*#__PURE__*/React.createElement(_Notifications__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n areaSlug: _googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"NOTIFICATION_AREAS\"].BANNERS_BELOW_NAV\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvU3VidGxlTm90aWZpY2F0aW9ucy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9TdWJ0bGVOb3RpZmljYXRpb25zLmpzPzg2YTkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTdWJ0bGVOb3RpZmljYXRpb25zIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBOb3RpZmljYXRpb25zIGZyb20gJy4vTm90aWZpY2F0aW9ucyc7XG5pbXBvcnQgeyBOT1RJRklDQVRJT05fQVJFQVMgfSBmcm9tICcuLi8uLi9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvZGF0YXN0b3JlL2NvbnN0YW50cyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIFN1YnRsZU5vdGlmaWNhdGlvbnMoKSB7XG5cdHJldHVybiA8Tm90aWZpY2F0aW9ucyBhcmVhU2x1Zz17IE5PVElGSUNBVElPTl9BUkVBUy5CQU5ORVJTX0JFTE9XX05BViB9IC8+O1xufVxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQUE7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/notifications/SubtleNotifications.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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../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\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 usingProxy = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).isUsingProxy();\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_USER\"]),\n triggerSurvey = _useDispatch.triggerSurvey;\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n if (usingProxy) {\n triggerSurvey(triggerID, {\n ttl: ttl\n });\n }\n }, [usingProxy, 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL3N1cnZleXMvU3VydmV5Vmlld1RyaWdnZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL3N1cnZleXMvU3VydmV5Vmlld1RyaWdnZXIuanM/N2M3ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFN1cnZleVZpZXdUcmlnZ2VyIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHR
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../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: [_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_1__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"], _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_1__[\"VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY\"], _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_1__[\"VIEW_CONTEXT_ENTITY_DASHBOARD\"], _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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9mZWF0dXJlLXRvdXJzL3NoYXJlZC1rZXktbWV0cmljcy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2ZlYXR1cmUtdG91cnMvc2hhcmVkLWtleS1tZXRyaWNzLmpzP2ViYTciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogV29yZFByZXNzIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBfXyB9IGZyb20gJ0B3b3JkcHJlc3MvaTE4bic7XG5cbi8qXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHtcblx0VklFV19DT05URVhUX01BSU5fREFTSEJPQVJELFxuXHRWSUVXX0NPTlRFWFRfTUFJTl9EQVNIQk9BUkRfVklFV19PTkxZLFxuXHRWSUVXX0NPTlRFWFRfRU5USVRZX0RBU0hCT0FSRCxcblx0VklFV19DT05URVhUX0VOVElUWV9EQVNIQk9BUkRfVklFV19PTkxZLFxufSBmcm9tICcuLi9nb29nbGVzaXRla2l0L2NvbnN0YW50cyc7XG5cbmNvbnN0IHNoYXJlZEtleU1ldHJpY3MgPSB7XG5cdHNsdWc6ICdzaGFyZWRLZXlNZXRyaWNzJyxcblx0Y29udGV4dHM6IFtcblx0XHRWSUVXX0NPTlRFWFRfTUFJTl9EQVNIQk9BUkQsXG5cdFx0VklFV19DT05URVhUX01BSU5fREFTSEJPQVJEX1ZJRVdfT05MWSxcblx0XHR
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */\nvar isFeatureEnabled = function 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9mZWF0dXJlcy9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2ZlYXR1cmVzL2luZGV4LmpzPzgyM2MiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBGZWF0dXJlIGZsYWdzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IGNvbnN0IGVuYWJsZWRGZWF0dXJlcyA9IG5ldyBTZXQoXG5cdGdsb2JhbD8uX2dvb2dsZXNpdGVraXRCYXNlRGF0YT8uZW5hYmxlZEZlYXR1cmVzIHx8IFtdXG4pO1xuXG4vKipcbiAqIFJldHVybnMgdHJ1ZSBpZiBhIGZlYXR1cmUgaXMgZW5hYmxlZDsgZmFsc2Ugb3RoZXJ3aXNlLlxuICpcbiAqIEBzaW5jZSAxLjI1LjBcbiAqIEBzaW5jZSAxLjMzLjAgQ2hhbmdlZCBfZW5hYmxlZEZlYXR1cmVzIGFyZ3VtZW50IHRvIGJlIGEgYFNldGAgaW5zdGVhZCBvZiBgQXJyYXlgLlxuICpcbiAqIEBwYXJhbSB7c3RyaW5nfSBmZWF0dXJlICAgICAgICAgICAgVGhlIG5hbWUgb2YgdGhlIGZlYXR1cmUgdG8gY2hlY2suXG4gKiBAcGFyYW0ge1NldH0gICAgW19lbmFibGVkRmVhdHVyZXNdIE9wdGlvbmFsLiBUaGUgc2V0IG9mIGVuYWJsZWQgZmVhdHVyZXMuIFVzZXMgYGVuYWJsZWRGZWF0dXJlc2Agc2V0IGJ5IHRoZSBzZXJ2ZXIgaW4gYSBnbG9iYWwgSlMgdmFyaWFibGUsIGJ5IGRlZmF1bHQuXG4gKiBAcmV0dXJuIHtib29sZWFufSBg
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit-modules-adsense.js":
|
|||
|
|
/*!*********************************************!*\
|
|||
|
|
!*** ./js/googlesitekit-modules-adsense.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_adsense__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modules/adsense */ \"./js/modules/adsense/index.js\");\n/**\n * AdSense 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_adsense__WEBPACK_IMPORTED_MODULE_4__[\"registerStore\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default.a);\nObject(_modules_adsense__WEBPACK_IMPORTED_MODULE_4__[\"registerModule\"])(googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1___default.a);\nObject(_modules_adsense__WEBPACK_IMPORTED_MODULE_4__[\"registerWidgets\"])(googlesitekit_widgets__WEBPACK_IMPORTED_MODULE_2___default.a);\nObject(_modules_adsense__WEBPACK_IMPORTED_MODULE_4__[\"registerNotifications\"])(googlesitekit_notifications__WEBPACK_IMPORTED_MODULE_3___default.a);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0LW1vZHVsZXMtYWRzZW5zZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQtbW9kdWxlcy1hZHNlbnNlLmpzP2Q1MTQiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBZFNlbnNlIG1vZHVsZSBlbnRyeXBvaW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IERhdGEgZnJvbSAnZ29vZ2xlc2l0ZWtp
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../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(); } fi
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/ZmNhNyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEN1c3RvbSBwcmVsb2FkaW5nIG1pZGRsZXdhcmUuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1w
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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, 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__, \"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 *
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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_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_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 _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\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 md5__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! md5 */ \"../node_modules/md5/md5.js\");\n/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../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 * 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\nfunction generateErrorKey(baseName, args) {\n if (args && Array.isArray(args)) {\n var stringifiedA
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _util_tag__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../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: funct
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../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_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 * 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\nvar defaultReducerCallback = function defaultReducerCallback(state) {\n return state;\n};\nvar defaultArgsToParams = function defaultArgsToParams() {\n return {};\n};\nvar defaultValidateParams = function defaultValidateParams() {};\n\n// Get access to error store action creators.\n// If the parent store doesn't include the error
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/MmM1ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENyZWF0ZSBJbW1lciByZWR1Y2VyIHV0aWxpdHkgZnVuY3Rpb24uXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgcHJvZHVjZSBmcm9tICdpbW1lcic7XG5cbi8qKlxuICogQ3JlYXRlcyBhbiBJbW1lci1lbmFibGVkIHJlZHVjZXIuXG4gKlxuICogQHNpbmNlIDEuODQuMFxuICpcbiAqIEBwYXJhbSB7RnVuY3Rpb259IHJlZHVjZXJGdW5jdGlvbiBBIHJlZHVjZXIgZnVuY3Rpb24gdGhhdCBmb2xsb3dzIHRoZSBjdXJyaWVkIEltbWVyIHJlY2lwZSBwYXR0ZXJuLlxuICogQHJldHVybiB7RnVuY3Rpb259IEFuIEltbWVyLWVuYWJsZWQgcmVkdWNlci5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGNyZWF0ZVJlZHVjZXIoIHJlZHVjZXJGdW5jdGlvbiApIHtcblx0cmV0dXJuIHByb2R1Y2UoIHJlZHVjZXJGdW5jdGlvbiApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */\nvar camelCaseToPascalCase = function 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 */\nvar camelCaseToConstantCase = function 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/ZTZkZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERhdGEgc3RvcmUgdXRpbGl0aWVzIGZvciB0cmFuc2Zvcm1pbmcgbmFtZXMgdG8gYSBjZXJ0YWluIGNhc2UuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIFRyYW5zZm9ybXMgYSBjYW1lbENhc2UgbmFtZSBpbnRvIGl0cyBQYXNjYWxDYXNlIG5hbWUuXG4gKlxuICogQHNpbmNlIDEuMTAuMFxuICogQHByaXZhdGVcbiAqXG4gKiBAcGFyYW0ge3N0cmluZ30gbmFtZSBcImNhbWVsQ2FzZVwiIG5hbWUgdG8gdHJhbnNmb3JtLlxuICogQHJldHVybiB7c3RyaW5nfSBQYXNjYWxDYXNlIG5hbWUuXG4gKi9cbmV4cG9ydCBjb25zdCBjYW1lbENhc2VUb1Bhc2NhbENhc2UgPSAoIG5hbWUgKSA9PiB7XG5cdHJldHVybiBuYW1lLmNoYXJBdCggMCApLnRvVXBwZXJDYXNlKCkgKyBuYW1lLnNsaWNlKCAxICk7XG59O1xuXG4vKipcbiAqIFRyYW5zZm9ybXMgYSBjYW1lbENhc2UgbmFtZSBpbnRvIGl0cyBDT05TVEFOVF9DQVNFIG5hbWUuXG4gKlxuICogQHNpbmNlIDEuMTAuMFxuICogQHByaXZhdGVcbiAqXG4gKiBAc
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 lo
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/YjMxMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGBjb3JlL2Zvcm1zYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgQ09SRV9GT1JNUyA9ICdjb3JlL2Zvcm1zJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9zaXRlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvZGF0YXN0b3JlL3NpdGUvY29uc3RhbnRzLmpzP2QxMjEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgY29yZS9zaXRlYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgQ09SRV9TSVRFID0gJ2NvcmUvc2l0ZSc7XG5cbmV4cG9ydCBjb25zdCBBTVBfTU9ERV9QUklNQVJZID0gJ3ByaW1hcnknO1xuZXhwb3J0IGNvbnN0IEFNUF9NT0RFX1NFQ09OREFSWSA9ICdzZWNvbmRhcnknO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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/ZTcxNCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGBjb3JlL3VpYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgQ09SRV9VSSA9ICdjb3JlL3VpJztcblxuZXhwb3J0IGNvbnN0IEFDVElWRV9DT05URVhUX0lEID0gJ2FjdGl2ZUNvbnRleHRJRCc7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/Notification/ViewedStateObserver.js":
|
|||
|
|
/*!***************************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/Notification/ViewedStateObserver.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 ViewedStateObserver; });\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 _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 _datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _hooks_useLatestIntersection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../hooks/useLatestIntersection */ \"./js/hooks/useLatestIntersection.js\");\n/* harmony import */ var _hooks_useHasBeenViewed__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/useHasBeenViewed */ \"./js/googlesitekit/notifications/hooks/useHasBeenViewed.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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction ViewedStateObserver(_ref) {\n var id = _ref.id,\n observeRef = _ref.observeRef,\n threshold = _ref.threshold;\n var intersectionEntry = Object(_hooks_useLatestIntersection__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(observeRef, {\n threshold: threshold\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_UI\"]),\n setValue = _useDispatch.setValue;\n var isInView = !!(intersectionEntry === null || intersectionEntry === void 0 ? void 0 : intersectionEntry.isIntersecting);\n var viewed = Object(_hooks_useHasBeenViewed__WEBPACK_IMPORTED_MODULE_5__[\"useHasBeenViewed\"])(id);\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n if (!viewed && isInView) {\n setValue(_hooks_useHasBeenViewed__WEBPACK_IMPORTED_MODULE_5__[\"useHasBeenViewed\"].getKey(id), true);\n }\n }, [viewed, isInView, setValue, id]);\n return null;\n}\nViewedStateObserver.propTypes = {\n id: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string,\n observeRef: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object,\n threshold: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9Ob3RpZmljYXRpb24vVmlld2VkU3RhdGVPYnNlcnZlci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvbm90aWZpY2F0aW9ucy9jb21wb25lbnRzL05vdGlmaWNhdGlvbi9WaWV3ZWRTdGF0ZU9ic2VydmVyLmpzPzEyNjYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/components/Notification/index.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/Notification/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 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 _ViewedStateObserver__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ViewedStateObserver */ \"./js/googlesitekit/notifications/components/Notification/ViewedStateObserver.js\");\n/* harmony import */ var _hooks_useHasBeenViewed__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks/useHasBeenViewed */ \"./js/googlesitekit/notifications/hooks/useHasBeenViewed.js\");\n/* harmony import */ var _hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/useNotificationEvents */ \"./js/googlesitekit/notifications/hooks/useNotificationEvents.js\");\n\n\n/**\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction Notification(_ref) {\n var id = _ref.id,\n className = _ref.className,\n gaTrackingEventArgs = _ref.gaTrackingEventArgs,\n children = _ref.children,\n onView = _ref.onView;\n var ref = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useRef\"])();\n var viewed = Object(_hooks_useHasBeenViewed__WEBPACK_IMPORTED_MODULE_4__[\"useHasBeenViewed\"])(id);\n var trackEvents = Object(_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(id, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.category);\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 isViewedOnce = _useState2[0],\n setIsViewedOnce = _useState2[1]; // Track view once.\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n if (!isViewedOnce && viewed) {\n trackEvents.view(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n onView === null || onView === void 0 ? void 0 : onView();\n setIsViewedOnce(true);\n }\n }, [viewed, trackEvents, isViewedOnce, gaTrackingEventArgs, onView]);\n return /*#__PURE__*/React.createElement(\"section\", {\n id: id,\n ref: ref,\n className: className\n }, children, !viewed && /*#__PURE_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/components/common/BannerIcon.js":
|
|||
|
|
/*!************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/common/BannerIcon.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 BannerIcon; });\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 _svg_icons_warning_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../svg/icons/warning.svg */ \"./svg/icons/warning.svg\");\n/* harmony import */ var _svg_icons_error_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../svg/icons/error.svg */ \"./svg/icons/error.svg\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../material-components */ \"./js/material-components/index.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\n\nfunction BannerIcon(_ref) {\n var type = _ref.type;\n if ('win-error' !== type && 'win-warning' !== type) {\n return null;\n }\n var icon = 'win-warning' === type ? /*#__PURE__*/React.createElement(_svg_icons_warning_svg__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n width: 34\n }) : /*#__PURE__*/React.createElement(_svg_icons_error_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n width: 28\n });\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Cell\"], {\n size: 1,\n smOrder: 3,\n mdOrder: 3,\n lgOrder: 3\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-publisher-win__icons\"\n }, icon));\n}\nBannerIcon.propTypes = {\n type: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9jb21tb24vQmFubmVySWNvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvbm90aWZpY2F0aW9ucy9jb21wb25lbnRzL2NvbW1vbi9CYW5uZXJJY29uLmpzPzg0YmMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbn
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/components/common/Description.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/common/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/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _components_ErrorText__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/ErrorText */ \"./js/components/ErrorText.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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction Description(_ref) {\n var _ref$className = _ref.className,\n className = _ref$className === void 0 ? 'googlesitekit-publisher-win__desc' : _ref$className,\n text = _ref.text,\n learnMoreLink = _ref.learnMoreLink,\n errorText = _ref.errorText,\n children = _ref.children;\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n className: className\n }, /*#__PURE__*/React.createElement(\"p\", null, /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: Object(_util__WEBPACK_IMPORTED_MODULE_2__[\"sanitizeHTML\"])(text, {\n ALLOWED_TAGS: ['strong', 'em', 'br', 'a'],\n ALLOWED_ATTR: ['href']\n })\n }), ' ', learnMoreLink)), errorText && /*#__PURE__*/React.createElement(_components_ErrorText__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n message: errorText\n }), children);\n}\nDescription.propTypes = {\n className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n text: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n learnMoreLink: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n errorText: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n children: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9jb21tb24vRGVzY3JpcHRpb24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9jb21tb24vRGVzY3JpcHRpb24uanM/MDU4NyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3J
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/components/common/Dismiss.js":
|
|||
|
|
/*!*********************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/common/Dismiss.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 Dismiss; });\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 _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 _hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/useNotificationEvents */ \"./js/googlesitekit/notifications/hooks/useNotificationEvents.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\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\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.getOwnPropertyDesc
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/components/common/Title.js":
|
|||
|
|
/*!*******************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/common/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\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 Title(_ref) {\n var title = _ref.title;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: \"googlesitekit-heading-2 googlesitekit-publisher-win__title\"\n }, title);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9jb21tb24vVGl0bGUuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9jb21tb24vVGl0bGUuanM/ZmJlOCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gVGl0bGUoIHsgdGl0bGUgfSApIHtcblx0cmV0dXJuIChcblx0XHQ8aDMgY2xhc3NOYW1lPVwiZ29vZ2xlc2l0ZWtpdC1oZWFkaW5nLTIgZ29vZ2xlc2l0ZWtpdC1wdWJsaXNoZXItd2luX190aXRsZVwiPlxuXHRcdFx0eyB0aXRsZSB9XG5cdFx0PC9oMz5cblx0KTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUlBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/notifications/components/common/Title.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/components/layout/NotificationError.js":
|
|||
|
|
/*!*******************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/layout/NotificationError.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 NotificationError; });\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_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _common_BannerIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common/BannerIcon */ \"./js/googlesitekit/notifications/components/common/BannerIcon.js\");\n/* harmony import */ var _common_Title__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../common/Title */ \"./js/googlesitekit/notifications/components/common/Title.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 * Internal dependencies\n */\n\n\n\nfunction NotificationError(_ref) {\n var title = _ref.title,\n description = _ref.description,\n actions = _ref.actions;\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_1__[\"Grid\"], null, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_1__[\"Row\"], null, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_1__[\"Cell\"], {\n smSize: 3,\n mdSize: 7,\n lgSize: 11,\n className: \"googlesitekit-publisher-win__content\"\n }, /*#__PURE__*/React.createElement(_common_Title__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n title: title\n }), description, actions), /*#__PURE__*/React.createElement(_common_BannerIcon__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n type: \"win-error\"\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9sYXlvdXQvTm90aWZpY2F0aW9uRXJyb3IuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9sYXlvdXQvTm90aWZpY2F0aW9uRXJyb3IuanM/ODExMiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgQ2VsbCwgR3JpZCwgUm93IH0gZnJvbSAnLi4vLi4vLi4vLi4vbWF0ZXJpYWwtY29tcG9uZW50cyc7XG5pbXBvcnQgQmFubmVySWNvbiBmcm9tICcuLi9jb21tb24vQmFubmVySWNvbic7XG5pbXBvcnQgVGl0bGUgZnJvbSAnLi4vY29tbW9uL1RpdGxlJztcb
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/components/layout/SubtleNotification.js":
|
|||
|
|
/*!********************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/layout/SubtleNotification.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 _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_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../svg/icons/warning.svg */ \"./svg/icons/warning.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 _material_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../material-components */ \"./js/material-components/index.js\");\n\n/**\n * SubtleNotification 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\nvar SubtleNotification = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n var className = _ref.className,\n title = _ref.title,\n description = _ref.description,\n dismissCTA = _ref.dismissCTA,\n additionalCTA = _ref.additionalCTA,\n _ref$reverseCTAs = _ref.reverseCTAs,\n reverseCTAs = _ref$reverseCTAs === void 0 ? false : _ref$reverseCTAs,\n _ref$type = _ref.type,\n type = _ref$type === void 0 ? 'success' : _ref$type,\n icon = _ref.icon;\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_6__[\"Grid\"], {\n ref: ref\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_6__[\"Row\"], null, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_6__[\"Cell\"], {\n alignMiddle: true,\n size: 12,\n className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-subtle-notification', className, {\n 'googlesitekit-subtle-notification--success': type === 'success',\n 'googlesitekit-subtle-notification--warning': type === 'warning',\n 'googlesitekit-subtle-notification--new-feature': type === 'new-feature'\n })\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-subtle-notification__icon\"\n }, icon, type === 'success' && !icon && /*#__PURE__*/React.createElement(_svg_icons_check_fill_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n width: 24,\n height: 24\n }), type === 'warning' && !icon && /*#__PURE__*/React.createElement(_svg_icons_warning_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n width: 24,\n height: 24\n })
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/datastore/constants.js":
|
|||
|
|
/*!***************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/datastore/constants.js ***!
|
|||
|
|
\***************************************************************/
|
|||
|
|
/*! exports provided: CORE_NOTIFICATIONS, NOTIFICATION_AREAS, NOTIFICATION_GROUPS, 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_AREAS\", function() { return NOTIFICATION_AREAS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NOTIFICATION_GROUPS\", function() { return NOTIFICATION_GROUPS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NOTIFICATION_VIEW_CONTEXTS\", function() { return NOTIFICATION_VIEW_CONTEXTS; });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../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_AREAS = {\n ERRORS: 'notification-area-errors',\n BANNERS_ABOVE_NAV: 'notification-area-banners-above-nav',\n BANNERS_BELOW_NAV: 'notification-area-banners-below-nav'\n};\nvar NOTIFICATION_GROUPS = {\n DEFAULT: 'default',\n SETUP_CTAS: 'setup-ctas'\n};\nvar NOTIFICATION_VIEW_CONTEXTS = [_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_SPLASH\"], _constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"], _constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_ENTITY_DASHBOARD\"], _constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY\"], _constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY\"]];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvbm90aWZpY2F0aW9ucy9kYXRhc3RvcmUvY29uc3RhbnRzLmpzP2EzYzEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbmltcG9ydCB7XG5cdFZJRVdfQ09OVEVYVF9FTlRJVFlfREFTSEJPQVJELFxuXHRWSUVXX0NPTlRFWFRfRU5USVRZX0RBU0hCT0FSRF9WSUVXX09OTFksXG5cdFZJRVdfQ09OVEVYVF9NQUlOX0RBU0hCT0FSRCxcblx0VklFV19DT05URVhUX01BSU5fREFTSEJPQVJEX1ZJRVdfT05MWSxcblx0VklFV19DT05URVhUX1NQTEFTSCxcbn0gZnJvbSAnLi4vLi4vY29uc3RhbnRzJztcblxuZXhwb3J0IGNvbnN0IENPUkVfTk9USUZJQ0FUSU9OUyA9ICdjb3JlL25vdGlmaWNhdGlvbnMnO1xuXG5leHBvcnQgY29uc3QgTk9USUZJQ0FUSU9OX0FSRUFTID0ge1xuXHRFUlJPUlM6ICdub3RpZmljYXRpb24tYXJlYS1lcnJvcnMnLFxuXHRCQU5ORVJTX0FCT1ZFX05BVjogJ25vdGlmaWNhdGlvbi1hcmVhLWJhbm5lcnMtYWJvdmUtbmF2Jyxcblx0QkFOTkVSU19CRUxPV19OQVY6ICdub3RpZmljYXRpb24tYXJlYS1iYW5uZXJzLWJlbG93LW5hdicsXG59O1xuXG5leHBvcnQgY29uc3QgTk9USUZJQ0FUSU9OX0dST1VQUyA9IHtcblx0REVGQVVMVDogJ2RlZmF1bHQnLFxuXHRTRVRVUF9DVEFTOi
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/hooks/useHasBeenViewed.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/hooks/useHasBeenViewed.js ***!
|
|||
|
|
\******************************************************************/
|
|||
|
|
/*! exports provided: useHasBeenViewed */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useHasBeenViewed\", function() { return useHasBeenViewed; });\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 _datastore_ui_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/**\n * `useHasBeenViewed` 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\nvar getKey = function getKey(id) {\n return \"notification/\".concat(id, \"/viewed\");\n};\nfunction useHasBeenViewed(id) {\n return Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"])(function (select) {\n return !!select(_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_UI\"]).getValue(getKey(id));\n }, [id]);\n}\nuseHasBeenViewed.getKey = getKey;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvaG9va3MvdXNlSGFzQmVlblZpZXdlZC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvbm90aWZpY2F0aW9ucy9ob29rcy91c2VIYXNCZWVuVmlld2VkLmpzPzllMDkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlSGFzQmVlblZpZXdlZGAgaG9vay5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IHVzZVNlbGVjdCB9IGZyb20gJ2dvb2dsZXNpdGVraXQtZGF0YSc7XG5pbXBvcnQgeyBDT1JFX1VJIH0gZnJvbSAnLi4vLi4vZGF0YXN0b3JlL3VpL2NvbnN0YW50cyc7XG5cbmNvbnN0IGdldEtleSA9ICggaWQgKSA9PiBgbm90aWZpY2F0aW9uLyR7IGlkIH0vdmlld2VkYDtcblxuZXhwb3J0IGZ1bmN0aW9uIHVzZUhhc0JlZW5WaWV3ZWQoIGlkICkge1xuXHRyZXR1cm4gdXNlU2VsZWN0KFxuXHRcdCggc2VsZWN0ICkgPT4gISEgc2VsZWN0KCBDT1JFX1VJICkuZ2V0VmFsdWUoIGdldEtleSggaWQgKSApLFxuXHRcdFsgaWQgXVxuXHQpO1xufVxudXNlSGFzQmVlblZpZXdlZC5nZXRLZXkgPSBnZXRLZXk7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFHQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/notifications/hooks/useHasBeenViewed.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 _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../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 viewContext = Object(_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 _util__WEBPACK_IMPORTED_MODULE_2__[\"trackEvent\"].apply(void 0, [eventCategory, 'view_notification'].concat(args));\n }, [eventCategory]);\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 _util__WEBPACK_IMPORTED_MODULE_2__[\"trackEvent\"].apply(void 0, [eventCategory, 'confirm_notification'].concat(args));\n }, [eventCategory]);\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 _util__WEBPACK_IMPORTED_MODULE_2__[\"trackEvent\"].apply(void 0, [eventCategory, 'dismiss_notification'].concat(args));\n }, [eventCategory]);\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 _util__WEBPACK_IMPORTED_MODULE_2__[\"trackEvent\"].apply(void 0, [eventCategory, 'click_learn_more_link'].concat(args));\n }, [eventCategory]);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvaG9va3MvdXNlTm90aWZpY2F0aW9uRXZlbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC9ub3RpZmljYXRpb25zL2hvb2tzL3VzZU5vdGlmaWNhdGlvbkV2ZW50cy5qcz9jZDA0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHVzZU5vdGlmaWNhdGlvbkV2ZW50c2AgaG9vay5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSB
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/util/component-props.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/util/component-props.js ***!
|
|||
|
|
\****************************************************************/
|
|||
|
|
/*! exports provided: getNotificationComponentProps, withNotificationComponentProps */
|
|||
|
|
/***/ (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__, \"getNotificationComponentProps\", function() { return getNotificationComponentProps; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"withNotificationComponentProps\", function() { return withNotificationComponentProps; });\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 _components_Notification__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components/Notification */ \"./js/googlesitekit/notifications/components/Notification/index.js\");\n\n\n/**\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n/**\n * Gets the props to pass to a Notification's component.\n *\n * @since 1.134.0\n *\n * @param {string} id The Notification's ID.\n * @return {Object} Props to pass to the Notification component.\n */\nvar getNotificationComponentProps = memize__WEBPACK_IMPORTED_MODULE_2___default()(function (id) {\n return {\n id: id,\n Notification: withNotificationID(id)(_components_Notification__WEBPACK_IMPORTED_MODULE_3__[\"default\"])\n };\n});\nfunction withNotificationID(id) {\n return function (WrappedComponent) {\n function WithNotificationID(props) {\n return /*#__PURE__*/React.createElement(WrappedComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, props, {\n id: id\n }));\n }\n WithNotificationID.displayName = 'WithNotificationID';\n if (WrappedComponent.displayName || WrappedComponent.name) {\n WithNotificationID.displayName += \"(\".concat(WrappedComponent.displayName || WrappedComponent.name, \")\");\n }\n return WithNotificationID;\n };\n}\n\n/**\n * Gets the props and passes them to the notification's component through a HOC.\n *\n * @since 1.134.0\n *\n * @param {string} id The id of the notification.\n * @return {Function} Enhancing function that adds the getNotificationComponentProps to the passed component.\n */\nvar withNotificationComponentProps = function withNotificationComponentProps(id) {\n var notificationComponentProps = getNotificationComponentProps(id);\n return function (WrappedComponent) {\n function DecoratedComponent(props) {\n return /*#__PURE__*/React.createElement(WrappedComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, props, notificationComponentProps));\n }\n DecoratedComponent.displayName = 'WithWidgetComponentProps';\n if (WrappedComponent.displayName || WrappedComponent.name) {\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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\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\nfunction WidgetHeaderTitle(_ref) {\n var title = _ref.title;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: \"googlesitekit-subheading-1 googlesitekit-widget__header-title\"\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXRIZWFkZXJUaXRsZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvd2lkZ2V0cy9jb21wb25lbnRzL1dpZGdldEhlYWRlclRpdGxlLmpzPzg1NWEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBXaWRnZXRIZWFkZXJUaXRsZSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuXG5mdW5jdGlvbiBXaWRnZXRIZWFkZXJUaXRsZSggeyB0aXRsZSB9ICkge1xuXHRyZXR1cm4gKFxuXHRcdDxoMyBjbGFzc05hbWU9XCJnb29nbGVzaXRla2l0LXN1YmhlYWRpbmctMSBnb29nbGVzaXRla2l0LXdpZGdldF9faGVhZGVyLXRpdGxlXCI+XG5cdFx0XHR7IHRpdGxlIH1cblx0XHQ8L2gzPlxuXHQpO1xufVxuXG5XaWRnZXRIZWFkZXJUaXRsZS5wcm9wVHlwZXMgPSB7XG5cdHRpdGxlOiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWQsXG59O1xuXG5leHBvcnQgZGVmYXVsdCBXaWRnZXRIZWFkZXJUaXRsZTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/components/WidgetHeaderTitle.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvd2lkZ2V0cy9kYXRhc3RvcmUvY29uc3RhbnRzLmpzP2QyZmIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgY29yZS93aWRnZXRzYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgV0lER0VUX0FSRUFfU1RZTEVTID0geyBCT1hFUzogJ2JveGVzJywgQ09NUE9TSVRFOiAnY29tcG9zaXRlJyB9O1xuZXhwb3J0IGNvbnN0IFdJREdFVF9XSURUSFMgPSB7IFFVQVJURVI6ICdxdWFydGVyJywgSEFMRjogJ2hhbGYnLCBGVUxMOiAnZnVsbCcgfTtcblxuZXhwb3J0IGNvbnN0IENPUkVfV0lER0VUUyA9ICdjb3JlL3dpZGdldHMnO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\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_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/default-contexts.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/default-contexts.js ***!
|
|||
|
|
\******************************************************/
|
|||
|
|
/*! exports provided: CONTEXT_MAIN_DASHBOARD_KEY_METRICS, CONTEXT_MAIN_DASHBOARD_TRAFFIC, CONTEXT_MAIN_DASHBOARD_CONTENT, CONTEXT_MAIN_DASHBOARD_SPEED, CONTEXT_MAIN_DASHBOARD_MONETIZATION, CONTEXT_ENTITY_DASHBOARD_TRAFFIC, CONTEXT_ENTITY_DASHBOARD_CONTENT, CONTEXT_ENTITY_DASHBOARD_SPEED, CONTEXT_ENTITY_DASHBOARD_MONETIZATION, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_MAIN_DASHBOARD_KEY_METRICS\", function() { return CONTEXT_MAIN_DASHBOARD_KEY_METRICS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_MAIN_DASHBOARD_TRAFFIC\", function() { return CONTEXT_MAIN_DASHBOARD_TRAFFIC; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_MAIN_DASHBOARD_CONTENT\", function() { return CONTEXT_MAIN_DASHBOARD_CONTENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_MAIN_DASHBOARD_SPEED\", function() { return CONTEXT_MAIN_DASHBOARD_SPEED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_MAIN_DASHBOARD_MONETIZATION\", function() { return CONTEXT_MAIN_DASHBOARD_MONETIZATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_ENTITY_DASHBOARD_TRAFFIC\", function() { return CONTEXT_ENTITY_DASHBOARD_TRAFFIC; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_ENTITY_DASHBOARD_CONTENT\", function() { return CONTEXT_ENTITY_DASHBOARD_CONTENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_ENTITY_DASHBOARD_SPEED\", function() { return CONTEXT_ENTITY_DASHBOARD_SPEED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_ENTITY_DASHBOARD_MONETIZATION\", function() { return CONTEXT_ENTITY_DASHBOARD_MONETIZATION; });\n/**\n * Widgets API default contexts\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 CONTEXT_MAIN_DASHBOARD_KEY_METRICS = 'mainDashboardKeyMetrics';\nvar CONTEXT_MAIN_DASHBOARD_TRAFFIC = 'mainDashboardTraffic';\nvar CONTEXT_MAIN_DASHBOARD_CONTENT = 'mainDashboardContent';\nvar CONTEXT_MAIN_DASHBOARD_SPEED = 'mainDashboardSpeed';\nvar CONTEXT_MAIN_DASHBOARD_MONETIZATION = 'mainDashboardMonetization';\n// Entity dashboard\nvar CONTEXT_ENTITY_DASHBOARD_TRAFFIC = 'entityDashboardTraffic';\nvar CONTEXT_ENTITY_DASHBOARD_CONTENT = 'entityDashboardContent';\nvar CONTEXT_ENTITY_DASHBOARD_SPEED = 'entityDashboardSpeed';\nvar CONTEXT_ENTITY_DASHBOARD_MONETIZATION = 'entityDashboardMonetization';\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n // Main dashboard\n CONTEXT_MAIN_DASHBOARD_KEY_METRICS: CONTEXT_MAIN_DASHBOARD_KEY_METRICS,\n CONTEXT_MAIN_DASHBOARD_TRAFFIC: CONTEXT_MAIN_DASHBOARD_TRAFFIC,\n CONTEXT_MAIN_DASHBOARD_CONTENT: CONTEXT_MAIN_DASHBOARD_CONTENT,\n CONTEXT_MAIN_DASHBOARD_SPEED: CONTEXT_MAIN_DASHBOARD_SPEED,\n CONTEXT_MAIN_DASHBOARD_MONETIZATION: CONTEXT_MAIN_DASHBOARD_MONETIZATION,\n // Entity dashboard\n CONTEXT_ENTITY_DASHBOARD_TRAFFIC: CONTEXT_ENTITY_DASHBOARD_TRAFFIC,\n CONTEXT_ENTITY_DASHBOARD_CONTENT: CONTEXT_ENTITY_DASHBOARD_CONTENT,\n CONTEXT_ENTITY_DASHBOARD_SPEED: CONTEXT_ENTITY_DASHBOARD_SPEED,\n CONTEXT_ENTITY_DASHBOARD_MONETIZATION: CONTEXT_ENTITY_DASHBOARD_MONETIZATION\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvZGVmYXVsdC1jb250ZXh0cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvd2lkZ2V0cy9kZWZhdWx0LWNvbnRleHRzLmpzPzNkYjIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBXaWRnZXRzIEFQSSBkZWZhdWx0IGNvbnRleHRzXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogT
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../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\"])(_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/YWM2OCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGB1c2VXaWRnZXRTdGF0ZUVmZmVjdGAgaG9vay5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogV29yZFByZXNzIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyB1c2VFZmZlY3QgfSBmcm9tICdAd29yZHByZXNzL2VsZW1lbnQnO1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyB1c2VEaXNwYXRjaCB9IGZyb20gJ2dvb2dsZXNpdGVraXQtZGF0YSc7XG5pbXBvcnQgeyBDT1JFX1dJREdFVFMgfSBmcm9tICcuLi9kYXRhc3RvcmUvY29uc3RhbnRzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gdXNlV2lkZ2V0U3RhdGVFZmZlY3QoXG5cdHdpZGdldFNsdWcsXG5cdENvbXBvbmVudCxcblx0bWV0YWRhdGFcbikge1xuXHRjb25zdCB7IHNldFdpZGdldFN0YXRlLCB1bnNldFdpZGdldFN0YXRlIH0gPSB1c2VEaXNwYXRjaCggQ09SRV9XSURHRVRTICk7XG5cblx0dXNlRWZmZWN0KCAoKSA9PiB7XG5cdFx0c2V0V2lkZ2
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../googlesitekit/api/cache */ \"./js/googlesitekit/api/cache.js\");\n/* harmony import */ var _util_tracking__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../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 useAct
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VCcmVha3BvaW50LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvaG9va3MvdXNlQnJlYWtwb2ludC5qcz81NDAxIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHVzZUJyZWFrcG9pbnRgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5pbXBvcnQgeyB1c2VXaW5kb3dXaWR0aCB9IGZyb20gJy4vdXNlV2luZG93U2l6ZSc7XG5cbmV4cG9ydCBjb25zdCBCUkVBS1BPSU5UX1hMQVJHRSA9ICd4bGFyZ2UnO1xuZXhwb3J0IGNvbnN0IEJSRUFLUE9JTlRfREVTS1RPUCA9ICdkZXNrdG9wJztcbmV4cG9ydCBjb25zdCBCUkVBS1BPSU5UX1RBQkxFVCA9ICd0YWJsZXQnO1xuZXhwb3J0IGNvbnN0IEJSRUFLUE9JTlRfU01BTEwgPSAnc21hbGwnO1xuXG4vKipcbiAqIFJldHJpZXZlcyB0aGUgY3VycmVudCBicmVha3BvaW50LlxuICpcbiAqIEBzaW5jZSAxLjI5LjBcbiAqXG4gKiBAcmV0dXJuIHtzdHJpbmd9IFRoZSBjdXJyZW50IGJyZWFrcG9pbnQgYWNjb3JkaW5nIHRvIHRoZSB3aW5kb3cgc2l6ZS5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIHVzZUJyZWFrcG9pbnQoKSB7XG5cdGNvbnN0IG9ubHlXaWR0aCA9IHVzZVdpbmRvd1dpZHRoKCk7XG5cblx0aWYgKCBvbmx5V2lkdGggPiAxMjgwICkge1xuXHRcdHJldHVybiBCUkVBS1BPSU5UX1hMQVJHRTtcblx0fVxuXG5cdGlmICggb25seVdpZHRoID4gOTYwICkge1xuXHRcdHJldHVybiBC
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/hooks/useDashboardType.js":
|
|||
|
|
/*!**************************************!*\
|
|||
|
|
!*** ./js/hooks/useDashboardType.js ***!
|
|||
|
|
\**************************************/
|
|||
|
|
/*! exports provided: DASHBOARD_TYPE_MAIN, DASHBOARD_TYPE_ENTITY, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DASHBOARD_TYPE_MAIN\", function() { return DASHBOARD_TYPE_MAIN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DASHBOARD_TYPE_ENTITY\", function() { return DASHBOARD_TYPE_ENTITY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return useDashboardType; });\n/* harmony import */ var _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\n/* harmony import */ var _useViewContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useViewContext */ \"./js/hooks/useViewContext.js\");\n/**\n * `useDashboardType` 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 * Internal dependencies\n */\n\n\nvar DASHBOARD_TYPE_MAIN = _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"];\nvar DASHBOARD_TYPE_ENTITY = _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_ENTITY_DASHBOARD\"];\n\n/**\n * Determines dashboard type from the view context.\n *\n * @since 1.45.0\n *\n * @return {string|null} The type of dashboard (either `DASHBOARD_TYPE_MAIN` or `DASHBOARD_TYPE_ENTITY`; `null` if not a Unified Dashboard page).\n */\nfunction useDashboardType() {\n var viewContext = Object(_useViewContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n if (viewContext === _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"] || viewContext === _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY\"]) {\n return DASHBOARD_TYPE_MAIN;\n }\n if (viewContext === _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_ENTITY_DASHBOARD\"] || viewContext === _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY\"]) {\n return DASHBOARD_TYPE_ENTITY;\n }\n return null;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VEYXNoYm9hcmRUeXBlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvaG9va3MvdXNlRGFzaGJvYXJkVHlwZS5qcz81YzNhIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHVzZURhc2hib2FyZFR5cGVgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQge1xuXHRWSUVXX0NPTlRFWFRfTUFJTl9EQVNIQk9BUkQsXG5cdFZJRVdfQ09OVEVYVF9FTlRJVFlfREFTSEJPQVJELFxuXHRWSUVXX0NPTlRFWFRfTUFJTl9EQVNIQk9BUkRfVklFV19PTkxZLFxuXHRWSUVXX0NPTlRFWFRfRU5USVRZX0RBU0hCT0FSRF9WSUVXX09OTFksXG59IGZyb2
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 }, [debounced]);\n return debounced;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VEZWJvdW5jZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZURlYm91bmNlLmpzPzhlYWYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlRGVib3VuY2VgIGhvb2ssIGZyb20gQHdvcmRwcmVzcy9jb21wb3NlLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLy8gQFRPRE8gV2hlbiB3ZSB1cGdyYWRlIFJlYWN0IHRvIDE2LjQsIHdlIGNhbiBhbHNvIHVwZ3JhZGUgQHdvcmRwcmVzcy9jb21wb3NlLCBhbmQgdGhlbiB0aGlzIGZpbGUgY2FuIGJlIHJlbW92ZWQuXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IHVzZU1lbW9
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/hooks/useGlobalTrackingEffect.js":
|
|||
|
|
/*!*********************************************!*\
|
|||
|
|
!*** ./js/hooks/useGlobalTrackingEffect.js ***!
|
|||
|
|
\*********************************************/
|
|||
|
|
/*! exports provided: useGlobalTrackingEffect */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useGlobalTrackingEffect\", function() { return useGlobalTrackingEffect; });\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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _useViewContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../googlesitekit/api/cache */ \"./js/googlesitekit/api/cache.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util */ \"./js/util/index.js\");\n\n\n/**\n * `useGlobalTrackingEffect` 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\n\n\n\n\n/**\n * Tracks the successful user and site setup.\n *\n * @since 1.132.0\n */\nvar useGlobalTrackingEffect = function useGlobalTrackingEffect() {\n var viewContext = Object(_useViewContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n var isUsingProxy = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).isUsingProxy();\n });\n var setupErrorMessage = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getSetupErrorMessage();\n });\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n var trackEvents = /*#__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() {\n var startUserSetup, startSiteSetup;\n return
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _components_InViewProvider_InViewContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/InViewProvider/InViewContext */ \"./js/components/InViewProvider/InViewContext.js\");\n/* harmony import */ var _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../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 */\nvar useInView = function 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\"])(_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(_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(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]).getValue('forceInView
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/hooks/useKeyCodesInside.js":
|
|||
|
|
/*!***************************************!*\
|
|||
|
|
!*** ./js/hooks/useKeyCodesInside.js ***!
|
|||
|
|
\***************************************/
|
|||
|
|
/*! exports provided: useKeyCodesInside */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useKeyCodesInside\", function() { return useKeyCodesInside; });\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/**\n * `useKeyCodesInside` 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 * Calls handler when event happens with a given keyCode inside a target ref.\n *\n * @since 1.32.0\n *\n * @param {Array} keyCodes Array of keyCodes.\n * @param {Object} ref React ref to element containing target.\n * @param {Function} handler Callback function.\n */\nvar useKeyCodesInside = function useKeyCodesInside(keyCodes, ref, handler) {\n Object(react_use__WEBPACK_IMPORTED_MODULE_0__[\"useKey\"])(function (event) {\n return keyCodes.includes(event.keyCode) && ref.current.contains(event.target);\n }, handler);\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VLZXlDb2Rlc0luc2lkZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZUtleUNvZGVzSW5zaWRlLmpzP2NiZmYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlS2V5Q29kZXNJbnNpZGVgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyB1c2VLZXkgfSBmcm9tICdyZWFjdC11c2UnO1xuXG4vKipcbiAqIENhbGxzIGhhbmRsZXIgd2hlbiBldmVudCBoYXBwZW5zIHdpdGggYSBnaXZlbiBrZXlDb2RlIGluc2lkZSBhIHRhcmdldCByZWYuXG4gKlxuICogQHNpbmNlIDEuMzIuMFxuICpcbiAqIEBwYXJhbSB7QXJyYXl9ICAgIGtleUNvZGVzIEFycmF5IG9mIGtleUNvZGVzLlxuICogQHBhcmFtIHtPYmplY3R9ICAgcmVmICAgICAgUmVhY3QgcmVmIHRvIGVsZW1lbnQgY29udGFpbmluZyB0YXJnZXQuXG4gKiBAcGFyYW0ge0Z1bmN0aW9ufSBoYW5kbGVyICBDYWxsYmFjayBmdW5jdGlvbi5cbiAqL1xuZXhwb3J0IGNvbnN0IHVzZUtleUNvZGVzSW5zaWRlID0gKCBrZXlDb2RlcywgcmVmLCBoYW5kbGVyICkgPT4ge1xuXHR1c2VLZXkoICggZXZlbnQgKSA9PiB7XG5cdFx0cmV0dXJuIChcblx0XHRcdGtleUNvZGVzLmluY2x1ZGVzKCBldmVudC5rZXlDb2RlICkgJiZcblx0XHRcdHJlZi5jdXJyZW50LmNvbnRhaW5zKCBldmVudC50YXJnZXQgKVxuXHRcdCk7XG5cdH0sIGhhbmRsZXIgKTtcbn07XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFJQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/hooks/useKeyCodesInside.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/hooks/useLatestIntersection.js":
|
|||
|
|
/*!*******************************************!*\
|
|||
|
|
!*** ./js/hooks/useLatestIntersection.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 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\n/**\n * `useLatestIntersection` 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 * WordPress dependencies\n */\n\n\n/**\n * Returns latest intersaction observer entry for a given element.\n *\n * This hook is based on the `useIntersection` hook from the `react-use` package. The difference\n * is that this hook returns the last intersection observer entry instead of the first one.\n * See https://github.com/streamich/react-use/blob/325f5bd69904346788ea981ec18bfc7397c611df/src/useIntersection.ts.\n *\n * @since 1.95.0\n *\n * @param {Object} ref A ref object that points to the HTML element to observe.\n * @param {Object} options Options for the Intersection Observer.\n * @return {IntersectionObserverEntry | null} The latest Intersection Observer entry.\n */\nvar useLatestIntersection = function useLatestIntersection(ref, options) {\n var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(null),\n _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n intersectionObserverEntry = _useState2[0],\n setIntersectionObserverEntry = _useState2[1];\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n if (ref.current && typeof global.IntersectionObserver === 'function') {\n var handler = function handler(entries) {\n setIntersectionObserverEntry(entries[entries.length - 1]);\n };\n var observer = new global.IntersectionObserver(handler, options);\n observer.observe(ref.current);\n return function () {\n setIntersectionObserverEntry(null);\n observer.disconnect();\n };\n }\n return function () {};\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ref.current, options.threshold, options.root, options.rootMargin]);\n return intersectionObserverEntry;\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (useLatestIntersection);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VMYXRlc3RJbnRlcnNlY3Rpb24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9ob29rcy91c2VMYXRlc3RJbnRlcnNlY3Rpb24uanM/YTNhYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGB1c2VMYXRlc3RJbnRlcnNlY3Rpb25gIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZS
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/hooks/useQueryArg.js":
|
|||
|
|
/*!*********************************!*\
|
|||
|
|
!*** ./js/hooks/useQueryArg.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 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 _wordpress_url__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n\n\n/**\n * `useQueryArg` 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 * Uses a location query param as a variable in a component.\n *\n * @since 1.24.0\n *\n * @param {string} key The query param key to be used.\n * @param {string} [initialValue] Optional. The initial value for the query param to be used.\n * @param {Object} [_global] The global window object.\n * @return {Array} The getter and setter for the query param state.\n */\nfunction useQueryArg(key, initialValue) {\n var _global = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : global;\n var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useState\"])(Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_3__[\"getQueryArg\"])(_global.location.href, key) || initialValue),\n _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2),\n value = _useState2[0],\n setValue = _useState2[1];\n var onSetValue = function onSetValue(newValue) {\n setValue(newValue);\n var newURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_3__[\"addQueryArgs\"])(_global.location.href, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, key, newValue));\n _global.history.replaceState(null, '', newURL);\n };\n return [value, onSetValue];\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useQueryArg);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VRdWVyeUFyZy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZVF1ZXJ5QXJnLmpzPzFhYjQiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlUXVlcnlBcmdgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/hooks/useRefocus.js":
|
|||
|
|
/*!********************************!*\
|
|||
|
|
!*** ./js/hooks/useRefocus.js ***!
|
|||
|
|
\********************************/
|
|||
|
|
/*! exports provided: useRefocus */
|
|||
|
|
/***/ (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__, \"useRefocus\", function() { return useRefocus; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/**\n * `useRefocus` 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 * Invokes a function when the window is blurred and then refocused after the specified delay.\n *\n * @since 1.80.0\n *\n * @param {Function} callback Function to invoke when the window is blurred and then refocused after the specified delay.\n * @param {number} milliseconds Amount of time (in milliseconds) required to elapse with the tab unfocused before the callback should be run when refocused. Default is `0`, eg. run the `callback` after returning to this tab/window as soon as the user is unfocused for any length of time.\n */\nfunction useRefocus(callback) {\n var milliseconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Run the supplied callback whenever a user re-focuses window, as\n // long as it happens after the specified delay.\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n var timeout;\n var runCallback = false;\n\n // Count `milliseconds` once user focuses elsewhere.\n var countIdleTime = function countIdleTime() {\n timeout = global.setTimeout(function () {\n runCallback = true;\n }, milliseconds);\n };\n\n // Run the callback when user re-focuses after `milliseconds` or more.\n var onFocus = function onFocus() {\n global.clearTimeout(timeout);\n\n // Do not run the callback if user has been away for less\n // than `milliseconds`.\n if (!runCallback) {\n return;\n }\n runCallback = false;\n callback();\n };\n global.addEventListener('focus', onFocus);\n global.addEventListener('blur', countIdleTime);\n return function () {\n global.removeEventListener('focus', onFocus);\n global.removeEventListener('blur', countIdleTime);\n global.clearTimeout(timeout);\n };\n }, [milliseconds, callback]);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VSZWZvY3VzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvaG9va3MvdXNlUmVmb2N1cy5qcz9kMWUzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHVzZVJlZm9jdXNgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGx
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../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\"])(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VWaWV3Q29udGV4dC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZVZpZXdDb250ZXh0LmpzPzAzYjIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlVmlld0NvbnRleHRgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIFdvcmRQcmVzcyBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgdXNlQ29udGV4dCB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlbWVudCc7XG5pbXBvcnQgVmlld0NvbnRleHRDb250ZXh0IGZyb20gJy4uL2NvbXBvbmVudHMvUm9vdC9WaWV3Q29udGV4dENvbnRleHQnO1xuXG4vKipcbiAqIFJldHVybnMgdGhlIGN1cnJlbnQgU2l0ZSBLaXQgdmlld2luZyBjb250ZXh0LCBlZy4gXCJkYXNoYm9hcmRcIixcbiAqIFwiZW50aXR5IGRhc2hib2FyZFwiLCBcInZpZXctb25seSBkYXNoYm9hcmRcIiwgZXRjLlxuICpcbiAqIEBzaW5jZSAxLjc0LjBcbiAqXG4gKiBAcmV0dXJuIHtzdHJpbmd9IFRoZSBjdXJyZW50IFwidmlld2luZyBjb250ZXh0XCIgdmFsdWUgZm9yIHRoZSBwbHVnaW4uXG4gKi9cbmZ1bmN0aW9uIHVzZVZpZXdDb250ZXh0KCkge1xuXHRjb25zdCB2aWV3Q29udGV4dCA9IHVzZUNvbnRleHQoIFZpZXdDb250ZXh0Q29udGV4dCApO1xuXG5cdHJldHVybiB2aWV3Q29udGV4dDtcbn1cblxuZXhwb3J0IGRlZmF1bHQgdXNlVmlld0NvbnRleHQ7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\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 _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../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 _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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VWaWV3T25seS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZVZpZXdPbmx5LmpzPzY0MmYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlVmlld09ubHlgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBTSVRFX0tJVF9WSUVXX09OTFlfQ09OVEVYVFMgfSBmcm9tICcuLi9nb29nbGVzaXRla2l0L2NvbnN0YW50cyc7XG5pbXBvcnQgdXNlVmlld0NvbnRleHQgZnJvbSAnLi91c2VWaWV3Q29udGV4dCc7XG5cbi8qKlxuICogRGV0ZXJtaW5lcyBpZiB0aGUgY3VycmVudCB2aWV3IGNvbnRleHQgaXMgYSBcInZpZXcgb25seVwiIGRhc2hib2FyZCBjb250ZXh0LlxuICpcbiAqIEBzaW5jZSAxLjcyLjBcbiAqXG4gKiBAcmV0dXJuIHtib29sZWFufSBUcnVlIGlmIGN1cnJlbnQgY29udGV4dCBpcyBhIHZpZXctb25seSBkYXNoYm9hcmQgY29udGV4dCwgZmFsc2Ugb3RoZXJ3aXNlLlxuICovXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiB1c2VWaWV3T25seSgpIHtcblx0Y29uc3Qgdmlld0NvbnRleHQgPSB1c2VWaWV3Q29udGV4dCgpO1xuXG5cdHJldHVybiBTSVRFX0tJVF9WSUVXX09OTFlfQ09OVEVYVFMuaW5jbHVkZXMoIHZpZXdDb250ZXh0ICk7XG59XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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;\nvar getSize = function getSize() {\n return [global.innerWidth, global.innerHeight];\n};\nvar useWindowSize = function 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 var setSize = 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};\nvar useWindowHeight = function useWindowHeight(options) {\n return useWindowSize(options)[1];\n};\nvar useWindowWidth = function 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;charse
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 2
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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\", \"lg
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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//# sourceMappingUR
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/NTY1MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIE1hdGVyaWFsIFVJID4gTGF5b3V0ID4gUm93IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICog
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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+IExheW91dCBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IHsgZGVmYXVsdCBhcyBDZWxsIH0gZnJvbSAnLi9DZWxsJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgUm93IH0gZnJvbSAnLi9Sb3cnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBHcmlkIH0gZnJvbSAnLi9HcmlkJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/material-components/layout/index.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/AccountSelect.js":
|
|||
|
|
/*!***************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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 _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 _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * AdSense Account 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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction AccountSelect() {\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n var eventCategory = \"\".concat(viewContext, \"_adsense\");\n var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]).getAccountID();\n });\n var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]).getAccounts();\n });\n var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]).hasFinishedResolution('getAccounts');\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]),\n setAccountID = _useDispatch.setAccountID;\n var onChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (index, item) {\n var newAccountID = item.dataset.value;\n if (accountID !== newAccountID) {\n setAccountID(newAccountID);\n Object(_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(eventCategory, 'change_account');\n }\n }, [accountID, event
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/AdSenseConnectCTA/Content.js":
|
|||
|
|
/*!***************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/AdSenseConnectCTA/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 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 _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_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 _material_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _ContentSVG__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ContentSVG */ \"./js/modules/adsense/components/common/AdSenseConnectCTA/ContentSVG.js\");\n/* harmony import */ var _svg_graphics_adsense_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../svg/graphics/adsense.svg */ \"./svg/graphics/adsense.svg\");\n\n\n\n/**\n * AdSenseConnectCTA > Content 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\n\n\n/**\n * Internal dependencies\n */\n\n\n\nvar Content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (_ref, ref) {\n var stage = _ref.stage,\n mode = _ref.mode,\n onAnimationEnd = _ref.onAnimationEnd;\n var stageContent = [{\n title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Earn money from your site', 'google-site-kit'),\n description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Focus on writing good content and let AdSense help you make it profitable', 'google-site-kit')\n }, {\n title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Save time with automated ads', 'google-site-kit'),\n description: Object(_wordpress_i18n__WEBPACK_IMPORTED_M
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/AdSenseConnectCTA/ContentAutoUpdate.js":
|
|||
|
|
/*!*************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/AdSenseConnectCTA/ContentAutoUpdate.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 ContentAutoUpdate; });\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 _Content__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Content */ \"./js/modules/adsense/components/common/AdSenseConnectCTA/Content.js\");\n\n\n/**\n * AdSenseConnectCTA > ContentAutoUpdate 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\nvar minStage = 0;\nvar maxStage = 2;\nfunction ContentAutoUpdate(_ref) {\n var hasBeenInView = _ref.hasBeenInView;\n var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])({\n stage: 0,\n mode: 'static'\n }),\n _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n _useState2$ = _useState2[0],\n stage = _useState2$.stage,\n mode = _useState2$.mode,\n setContentState = _useState2[1];\n function onAnimationEnd() {\n if (mode === 'enter') {\n setContentState({\n stage: stage,\n mode: 'leave'\n });\n } else if (mode === 'leave') {\n setContentState({\n stage: stage === maxStage ? minStage : stage + 1,\n mode: 'enter'\n });\n }\n }\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n if (!hasBeenInView) {\n return;\n }\n var timeoutID = setTimeout(function () {\n setContentState({\n stage: 0,\n mode: 'leave'\n });\n }, 7000);\n return function () {\n clearTimeout(timeoutID);\n };\n }, [hasBeenInView]);\n return /*#__PURE__*/React.createElement(_Content__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n stage: stage,\n mode: mode,\n onAnimationEnd: onAnimationEnd\n });\n}\nContentAutoUpdate.propTypes = {\n hasBeenInView: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9jb21tb24vQWRTZW5zZUNvbm5lY3RDVEEvQ29udGVudEF1dG9VcGRhdGUuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9jb21tb24vQWRTZW5zZUNvbm5lY3RDVEEvQ29udGVud
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/AdSenseConnectCTA/ContentSVG.js":
|
|||
|
|
/*!******************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/AdSenseConnectCTA/ContentSVG.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 ContentSVG; });\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 _components_PreviewBlock__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../components/MediaErrorHandler */ \"./js/components/MediaErrorHandler/index.js\");\n\n/**\n * AdSenseConnectCTA > ContentSVG 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\nvar LazyContentSVG0 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"lazy\"])(function () {\n return __webpack_require__.e(/*! import() */ 0).then(__webpack_require__.bind(null, /*! ../../../../../../svg/graphics/adsense-connect-0.svg */ \"./svg/graphics/adsense-connect-0.svg\"));\n});\nvar LazyContentSVG1 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"lazy\"])(function () {\n return __webpack_require__.e(/*! import() */ 1).then(__webpack_require__.bind(null, /*! ../../../../../../svg/graphics/adsense-connect-1.svg */ \"./svg/graphics/adsense-connect-1.svg\"));\n});\nvar LazyContentSVG2 = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"lazy\"])(function () {\n return __webpack_require__.e(/*! import() */ 2).then(__webpack_require__.bind(null, /*! ../../../../../../svg/graphics/adsense-connect-2.svg */ \"./svg/graphics/adsense-connect-2.svg\"));\n});\nfunction LazyContentSVG(_ref) {\n var stage = _ref.stage;\n var graphics = {\n 0: /*#__PURE__*/React.createElement(LazyContentSVG0, null),\n 1: /*#__PURE__*/React.createElement(LazyContentSVG1, null),\n 2: /*#__PURE__*/React.createElement(LazyContentSVG2, null)\n };\n if (!graphics[stage]) {\n return null;\n }\n return /*#__PURE__*/React.createElement(_components_MediaErrorHandler__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n errorMessage: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Failed to load graphic', 'google-site-kit')\n }, graphics[stage]);\n}\nfunction ContentSVG(_ref2) {\n var stage = _ref2.stage;\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Suspense\"], {\n fallback: /*#__PURE__*/React.createElement(_components_PreviewBlock__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n width: \"100%\",\n height: \"100%\"\n })\n }, /*#__PURE__*/React.createElement(LazyCont
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/AdSenseConnectCTA/index.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/AdSenseConnectCTA/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 AdSenseConnectCTA; });\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 _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 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/* 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 _datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/AdSenseLinkCTA.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/AdSenseLinkCTA.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 AdSenseLinkCTA; });\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 _components_notifications_CTA__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/notifications/CTA */ \"./js/components/notifications/CTA.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n\n/**\n * Analytics AdSense Link CTA 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\nfunction AdSenseLinkCTA(_ref) {\n var _ref$onClick = _ref.onClick,\n onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick;\n var supportURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getGoogleSupportURL({\n path: '/adsense/answer/6084409'\n });\n });\n return /*#__PURE__*/React.createElement(_components_notifications_CTA__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Link Analytics and AdSense', 'google-site-kit'),\n description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Get reports for your top earning pages by linking your Analytics and AdSense accounts', 'google-site-kit'),\n ctaLink: supportURL,\n ctaLabel: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Learn more', 'google-site-kit'),\n ctaLinkExternal: true,\n onClick: onClick\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9jb21tb24vQWRTZW5zZUxpbmtDVEEuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9jb21tb24vQWRTZW5zZUxpbmtDVEEuanM/YTVhOSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFuYWx5dGljcyBBZFNlbnNlIExpbmsgQ1RBIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICog
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/AutoAdExclusionSwitches.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/AutoAdExclusionSwitches.js ***!
|
|||
|
|
\*************************************************************************/
|
|||
|
|
/*! exports provided: AUTO_ADS_LOGGED_IN_USERS, AUTO_ADS_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__, \"AUTO_ADS_LOGGED_IN_USERS\", function() { return AUTO_ADS_LOGGED_IN_USERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUTO_ADS_CONTENT_CREATORS\", function() { return AUTO_ADS_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 AutoAdExclusionSwitches; });\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 _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n\nvar _trackingExclusionLab;\n\n/**\n * AdSense Ad Exclusion Switches 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/**\n * Internal dependencies\n */\n\n\n\nvar AUTO_ADS_LOGGED_IN_USERS = 'loggedinUsers';\nvar AUTO_ADS_CONTENT_CREATORS = 'contentCreators';\nvar trackingExclusionLabels = (_trackingExclusionLab = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_trackingExclusionLab, AUTO_ADS_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, AUTO_ADS_CONTENT_CREATORS, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Users who can write posts', 'google-site-kit')), _trackingExclusionLab);\nfunction AutoAdExclusionSwitches() {\n var autoAdsDisabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastor
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/ErrorNotices.js":
|
|||
|
|
/*!**************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/ErrorNotices.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 ErrorNotices; });\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 _datastore_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.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\n/**\n * AdSense Error Notices 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 * Internal dependencies\n */\n\n\n\nfunction ErrorNotices(_ref) {\n var _ref$hasButton = _ref.hasButton,\n hasButton = _ref$hasButton === void 0 ? false : _ref$hasButton;\n return /*#__PURE__*/React.createElement(_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n hasButton: hasButton,\n moduleSlug: \"adsense\",\n storeName: _datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"MODULES_ADSENSE\"]\n });\n}\nErrorNotices.propTypes = {\n hasButton: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9jb21tb24vRXJyb3JOb3RpY2VzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHNlbnNlL2NvbXBvbmVudHMvY29tbW9uL0Vycm9yTm90aWNlcy5qcz85NTBmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQWRTZW5zZSBFcnJvciBOb3RpY2VzIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IE1PRFVMRVNfQURTRU5TRSB9IGZyb20gJy4uLy4uL2RhdGFzdG9yZS9jb25zdGFudHMnO1xuaW1wb3J0IFN0b3JlRXJyb3JOb3RpY2VzIGZyb20gJy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvU3RvcmVFcnJvck5vdGljZXMnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRXJyb3JOb3RpY2VzKCB7IGhhc0J1dHRvbiA9IGZhbHNlIH0gKSB7XG5cdHJldHVybiAoXG5c
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/UseSnippetSwitch.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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 _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 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 _components_SettingsNotice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../components/SettingsNotice */ \"./js/components/SettingsNotice/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _components_Badge__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../components/Badge */ \"./js/components/Badge.js\");\n\n\n\n/**\n * AdSense 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 s
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/UserProfile.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/UserProfile.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 UserProfile; });\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 _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n\n/**\n * AdSense User Profile 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 * Internal dependencies\n */\n\n\n\nfunction UserProfile() {\n var userEmail = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getEmail();\n });\n var userPicture = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getPicture();\n });\n var hasResolvedGetUser = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).hasFinishedResolution('getUser');\n });\n if (!hasResolvedGetUser) {\n return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"ProgressBar\"], {\n small: true\n });\n }\n return /*#__PURE__*/React.createElement(\"p\", {\n className: \"googlesitekit-setup-module__user\"\n }, /*#__PURE__*/React.createElement(\"img\", {\n className: \"googlesitekit-setup-module__user-image\",\n src: userPicture,\n alt: \"\"\n }), /*#__PURE__*/React.createElement(\"span\", {\n className: \"googlesitekit-setup-module__user-email\"\n }, userEmail));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9jb21tb24vVXNlclByb2ZpbGUuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9jb21tb24vVXNlclByb2ZpbGUuanM/YmYxNCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFkU2Vuc2UgVXNlciBQcm9maWxlIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlc
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/WebStoriesAdUnitSelect.js":
|
|||
|
|
/*!************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/WebStoriesAdUnitSelect.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 WebStoriesAdUnitSelect; });\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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n\n/**\n * AdSense Web Stories Ad Unit 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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction WebStoriesAdUnitSelect() {\n var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]).getAccountID();\n });\n var clientID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]).getClientID();\n });\n var webStoriesAdUnit = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]).getWebStoriesAdUnit();\n });\n var adunits = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]).getAdUnits(accountID, clientID);\n });\n var hasResolvedAdUnits = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]).hasFinishedResolution('getAdUnits', [accountID, clientID]);\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]),\n setWebStoriesAdUnit = _useDispatch.setWebStoriesAdUnit;\n var onChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (index, item) {\n var newWebStoriesAdUnit = item.dataset.value;\n if (webStoriesAdUnit !== newWebStoriesAdUnit) {\n setWebStoriesAdUnit(newWebStoriesAdUnit);\n }\n }, [webStori
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/common/index.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/common/index.js ***!
|
|||
|
|
\*******************************************************/
|
|||
|
|
/*! exports provided: AccountSelect, AdSenseLinkCTA, ErrorNotices, UserProfile, UseSnippetSwitch, WebStoriesAdUnitSelect, AutoAdExclusionSwitches, AdSenseConnectCTA */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AccountSelect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccountSelect */ \"./js/modules/adsense/components/common/AccountSelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AccountSelect\", function() { return _AccountSelect__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _AdSenseLinkCTA__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdSenseLinkCTA */ \"./js/modules/adsense/components/common/AdSenseLinkCTA.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdSenseLinkCTA\", function() { return _AdSenseLinkCTA__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _ErrorNotices__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ErrorNotices */ \"./js/modules/adsense/components/common/ErrorNotices.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ErrorNotices\", function() { return _ErrorNotices__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _UserProfile__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./UserProfile */ \"./js/modules/adsense/components/common/UserProfile.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UserProfile\", function() { return _UserProfile__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./UseSnippetSwitch */ \"./js/modules/adsense/components/common/UseSnippetSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UseSnippetSwitch\", function() { return _UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _WebStoriesAdUnitSelect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./WebStoriesAdUnitSelect */ \"./js/modules/adsense/components/common/WebStoriesAdUnitSelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WebStoriesAdUnitSelect\", function() { return _WebStoriesAdUnitSelect__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _AutoAdExclusionSwitches__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./AutoAdExclusionSwitches */ \"./js/modules/adsense/components/common/AutoAdExclusionSwitches.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AutoAdExclusionSwitches\", function() { return _AutoAdExclusionSwitches__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _AdSenseConnectCTA__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AdSenseConnectCTA */ \"./js/modules/adsense/components/common/AdSenseConnectCTA/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdSenseConnectCTA\", function() { return _AdSenseConnectCTA__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/**\n * AdSense 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//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9jb21tb24vaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9jb21tb24vaW5kZXguanM/NTY1NSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFkU2Vuc2UgY29tbW9uIGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBD
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/dashboard/AdBlockerWarningWidget.js":
|
|||
|
|
/*!***************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/dashboard/AdBlockerWarningWidget.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 _components_notifications_AdBlockerWarning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/notifications/AdBlockerWarning */ \"./js/components/notifications/AdBlockerWarning.js\");\n/* harmony import */ var _util_when_active__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n\n/**\n * AdBlockerWarningWidget 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\nfunction AdBlockerWarningWidget(_ref) {\n var Widget = _ref.Widget,\n WidgetNull = _ref.WidgetNull;\n var isAdBlockerActive = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).isAdBlockerActive();\n });\n if (!isAdBlockerActive) {\n return /*#__PURE__*/React.createElement(WidgetNull, null);\n }\n return /*#__PURE__*/React.createElement(Widget, {\n noPadding: true\n }, /*#__PURE__*/React.createElement(_components_notifications_AdBlockerWarning__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n moduleSlug: \"adsense\"\n }));\n}\nAdBlockerWarningWidget.propTypes = {\n Widget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.elementType.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(_util_when_active__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({\n moduleName: 'adsense'\n})(AdBlockerWarningWidget));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9kYXNoYm9hcmQvQWRCbG9ja2VyV2FybmluZ1dpZGdldC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYWRzZW5zZS9jb21wb25lbnRzL2Rhc2hib2FyZC9BZEJsb2NrZXJXYXJuaW5nV2lkZ2V0LmpzP2JiZDMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBZEJsb2NrZXJXYXJuaW5nV2lkZ2V0IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQga
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/dashboard/AdBlockingRecoverySetupCTAWidget.js":
|
|||
|
|
/*!*************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/dashboard/AdBlockingRecoverySetupCTAWidget.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 _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 _svg_graphics_adsense_ad_blocking_recovery_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../svg/graphics/adsense-ad-blocking-recovery.svg */ \"./svg/graphics/adsense-ad-blocking-recovery.svg\");\n/* harmony import */ var _components_AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../components/AdminMenuTooltip */ \"./js/components/AdminMenuTooltip/index.js\");\n/* harmony import */ var _components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _components_notifications_BannerNotification_Banner__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../components/notifications/BannerNotification/Banner */ \"./js/components/notifications/BannerNotification/Banner.js\");\n/* harmony import */ var _components_notifications_BannerNotification_BannerActions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../components/notifications/BannerNotification/BannerActions */ \"./js/components/notifications/BannerNotification/BannerActions.js\");\n/* harmony import */ var _components_notifications_BannerNotification_BannerTitle__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../components/notifications/BannerNotification/BannerTitle */ \"./js/components/notifications/BannerNotification/BannerTitle.js\");\n/* harmony import */ var _googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/user/constan
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/dashboard/AdBlockingRecoverySetupSuccessNotification.js":
|
|||
|
|
/*!***********************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/dashboard/AdBlockingRecoverySetupSuccessNotification.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 AdBlockingRecoverySetupSuccessNotification; });\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_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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _googlesitekit_notifications_components_layout_SubtleNotification__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../googlesitekit/notifications/components/layout/SubtleNotification */ \"./js/googlesitekit/notifications/components/layout/SubtleNotification.js\");\n/* harmony import */ var _googlesitekit_notifications_components_common_Dismiss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../googlesitekit/notifications/components/common/Dismiss */ \"./js/googlesitekit/notifications/components/common/Dismiss.js\");\n/* harmony import */ var _components_Link__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _hooks_useQueryArg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../hooks/useQueryArg */ \"./js/hooks/useQueryArg.js\");\n\n\n/**\n * AdBlockingRecoverySetupSuccessNotification 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\nfunction AdBlockingRecoverySetupSuccessNotification(_ref) {\n var id = _ref.id,\n Notification = _ref.Notification;\n var _useDispatch =
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/dashboard/AdSenseConnectCTAWidget.js":
|
|||
|
|
/*!****************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/dashboard/AdSenseConnectCTAWidget.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 _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 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 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 _common_AdSenseConnectCTA__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../common/AdSenseConnectCTA */ \"./js/modules/adsense/components/common/AdSenseConnectCTA/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants */ \"./js/modules/adsense/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _components_AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../components/AdminMenuTooltip */ \"./js/components/AdminMenuTooltip/index.js\");\n\n\n\n/**\n * AdSenseConnectCTAWidget 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/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction AdSenseConnectCTAWidget(_ref) {\n var Widget = _ref.Widget,\n WidgetNull = _ref.WidgetNull;\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_googlesitekit_datastore_user_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/dashboard/DashboardTopEarningPagesWidgetGA4.js":
|
|||
|
|
/*!**************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/dashboard/DashboardTopEarningPagesWidgetGA4.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 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 react_use__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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 _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants */ \"./js/modules/adsense/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _analytics_4_utils_report_date_range_args__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../analytics-4/utils/report-date-range-args */ \"./js/modules/analytics-4/utils/report-date-range-args.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _util_when_active__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../../util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _components_SourceLink__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../../components/SourceLink */ \"./js/components/SourceLink.js\");\n/* harmony import */ var _components_Link__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _components_PreviewTable__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../../components/PreviewTable */ \"./
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/dashboard/index.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/dashboard/index.js ***!
|
|||
|
|
\**********************************************************/
|
|||
|
|
/*! exports provided: AdBlockerWarningWidget, AdBlockingRecoverySetupCTAWidget, AdBlockingRecoverySetupSuccessNotification, AdSenseConnectCTAWidget, DashboardTopEarningPagesWidgetGA4 */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AdBlockerWarningWidget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AdBlockerWarningWidget */ \"./js/modules/adsense/components/dashboard/AdBlockerWarningWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdBlockerWarningWidget\", function() { return _AdBlockerWarningWidget__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _AdBlockingRecoverySetupCTAWidget__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdBlockingRecoverySetupCTAWidget */ \"./js/modules/adsense/components/dashboard/AdBlockingRecoverySetupCTAWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdBlockingRecoverySetupCTAWidget\", function() { return _AdBlockingRecoverySetupCTAWidget__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _AdBlockingRecoverySetupSuccessNotification__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AdBlockingRecoverySetupSuccessNotification */ \"./js/modules/adsense/components/dashboard/AdBlockingRecoverySetupSuccessNotification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdBlockingRecoverySetupSuccessNotification\", function() { return _AdBlockingRecoverySetupSuccessNotification__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _AdSenseConnectCTAWidget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AdSenseConnectCTAWidget */ \"./js/modules/adsense/components/dashboard/AdSenseConnectCTAWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdSenseConnectCTAWidget\", function() { return _AdSenseConnectCTAWidget__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _DashboardTopEarningPagesWidgetGA4__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./DashboardTopEarningPagesWidgetGA4 */ \"./js/modules/adsense/components/dashboard/DashboardTopEarningPagesWidgetGA4.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DashboardTopEarningPagesWidgetGA4\", function() { return _DashboardTopEarningPagesWidgetGA4__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/**\n * AdSense Dashboard 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//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9kYXNoYm9hcmQvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9kYXNoYm9hcmQvaW5kZXguanM/YjBjOCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFkU2Vuc2UgRGFzaGJvYXJkIGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pb
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/module/ModuleOverviewWidget/Footer.js":
|
|||
|
|
/*!*****************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/module/ModuleOverviewWidget/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 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 _datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _util_report_date_range_args__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/report-date-range-args */ \"./js/modules/adsense/util/report-date-range-args.js\");\n/* harmony import */ var _components_SourceLink__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../components/SourceLink */ \"./js/components/SourceLink.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 _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n\n/**\n * Footer component for ModuleOverviewWidget.\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 Footer() {\n var viewOnlyDashboard = Object(_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n var dateRangeDates = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getDateRangeDates({\n offsetDays: _datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"DATE_RANGE_OFFSET\"]\n });\n });\n var accountSiteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n if (viewOnlyDashboard) {\n return null;\n }\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_ADSENSE\"]).getServiceReportURL(Object(_util_report_date_range_args__WEBPACK_IMPORTED_MODULE_4__[\"generateDateRangeArgs\"])(dateRangeDates));\n });\n return /*#__PURE__*/React.createElement(_components_SourceLink__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n href: accountSiteURL,\n name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"_x\"])('AdSense', 'Service name', 'google-site-kit'),\n external: true\n });\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Footer);\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;c
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/module/ModuleOverviewWidget/Header.js":
|
|||
|
|
/*!*****************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/module/ModuleOverviewWidget/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 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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _googlesitekit_widgets_components_WidgetHeaderTitle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../googlesitekit/widgets/components/WidgetHeaderTitle */ \"./js/googlesitekit/widgets/components/WidgetHeaderTitle.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\n/**\n * Header component for ModuleOverviewWidget.\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\nfunction Header() {\n var currentDayCount = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).getDateRangeNumberOfDays();\n });\n return /*#__PURE__*/React.createElement(_googlesitekit_widgets_components_WidgetHeaderTitle__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: number of days */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"_n\"])('Performance over the last %s day', 'Performance over the last %s days', currentDayCount, 'google-site-kit'), currentDayCount)\n });\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Header);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9tb2R1bGUvTW9kdWxlT3ZlcnZpZXdXaWRnZXQvSGVhZGVyLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHNlbnNlL2NvbXBvbmVudHMvbW9kdWxlL01vZHVsZU92ZXJ2aWV3V2lkZ2V0L0hlYWRlci5qcz9mOThjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSGVhZGVyIGNvbXBvbmVudCBmb3IgTW9kdWxlT3ZlcnZpZXdXaWRnZXQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXI
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/module/ModuleOverviewWidget/Overview.js":
|
|||
|
|
/*!*******************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/module/ModuleOverviewWidget/Overview.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 _material_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _components_DataBlock__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../components/DataBlock */ \"./js/components/DataBlock/index.js\");\n/* harmony import */ var _components_DataBlockGroup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../components/DataBlockGroup */ \"./js/components/DataBlockGroup.js\");\n\n/**\n * ModuleOverviewWidget 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\nfunction Overview(_ref) {\n var _headers$, _headers$2;\n var metrics = _ref.metrics,\n currentRangeData = _ref.currentRangeData,\n previousRangeData = _ref.previousRangeData,\n selectedStats = _ref.selectedStats,\n handleStatsSelection = _ref.handleStatsSelection;\n var totals = currentRangeData.totals,\n headers = currentRangeData.headers;\n var previousTotals = previousRangeData.totals;\n var cellProps = {\n smSize: 2,\n mdSize: 2,\n lgSize: 3\n };\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_2__[\"Grid\"], null, /*#__PURE__*/React.createElement(_components_DataBlockGroup__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n className: \"mdc-layout-grid__inner\"\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_2__[\"Cell\"], cellProps, /*#__PURE__*/React.createElement(_components_DataBlock__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n stat: 0,\n className: \"googlesitekit-data-block--page-rpm googlesitekit-data-block--button-1\",\n title: metrics[headers[0].name],\n datapoint: (totals === null || totals === void 0 ? void 0 : totals.cells[0].value) || 0,\n datapointUnit: (_headers$ = headers[0]) === null || _headers$ === void 0 ? void 0 : _headers$.currencyCode,\n change: Object(_util__WEBPACK_IMPORTED_MODULE_3__[\"calculateChange\"])((previousTotals === null || previousTotals === void 0 ? void 0 : previousTotals.cells[0].value) || 0, (totals === null || totals === void 0 ? void 0 : totals.cells[0].value) || 0),\n changeDataUnit: \"%\",\n context: \"button\",\n selected: selectedStats === 0,\n handleStatSelection: handleStatsSelection\n })), /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_2__[\"Cell\"], cellProps, /*#__PURE__*/React.createElement(_components_DataBlock__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n stat: 1,\n className: \"googlesitekit-data-block--page-rpm googlesitekit-data-block--button-2\",\n title: metrics[headers[1].name],\n
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/module/ModuleOverviewWidget/Stats.js":
|
|||
|
|
/*!****************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/module/ModuleOverviewWidget/Stats.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 Stats; });\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 _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 _components_GoogleChart_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../components/GoogleChart/utils */ \"./js/components/GoogleChart/utils.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util */ \"./js/modules/adsense/util/index.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _components_GoogleChart__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../components/GoogleChart */ \"./js/components/GoogleChart/index.js\");\n\n\n\n/**\n * ModuleOverviewWidget 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\nfunction Stats(props) {\n var metrics = props.metrics,\n currentRangeData = props.currentRangeData,\n previousRangeData = props.previousRangeData,\n selectedStats = props.selectedStats;\n var dataMap = Object(_util__WEBPACK_IMPORTED_MODULE_5__[\"getSiteStatsDataForGoogleChart\"])(currentRangeData, previousRangeData, Object.values(metrics)[selectedStats], selectedStats + 1,\n // Since we have the dimension in first position, then the metrics, we need the +1 offset.\n currentRangeData.headers[selectedStats + 1]);\n var colors = ['#6380b8', '#4bbbbb', '#3c7251', '#8e68cb'];\n function getFormat() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n type = _ref.type,\n currencyCode = _ref.currencyCode;\n if (type === 'METRIC_CURRENCY') {\n return Object(_components_GoogleChart_utils__WEBPACK_IMPORTED_MODULE_4__[\"getCurrencyPattern\"])(currencyCode);\n }\n var formats = {\n METRIC_TALLY: undefined,\n METRIC_RATIO: 'percent',\n METRIC_DECIMAL: 'decimal',\n METRIC_MILLISECONDS: undefin
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/module/ModuleOverviewWidget/StatusMigration.js":
|
|||
|
|
/*!**************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/module/ModuleOverviewWidget/StatusMigration.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 StatusMigration; });\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_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 _components_SettingsNotice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../components/SettingsNotice */ \"./js/components/SettingsNotice/index.js\");\n/* harmony import */ var _googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _material_components_layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../material-components/layout */ \"./js/material-components/layout/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util_status__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../util/status */ \"./js/modules/adsense/util/status.js\");\n\n\n\n/**\n * ModuleOverviewWidget - StatusMigration 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\nfunction StatusMigration() {\n var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(f
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/module/ModuleOverviewWidget/index.js":
|
|||
|
|
/*!****************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/module/ModuleOverviewWidget/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 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 _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../util */ \"./js/modules/adsense/util/index.js\");\n/* harmony import */ var _components_PreviewBlock__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../components/PreviewBlock */ \"./js/components/PreviewBlock.js\");\n/* harmony import */ var _util_when_active__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _Header__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Header */ \"./js/modules/adsense/components/module/ModuleOverviewWidget/Header.js\");\n/* harmony import */ var _Footer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Footer */ \"./js/modules/adsense/components/module/ModuleOverviewWidget/Footer.js\");\n/* harmony import */ var _Overview__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Overview */ \"./js/modules/adsense/components/module/ModuleOverviewWidget/Overview.js\");\n/* harmony import */ var _Stats__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Stats */ \"./js/modules/adsense/components/module/ModuleOverviewWidget/Stats.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _StatusMigration__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./StatusMigration */ \"./js/modules/adsense/components/module/ModuleOverviewWidget/StatusMigration.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n\n\n\nfunction ownKeys(object, enumera
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/module/index.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/module/index.js ***!
|
|||
|
|
\*******************************************************/
|
|||
|
|
/*! exports provided: ModuleOverviewWidget */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ModuleOverviewWidget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModuleOverviewWidget */ \"./js/modules/adsense/components/module/ModuleOverviewWidget/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ModuleOverviewWidget\", function() { return _ModuleOverviewWidget__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/**\n * AdSense Module 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//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9tb2R1bGUvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9tb2R1bGUvaW5kZXguanM/YjQ2MSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFkU2Vuc2UgTW9kdWxlIGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgeyBkZWZhdWx0IGFzIE1vZHVsZU92ZXJ2aWV3V2lkZ2V0IH0gZnJvbSAnLi9Nb2R1bGVPdmVydmlld1dpZGdldCc7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/adsense/components/module/index.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/settings/AdBlockingRecoverySetupCTANotice.js":
|
|||
|
|
/*!************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/settings/AdBlockingRecoverySetupCTANotice.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 AdBlockingRecoverySetupCTANotice; });\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_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 _components_Badge__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../components/Badge */ \"./js/components/Badge.js\");\n/* harmony import */ var _components_SettingsNotice_SettingsNotice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../components/SettingsNotice/SettingsNotice */ \"./js/components/SettingsNotice/SettingsNotice.js\");\n/* harmony import */ var _components_SupportLink__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../components/SupportLink */ \"./js/components/SupportLink.js\");\n/* harmony import */ var _googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _hooks_useInView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../hooks/useInView */ \"./js/hooks/useInView.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../util */ \"./js/modules/adsense/util/index.js\");\n/* harmony import */ var _components_surveys_S
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/settings/AdBlockingRecoveryToggle.js":
|
|||
|
|
/*!****************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/settings/AdBlockingRecoveryToggle.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 AdBlockingRecoveryToggle; });\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 _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 _components_Link__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _components_SettingsNotice_SettingsNotice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../components/SettingsNotice/SettingsNotice */ \"./js/components/SettingsNotice/SettingsNotice.js\");\n/* harmony import */ var _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../util */ \"./js/modules/adsense/util/index.js\");\n\n/**\n * AdBlockingRecoveryToggle 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 AdBlockingRecoveryToggle() {\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n var adBlockingRecoverySnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select)
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/settings/SettingsEdit.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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 _datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _SettingsForm__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SettingsForm */ \"./js/modules/adsense/components/settings/SettingsForm.js\");\n\n/**\n * AdSense Settings Edit 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 * Internal dependencies\n */\n\n\n\n\nfunction SettingsEdit() {\n var isDoingSubmitChanges = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ADSENSE\"]).isDoingSubmitChanges();\n });\n var viewComponent;\n if (isDoingSubmitChanges) {\n viewComponent = /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"ProgressBar\"], null);\n } else {\n viewComponent = /*#__PURE__*/React.createElement(_SettingsForm__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null);\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-setup-module googlesitekit-setup-module--adsense\"\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9zZXR0aW5ncy9TZXR0aW5nc0VkaXQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9zZXR0aW5ncy9TZXR0aW5nc0VkaXQuanM/YjE1MyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFkU2Vuc2UgU2V0dGluZ3MgRWRpdCBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/settings/SettingsForm.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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 _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 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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util_parsing__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/parsing */ \"./js/modules/adsense/util/parsing.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n/* harmony import */ var _common_WebStoriesAdUnitSelect__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../common/WebStoriesAdUnitSelect */ \"./js/modules/adsense/components/common/WebStoriesAdUnitSelect.js\");\n/* harmony import */ var _components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _AdBlockingRecoverySetupCTANotice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./AdBlockingRecoverySetupCTANotice */ \"./js/modules/adsense/components/settings/AdBlockingRecoverySetupCTANotice.js\");\n/* harmony import */ var _AdBlockingRecoveryToggle__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./AdBlockingRecoveryToggle */ \"./js/modules/adsense/components/settings/AdBlockingRecoveryToggle.js\");\n\n/**\n * AdSense Settings form.\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\n\n\n\n\n\n\nfunction SettingsForm() {\n var webStoriesActive = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).isWebStoriesActive();\n });\n var clientID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/settings/SettingsSetupIncomplete.js":
|
|||
|
|
/*!***************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/settings/SettingsSetupIncomplete.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 SettingsSetupIncomplete; });\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 _components_Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util_status__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util/status */ \"./js/modules/adsense/util/status.js\");\n/* harmony import */ var _components_notifications_ModuleSettingsWarning__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../components/notifications/ModuleSettingsWarning */ \"./js/components/notifications/ModuleSettingsWarning.js\");\n\n/**\n * AdSense Settings Setup Incomplete 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/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction SettingsSetupIncomplete() {\n var accountStatus = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]).getAccountStatus();\n });\n var isPendingStatus = Object(_util_status__WEBPACK_IMPORTED_MODULE_6__[\"isPendingAccountStatus\"])(accountStatus);\n var adminReauthURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]).getAdminReauthURL();\n });\n var requirementsError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n var _select;\n return (_select = select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"])) === null || _select === void 0 ? void 0 : _select.getCheckRequirementsError('adsense');\n });\n var statusText, actionText;\n if (isPendingStatus) {\n /* translators: %s: link with next step */\n statusText = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Site Kit has placed AdSense code on your site: %s', 'google-site-kit');\n actionText = Object(_wordpress_i18n__WEBPACK_IMPORTED_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/settings/SettingsView.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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 _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 _components_DisplaySetting__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/DisplaySetting */ \"./js/components/DisplaySetting.js\");\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 _components_Link__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils */ \"./js/modules/adsense/components/settings/utils.js\");\n/* harmony import */ var _AdBlockingRecoverySetupCTANotice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./AdBlockingRecoverySetupCTANotice */ \"./js/modules/adsense/components/settings/AdBlockingRecoverySetupCTANotice.js\");\n/* harmony import */ var _components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../components/VisuallyHidden */ \"./js/components/VisuallyHidden.js\");\n\n/**\n * AdSense Settings View 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/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\nfunction SettingsView() {\n var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ADSENSE\"]).getAccountID();\n });\n var siteStatusURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ADSENSE\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/settings/index.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/settings/index.js ***!
|
|||
|
|
\*********************************************************/
|
|||
|
|
/*! exports provided: AdBlockingRecoverySetupCTANotice, AdBlockingRecoveryToggle, SettingsEdit, SettingsForm, SettingsSetupIncomplete, SettingsView */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AdBlockingRecoverySetupCTANotice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AdBlockingRecoverySetupCTANotice */ \"./js/modules/adsense/components/settings/AdBlockingRecoverySetupCTANotice.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdBlockingRecoverySetupCTANotice\", function() { return _AdBlockingRecoverySetupCTANotice__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _AdBlockingRecoveryToggle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdBlockingRecoveryToggle */ \"./js/modules/adsense/components/settings/AdBlockingRecoveryToggle.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdBlockingRecoveryToggle\", function() { return _AdBlockingRecoveryToggle__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _SettingsEdit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SettingsEdit */ \"./js/modules/adsense/components/settings/SettingsEdit.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsEdit\", function() { return _SettingsEdit__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _SettingsForm__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SettingsForm */ \"./js/modules/adsense/components/settings/SettingsForm.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsForm\", function() { return _SettingsForm__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _SettingsSetupIncomplete__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SettingsSetupIncomplete */ \"./js/modules/adsense/components/settings/SettingsSetupIncomplete.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsSetupIncomplete\", function() { return _SettingsSetupIncomplete__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _SettingsView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SettingsView */ \"./js/modules/adsense/components/settings/SettingsView.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsView\", function() { return _SettingsView__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/**\n * AdSense Settings 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//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9zZXR0aW5ncy9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYWRzZW5zZS9jb21wb25lbnRzL3NldHRpbmdzL2luZGV4LmpzPzcxZDYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBZFNlbnNlIFNldHRpbmdzIGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciB
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/settings/utils.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/settings/utils.js ***!
|
|||
|
|
\*********************************************************/
|
|||
|
|
/*! exports provided: getAccountStatusLabel, getSiteStatusLabel, getSnippetLabel, getAutoAdsDisabledMessage */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getAccountStatusLabel\", function() { return getAccountStatusLabel; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getSiteStatusLabel\", function() { return getSiteStatusLabel; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getSnippetLabel\", function() { return getSnippetLabel; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getAutoAdsDisabledMessage\", function() { return getAutoAdsDisabledMessage; });\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 _common_AutoAdExclusionSwitches__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common/AutoAdExclusionSwitches */ \"./js/modules/adsense/components/common/AutoAdExclusionSwitches.js\");\n/* harmony import */ var _util_status__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/status */ \"./js/modules/adsense/util/status.js\");\n/**\n * Adsense Settings 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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n/**\n * Returns translatable account status label.\n *\n * @since 1.93.0\n *\n * @param {string} accountStatus The active account status.\n * @return {string} The account status label.\n */\nvar getAccountStatusLabel = function getAccountStatusLabel(accountStatus) {\n var accountStatusLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your site isn’t ready to show ads yet', 'google-site-kit');\n switch (accountStatus) {\n case _util_status__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_STATUS_APPROVED\"]:\n accountStatusLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your account has been approved', 'google-site-kit');\n break;\n case _util_status__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_STATUS_READY\"]:\n accountStatusLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your site is ready for ads', 'google-site-kit');\n break;\n case _util_status__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_STATUS_PENDING\"]:\n case _util_status__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_STATUS_GRAYLISTED\"]:\n accountStatusLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('We’re getting your site ready for ads. This usually takes less than a day, but it can sometimes take a bit longer', 'google-site-kit');\n break;\n case _util_status__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_STATUS_NO_CLIENT\"]:\n case _util_status__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_STATUS_DISAPPROVED\"]:\n case _util_status__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_STATUS_NEEDS_ATTENTION\"]:\n case _util_status__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_STATUS_CLIENT_REQUIRES_REVIEW\"]:\n case _util_status__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_STATUS_CLIENT_GETTING_READY\"]:\n accountStatusLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('You need to fix some issues before your account is approved. Go to AdSense to find out how to fix it', 'google-site-kit');\n break;\n }\n return accountS
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/AdBlockingRecoveryApp/Content.js":
|
|||
|
|
/*!******************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/AdBlockingRecoveryApp/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 _material_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _svg_graphics_ad_blocking_recovery_setup_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../svg/graphics/ad-blocking-recovery-setup.svg */ \"./svg/graphics/ad-blocking-recovery-setup.svg\");\n/* harmony import */ var _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.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 * Internal dependencies\n */\n\n\n\nfunction Content(_ref) {\n var children = _ref.children;\n var breakpoint = Object(_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"useBreakpoint\"])();\n var isDesktopWidthOrLarger = ![_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_TABLET\"], _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"]].includes(breakpoint);\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_2__[\"Grid\"], {\n className: \"googlesitekit-ad-blocking-recovery__content\"\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_2__[\"Row\"], null, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_2__[\"Cell\"], {\n mdSize: 8,\n lgSize: 8\n }, children), isDesktopWidthOrLarger && /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_2__[\"Cell\"], {\n className: \"googlesitekit-ad-blocking-recovery__hero-graphic\",\n lgSize: 4\n }, /*#__PURE__*/React.createElement(_svg_graphics_ad_blocking_recovery_setup_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null))));\n}\nContent.propTypes = {\n children: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9zZXR1cC9BZEJsb2NraW5nUmVjb3ZlcnlBcHAvQ29udGVudC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYWRzZW5zZS9jb21wb25lbnRzL3NldHVwL0FkQmxvY2tpbmdSZWNvdmVyeUFwcC9Db250ZW50LmpzPzc0OWQiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/AdBlockingRecoveryApp/SetupMain.js":
|
|||
|
|
/*!********************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/AdBlockingRecoveryApp/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 _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 _wordpress_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/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 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 _components_Link__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _components_PageHeader__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../../components/PageHeader */ \"./js/components/PageHeader.js\");\n/* harmony import */ var _components_Stepper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../components/Stepper */ \"./js/components/Stepper/index.js\");\n/* harmony import */ var _components_Stepper_Step__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../components/Stepper/Step */ \"./js/components/Stepper/Step.js\");\n/* harmony import */ var _components_layout_Layout__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../../components/layout/Layout */ \"./js/components/lay
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/AdBlockingRecoveryApp/index.js":
|
|||
|
|
/*!****************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/AdBlockingRecoveryApp/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 AdBlockingRecoveryApp; });\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 _components_Header__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../components/Header */ \"./js/components/Header.js\");\n/* harmony import */ var _components_help_HelpMenu__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../components/help/HelpMenu */ \"./js/components/help/HelpMenu.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _SetupMain__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SetupMain */ \"./js/modules/adsense/components/setup/AdBlockingRecoveryApp/SetupMain.js\");\n\n/**\n * AdBlockingRecoveryApp 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\nfunction AdBlockingRecoveryApp() {\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_components_Header__WEBPACK_IMPORTED_MODULE_1__[\"default\"], null, /*#__PURE__*/React.createElement(_components_help_HelpMenu__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-ad-blocking-recovery googlesitekit-module-page\"\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Grid\"], null, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Row\"], null, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Cell\"], {\n size: 12\n }, /*#__PURE__*/React.createElement(_SetupMain__WEBPACK_IMPORTED_MODULE_4__[\"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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9zZXR1cC9BZEJsb2NraW5nUmVjb3ZlcnlBcHAvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9zZXR1cC9BZEJsb2NraW5nUmVjb3ZlcnlBcHAvaW5kZXguanM/OWQyMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFkQmxvY2tpbmdSZWNvdmVyeUFwcCBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGh
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/AdBlockingRecoveryApp/steps/CreateMessageStep.js":
|
|||
|
|
/*!**********************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/AdBlockingRecoveryApp/steps/CreateMessageStep.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 CreateMessageStep; });\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 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_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/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 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 _components_ErrorNotice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../components/ErrorNotice */ \"./js/components/ErrorNotice.js\");\n/* harmony import */ var _components_Link__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../../../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n\n\n\n/
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/AdBlockingRecoveryApp/steps/PlaceTagsStep.js":
|
|||
|
|
/*!******************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/AdBlockingRecoveryApp/steps/PlaceTagsStep.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 PlaceTagsStep; });\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 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_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 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 _components_ErrorNotice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../components/ErrorNotice */ \"./js/components/ErrorNotice.js\");\n/* harmony import */ var _components_Link__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.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 i
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccount.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccount.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 SetupAccount; });\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 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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util_status__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/status */ \"./js/modules/adsense/util/status.js\");\n/* harmony import */ var _SetupAccountSite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SetupAccountSite */ \"./js/modules/adsense/components/setup/SetupAccountSite/index.js\");\n/* harmony import */ var _SetupAccountNoClient__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SetupAccountNoClient */ \"./js/modules/adsense/components/setup/SetupAccountNoClient.js\");\n/* harmony import */ var _SetupAccountCreateSite__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SetupAccountCreateSite */ \"./js/modules/adsense/components/setup/SetupAccountCreateSite.js\");\n/* harmony import */ var _SetupAccountPendingTasks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./SetupAccountPendingTasks */ \"./js/modules/adsense/components/setup/SetupAccountPendingTasks.js\");\n\n/**\n * AdSense SetupAccount 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\n\n\n\nfunction SetupAccount(_ref) {\n var account = _ref.account,\n finishSetup = _ref.finishSetup;\n var accountID = account._id,\n accountState = account.state;\n var clientID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]).getClientID();\n });\n var site = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]).getCurrentSite(accountID);\n });\n var afcClient = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccountCreateSite.js":
|
|||
|
|
/*!***********************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccountCreateSite.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 SetupAccountCreateSite; });\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 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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * SetupAccountCreateSite 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\n\n\nfunction SetupAccountCreateSite() {\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n var addSiteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]).getServiceAccountManageSiteURL();\n });\n var addSiteHandler = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (event) {\n event.preventDefault();\n Object(_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_adsense\"), 'create_site');\n global.open(addSiteURL, '_blank');\n }, [addSiteURL, viewContext]);\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"h3\", {\n className: \"googlesitekit-heading-4 googlesitekit-setup-module__title\"\n }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Add this site to your AdSense account', 'google-site-kit')), /*#__PURE__*/React.createElement(_common__WEBPACK_IMPORTED_MODULE_5__[\"ErrorNotices\"], null), /*#__PURE__*/React.createElement(\"p\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('We’ve dete
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccountNoClient.js":
|
|||
|
|
/*!*********************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccountNoClient.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 SetupAccountNoClient; });\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 _components_SupportLink__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/SupportLink */ \"./js/components/SupportLink.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * SetupAccountNoClient 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/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction SetupAccountNoClient() {\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n var onButtonClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n Object(_util__WEBPACK_IMPORTED_MODULE_5__[\"trackEvent\"])(\"\".concat(viewContext, \"_adsense\"), 'apply_afc');\n }, [viewContext]);\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"h3\", {\n className: \"googlesitekit-heading-4 googlesitekit-setup-module__title\"\n }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Looks like you need to upgrade your AdSense account', 'google-site-kit')), /*#__PURE__*/React.createElement(_common__WEBPACK_IMPORTED_MODULE_4__[\"ErrorNotices\"], null), /*#__PURE__*/React.createElement(\"p\", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('To start using AdSense on your website, you need to upgrade your account to add “AdSense for content”. <a>Learn more</a>', 'google-site-kit'), {\n a: /*#__PURE__*/React.createElement(_components_SupportLink__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n path: \"/adsense/answer/6023158\",\n external: true,\n \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Learn more about updating your AdSense account', 'google-site-kit')\n })\n })), /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-setup-mo
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccountPendingTasks.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccountPendingTasks.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 SetupAccountPendingTasks; });\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 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 _SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SetupUseSnippetSwitch */ \"./js/modules/adsense/components/setup/SetupUseSnippetSwitch.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * SetupAccountPendingTasks 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\n\n\n\nfunction SetupAccountPendingTasks() {\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"])();\n var onButtonClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n Object(_util__WEBPACK_IMPORTED_MODULE_7__[\"trackEvent\"])(\"\".concat(viewContext, \"_adsense\"), 'review_tasks');\n }, [viewContext]);\n var serviceAccountURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]).getServiceAccountURL();\n });\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"h3\", {\n className: \"googlesitekit-heading-4 googlesitekit-setup-module__title\"\n }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Your account isn’t ready to show ads yet', 'google-site-kit')), /*#__PURE__*/React.createElement(_common__WEBPACK_IMPORTED_MODULE_6__[\"ErrorNotices\"], null), /*#_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccountSite/GettingReady.js":
|
|||
|
|
/*!******************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccountSite/GettingReady.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 GettingReady; });\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 _components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../components/Root/ViewContextContext */ \"./js/components/Root/ViewContextContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _SetupAccountSiteUI__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SetupAccountSiteUI */ \"./js/modules/adsense/components/setup/SetupAccountSite/SetupAccountSiteUI.js\");\n\n/**\n * AdSense Setup Account Site Getting Ready 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\n\nfunction GettingReady() {\n var viewContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useContext\"])(_components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n var reviewSiteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]).getServiceAccountManageSitesURL();\n });\n var reviewSiteHandler = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (event) {\n event.preventDefault();\n Object(_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_adsense\"), 'review_site_state', 'getting_ready');\n global.open(reviewSiteURL, '_blank');\n }, [reviewSiteURL, viewContext]);\n var heading = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Your site is getting ready', 'google-site-kit');\n var description = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('This usually takes a few days, but in some cases can take a few weeks. You’ll get an email from AdSense as soon as they have run some checks on your site.', 'google-site-kit');\n var primaryButton = {\n label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Review site in AdSense', 'google-site-kit'),\n href: reviewSiteURL,\n onClick: reviewSiteHandler\n };\n return /*#__PURE__*/React.createElement(_SetupAccountSiteUI__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n h
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccountSite/NeedsAttention.js":
|
|||
|
|
/*!********************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccountSite/NeedsAttention.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 NeedsAttention; });\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 _components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../components/Root/ViewContextContext */ \"./js/components/Root/ViewContextContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _SetupAccountSiteUI__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SetupAccountSiteUI */ \"./js/modules/adsense/components/setup/SetupAccountSite/SetupAccountSiteUI.js\");\n\n/**\n * AdSense Setup Account Site Needs Attention 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\n\nfunction NeedsAttention() {\n var viewContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useContext\"])(_components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n var reviewSiteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]).getServiceAccountManageSitesURL();\n });\n var reviewSiteHandler = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (event) {\n event.preventDefault();\n Object(_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_adsense\"), 'review_site_state', 'needs_attention');\n global.open(reviewSiteURL, '_blank');\n }, [reviewSiteURL, viewContext]);\n var heading = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Your site isn’t ready to show ads yet', 'google-site-kit');\n var description = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('You need to fix some things with this site before we can connect Site Kit to your AdSense account', 'google-site-kit');\n var primaryButton = {\n label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Review site in AdSense', 'google-site-kit'),\n href: reviewSiteURL,\n onClick: reviewSiteHandler\n };\n return /*#__PURE__*/React.createElement(_SetupAccountSiteUI__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n heading: heading,\n description: des
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccountSite/Ready.js":
|
|||
|
|
/*!***********************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccountSite/Ready.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 Ready; });\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 _components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../components/Root/ViewContextContext */ \"./js/components/Root/ViewContextContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _SetupAccountSiteUI__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./SetupAccountSiteUI */ \"./js/modules/adsense/components/setup/SetupAccountSite/SetupAccountSiteUI.js\");\n\n\n\n\n/**\n * AdSense Setup Account Site Ready 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\n\n\nfunction Ready(_ref) {\n var site = _ref.site,\n finishSetup
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccountSite/RequiresReview.js":
|
|||
|
|
/*!********************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccountSite/RequiresReview.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 RequiresReview; });\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 _components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../components/Root/ViewContextContext */ \"./js/components/Root/ViewContextContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _SetupAccountSiteUI__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SetupAccountSiteUI */ \"./js/modules/adsense/components/setup/SetupAccountSite/SetupAccountSiteUI.js\");\n\n/**\n * AdSense Setup Account Site Requires Review 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\n\nfunction RequiresReview() {\n var viewContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useContext\"])(_components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n var reviewSiteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ADSENSE\"]).getServiceAccountManageSitesURL();\n });\n var reviewSiteHandler = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (event) {\n event.preventDefault();\n Object(_util__WEBPACK_IMPORTED_MODULE_4__[\"trackEvent\"])(\"\".concat(viewContext, \"_adsense\"), 'review_site_state', 'requires_review');\n global.open(reviewSiteURL, '_blank');\n }, [reviewSiteURL, viewContext]);\n var heading = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Your site requires review', 'google-site-kit');\n var description = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('To start serving ads, your site needs to be approved first. Go to AdSense to request the review.', 'google-site-kit');\n var primaryButton = {\n label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Request review in AdSense', 'google-site-kit'),\n href: reviewSiteURL,\n onClick: reviewSiteHandler\n };\n return /*#__PURE__*/React.createElement(_SetupAccountSiteUI__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n heading: heading,\n description: description,\n
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccountSite/SetupAccountSiteUI.js":
|
|||
|
|
/*!************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccountSite/SetupAccountSiteUI.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 SetupAccountSiteUI; });\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 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_datastore_location_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../common */ \"./js/modules/adsense/components/common/index.js\");\n/* harmony import */ var _SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../SetupUseSnippetSwitch */ \"./js/modules/adsense/components/setup/SetupUseSnippetSwitch.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n\n/**\n * AdSense Setup Account Site UI 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\n\nfunction SetupAccountSiteUI(_ref) {\n var heading = _ref.heading,\n description = _ref.description,\n primaryButton = _ref.primaryButton,\n secondaryButton = _ref.secondaryButton;\n var isSaving = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ADSENSE\"]).isDoingSubmitChanges() || select(_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_LOCATION\"]).isNavigating();\n });\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"h3\", {\n className: \"googlesitekit-heading-4 googlesitekit-setup-module__title\"\n }, heading), /*#__PURE__*/React.createElement(_common__WEBPACK_IMPORTED_MODULE_5__[\"ErrorNotices\"], null), /*#__PURE__*/React.createElement(\"p\", null, description), /*#__PURE__*/React.createElement(_SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_6__[\"default\"], null), /*#__PURE__*/React.createElement(\"div\", {\n className: \"goo
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupAccountSite/index.js":
|
|||
|
|
/*!***********************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupAccountSite/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 SetupAccountSite; });\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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util_status__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/status */ \"./js/modules/adsense/util/status.js\");\n/* harmony import */ var _NeedsAttention__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./NeedsAttention */ \"./js/modules/adsense/components/setup/SetupAccountSite/NeedsAttention.js\");\n/* harmony import */ var _GettingReady__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./GettingReady */ \"./js/modules/adsense/components/setup/SetupAccountSite/GettingReady.js\");\n/* harmony import */ var _RequiresReview__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./RequiresReview */ \"./js/modules/adsense/components/setup/SetupAccountSite/RequiresReview.js\");\n/* harmony import */ var _Ready__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Ready */ \"./js/modules/adsense/components/setup/SetupAccountSite/Ready.js\");\n/* harmony import */ var _components_ErrorText__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../../components/ErrorText */ \"./js/components/ErrorText.js\");\n\n/**\n * SetupAccountSite 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\n\nfunction SetupAccountSite(_ref) {\n var site = _ref.site,\n finishSetup = _ref.finishSetup;\n var autoAdsEnabled = site.autoAdsEnabled,\n state = site.state;\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ADSENSE\"]),\n setSiteStatus = _useDispatch.setSiteStatus;\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n var siteStatus;\n switch (state) {\n case _datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"API_STATE_NEEDS_ATTENTION\"]:\n siteStatus = _util_status__WEBPACK_IMPORTED_MODULE_5__[\"SITE_STAT
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupCreateAccount.js":
|
|||
|
|
/*!*******************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupCreateAccount.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 SetupCreateAccount; });\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 _components_SupportLink__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../components/SupportLink */ \"./js/components/SupportLink.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _util_parsing__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../util/parsing */ \"./js/modules/adsense/util/parsing.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n\n\n/**\n * AdSense SetupCreateAccount 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 Lice
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupMain.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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 react_use__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/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 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 _svg_graphics_adsense_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../svg/graphics/adsense.svg */ \"./svg/graphics/adsense.svg\");\n/* harmony import */ var _SetupAccount__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./SetupAccount */ \"./js/modules/adsense/components/setup/SetupAccount.js\");\n/* harmony import */ var _SetupCreateAccount__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./SetupCreateAccount */ \"./js/modules/adsense/components/setup/SetupCreateAccount.js\");\n/* harmony import */ var _SetupSelectAccount__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./SetupSelectAccount */ \"./js/modules/adsense/components/setup/SetupSelectAccount.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n/
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupSelectAccount.js":
|
|||
|
|
/*!*******************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/SetupSelectAccount.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 SetupSelectAccount; });\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 _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n\n/**\n * AdSense SetupSelectAccount 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\nfunction SetupSelectAccount() {\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"h3\", {\n className: \"googlesitekit-heading-4 googlesitekit-setup-module__title\"\n }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Select your AdSense account', 'google-site-kit')), /*#__PURE__*/React.createElement(_common__WEBPACK_IMPORTED_MODULE_2__[\"ErrorNotices\"], null), /*#__PURE__*/React.createElement(\"p\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Looks like you have multiple AdSense accounts associated with your Google account. Select the account to use with Site Kit below.', 'google-site-kit')), /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-setup-module__inputs\"\n }, /*#__PURE__*/React.createElement(_common__WEBPACK_IMPORTED_MODULE_2__[\"AccountSelect\"], 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9zZXR1cC9TZXR1cFNlbGVjdEFjY291bnQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy9zZXR1cC9TZXR1cFNlbGVjdEFjY291bnQuanM/NDlkOSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFkU2Vuc2UgU2V0dXBTZWxlY3RBY2NvdW50IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIyIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogV29yZFByZXNzIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBGcmFnbWVudCB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlb
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/SetupUseSnippetSwitch.js":
|
|||
|
|
/*!**********************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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 _datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util_parsing__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/parsing */ \"./js/modules/adsense/util/parsing.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n\n/**\n * AdSense Setup UseSnippet 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 originalUseSnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ADSENSE\"]).getOriginalUseSnippet();\n });\n var existingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ADSENSE\"]).getExistingTag();\n });\n var clientID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ADSENSE\"]).getClientID();\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_ADSENSE\"]),\n setUseSnippet = _useDispatch.setUseSnippet,\n saveSettings = _useDispatch.saveSettings;\n var hasExistingTag = Boolean(existingTag);\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n if (hasExistingTag) {\n setUseSnippet(false);\n saveSettings();\n }\n }, [hasExistingTag, saveSettings, setUseSnippet]);\n if (originalUseSnippet && !existingTag || undefined === existingTag || undefined === originalUseSnippet) {\n return null;\n }\n var checkedMessage, uncheckedMessage;\n var checkedMessageExtra = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Make sure to remove the existing AdSense code to avoid conflicts with the code placed by Site Kit', 'google-site-kit');\n if (existingTag === clientID) {\n // Existing tag with permission.\n uncheckedMessage = Object(_wordpress_i18n__WEBPACK_IMPORTED_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/setup/index.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/setup/index.js ***!
|
|||
|
|
\******************************************************/
|
|||
|
|
/*! exports provided: AdBlockingRecoveryApp, SetupUseSnippetSwitch, SetupMain, SetupAccount, SetupCreateAccount, SetupSelectAccount, SetupAccountNoClient, SetupAccountCreateSite, SetupAccountPendingTasks, SetupAccountSite */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AdBlockingRecoveryApp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AdBlockingRecoveryApp */ \"./js/modules/adsense/components/setup/AdBlockingRecoveryApp/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AdBlockingRecoveryApp\", function() { return _AdBlockingRecoveryApp__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SetupUseSnippetSwitch */ \"./js/modules/adsense/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 _SetupMain__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SetupMain */ \"./js/modules/adsense/components/setup/SetupMain.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupMain\", function() { return _SetupMain__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _SetupAccount__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SetupAccount */ \"./js/modules/adsense/components/setup/SetupAccount.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupAccount\", function() { return _SetupAccount__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _SetupCreateAccount__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SetupCreateAccount */ \"./js/modules/adsense/components/setup/SetupCreateAccount.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupCreateAccount\", function() { return _SetupCreateAccount__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _SetupSelectAccount__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SetupSelectAccount */ \"./js/modules/adsense/components/setup/SetupSelectAccount.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupSelectAccount\", function() { return _SetupSelectAccount__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _SetupAccountNoClient__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SetupAccountNoClient */ \"./js/modules/adsense/components/setup/SetupAccountNoClient.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupAccountNoClient\", function() { return _SetupAccountNoClient__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _SetupAccountCreateSite__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SetupAccountCreateSite */ \"./js/modules/adsense/components/setup/SetupAccountCreateSite.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupAccountCreateSite\", function() { return _SetupAccountCreateSite__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _SetupAccountPendingTasks__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SetupAccountPendingTasks */ \"./js/modules/adsense/components/setup/SetupAccountPendingTasks.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupAccountPendingTasks\", function() { return _SetupAccountPendingTasks__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n/* harmony import */ var _SetupAccountSite__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./SetupAccountSite */ \"./js/modules/adsense/components/setup/SetupAccountSite/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupAccountSite\", function() { return _SetupAccountSite__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; });\n\n/**\n * AdSense 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 obta
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/widgets/ConnectAdSenseCTATileWidget.js":
|
|||
|
|
/*!******************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/widgets/ConnectAdSenseCTATileWidget.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 ConnectAdSenseCTATileWidget; });\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 _components_KeyMetrics_ConnectModuleCTATile__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../components/KeyMetrics/ConnectModuleCTATile */ \"./js/components/KeyMetrics/ConnectModuleCTATile.js\");\n/* harmony import */ var _googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../googlesitekit/widgets/hooks/useWidgetStateEffect */ \"./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\");\n\n/**\n * ConnectAdSenseCTATileWidget 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// Ensure the metadata instance is static when rerendering.\nvar metadata = {\n moduleSlug: 'adsense'\n};\nfunction ConnectAdSenseCTATileWidget(_ref) {\n var Widget = _ref.Widget,\n widgetSlug = _ref.widgetSlug;\n Object(_googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(widgetSlug, _components_KeyMetrics_ConnectModuleCTATile__WEBPACK_IMPORTED_MODULE_2__[\"default\"], 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(_components_KeyMetrics_ConnectModuleCTATile__WEBPACK_IMPORTED_MODULE_2__[\"default\"], metadata));\n}\nConnectAdSenseCTATileWidget.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy93aWRnZXRzL0Nvbm5lY3RBZFNlbnNlQ1RBVGlsZVdpZGdldC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYWRzZW5zZS9jb21wb25lbnRzL3dpZGdldHMvQ29ubmVjdEFkU2Vuc2VDVEFUaWxlV2lkZ2V0LmpzP2NlNmIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDb25uZWN0QWRTZW5zZUNUQVRpbGVXaWRnZXQgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiA
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/widgets/TopEarningContentWidget.js":
|
|||
|
|
/*!**************************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/widgets/TopEarningContentWidget.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 _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _components_KeyMetrics__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../components/KeyMetrics */ \"./js/components/KeyMetrics/index.js\");\n/* harmony import */ var _components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _analytics_4_components_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../analytics-4/components/common */ \"./js/modules/analytics-4/components/common/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _util_when_active__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _analytics_4_components_widgets_ConnectGA4CTATileWidget__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../analytics-4/components/widgets/ConnectGA4CTATileWidget */ \"./js/modules/analytics-4/components/widgets/ConnectGA4CTATileWidget.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../common */ \"./js/modules/adsense/components/common/index.js\");\n/* harmony import */ var _analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _ConnectAdSenseCTATileWidget__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./ConnectAdSenseCTATileWidget */ \"./js/modules/adsense/components/widgets/ConnectAdSenseCTATileWidget.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).e
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/components/widgets/index.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/components/widgets/index.js ***!
|
|||
|
|
\********************************************************/
|
|||
|
|
/*! exports provided: ConnectAdSenseCTATileWidget, TopEarningContentWidget */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ConnectAdSenseCTATileWidget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConnectAdSenseCTATileWidget */ \"./js/modules/adsense/components/widgets/ConnectAdSenseCTATileWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ConnectAdSenseCTATileWidget\", function() { return _ConnectAdSenseCTATileWidget__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _TopEarningContentWidget__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TopEarningContentWidget */ \"./js/modules/adsense/components/widgets/TopEarningContentWidget.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TopEarningContentWidget\", function() { return _TopEarningContentWidget__WEBPACK_IMPORTED_MODULE_1__[\"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//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29tcG9uZW50cy93aWRnZXRzL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHNlbnNlL2NvbXBvbmVudHMvd2lkZ2V0cy9pbmRleC5qcz85YmVjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR0E0IEtleSBNZXRyaWNzIHdpZGdldCBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IHsgZGVmYXVsdCBhcyBDb25uZWN0QWRTZW5zZUNUQVRpbGVXaWRnZXQgfSBmcm9tICcuL0Nvbm5lY3RBZFNlbnNlQ1RBVGlsZVdpZGdldCc7XG5leHBvcnQgeyBkZWZhdWx0IGFzIFRvcEVhcm5pbmdDb250ZW50V2lkZ2V0IH0gZnJvbSAnLi9Ub3BFYXJuaW5nQ29udGVudFdpZGdldCc7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/adsense/components/widgets/index.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/constants.js":
|
|||
|
|
/*!*****************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/constants.js ***!
|
|||
|
|
\*****************************************/
|
|||
|
|
/*! exports provided: ADSENSE_CTA_WIDGET_DISMISSED_ITEM_KEY, ADSENSE_CTA_WIDGET_TOOLTIP_STATE_KEY, ADSENSE_GA4_TOP_EARNING_PAGES_NOTICE_DISMISSED_ITEM_KEY */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ADSENSE_CTA_WIDGET_DISMISSED_ITEM_KEY\", function() { return ADSENSE_CTA_WIDGET_DISMISSED_ITEM_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ADSENSE_CTA_WIDGET_TOOLTIP_STATE_KEY\", function() { return ADSENSE_CTA_WIDGET_TOOLTIP_STATE_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ADSENSE_GA4_TOP_EARNING_PAGES_NOTICE_DISMISSED_ITEM_KEY\", function() { return ADSENSE_GA4_TOP_EARNING_PAGES_NOTICE_DISMISSED_ITEM_KEY; });\n/**\n * AdSense module 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 ADSENSE_CTA_WIDGET_DISMISSED_ITEM_KEY = 'adsense-connect-cta';\nvar ADSENSE_CTA_WIDGET_TOOLTIP_STATE_KEY = 'adsense-connect-cta-tooltip-state';\nvar ADSENSE_GA4_TOP_EARNING_PAGES_NOTICE_DISMISSED_ITEM_KEY = 'adsense-ga4-top-earnings-notice';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvY29uc3RhbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHNlbnNlL2NvbnN0YW50cy5qcz8zMjhjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQWRTZW5zZSBtb2R1bGUgY29uc3RhbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IGNvbnN0IEFEU0VOU0VfQ1RBX1dJREdFVF9ESVNNSVNTRURfSVRFTV9LRVkgPSAnYWRzZW5zZS1jb25uZWN0LWN0YSc7XG5leHBvcnQgY29uc3QgQURTRU5TRV9DVEFfV0lER0VUX1RPT0xUSVBfU1RBVEVfS0VZID1cblx0J2Fkc2Vuc2UtY29ubmVjdC1jdGEtdG9vbHRpcC1zdGF0ZSc7XG5leHBvcnQgY29uc3QgQURTRU5TRV9HQTRfVE9QX0VBUk5JTkdfUEFHRVNfTk9USUNFX0RJU01JU1NFRF9JVEVNX0tFWSA9XG5cdCdhZHNlbnNlLWdhNC10b3AtZWFybmluZ3Mtbm90aWNlJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/adsense/constants.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/accounts.js":
|
|||
|
|
/*!**************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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 _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 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/adsense/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/ad-blocking-recovery.js":
|
|||
|
|
/*!**************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/datastore/ad-blocking-recovery.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_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_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/adsense/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util */ \"./js/modules/adsense/util/index.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _util_tag__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../util/tag */ \"./js/util/tag.js\");\n/* harmony import */ var _util_ad_blocking_recovery_tag_matcher__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/ad-blocking-recovery-tag-matcher */ \"./js/modules/adsense/util/ad-blocking-recovery-tag-matcher.js\");\n/* harmony import */ var _googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _googlesitekit_data_create_reducer__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../googlesitekit/data/create-reducer */ \"./js/googlesitekit/data/create-reducer.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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/adblocker.js":
|
|||
|
|
/*!***************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/datastore/adblocker.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 _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 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_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/**\n * `modules/adsense` data store: adblocker.\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\nvar selectors = {\n /**\n * Returns appropriate ad blocker warning message based on modules connection status.\n *\n * @since 1.43.0\n *\n * @param {Object} state Data store's state.\n * @return {(string|null|undefined)} The error message string if an ad blocker is active,\n * `null` if an ad blocker isn't detected,\n * `undefined` if ad blocker detection has not completed yet.\n */\n getAdBlockerWarningMessage: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"createRegistrySelector\"])(function (select) {\n return function () {\n var isAdBlockerActive = select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).isAdBlockerActive();\n if (undefined === isAdBlockerActive) {\n return undefined;\n }\n if (!isAdBlockerActive) {\n return null;\n }\n var isModuleConnected = select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_MODULES\"]).isModuleConnected('adsense');\n if (isModuleConnected) {\n return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('To get the latest AdSense data you will need to disable your Ad blocker', 'google-site-kit');\n }\n return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('To set up AdSense you will need to disable your Ad blocker', 'google-site-kit');\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvZGF0YXN0b3JlL2FkYmxvY2tlci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYWRzZW5zZS9kYXRhc3RvcmUvYWRibG9ja2VyLmpzP2I4ZjMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgbW9kdWxlcy9hZHNlbnNlYCBkYXRhIHN0b3JlOiBhZGJsb2NrZXIuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/adunits.js":
|
|||
|
|
/*!*************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/datastore/adunits.js ***!
|
|||
|
|
\*************************************************/
|
|||
|
|
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * `modules/adsense` data store: Ad Units.\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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/base.js":
|
|||
|
|
/*!**********************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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/adsense/datastore/constants.js\");\n/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./settings */ \"./js/modules/adsense/datastore/settings.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/**\n * `modules/adsense` 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\nvar baseModuleStore = googlesitekit_modules__WEBPACK_IMPORTED_MODULE_0___default.a.createModuleStore('adsense', {\n ownedSettingsSlugs: ['accountID', 'clientID'],\n storeName: _constants__WEBPACK_IMPORTED_MODULE_1__[\"MODULES_ADSENSE\"],\n settingSlugs: ['accountID', 'clientID', 'useSnippet', 'accountStatus', 'siteStatus', 'accountSetupComplete', 'siteSetupComplete', 'ownerID', 'webStoriesAdUnit', 'autoAdsDisabled', 'setupCompletedTimestamp', 'useAdBlockingRecoverySnippet', 'useAdBlockingRecoveryErrorSnippet', 'adBlockingRecoverySetupStatus'],\n validateCanSubmitChanges: _settings__WEBPACK_IMPORTED_MODULE_2__[\"validateCanSubmitChanges\"],\n validateIsSetupBlocked: function validateIsSetupBlocked(select) {\n if (select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).isAdBlockerActive()) {\n throw new Error('Ad blocker detected');\n }\n }\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (baseModuleStore);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvZGF0YXN0b3JlL2Jhc2UuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvZGF0YXN0b3JlL2Jhc2UuanM/MWMxMyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGBtb2R1bGVzL2Fkc2Vuc2VgIGJhc2UgZGF0YSBzdG9yZVxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IE1vZHVsZXMgZnJvbSAnZ29vZ2xlc2l0ZWtpdC1tb2R1bGVzJztcbmltcG9ydCB7IE1PRFVMRVNfQURTRU5TRSB9IGZyb20gJy4vY29uc3RhbnRzJztcbmltcG9ydCB7IHZhbGlkYXRlQ2FuU3VibWl0Q2hhbmdlcyB9IGZyb20gJy4vc2V0dGluZ3MnO1xuaW1wb3J0IHsgQ09SRV
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/clients.js":
|
|||
|
|
/*!*************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/datastore/clients.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 _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 _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util */ \"./js/modules/adsense/util/index.js\");\n/* harmony import */ var _googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../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(t
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/constants.js":
|
|||
|
|
/*!***************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/datastore/constants.js ***!
|
|||
|
|
\***************************************************/
|
|||
|
|
/*! exports provided: MODULES_ADSENSE, DATE_RANGE_OFFSET, API_STATE_READY, API_STATE_NEEDS_ATTENTION, API_STATE_REQUIRES_REVIEW, API_STATE_GETTING_READY, BACKGROUND_SUBMIT_SUSPENDED, AD_BLOCKING_FORM_SETTINGS, AD_BLOCKING_RECOVERY_SETUP_CREATE_MESSAGE_CTA_CLICKED, AD_BLOCKING_RECOVERY_MAIN_NOTIFICATION_KEY, ENUM_AD_BLOCKING_RECOVERY_SETUP_STATUS, ENUM_AD_BLOCKING_RECOVERY_SETUP_STEP */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULES_ADSENSE\", function() { return MODULES_ADSENSE; });\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__, \"API_STATE_READY\", function() { return API_STATE_READY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"API_STATE_NEEDS_ATTENTION\", function() { return API_STATE_NEEDS_ATTENTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"API_STATE_REQUIRES_REVIEW\", function() { return API_STATE_REQUIRES_REVIEW; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"API_STATE_GETTING_READY\", function() { return API_STATE_GETTING_READY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BACKGROUND_SUBMIT_SUSPENDED\", function() { return BACKGROUND_SUBMIT_SUSPENDED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AD_BLOCKING_FORM_SETTINGS\", function() { return AD_BLOCKING_FORM_SETTINGS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AD_BLOCKING_RECOVERY_SETUP_CREATE_MESSAGE_CTA_CLICKED\", function() { return AD_BLOCKING_RECOVERY_SETUP_CREATE_MESSAGE_CTA_CLICKED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AD_BLOCKING_RECOVERY_MAIN_NOTIFICATION_KEY\", function() { return AD_BLOCKING_RECOVERY_MAIN_NOTIFICATION_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENUM_AD_BLOCKING_RECOVERY_SETUP_STATUS\", function() { return ENUM_AD_BLOCKING_RECOVERY_SETUP_STATUS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENUM_AD_BLOCKING_RECOVERY_SETUP_STEP\", function() { return ENUM_AD_BLOCKING_RECOVERY_SETUP_STEP; });\n/**\n * `modules/adsense` 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_ADSENSE = 'modules/adsense';\n\n// Date range offset days for AdSense report requests.\nvar DATE_RANGE_OFFSET = 1;\nvar API_STATE_READY = 'READY';\nvar API_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION';\nvar API_STATE_REQUIRES_REVIEW = 'REQUIRES_REVIEW';\nvar API_STATE_GETTING_READY = 'GETTING_READY';\n\n// State to determine whether background submission is allowable.\nvar BACKGROUND_SUBMIT_SUSPENDED = 'background-submit-suspended';\nvar AD_BLOCKING_FORM_SETTINGS = 'adsenseAdBlockingFormSettings';\nvar AD_BLOCKING_RECOVERY_SETUP_CREATE_MESSAGE_CTA_CLICKED = 'googlesitekit-ad-blocking-recovery-setup-create-message-cta-clicked';\nvar AD_BLOCKING_RECOVERY_MAIN_NOTIFICATION_KEY = 'ad-blocking-recovery-notification';\n\n// Various ad blocking recovery setup statuses.\nvar ENUM_AD_BLOCKING_RECOVERY_SETUP_STATUS = {\n TAG_PLACED: 'tag-placed',\n SETUP_CONFIRMED: 'setup-confirmed'\n};\n\n// Zero-based index of the available ad blocking recovery setup steps.\nvar ENUM_AD_BLOCKING_RECOVERY_SETUP_STEP = {\n PLACE_TAGS: 0,\n CREATE_MESSAGE: 1,\n COMPLETE: 2\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYWRzZW5zZS9kYXRhc3RvcmUvY29uc3RhbnRzLmpzPzRjODEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKi
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/index.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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 _base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./base */ \"./js/modules/adsense/datastore/base.js\");\n/* harmony import */ var _accounts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./accounts */ \"./js/modules/adsense/datastore/accounts.js\");\n/* harmony import */ var _adunits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./adunits */ \"./js/modules/adsense/datastore/adunits.js\");\n/* harmony import */ var _clients__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./clients */ \"./js/modules/adsense/datastore/clients.js\");\n/* harmony import */ var _report__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./report */ \"./js/modules/adsense/datastore/report.js\");\n/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./tags */ \"./js/modules/adsense/datastore/tags.js\");\n/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./settings */ \"./js/modules/adsense/datastore/settings.js\");\n/* harmony import */ var _adblocker__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./adblocker */ \"./js/modules/adsense/datastore/adblocker.js\");\n/* harmony import */ var _service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./service */ \"./js/modules/adsense/datastore/service.js\");\n/* harmony import */ var _sites__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./sites */ \"./js/modules/adsense/datastore/sites.js\");\n/* harmony import */ var _ad_blocking_recovery__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ad-blocking-recovery */ \"./js/modules/adsense/datastore/ad-blocking-recovery.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./constants */ \"./js/modules/adsense/datastore/constants.js\");\n/**\n * `modules/adsense` 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\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"combineStores\"])(_base__WEBPACK_IMPORTED_MODULE_1__[\"default\"], _accounts__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _adunits__WEBPACK_IMPORTED_MODULE_3__[\"default\"], _clients__WEBPACK_IMPORTED_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/report.js":
|
|||
|
|
/*!************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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/* 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 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/adsense/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _util_report_validation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../util/report-validation */ \"./js/util/report-validation.js\");\n/* harmony import */ var _util_report_validation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/report-validation */ \"./js/modules/adsense/util/report-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 < arg
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/service.js":
|
|||
|
|
/*!*************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/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_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_url__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/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 _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _util_url__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/url */ \"./js/modules/adsense/util/url.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 * `modules/adsense` data store: service.\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\nvar selectors = {\n /**\n * Gets a URL to the service.\n *\n * @since 1.14.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_IMP
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/settings.js":
|
|||
|
|
/*!**************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/datastore/settings.js ***!
|
|||
|
|
\**************************************************/
|
|||
|
|
/*! exports provided: INVARIANT_MISSING_ACCOUNT_STATUS, INVARIANT_INVALID_ACCOUNT_ID, INVARIANT_INVALID_CLIENT_ID, validateCanSubmitChanges, 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__, \"INVARIANT_MISSING_ACCOUNT_STATUS\", function() { return INVARIANT_MISSING_ACCOUNT_STATUS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_ACCOUNT_ID\", function() { return INVARIANT_INVALID_ACCOUNT_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_CLIENT_ID\", function() { return INVARIANT_INVALID_CLIENT_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateCanSubmitChanges\", function() { return validateCanSubmitChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../googlesitekit/data/create-settings-store */ \"./js/googlesitekit/data/create-settings-store.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util */ \"./js/modules/adsense/util/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n\n\n\nvar _baseControls;\nfunction ownKeys(object, enumerableOnly) { var
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/sites.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/datastore/sites.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 _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 _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util */ \"./js/modules/adsense/util/index.js\");\n/* harmony import */ var _googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n/* harmony import */ var _util_site__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/site */ \"./js/modules/adsense/util/site.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n\n
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/datastore/tags.js":
|
|||
|
|
/*!**********************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/datastore/tags.js ***!
|
|||
|
|
\**********************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util */ \"./js/modules/adsense/util/index.js\");\n/* harmony import */ var _googlesitekit_data_create_existing_tag_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../googlesitekit/data/create-existing-tag-store */ \"./js/googlesitekit/data/create-existing-tag-store.js\");\n/* harmony import */ var _util_tag_matchers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/tag-matchers */ \"./js/modules/adsense/util/tag-matchers.js\");\n/**\n * `modules/adsense` 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\nvar store = Object(_googlesitekit_data_create_existing_tag_store__WEBPACK_IMPORTED_MODULE_2__[\"createExistingTagStore\"])({\n storeName: _constants__WEBPACK_IMPORTED_MODULE_0__[\"MODULES_ADSENSE\"],\n tagMatchers: _util_tag_matchers__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n isValidTag: _util__WEBPACK_IMPORTED_MODULE_1__[\"isValidClientID\"]\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvZGF0YXN0b3JlL3RhZ3MuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvZGF0YXN0b3JlL3RhZ3MuanM/MTFiMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGBtb2R1bGVzL2Fkc2Vuc2VgIGRhdGEgc3RvcmU6IHRhZ3MuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBNT0RVTEVTX0FEU0VOU0UgfSBmcm9tICcuL2NvbnN0YW50cyc7XG5pbXBvcnQgeyBpc1ZhbGlkQ2xpZW50SUQgfSBmcm9tICcuLi91dGlsJztcbmltcG9ydCB7IGNyZWF0ZUV4aXN0aW5nVGFnU3RvcmUgfSBmcm9tICcuLi8uLi8uLi9nb29nbGVzaXRla2l0L2RhdGEvY3JlYXRlLWV4aXN0aW5nLXRhZy1zdG9yZSc7XG5pbXBvcnQgdGFnTWF0Y2hlcnMgZnJvbSAnLi4vdXRpbC90YWctbWF0Y2hlcnMnO1xuXG5jb25zdCBzdG9yZSA9IGNyZWF0ZUV4aXN0aW5nVGFnU3RvcmUoIHtcblx0c3RvcmVOYW1lOiBNT0RVTEVTX0FEU0VOU0UsXG5cdHRhZ01hdGNoZXJzLFxuXHRpc1ZhbGlkVGFnOiBpc1ZhbGlkQ2xpZW50SUQsXG59ICk7XG5cbmV4cG9ydCBkZWZhdWx0IHN0b3JlO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/adsense/datastore/tags.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/index.js":
|
|||
|
|
/*!*************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/index.js ***!
|
|||
|
|
\*************************************/
|
|||
|
|
/*! exports provided: registerStore, registerModule, registerWidgets, ADSENSE_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__, \"ADSENSE_NOTIFICATIONS\", function() { return ADSENSE_NOTIFICATIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"registerNotifications\", function() { return registerNotifications; });\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_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_widgets_default_areas__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../googlesitekit/widgets/default-areas */ \"./js/googlesitekit/widgets/default-areas.js\");\n/* harmony import */ var _components_setup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/setup */ \"./js/modules/adsense/components/setup/index.js\");\n/* harmony import */ var _components_settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/settings */ \"./js/modules/adsense/components/settings/index.js\");\n/* harmony import */ var _components_dashboard__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/dashboard */ \"./js/modules/adsense/components/dashboard/index.js\");\n/* harmony import */ var _components_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./components/module */ \"./js/modules/adsense/components/module/index.js\");\n/* harmony import */ var _svg_graphics_adsense_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../svg/graphics/adsense.svg */ \"./svg/graphics/adsense.svg\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _components_widgets__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./components/widgets */ \"./js/modules/adsense/components/widgets/index.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _goog
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/ad-blocking-recovery-tag-matcher.js":
|
|||
|
|
/*!*********************************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/ad-blocking-recovery-tag-matcher.js ***!
|
|||
|
|
\*********************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * Ad Blocking Recovery Tag matching patterns.\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/* harmony default export */ __webpack_exports__[\"default\"] = ([\n// Detect the src URL in script tag and capture the accountID.\n/<script async src=\"https:\\/\\/fundingchoicesmessages\\.google\\.com\\/i\\/(.*?)\\?ers=/]);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC9hZC1ibG9ja2luZy1yZWNvdmVyeS10YWctbWF0Y2hlci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYWRzZW5zZS91dGlsL2FkLWJsb2NraW5nLXJlY292ZXJ5LXRhZy1tYXRjaGVyLmpzP2E4OTUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBZCBCbG9ja2luZyBSZWNvdmVyeSBUYWcgbWF0Y2hpbmcgcGF0dGVybnMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgZGVmYXVsdCBbXG5cdC8vIERldGVjdCB0aGUgc3JjIFVSTCBpbiBzY3JpcHQgdGFnIGFuZCBjYXB0dXJlIHRoZSBhY2NvdW50SUQuXG5cdC88c2NyaXB0IGFzeW5jIHNyYz1cImh0dHBzOlxcL1xcL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXNcXC5nb29nbGVcXC5jb21cXC9pXFwvKC4qPylcXD9lcnM9Lyxcbl07XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/adsense/util/ad-blocking-recovery-tag-matcher.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/date.js":
|
|||
|
|
/*!*****************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/date.js ***!
|
|||
|
|
\*****************************************/
|
|||
|
|
/*! exports provided: adsenseDateToInstance, dateInstanceToAdSenseDate */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"adsenseDateToInstance\", function() { return adsenseDateToInstance; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"dateInstanceToAdSenseDate\", function() { return dateInstanceToAdSenseDate; });\n/**\n * AdSense Date 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 * @since 1.36.0\n * @see (@link https://developers.google.com/adsense/management/reference/rest/v2/Date)\n *\n * @typedef {Object} AdSenseDate\n * @property {number} year Full year (integer).\n * @property {number} month Month number (1-based integer).\n * @property {number} day Day number (1-based integer).\n */\n\n/**\n * Converts an AdSense date to Date instance.\n *\n * @since 1.36.0\n *\n * @param {AdSenseDate} adsenseDate AdSense date object.\n * @return {Date} Date instance.\n */\nfunction adsenseDateToInstance() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$year = _ref.year,\n year = _ref$year === void 0 ? 0 : _ref$year,\n _ref$month = _ref.month,\n month = _ref$month === void 0 ? 1 : _ref$month,\n _ref$day = _ref.day,\n day = _ref$day === void 0 ? 0 : _ref$day;\n return new Date(year, month - 1, day);\n}\n\n/**\n * Creates an AdSense date object from a Date instance.\n *\n * @since 1.36.0\n *\n * @param {Date} date Date instance.\n * @return {AdSenseDate} AdSense date object.\n */\nfunction dateInstanceToAdSenseDate(date) {\n var _date$getFullYear, _ref2, _date$getDate;\n return {\n year: (_date$getFullYear = date === null || date === void 0 ? void 0 : date.getFullYear()) !== null && _date$getFullYear !== void 0 ? _date$getFullYear : 0,\n month: (_ref2 = (date === null || date === void 0 ? void 0 : date.getMonth()) + 1) !== null && _ref2 !== void 0 ? _ref2 : 0,\n day: (_date$getDate = date === null || date === void 0 ? void 0 : date.getDate()) !== null && _date$getDate !== void 0 ? _date$getDate : 0\n };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC9kYXRlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHNlbnNlL3V0aWwvZGF0ZS5qcz81MzNjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQWRTZW5zZSBEYXRlIHV0aWxpdGllcy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogQHNpbmNlIDEuMzYuMFxuICogQHNlZSAoQGxpbmsgaHR0cHM6Ly9kZXZlbG9wZXJzLmdvb2dsZS5jb20vYWRzZW5zZS9tYW5hZ2VtZW50L3JlZmVyZW5jZS9yZXN0L3YyL0RhdGUpXG4gKlxuICogQHR5cGVkZWYge09iamVjdH0gQWRTZW5zZURhdGVcbiAqIEBwcm9wZXJ0eSB7bnVtYmVyfSB5ZWFyICBGdWxsIHllYXIgKGludGVnZXIpLlxuICo
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/index.js":
|
|||
|
|
/*!******************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/index.js ***!
|
|||
|
|
\******************************************/
|
|||
|
|
/*! exports provided: isZeroReport, parseAccountID, parseAccountIDFromExistingTag, getSiteStatsDataForGoogleChart, ACCOUNT_STATUS_DISAPPROVED, ACCOUNT_STATUS_GRAYLISTED, ACCOUNT_STATUS_PENDING, ACCOUNT_STATUS_APPROVED, ACCOUNT_STATUS_NEEDS_ATTENTION, ACCOUNT_STATUS_READY, ACCOUNT_STATUS_CLIENT_REQUIRES_REVIEW, ACCOUNT_STATUS_CLIENT_GETTING_READY, ACCOUNT_STATUS_NONE, ACCOUNT_STATUS_MULTIPLE, ACCOUNT_STATUS_NO_CLIENT, SITE_STATUS_ADDED, SITE_STATUS_NEEDS_ATTENTION, SITE_STATUS_REQUIRES_REVIEW, SITE_STATUS_GETTING_READY, SITE_STATUS_READY, SITE_STATUS_READY_NO_AUTO_ADS, SITE_STATUS_NONE, legacyAccountStatuses, isPendingAccountStatus, errorToStatus, isValidAccountID, isValidClientID, parseDomain, reduceAdSenseData */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reduceAdSenseData\", function() { return reduceAdSenseData; });\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 _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _is_zero_report__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./is-zero-report */ \"./js/modules/adsense/util/is-zero-report.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isZeroReport\", function() { return _is_zero_report__WEBPACK_IMPORTED_MODULE_2__[\"isZeroReport\"]; });\n\n/* harmony import */ var _parsing__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parsing */ \"./js/modules/adsense/util/parsing.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"parseAccountID\", function() { return _parsing__WEBPACK_IMPORTED_MODULE_3__[\"parseAccountID\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"parseAccountIDFromExistingTag\", function() { return _parsing__WEBPACK_IMPORTED_MODULE_3__[\"parseAccountIDFromExistingTag\"]; });\n\n/* harmony import */ var _site_stats_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./site-stats-data */ \"./js/modules/adsense/util/site-stats-data.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getSiteStatsDataForGoogleChart\", function() { return _site_stats_data__WEBPACK_IMPORTED_MODULE_4__[\"getSiteStatsDataForGoogleChart\"]; });\n\n/* harmony import */ var _status__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./status */ \"./js/modules/adsense/util/status.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_DISAPPROVED\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_DISAPPROVED\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_GRAYLISTED\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_GRAYLISTED\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_PENDING\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_PENDING\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_APPROVED\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_APPROVED\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_NEEDS_ATTENTION\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_NEEDS_ATTENTION\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_READY\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_READY\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_CLIENT_REQUIRES_REVIEW\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_CLIENT_REQUIRES_REVIEW\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_CLIENT_GETTING_READY\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_CLIENT_GETTING_READY\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_NONE\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_NONE\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_MULTIPLE\", function() { return _status__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_STATUS_MULTIPLE\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__web
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/is-zero-report.js":
|
|||
|
|
/*!***************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/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/**\n * Report 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 * Checks whether the report data is empty or not.\n *\n * @since 1.21.0\n *\n * @param {Object} report Report data.\n * @param {number} selectedStatsIndex The index of the selected stats tab.\n * @return {boolean|undefined} TRUE if the report has no data, otherwise FALSE. `undefined` if the `report` passed is undefined.\n */\nfunction isZeroReport(report, selectedStatsIndex) {\n var _totals$cells, _totals$cells$selecte;\n if (report === undefined) {\n return undefined;\n }\n var _ref = report || {},\n rows = _ref.rows,\n totals = _ref.totals;\n if (!(rows === null || rows === void 0 ? void 0 : rows.length)) {\n return true;\n }\n if (!(totals === null || totals === void 0 ? void 0 : (_totals$cells = totals.cells) === null || _totals$cells === void 0 ? void 0 : _totals$cells.length)) {\n return true;\n }\n\n // Take into account the value of the selected tab.\n if (+((_totals$cells$selecte = totals.cells[selectedStatsIndex]) === null || _totals$cells$selecte === void 0 ? void 0 : _totals$cells$selecte.value) === 0) {\n return true;\n }\n return false;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC9pcy16ZXJvLXJlcG9ydC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYWRzZW5zZS91dGlsL2lzLXplcm8tcmVwb3J0LmpzPzc5OWUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBSZXBvcnQgdXRpbGl0aWVzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBDaGVja3Mgd2hldGhlciB0aGUgcmVwb3J0IGRhdGEgaXMgZW1wdHkgb3Igbm90LlxuICpcbiAqIEBzaW5jZSAxLjIxLjBcbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcmVwb3J0ICAgICAgICAgICAgIFJlcG9ydCBkYXRhLlxuICogQHBhcmFtIHtudW1iZXJ9IHNlbGVjdGVkU3RhdHNJbmRleCBUaGUgaW5kZXggb2YgdGhlIHNlbGVjdGVkIHN0YXRzIHRhYi5cbiAqIEByZXR1cm4ge2Jvb2xlYW58dW5kZWZpbmVkfSBUUlVFIGlmIHRoZSByZXBvcnQgaGFzIG5vIGRhdGEsIG90aGVyd2lzZSBGQUxTRS4gYHVuZGVmaW5lZGAgaWYgdGhlIGByZXBvcnRgIHBhc3NlZCBpcyB1bmRlZmluZWQuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBpc1plcm9SZXBvcnQoIHJlcG9ydCwgc2VsZWN0ZWRTdGF0c0luZGV4ICkge1xuXHRpZiAoIHJlcG9ydCA9PT0gdW5kZWZpbmVkICkge1xuXHRcdHJldHVybiB1bmRlZmluZWQ7XG5cdH1cblxuXHRjb25zdCB7IHJvd3MsIHRvdGFscyB9ID0gcmVwb3J0IHx8IHt9O1xuXG5cdGlmICggISByb3dzPy5sZW5ndGggKSB7XG5cdFx0cmV0dXJuIHRydWU7XG5cdH1cblxuXHRpZiAoICEgdG90YWxzPy5jZWxscz8ubGVuZ3RoICkge1xuXHRcdHJldHVybiB0cnVlO1xuXHR9XG5cblx0Ly8gVGFrZSBpbnRvIGFjY291bnQgdGhlIHZhbHVlIG9mIHRoZSBzZWxlY3RlZCB0YWIuXG5cdGlmICggK3RvdGFscy5jZWxsc1sgc2VsZ
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/parsing.js":
|
|||
|
|
/*!********************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/parsing.js ***!
|
|||
|
|
\********************************************/
|
|||
|
|
/*! exports provided: parseAccountID, parseAccountIDFromExistingTag */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseAccountID\", function() { return parseAccountID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseAccountIDFromExistingTag\", function() { return parseAccountIDFromExistingTag; });\n/* harmony import */ var _validation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validation */ \"./js/modules/adsense/util/validation.js\");\n/**\n * Parsing 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 * Parses the AdSense account ID from a given AdSense client ID.\n *\n * @since 1.9.0\n *\n * @param {string} clientID AdSense client ID.\n * @return {(string|undefined)} AdSense account ID, or undefined if invalid client ID.\n */\nfunction parseAccountID(clientID) {\n if (!Object(_validation__WEBPACK_IMPORTED_MODULE_0__[\"isValidClientID\"])(clientID)) {\n return undefined;\n }\n return clientID.match(/pub-\\d+$/)[0];\n}\n\n/**\n * Parses the AdSense account ID from an existing tag.\n *\n * @since 1.105.0\n *\n * @param {string} existingTag Existing tag.\n * @return {(string|undefined)} AdSense account ID, or undefined if invalid tag.\n */\nfunction parseAccountIDFromExistingTag(existingTag) {\n if (!Object(_validation__WEBPACK_IMPORTED_MODULE_0__[\"isValidAccountID\"])(existingTag)) {\n return undefined;\n }\n return existingTag.match(/pub-\\d+$/)[0];\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC9wYXJzaW5nLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHNlbnNlL3V0aWwvcGFyc2luZy5qcz8zN2EyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogUGFyc2luZyB1dGlsaXRpZXMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBpc1ZhbGlkQWNjb3VudElELCBpc1ZhbGlkQ2xpZW50SUQgfSBmcm9tICcuL3ZhbGlkYXRpb24nO1xuXG4vKipcbiAqIFBhcnNlcyB0aGUgQWRTZW5zZSBhY2NvdW50IElEIGZyb20gYSBnaXZlbiBBZFNlbnNlIGNsaWVudCBJRC5cbiAqXG4gKiBAc2luY2UgMS45LjBcbiAqXG4gKiBAcGFyYW0ge3N0cmluZ30gY2xpZW50SUQgQWRTZW5zZSBjbGllbnQgSUQuXG4gKiBAcmV0dXJuIHsoc3RyaW5nfHVuZGVmaW5lZCl9IEFkU2Vuc2UgYWNjb3VudCBJRCwgb3IgdW5kZWZpbmVkIGlmIGludmFsaWQgY2xpZW50IElELlxuICovXG5leHBvcnQgZnVuY3Rpb24gcGFyc2VBY2NvdW50SUQoIGNsaWVudElEICkge1xuXHRpZiAoICEgaXNWYWxpZENsaWVudElEKCBjbGllbnRJRCApICkge1xuXHRcdHJldHVybiB1bmRlZmluZWQ7XG5cdH1cblx0cmV0dXJuIGNsaWVudElELm1hdGNoKCAvcHViLVxcZCskLyApWyAwIF07XG59XG5cbi8qKlxuICogUGFyc2VzIHRoZSBBZFNlbnNlIGFjY291bnQgSUQgZnJvbSBhbiBleGlzdGluZyB0YWcuXG4gKlxuICogQHNpbmNlIDEuMTA1LjBcbiAqXG4gKiBAcGFyYW0ge3N0cmluZ30gZXhpc3Rp
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/report-date-range-args.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/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 _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util */ \"./js/util/index.js\");\n/**\n * Report date range args utils.\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 * Generates an object with the appropriate structure to pass to report selectors.\n *\n * @since 1.27.0\n *\n * @param {Object} dates Object containing the start and end 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 * @return {Object} Date range object.\n */\nvar generateDateRangeArgs = function generateDateRangeArgs(dates) {\n invariant__WEBPACK_IMPORTED_MODULE_0___default()(dates, 'A dates object is required.');\n var startDate = dates.startDate,\n endDate = dates.endDate;\n invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_util__WEBPACK_IMPORTED_MODULE_1__[\"isValidDateString\"])(startDate), 'A valid startDate is required.');\n invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_util__WEBPACK_IMPORTED_MODULE_1__[\"isValidDateString\"])(endDate), 'A valid endDate is required.');\n return {\n d: \"\".concat(startDate.replace(/-/g, '/'), \"-\").concat(endDate.replace(/-/g, '/'))\n };\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC9yZXBvcnQtZGF0ZS1yYW5nZS1hcmdzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHNlbnNlL3V0aWwvcmVwb3J0LWRhdGUtcmFuZ2UtYXJncy5qcz81OTgxIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogUmVwb3J0IGRhdGUgcmFuZ2UgYXJncyB1dGlscy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBpbnZhcmlhbnQgZnJvbSAnaW52YXJpYW50JztcblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgaXNWYWxpZERhdGVTdHJpbmcgfSBmcm9tICcuLi8uLi8uLi91dGlsJztcblxuLyoqXG4gKiBHZW5lcmF0ZXMgYW4gb2JqZWN0IHdpdGggdGhlIGFwcHJvcHJpYXRlIHN0cnVjdHVyZSB0byBwYXNzIHRvIHJlcG9ydCBzZWxlY3RvcnMuXG4gKlxuICogQHNpbmNlIDEuMjcuMFxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBkYXRlcyAgICAgICAgICAgT2JqZWN0IGNvbnRhaW5pbmcgdGhlIH
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/report-validation.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/report-validation.js ***!
|
|||
|
|
\******************************************************/
|
|||
|
|
/*! exports provided: validateMetrics, validateDimensions */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateMetrics\", function() { return validateMetrics; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateDimensions\", function() { return validateDimensions; });\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 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 * 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 * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n/* eslint-disable-next-line */\n/** @see (@link https://developers.google.com/adsense/management/reference/rest/v2/Metric) */\nvar VALID_METRICS = ['ACTIVE_VIEW_MEASURABILITY', 'ACTIVE_VIEW_TIME', 'ACTIVE_VIEW_VIEWABILITY', 'AD_REQUESTS_COVERAGE', 'AD_REQUESTS_CTR', 'AD_REQUESTS_RPM', 'AD_REQUESTS_SPAM_RATIO', 'AD_REQUESTS', 'ADS_PER_IMPRESSION', 'CLICKS_SPAM_RATIO', 'CLICKS', 'COST_PER_CLICK', 'ESTIMATED_EARNINGS', 'IMPRESSIONS_CTR', 'IMPRESSIONS_RPM', 'IMPRESSIONS_SPAM_RATIO', 'IMPRESSIONS', 'INDIVIDUAL_AD_IMPRESSIONS_CTR', 'INDIVIDUAL_AD_IMPRESSIONS_RPM', 'INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO', 'INDIVIDUAL_AD_IMPRESSIONS', 'MATCHED_AD_REQUESTS_CTR', 'MATCHED_AD_REQUESTS_RPM', 'MATCHED_AD_REQUESTS_SPAM_RATIO', 'MATCHED_AD_REQUESTS', 'METRIC_UNSPECIFIED', 'PAGE_VIEWS_CTR', 'PAGE_VIEWS_RPM', 'PAGE_VIEWS_SPAM_RATIO', 'PAGE_VIEWS', 'TOTAL_EARNINGS', 'TOTAL_IMPRESSIONS', 'WEBSEARCH_RESULT_PAGES'];\n\n/* eslint-disable-next-line */\n/** @see (@link https://developers.google.com/adsense/management/reference/rest/v2/Dimension) */\nvar VALID_DIMENSIONS = ['ACCOUNT_NAME', 'AD_CLIENT_ID', 'AD_FORMAT_CODE', 'AD_FORMAT_NAME', 'AD_PLACEMENT_CODE', 'AD_PLACEMENT_NAME', 'AD_UNIT_ID', 'AD_UNIT_NAME', 'AD_UNIT_SIZE_CODE', 'AD_UNIT_SIZE_NAME', 'BID_TYPE_CODE', 'BID_TYPE_NAME', 'BUYER_NETWORK_ID', 'BUYER_NETWORK_NAME', 'CONTENT_PLATFORM_CODE', 'CONTENT_PLATFORM_NAME', 'COUNTRY_CODE', 'COUNTRY_NAME', 'CREATIVE_SIZE_CODE', 'CREATIVE_SIZE_NAME', 'CUSTOM_CHANNEL_ID', 'CUSTOM_CHANNEL_NAME', 'CUSTOM_SEARCH_STYLE_ID', 'CUSTOM_SEARCH_STYLE_NAME', 'DATE', 'DIMENSION_UNSPECIFIED', 'DOMAIN_CODE', 'DOMAIN_NAME', 'DOMAIN_REGISTRANT', 'MONTH', 'OWNED_SITE_DOMAIN_NAME', 'OWNED_SITE_ID', 'PLATFORM_TYPE_CODE', 'PLATFORM_TYPE_NAME', 'PRODUCT_CODE', 'PRODUCT_NAME', 'REQUESTED_AD_TYPE_CODE', 'REQUESTED_AD_TYPE_NAME', 'SERVED_AD_TYPE_CODE', 'SERVED_AD_TYPE_NAME', 'TARGETING_TYPE_CODE', 'TARGETING_TYPE_NAME', 'URL_CHANNEL_ID', 'URL_CHANNEL_NAME', 'WEBSEARCH_QUERY_STRING', 'WEEK'];\n\n/**\n * Validates the given metrics are valid to be used in a request.\n *\n * @since 1.36.0\n *\n * @param {(Array|string)} metrics Metric(s) to validate.\n */\nfunction validateMetrics(metrics) {\n var metricsArray = Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"castArray\"])(metrics);\n invariant__WEBPACK_IMPORTED_MODULE_1___default()(metricsArray.length, 'at least one metric is required.');\n var invalidMetrics = metricsArray.filter(f
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/site-stats-data.js":
|
|||
|
|
/*!****************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/site-stats-data.js ***!
|
|||
|
|
\****************************************************/
|
|||
|
|
/*! exports provided: getSiteStatsDataForGoogleChart */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getSiteStatsDataForGoogleChart\", function() { return getSiteStatsDataForGoogleChart; });\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__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 _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _date__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./date */ \"./js/modules/adsense/util/date.js\");\n/**\n * Site stats 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/**\n * Internal dependencies\n */\n\n\n\n/**\n * Gets data for a Google Chart from an AdSense report.\n *\n * @since 1.23.0\n * @since 1.36.0 Updated for API v2 report format.\n *\n * @param {Object} current A report object for the current period.\n * @param {Object} previous A report object for the previous period.\n * @param {string} label Metric label.\n * @param {number} selectedColumn Selected column index.\n * @param {Object} metadata Data metadata.\n * @return {Array.<Array.<number|string>>} Data array.\n */\nfunction getSiteStatsDataForGoogleChart(current, previous, label, selectedColumn, metadata) {\n var dataMap = [[{\n type: 'date',\n label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Day', 'google-site-kit')\n }, {\n type: 'string',\n role: 'tooltip',\n p: {\n html: true\n }\n }, {\n type: 'number',\n label: label\n }, {\n type: 'number',\n label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Previous period', 'google-site-kit')\n }]];\n var nextDate = function nextDate(date) {\n // Valid use of `new Date()` with an argument.\n // eslint-disable-next-line sitekit/no-direct-date\n var next = new Date(date);\n next.setDate(date.getDate() + 1);\n return next;\n };\n var findRowByDate = function findRowByDate(searchDate) {\n return function (row) {\n return searchDate.getTime() === Object(_util__WEBPACK_IMPORTED_MODULE_2__[\"stringToDate\"])(row.cells[0].value).getTime();\n };\n };\n var currentDate = Object(_date__WEBPACK_IMPORTED_MODULE_3__[\"adsenseDateToInstance\"])(current.startDate);\n var previousDate = Object(_date__WEBPACK_IMPORTED_MODULE_3__[\"adsenseDateToInstance\"])(previous.startDate);\n var endDate = Object(_date__WEBPACK_IMPORTED_MODULE_3__[\"adsenseDateToInstance\"])(current.endDate);\n var locale = Object(_util__WEBPACK_IMPORTED_MODULE_2__[\"getLocale\"])();\n var localeDateOptions = {\n weekday: 'short',\n month: 'short',\n day: 'numeric'\n };\n while (currentDate <= endDate) {\n var _find, _find$cells, _find$cells$selectedC, _find2, _find2$cells, _find2$cells$selected;\n var currentMonth = parseFloat(((_find = ((current === null || current ==
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/site.js":
|
|||
|
|
/*!*****************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/site.js ***!
|
|||
|
|
\*****************************************/
|
|||
|
|
/*! exports provided: determineSiteFromDomain */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"determineSiteFromDomain\", function() { return determineSiteFromDomain; });\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 * Site utilities.\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 * Determines the AdSense site from the given domain.\n *\n * This utility function should be used in combination with data retrieved from\n * the datastore, hence passing undefined (loading state) is supported.\n *\n * @since 1.72.0\n *\n * @param {(Array|undefined)} sites Array of AdSense site objects retrieved from the API.\n * @param {(string|undefined)} domain The domain string to match to a site.\n * @return {(Object|null|undefined)} AdSense site object that matches the domain, null if no match\n * found or undefined if any of the parameters are undefined.\n */\nvar determineSiteFromDomain = function determineSiteFromDomain(sites, domain) {\n if (undefined === sites || undefined === domain || !Array.isArray(sites)) {\n return undefined;\n }\n // Only consider sites with state (essentially non-subdomains).\n var sitesWithState = sites.filter(function (_ref) {\n var state = _ref.state;\n return !!state;\n });\n\n // Look for an exact match first.\n var exactMatch = sitesWithState.find(function (site) {\n return site.domain === domain.toLowerCase();\n });\n if (exactMatch) {\n return exactMatch;\n }\n var subdomainMatch = sitesWithState.find(function (site) {\n // Note the prefixed `.` to ensure only a subdomain is matched\n // not simply a substring of a longer domain with the same ending.\n var inclusiveRegExp = new RegExp(\"\\\\.\".concat(Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"escapeRegExp\"])(site.domain), \"$\"), 'i' // case-insensitive\n );\n // Check to see if `domain` is a subdomain of the site\n return inclusiveRegExp.test(domain);\n });\n return subdomainMatch || null;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC9zaXRlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHNlbnNlL3V0aWwvc2l0ZS5qcz84OGI5Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSB1dGlsaXRpZXMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBlc2NhcGVSZWdFeHAgf
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/status.js":
|
|||
|
|
/*!*******************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/status.js ***!
|
|||
|
|
\*******************************************/
|
|||
|
|
/*! exports provided: ACCOUNT_STATUS_DISAPPROVED, ACCOUNT_STATUS_GRAYLISTED, ACCOUNT_STATUS_PENDING, ACCOUNT_STATUS_APPROVED, ACCOUNT_STATUS_NEEDS_ATTENTION, ACCOUNT_STATUS_READY, ACCOUNT_STATUS_CLIENT_REQUIRES_REVIEW, ACCOUNT_STATUS_CLIENT_GETTING_READY, ACCOUNT_STATUS_NONE, ACCOUNT_STATUS_MULTIPLE, ACCOUNT_STATUS_NO_CLIENT, SITE_STATUS_ADDED, SITE_STATUS_NEEDS_ATTENTION, SITE_STATUS_REQUIRES_REVIEW, SITE_STATUS_GETTING_READY, SITE_STATUS_READY, SITE_STATUS_READY_NO_AUTO_ADS, SITE_STATUS_NONE, legacyAccountStatuses, isPendingAccountStatus, errorToStatus */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_DISAPPROVED\", function() { return ACCOUNT_STATUS_DISAPPROVED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_GRAYLISTED\", function() { return ACCOUNT_STATUS_GRAYLISTED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_PENDING\", function() { return ACCOUNT_STATUS_PENDING; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_APPROVED\", function() { return ACCOUNT_STATUS_APPROVED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_NEEDS_ATTENTION\", function() { return ACCOUNT_STATUS_NEEDS_ATTENTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_READY\", function() { return ACCOUNT_STATUS_READY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_CLIENT_REQUIRES_REVIEW\", function() { return ACCOUNT_STATUS_CLIENT_REQUIRES_REVIEW; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_CLIENT_GETTING_READY\", function() { return ACCOUNT_STATUS_CLIENT_GETTING_READY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_NONE\", function() { return ACCOUNT_STATUS_NONE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_MULTIPLE\", function() { return ACCOUNT_STATUS_MULTIPLE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_STATUS_NO_CLIENT\", function() { return ACCOUNT_STATUS_NO_CLIENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_STATUS_ADDED\", function() { return SITE_STATUS_ADDED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_STATUS_NEEDS_ATTENTION\", function() { return SITE_STATUS_NEEDS_ATTENTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_STATUS_REQUIRES_REVIEW\", function() { return SITE_STATUS_REQUIRES_REVIEW; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_STATUS_GETTING_READY\", function() { return SITE_STATUS_GETTING_READY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_STATUS_READY\", function() { return SITE_STATUS_READY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_STATUS_READY_NO_AUTO_ADS\", function() { return SITE_STATUS_READY_NO_AUTO_ADS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_STATUS_NONE\", function() { return SITE_STATUS_NONE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"legacyAccountStatuses\", function() { return legacyAccountStatuses; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPendingAccountStatus\", function() { return isPendingAccountStatus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"errorToStatus\", function() { return errorToStatus; });\n/**\n * Status utlities.\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// V1 setup flow.\nvar ACCOUNT_STATUS_DISAPPROVED = 'disapproved';\nvar ACCOUNT_STATUS_GRAYLISTED = 'graylisted';\nvar ACCOUNT_STATUS_PENDI
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/tag-matchers.js":
|
|||
|
|
/*!*************************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/tag-matchers.js ***!
|
|||
|
|
\*************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\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/* harmony default export */ __webpack_exports__[\"default\"] = ([\n// Detect google_ad_client.\n/google_ad_client: ?[\"|'](.*?)[\"|']/,\n// Detect old style auto-ads tags.\n/<(?:script|amp-auto-ads) [^>]*data-ad-client=\"([^\"]+)\"/,\n// Detect new style auto-ads tags.\n/<(?:script|amp-auto-ads)[^>]*src=\"[^\"]*\\?client=(ca-pub-[^\"]+)\"[^>]*>/]);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC90YWctbWF0Y2hlcnMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC90YWctbWF0Y2hlcnMuanM/NmE4YyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRhZyBtYXRjaGluZyBwYXR0ZXJucy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbmV4cG9ydCBkZWZhdWx0IFtcblx0Ly8gRGV0ZWN0IGdvb2dsZV9hZF9jbGllbnQuXG5cdC9nb29nbGVfYWRfY2xpZW50OiA/W1wifCddKC4qPylbXCJ8J10vLFxuXHQvLyBEZXRlY3Qgb2xkIHN0eWxlIGF1dG8tYWRzIHRhZ3MuXG5cdC88KD86c2NyaXB0fGFtcC1hdXRvLWFkcykgW14+XSpkYXRhLWFkLWNsaWVudD1cIihbXlwiXSspXCIvLFxuXHQvLyBEZXRlY3QgbmV3IHN0eWxlIGF1dG8tYWRzIHRhZ3MuXG5cdC88KD86c2NyaXB0fGFtcC1hdXRvLWFkcylbXj5dKnNyYz1cIlteXCJdKlxcP2NsaWVudD0oY2EtcHViLVteXCJdKylcIltePl0qPi8sXG5dO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/adsense/util/tag-matchers.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/url.js":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/url.js ***!
|
|||
|
|
\****************************************/
|
|||
|
|
/*! exports provided: parseDomain */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseDomain\", function() { return parseDomain; });\n/* harmony import */ var psl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! psl */ \"../node_modules/psl/index.js\");\n/* harmony import */ var psl__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(psl__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * URL 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 * Parses a URL to retrieve the domain.\n *\n * @since 1.14.0\n *\n * @param {string} url The url to parse.\n * @return {string} The domain of the url passed.\n */\nvar parseDomain = function parseDomain(url) {\n var urlObj = new URL(url);\n var _pslParse = Object(psl__WEBPACK_IMPORTED_MODULE_0__[\"parse\"])(urlObj.hostname),\n domain = _pslParse.domain;\n return domain;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC91cmwuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC91cmwuanM/Zjc0MSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFVSTCB1dGlsaXRpZXMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBwYXJzZSBhcyBwc2xQYXJzZSB9IGZyb20gJ3BzbCc7XG5cbi8qKlxuICogUGFyc2VzIGEgVVJMIHRvIHJldHJpZXZlIHRoZSBkb21haW4uXG4gKlxuICogQHNpbmNlIDEuMTQuMFxuICpcbiAqIEBwYXJhbSB7c3RyaW5nfSB1cmwgVGhlIHVybCB0byBwYXJzZS5cbiAqIEByZXR1cm4ge3N0cmluZ30gVGhlIGRvbWFpbiBvZiB0aGUgdXJsIHBhc3NlZC5cbiAqL1xuZXhwb3J0IGNvbnN0IHBhcnNlRG9tYWluID0gKCB1cmwgKSA9PiB7XG5cdGNvbnN0IHVybE9iaiA9IG5ldyBVUkwoIHVybCApO1xuXHRjb25zdCB7IGRvbWFpbiB9ID0gcHNsUGFyc2UoIHVybE9iai5ob3N0bmFtZSApO1xuXHRyZXR1cm4gZG9tYWluO1xufTtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/adsense/util/url.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/adsense/util/validation.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./js/modules/adsense/util/validation.js ***!
|
|||
|
|
\***********************************************/
|
|||
|
|
/*! exports provided: isValidAccountID, isValidClientID */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountID\", function() { return isValidAccountID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidClientID\", function() { return isValidClientID; });\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 * Checks if the given account ID appears to be a valid AdSense account.\n *\n * @since 1.9.0\n *\n * @param {string|number} accountID Account ID to test.\n * @return {boolean} True if the given account ID is valid, false otherwise.\n */\nfunction isValidAccountID(accountID) {\n return typeof accountID === 'string' && /^pub-\\d+$/.test(accountID);\n}\n\n/**\n * Checks if the given client ID appears to be a valid AdSense client.\n *\n * @since 1.9.0\n *\n * @param {string|number} clientID Client ID to test.\n * @return {boolean} True if the given client ID is valid, false otherwise.\n */\nfunction isValidClientID(clientID) {\n return typeof clientID === 'string' && /^ca-pub-\\d+$/.test(clientID);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2Fkc2Vuc2UvdXRpbC92YWxpZGF0aW9uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hZHNlbnNlL3V0aWwvdmFsaWRhdGlvbi5qcz8zMzdjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVmFsaWRhdGlvbiB1dGlsaXRpZXMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIENoZWNrcyBpZiB0aGUgZ2l2ZW4gYWNjb3VudCBJRCBhcHBlYXJzIHRvIGJlIGEgdmFsaWQgQWRTZW5zZSBhY2NvdW50LlxuICpcbiAqIEBzaW5jZSAxLjkuMFxuICpcbiAqIEBwYXJhbSB7c3RyaW5nfG51bWJlcn0gYWNjb3VudElEIEFjY291bnQgSUQgdG8gdGVzdC5cbiAqIEByZXR1cm4ge2Jvb2xlYW59IFRydWUgaWYgdGhlIGdpdmVuIGFjY291bnQgSUQgaXMgdmFsaWQsIGZhbHNlIG90aGVyd2lzZS5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGlzVmFsaWRBY2NvdW50SUQoIGFjY291bnRJRCApIHtcblx0cmV0dXJuIHR5cGVvZiBhY2NvdW50SUQgPT09ICdzdHJpbmcnICYmIC9ecHViLVxcZCskLy50ZXN0KCBhY2NvdW50SUQgKTtcbn1cblxuLyoqXG4gKiBDaGVja3MgaWYgdGhlIGdpdmVuIGNsaWVudCBJRCBhcHBlYXJzIHRvIGJlIGEgdmFsaWQgQWRTZW5zZSBjbGllbnQuXG4gKlxuICogQHNpbmNlIDEuOS4wXG4gKlxuICogQHBhcmFtIHtzdHJpbmd8bnVtYmVyfSBjbGllbnRJRCBDbGllbnQgSUQgdG8gdGVzdC5cbiAqIEByZXR1cm4ge2Jvb2xlYW59IFRydWUgaWYgdGhlIGdpdmVuIGNsaWVudCBJRCBpcyB2YWxpZCwgZmFsc2Ugb3RoZXJ3aXNlLlxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNWYWxpZENsaWVudElEKCBjbGllbnRJRCApIHtcblx0cmV0dXJuIHR5cGVvZiBjbGllbnRJRCA9PT0gJ3N0cmluZycgJiYgL15jYS1wdWItXFxkKyQvLnRlc3QoIGNsaWVudElEICk7XG59XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTt
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.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\nfunction AccountField() {\n var value = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_FORMS\"]).getValue(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_ACCOUNT_CREATE\"], 'accountName');\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_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(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0FjY291bnRDcmVhdGUvQWNjb3VudEZpZWxkLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2NvbW1vbi9BY2NvdW50Q3JlYXRlL0FjY291bnRGaWVsZC5qcz83NzQ2Il0sInNvdXJjZXNDb250ZW50Ijp
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../utils/countries-timezones */ \"./js/modules/analytics-4/utils/countries-timezones.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.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\nfunction CountrySelect() {\n var value = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]).getValue(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_ACCOUNT_CREATE\"], 'countryCode');\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_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 && _utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__[\"countriesByCode\"][newCountryCode]) {\n setValues(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_ACCOUNT_CREATE\"], {\n countryCode: newCountryCode,\n timezone:\n // eslint-disable-next-line sitekit/acronym-case\n _utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__[\"countriesByCode\"][newCountryCode].defaultTimeZoneId\n });\n }\n }, [setValues, value]);\n return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODU
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 outlined: true,\n value: value,\n id: \"googlesitekit_analytics_account_create_\".concat(name)\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0FjY291bnRDcmVhdGUvQ3JlYXRlQWNjb3VudEZpZWxkLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2NvbW1vbi9BY2NvdW50Q3JlYXRlL0NyZWF0ZUFjY291bnRGaWVsZC5qcz9lMWM4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ3JlYXRlQWNjb3VudEZpZWxkIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogR
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.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\nfunction PropertyField() {\n var value = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_FORMS\"]).getValue(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_ACCOUNT_CREATE\"], 'propertyName');\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_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(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0FjY291bnRDcmVhdGUvUHJvcGVydHlGaWVsZC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9jb21tb24vQWNjb3VudENyZWF0ZS9Qcm9wZXJ0eUZpZWxkLmpzPzJmMWEiXSwic291cmNlc0
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _utils_countries_timezones__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../utils/countries-timezones */ \"./js/modules/analytics-4/utils/countries-timezones.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.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\nfunction TimezoneSelect() {\n var countryCode = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]).getValue(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_ACCOUNT_CREATE\"], 'countryCode');\n });\n var value = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]).getValue(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_ACCOUNT_CREATE\"], 'timezone');\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_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(_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__selec
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.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\nfunction WebDataStreamField() {\n var value = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_FORMS\"]).getValue(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"FORM_ACCOUNT_CREATE\"], 'dataStreamName');\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_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(_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL0FjY291bnRDcmVhdGUvV2ViRGF0YVN0cmVhbUZpZWxkLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC9jb21wb25lbnRzL2NvbW1vbi9BY2NvdW50Q3JlYXRlL1dlYk
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _util_errors
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _Notice__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Notice */ \"./js/modules/analytics-4/components/common/Notice.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../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\nfunction AccountCreateLegacy() {\n var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_ANALYTICS_4\"]).getAccountSummaries();\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../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(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_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(_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(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).hasFinishedResolution('getAccountSummaries');\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]),\n select
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _components_SupportLink__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../components/SupportLink */ \"./js/components/SupportLink.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../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\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 d
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/analytics-4/components/common/Notice.js":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./js/modules/analytics-4/components/common/Notice.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 Notice; });\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 _components_SettingsNotice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/SettingsNotice */ \"./js/components/SettingsNotice/index.js\");\n/* harmony import */ var _components_Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/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 * Internal dependencies\n */\n\n\n\n\nfunction Notice() {\n var documentationURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getDocumentationLinkURL('ga4');\n });\n return /*#__PURE__*/React.createElement(_components_SettingsNotice__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n type: _components_SettingsNotice__WEBPACK_IMPORTED_MODULE_3__[\"TYPE_INFO\"],\n LearnMore: function LearnMore() {\n return /*#__PURE__*/React.createElement(_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n href: documentationURL,\n external: true\n }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Learn more here.', 'google-site-kit'));\n },\n notice: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Got a Google Analytics property and want to find out how to use it with Site Kit?', '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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL05vdGljZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9jb21tb24vTm90aWNlLmpzPzM1M2IiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBbmFseXRpY3MgR0E0IE5vdGljZSBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbG
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _utils_validation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../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(_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 !== fal
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.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\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 ret
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../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(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n var useSnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_ANALYTICS_4\"]).getUseSnippet();\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_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(_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\", {\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _components_AccessibleWarningIcon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../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 _utils_validation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/validation */ \"./js/modules/analytics-4/utils/validation.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\nfunction WebDataStreamNameInput() {\n var propertyID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_ANAL
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _utils_validation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../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(_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(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_ANALYTICS_4\"]).getSettings() || {};\n }),\n propertyID = _useS
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ZeroDataMessage; });\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 _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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\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_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getCurrentEntityURL();\n });\n if (skipPrefix) {\n return url ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Your page hasn’t received any visitors yet', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Your site hasn’t received any visitors yet', 'google-site-kit');\n }\n return url ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('No data to display: your page hasn’t received any visitors yet', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('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_0___default.a.bool\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbXBvbmVudHMvY29tbW9uL1plcm9EYXRhTWVzc2FnZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29tcG9uZW50cy9jb21tb24vWmVyb0RhdGFNZXNzYWdlLmpzPzBiNWIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBbmFseXRpY3MgWmVyb0RhdGFNZXNzYWdlIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1b
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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, Notice, 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 _Notice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Notice */ \"./js/modules/analytics-4/components/common/Notice.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Notice\", function() { return _Notice__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(__webpac
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/analytics-4/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 _components_KeyMetrics_ConnectModuleCTATile__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/KeyMetrics/ConnectModuleCTATile */ \"./js/components/KeyMetrics/ConnectModuleCTATile.js\");\n/* harmony import */ var _googlesitekit_widgets_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../googlesitekit/widgets/hooks/useWidgetStateEffect */ \"./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\");\n/* harmony import */ var _googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _components_Null__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../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\nvar metadata = {\n moduleSlug: '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(_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 _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 ? _components_Null__WEBPACK_IMPORTED_MODULE_6__[\"default\"] : _components_KeyMetrics_ConnectModuleCTATile__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n Object(_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 a
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */
|
|||
|
|
/***/ (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\"
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../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 tim
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/B
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/MjdlYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvdW50cnkgYW5kIFRpbWUgWm9uZSB1dGlsaXRpZXMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBrZXlCeSB9IGZyb20gJ2xvZGFzaCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGNvdW50cmllcyB9IGZyb20gJy4vY291bnRyaWVzLWRhdGEnO1xuXG5leHBvcnQgY29uc3QgYWxsQ291bnRyaWVzID0gY291bnRyaWVzLmRlZmF1bHQuY291bnRyeTtcblxuZXhwb3J0IGNvbnN0IHRpbWVab25lc0J5Q291bnRyeUNvZGUgPSBhbGxDb3VudHJpZXMucmVkdWNlKCAoIG1hcCwgY291bn
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../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 */\nvar generateDateRangeArgs = function 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(_util__WEBPACK_IMPORTED_MODULE_1__[\"isValidDateString\"])(startDate), 'A valid startDate is required.');\n invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_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(_util__WEBPACK_IMPORTED_MODULE_1__[\"isValidDateString\"])(compareStartDate) && Object(_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/N2VhYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcG9ydCBkYXRlIHJhbmdlIGFyZ3MgdXRpbHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJ
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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});\nvar normalizeMetrics = function normalizeMetrics(metrics) {\n r
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/analytics-4/utils/report-pivots-validation.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./js/modules/analytics-4/utils/report-pivots-validation.js ***!
|
|||
|
|
\******************************************************************/
|
|||
|
|
/*! exports provided: isValidPivotsObject */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidPivotsObject\", function() { return isValidPivotsObject; });\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 _report_validation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./report-validation */ \"./js/modules/analytics-4/utils/report-validation.js\");\n/**\n * Analytics 4 pivot reporting API 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 * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n/**\n * Verifies that pivot definitions are valid for a report. It should be an array\n * of objects where each object has a \"fieldNames\" property, a \"limit\" property\n * and an optional \"orderby\" property. The \"orderby\" property should be a valid\n * order definition using the `isValidOrders` function.\n *\n * @since 1.130.0\n *\n * @param {Object[]} pivots The pivots object to check.\n * @return {boolean} TRUE if pivot definitions are valid, otherwise FALSE.\n */\nfunction isValidPivotsObject(pivots) {\n if (!Array.isArray(pivots)) {\n return false;\n }\n return pivots.every(function (pivot) {\n if (!Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"isPlainObject\"])(pivot)) {\n return false;\n }\n if (!pivot.hasOwnProperty('fieldNames') || !Array.isArray(pivot.fieldNames) || pivot.fieldNames.length === 0) {\n return false;\n }\n if (!pivot.hasOwnProperty('limit') || typeof pivot.limit !== 'number') {\n return false;\n }\n if (pivot.hasOwnProperty('orderby') && !Object(_report_validation__WEBPACK_IMPORTED_MODULE_1__[\"isValidOrders\"])(pivot.orderby)) {\n return false;\n }\n return true;\n });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL3JlcG9ydC1waXZvdHMtdmFsaWRhdGlvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvdXRpbHMvcmVwb3J0LXBpdm90cy12YWxpZGF0aW9uLmpzPzU0ZmEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBbmFseXRpY3MgNCBwaXZvdCByZXBvcnRpbmcgQVBJIHZhbGlkYXRpb24gdXRpbGl0aWVzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgaXNQbGFpbk9iamVjdCB9IGZyb20gJ2xvZGFzaCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGlzVmFsaWRPcmRlcnMgfSBmcm9tICcuL3JlcG9ydC12Y
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _util_report_validation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../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 var isValidName = 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(_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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/analytics-4/utils/validation.js":
|
|||
|
|
/*!****************************************************!*\
|
|||
|
|
!*** ./js/modules/analytics-4/utils/validation.js ***!
|
|||
|
|
\****************************************************/
|
|||
|
|
/*! exports provided: isValidAccountSelection, isValidAccountID, isValidPropertyID, isValidPropertySelection, isValidWebDataStreamID, isValidWebDataStreamSelection, isValidWebDataStreamName, isValidMeasurementID, isValidGoogleTagID, isValidGoogleTagAccountID, isValidGoogleTagContainerID, validateReport, validatePivotReport, 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__, \"validatePivotReport\", function() { return validatePivotReport; });\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 _datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util */ \"./js/util/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountID\", function() { return _util__WEBPACK_IMPORTED_MODULE_3__[\"isValidNumericID\"]; });\n\n/* harmony import */ var _util_report_validation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../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/* harmony import */ var _report_pivots_validation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./report-pivots-validation */ \"./js/modules/analytics-4/utils/report-pivots-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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/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 _components_ChangeArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../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 */\nvar getChartDifferenceArrow = function 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(_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 */\nvar isSingleSlice = function 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 ===
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */\nvar convertSecondsToArray = function 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 */\nvar convertDateStringToUNIXTimestamp = function convertDateStringToUNIXTimestamp(dateStringValue) {\n var unixTimestamp = dateStringValue && !Number.isInteger(dateStringValue) ?\n // Valid use of `new Date()` with an argument, because this should only\n // be passed full time strings, not `YYYY-MM-DD` style dates.\n //\n // See: https://github.com/google/site-kit-wp/pull/9459#discussion_r1790660073\n // eslint-disable-next-line sitekit/no-direct-date\n new Date(dateStringValue).getTime() : dateStringValue;\n if (isNaN(unixTimestamp) || !unixTimestamp) {\n return 0;\n }\n return unixTimestamp;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2NvbnZlcnQtdGltZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvY29udmVydC10aW1lLmpzPzJlOTMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUaW1lIHJlbGF0ZWQgdXRpbGl0eSBmdW5jdGlvbnMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIENvbnZlcnRzIHNlY29uZHMgaW50byBhbiBhcnJheSB3aXRoIHRoZSBmb2xsb3dpbmcgdmFsdWVzIFtISCwgTU0sIFNTLCBNU10gYXMgZGVzY3JpYmVkIGJlbG93LlxuICogSEg6IGhvdXJzLlxuICogTU06IG1pbnV0ZXMuXG4gKiBTUzogc2Vjb25kcy5cbiAqIE1TOiBtaWxsaXNlY29uZHMuXG4gKlx
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */\nvar createIncrementalArrayBySize = function 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2NyZWF0ZS1pbmNyZW1lbnRhbC1hcnJheS1ieS1zaXplLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9jcmVhdGUtaW5jcmVtZW50YWwtYXJyYXktYnktc2l6ZS5qcz85Zjc4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ3JlYXRlIEluY3JlbWVudGFsIEFycmF5IGJ5IFNpemUgdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogQ3JlYXRlcyBhbiBhcnJheSBvZiBsZW5ndGggZXF1YWwgdG8gc2l6ZSB3aXRoIGluY3JlbWVudGFsIHZhbHVlcyBzdGFydGluZyBhdCAwLlxuICpcbiAqIEBzaW5jZSAxLjI4LjBcbiAqXG4gKiBAcGFyYW0ge251bWJlcn0gc2l6ZSBBcnJheSBsZW5ndGguXG4gKiBAcmV0dXJuIHtudW1iZXJbXX0gQXJyYXkgb2YgaW5jcmVtZW50YWwgbnVtYmVycy5cbiAqIEBleGFtcGxlIGNyZWF0ZUluY3JlbWVudGFsQXJyYXlCeVNpemUoMyk7IC8vIFswLCAxLCAyXVxuICovXG5leHBvcnQgY29uc3QgY3JlYXRlSW5jcmVtZW50YWxBcnJheUJ5U2l6ZSA9ICggc2l6ZSApID0+XG5cdG5ldyBBcnJheSggc2l6ZSA/PyAwICkuZmlsbCgpLm1hcCggKCBfLCBpICkgPT4gaSApO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\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 WAR
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 ob
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */\nvar finiteNumberOrZero = function 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2Zpbml0ZS1udW1iZXItb3ItemVyby5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvZmluaXRlLW51bWJlci1vci16ZXJvLmpzP2QxMTAiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBVdGlsaXR5IGZ1bmN0aW9uIGBmaW5pdGVOdW1iZXJPclplcm8oKWAuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMyBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBpc0Zpbml0ZSB9IGZyb20gJ2xvZGFzaCc7XG5cbi8qKlxuICogUmV0dXJucyB0aGUgcGFzc2VkIHZhbHVlIGlmIGl0J3MgYSBmaW5pdGUgbnVtYmVyLCBvdGhlcndpc2UgcmV0dXJucyAwLlxuICpcbiAqIEBzaW5jZSAxLjk4LjBcbiAqXG4gKiBAcGFyYW0ge2FueX0gdmFsdWUgVGhlIHZhbHVlIHRvIGNoZWNrLlxuICogQHJldHVybiB7bnVtYmVyfSBUaGUgZmluaXRlIG51bWJlciBgdmFsdWVgLCBvciAwIGlmIGB2YWx1ZWAgaXMgbm90IGEgZmluaXRlIG51bWJlci5cbiAqL1xuZXhwb3J0IGNvbnN0IGZpbml0ZU51bWJlck9yWmVybyA9ICggdmFsdWUgKSA9PiB7XG5cdHJldHVybiBpc0Zpbml0ZSggdmFsdWUgKSA/IHZhbHVlIDogMDtcbn07XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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.
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 im
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/**\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 * 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 ('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 ('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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../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 */\nvar isSiteKitScreen = function isSiteKitScreen(viewContext) {\n return _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"SITE_KIT_VIEW_CONTEXTS\"].includes(viewContext);\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzLXNpdGUta2l0LXNjcmVlbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvaXMtc2l0ZS1raXQtc2NyZWVuLmpzP2ViMzkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBVdGlsaXR5IGZ1bmN0aW9uIHRvIGNoZWNrIHdoZXRoZXIgb3Igbm90IGEgdmlldy1jb250ZXh0IGlzIGEgU2l0ZSBLaXQgdmlldy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIyIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IFNJVEVfS0lUX1ZJRVdfQ09OVEVYVFMgfSBmcm9tICcuLi9nb29nbGVzaXRla2l0L2NvbnN0YW50cyc7XG5cbi8qKlxuICogQ2hlY2tzIHdoZXRoZXIgb3Igbm90IHRoZSBjdXJyZW50IHZpZXdDb250ZXh0IGlzIGEgU2l0ZSBLaXQgc2NyZWVuLlxuICpcbiAqIEBzaW5jZSAxLjgwLjBcbiAqXG4gKiBAcGFyYW0ge3N0cmluZ30gdmlld0NvbnRleHQgVGhlIHZpZXctY29udGV4dC5cbiAqIEByZXR1cm4ge2Jvb2xlYW59IFRSVUUgaWYgdGhlIHBhc3NlZCB2aWV3LWNvbnRleHQgaXMgYSBzaXRlIGtpdCB2aWV3OyBvdGhlcndpc2UgRkFMU0UuXG4gKi9cbmV4cG9ydCBjb25zdCBpc1NpdGVLaXRTY3JlZW4gPSAoIHZpZXdDb250ZXh0ICkgPT5cblx0U0lURV9LSVRfVklFV19DT05URVhUUy5pbmNsdWRlcyggdmlld0NvbnRleHQgKTtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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/MjU1NiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFV0aWxpdHkgZnVuY3Rpb24gcmVsYXRlZCB0byBjaGVja2luZyBpZiBhIGdpdmVuIHZhbHVlIGlzIG51bWVyaWMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIENoZWNrcyB0aGUgZ2l2ZW4gdmFsdWUgdG8gc2VlIGlmIGl0IGlzIGEgcG9zaXRpdmUgaW50ZWdlci5cbiAqXG4gKiBAc2luY2UgMS4xMS4wIEZ1bmN0aW9uIGludHJvZHVjZWQuXG4gKiBAc2luY2UgMS45MC4wIE1vdmVkIG91dHNpZGUgVGFnIE1hbmFnZXIgdG8gYSBnZW5lcmljIHV0aWxpdHkgZnVuY3Rpb24uXG4gKlxuICogQHBhcmFtIHsqfSBpbnB1dCBWYWx1ZSB0byBjaGVjay5cbiAqIEByZXR1cm4ge2Jvb2xlYW59IFZhbGlkaXR5LlxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNWYWxpZE51bWVyaWNJRCggaW5wdXQgKSB7XG5cdGNvbnN0IGlkID0gcGFyc2VGbG9hdCggaW5wdXQgKSB8fCAwO1xuXG5cdGlmICggISBOdW1iZXIuaXNJbnRlZ2VyKCBpZCApICkge1xuXHRcdHJldHVybiBmYWxzZTtcblx0fVxuXG5cdHJldHVybiBpZCA+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzbnVtZXJpYy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvaXNudW1lcmljLmpzPzliNDkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBVdGlsaXR5IGZ1bmN0aW9uIHJlbGF0ZWQgdG8gY2hlY2tpbmcgaWYgYSBnaXZlbiB2YWx1ZSBpcyBudW1lcmljLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBDaGVja3MgaWYgYSBnaXZlbiB2YWx1ZSBpcyBudW1lcmljLlxuICpcbiAqIEBzaW5jZSAxLjgwLjBcbiAqXG4gKiBAcGFyYW0geyp9IHZhbHVlIFRoZSB2YWx1ZSB0byBjaGVjay5cbiAqIEByZXR1cm4ge2Jvb2xlYW59IFRSVUUgaWYgYSB2YWx1ZSBpcyBudW1lcmljIEZBTFNFIG90aGVyd2lzZS5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGlzTnVtZXJpYyggdmFsdWUgKSB7XG5cdGlmICggdHlwZW9mIHZhbHVlID09PSAnbnVtYmVyJyApIHtcblx0XHRyZXR1cm4gdHJ1ZTtcblx0fVxuXG5cdGNvbnN0IHN0cmluZyA9ICggdmFsdWUgfHwgJycgKS50b1N0cmluZygpO1xuXG5cdGlmICggISBzdHJpbmcgKSB7XG5cdFx0cmV0dXJuIGZhbHNlO1xuXHR9XG5cblx0cmV0dXJuICEgaXNOYU4oIHN0cmluZyApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/util/isnumeric.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/util/markdown.js":
|
|||
|
|
/*!*****************************!*\
|
|||
|
|
!*** ./js/util/markdown.js ***!
|
|||
|
|
\*****************************/
|
|||
|
|
/*! exports provided: markdownToHTML */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"markdownToHTML\", function() { return markdownToHTML; });\n/**\n * Markdown utility.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Replaces markdown links with its HTML equivalents.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} Text with HTML links.\n */\nfunction markdownLinks(text) {\n return text.replace(new RegExp('\\\\[([^\\\\]]+)\\\\]\\\\((https?://[^/]+\\\\.\\\\w+/?.*?)\\\\)', 'gi'), '<a href=\"$2\" target=\"_blank\" rel=\"noopener noreferrer\">$1</a>');\n}\n\n/**\n * Adds paragraphs to the text.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} Text with HTML links.\n */\nfunction markdownParagraphs(text) {\n return \"<p>\".concat(text.replace(/\\n{2,}/g, '</p><p>'), \"</p>\");\n}\n\n/**\n * Replaces line breaks in the text.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} Text with HTML links.\n */\nfunction markdownBreaks(text) {\n return text.replace(/\\n/gi, '<br>');\n}\n\n/**\n * Converts markdown to HTML.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} HTML version of the markdown text.\n */\nfunction markdownToHTML(text) {\n var rules = [markdownLinks, markdownParagraphs, markdownBreaks];\n var html = text;\n for (var _i = 0, _rules = rules; _i < _rules.length; _i++) {\n var rule = _rules[_i];\n html = rule(html);\n }\n return html;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL21hcmtkb3duLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9tYXJrZG93bi5qcz9kYjAyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTWFya2Rvd24gdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogUmVwbGFjZXMgbWFya2Rvd24gbGlua3Mgd2l0aCBpdHMgSFRNTCBlcXVpdmFsZW50cy5cbiAqXG4gKiBAc2luY2UgMS4yMi4wXG4gKlxuICogQHBhcmFtIHtzdHJpbmd9IHRleHQgTWFya2Rvd24gdGV4dC5cbiAqIEByZXR1cm4ge3N0cmluZ30gVGV4dCB3aXRoIEhUTUwgbGlua3MuXG4gKi9cbmZ1bmN0aW9uIG1hcmtkb3duTGlua3MoIHRleHQgKSB7XG5cdHJldHVybiB0ZXh0LnJlcGxhY2UoXG5cdFx0bmV3IFJlZ0V4cCggJ1xcXFxbKFteXFxcXF1dKylcXFxcXVxcXFwoKGh0dHBzPzovL1teL10rXFxcXC5cXFxcdysvPy4qPylcXFxcKScsICdnaScgKSxcblx0XHQnPGEgaHJlZj1cIiQyXCIgdGFyZ2V0PVwiX2JsYW5rXCIgcmVsPVwibm9vcGVuZXIgbm9yZWZlcnJlclwiPiQxPC9hPidcblx0KTtcbn1cblxuLyoqXG4gKiBBZGRzIHBhcmFncmFwaHMgdG8gdGhlIHRleHQuXG4gKlxuICogQHNpbmNlIDEuMjIuMFxuICpcbiAqIEBwYXJhbSB7c3RyaW5nfSB0ZXh0IE1hcmtkb3duIHRleHQuXG4gKiBAcmV0dXJuIHtzdHJpbmd9IFRleHQgd2l0aCBIVE1MIGxpbmtzLlxuICovXG5mdW5jdGlvbiBtYXJrZG93blBhcmFncmFwaHMoIHRleHQgKSB7XG
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */\nvar partitionReport = function 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/NTk4MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcG9ydCBwYXJ0aXRpb25pbmcgdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBpbnZhcmlhbnQgZnJvbSAnaW52YXJpYW50JztcblxuLyoqXG4gKiBTcGxpdHMgcmVwb3J0IGRhdGEgaW50byBzZWdtZW50cyBmb3IgY3VycmVudCBhbmQgY29tcGFyaXNvbiByYW5nZXMuXG4gKlxuICogQHNpbmNlIDEuMzMuMFxuICogQHNpbmNlIDEuMzQuMCBVcGRhdGVkIHRvIHN1cHBvcnQgaW5jb21wbGV0ZSBgcmVwb3J0YCBhcnJheXMuXG4gKlxuICogQHBhcmFtIHtBcnJheX0gIHJlcG9ydCAgICAgICAgICAgICAgIFJlcG9ydCByb3dzLlxuICogQHB
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 def
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */\nvar safelySort = function 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3NhZmVseS1zb3J0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9zYWZlbHktc29ydC5qcz8zMzQ3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHNhZmVseVNvcnRgIHV0aWxpdHkgZnVuY3Rpb24uXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIFNvcnRzIGFuIGFycmF5IHdpdGhvdXQgY2F1c2luZyB0aGUgbXV0YXRpb24gaWYgdGhlIGdpdmVuIHBhcmFtZXRlciBpcyBhbiBhcnJheS5cbiAqIElmIHRoZSBwYXJhbWV0ZXIgaXMgbm90IGFuIGFycmF5LCBpdCByZXR1cm5zIHRoZSBwYXJhbWV0ZXIgYXMgaXMuXG4gKlxuICogQHNpbmNlIDEuMTEwLjBcbiAqIEBzaW5jZSAxLjEyOC4wIE1vdmVkIHRvIHRoZSBjb21tb24gdXRpbGl0eSBkaXJlY3RvcnkgZnJvbSB0aGUga2V5IG1ldHJpY3MgZGlyZWN0b3J5LlxuICpcbiAqIEBwYXJhbSB7QXJyYXl8Kn0gYXJyIFBhcmFtIHRvIGJlIHNvcnRlZC5cbiAqIEByZXR1cm4ge0FycmF5fCp9IFx0U2FmZWx5IHNvcnRlZCBhcnJheSB3aXRob3V0IG11dGF0aW9uLlxuICovXG5leHBvcnQgY29uc3Qgc2FmZWx5U29ydCA9ICggYXJyICkgPT4ge1xuXHRyZXR1cm4gQXJyYXkuaXNBcnJheSggYXJyICkgPyBbIC4uLmFyciBdLnNvcnQoKSA6IGFycjtcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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\nvar sanitizeHTML = function 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3Nhbml0aXplLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9zYW5pdGl6ZS5qcz8yZmFkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IHB1cmlmeSB9IGZyb20gJy4vcHVyaWZ5JztcblxuZXhwb3J0IGNvbnN0IHNhbml0aXplSFRNTCA9ICggdW5zYWZlSFRNTCwgZG9tUHVyaWZ5Q29uZmlnID0ge30gKSA9PiB7XG5cdHJldHVybiB7XG5cdFx0X19odG1sOiBwdXJpZnkuc2FuaXRpemUoIHVuc2FmZUhUTUwsIGRvbVB1cmlmeUNvbmZpZyApLFxuXHR9O1xufTtcblxuLyoqXG4gKiBUYWtlcyBhIHN0cmluZyBvciBhbiBVUkwgb2JqZWN0LCByZW1vdmVzIHRoZSB0cmFpbGluZyBzbGFzaCBpZiBhbnkgYW5kIHJldHVybnMgaXQuXG4gKlxuICogQHNpbmNlIDEuMjAuMFxuICogQHByaXZhdGVcbiAqXG4gKiBAcGFyYW0ge09iamVjdHxzdHJpbmd9IHVybCBBIHN0cmluZyB3aXRoIG9yIHdpdGhvdXQgdHJhaWxpbmcgc2xhc2ggb3IgYW4gVVJMIG9iamVjdC5cbiAqIEByZXR1cm4ge3N0cmluZ3x1bmRlZmluZWR9IFRoZSBVUkwgc3RyaW5nIGFmdGVyIHJlbW92aW5nIHRoZSB0cmFpbGluZyBzbGFzaC5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIHVudHJhaWxpbmdzbGFzaGl0KCB1cmwgKSB7XG5cdGNvbnN0IG9yaWdpbmFsVVJMID0gdHlwZW9mIHVybCA9PT0gJ29iamVjdCcgPyB1cmwudG9TdHJpbmcoKSA6IHVybDtcblx0cmV0dXJuIG9yaWdpbmFsVVJMPy5yZXBsYWNlPy4oIC9cXC8rJC8sICcnICk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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 _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../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 !== _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 getGoogleSiteKitHeaderHe
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */\nvar storageAvailable = function 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 */\nvar getStorage = function getStorage() {\n // Only run the logic to determin
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 */\nvar stringifyObject = function 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3N0cmluZ2lmeS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvc3RyaW5naWZ5LmpzP2I3NGUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTdHJpbmdpZnkgZnVuY3Rpb24uXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgbWQ1IGZyb20gJ21kNSc7XG5cbi8qKlxuICogVHJhbnNmb3JtcyBhbiBvYmplY3QgaW50byBhIGhhc2ggc3RyaW5nLlxuICpcbiAqIFRoaXMgZnVuY3Rpb24gY2FuIGJlIHVzZWQgdG8gZS5nLiBnZW5lcmF0ZSBjYWNoZSBrZXlzLCBiYXNlZCBvbiB0aGUgZ2l2ZW5cbiAqIG9iamVjdC4gT2JqZWN0IHByb3BlcnRpZXMgYXJlIHNvcnRlZCwgc28gZXZlbiBpZiB0aGV5IGFyZSBwcm92aWRlZCBpblxuICogZGlmZmVyZW50IG9yZGVyLCB0aGUgaGFzaCB3aWxsIG1hdGNoLiBUaGUgZnVuY3Rpb24gZnVydGhlcm1vcmUgc3VwcG9ydHN
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../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 */\nvar extractExistingTag = function 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__*/funct
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvdHJhY2tpbmcvY29uc3RhbnRzLmpzPzJkNjgiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDb25zdGFudHMgcmVsYXRlZCB0byBldmVudCB0cmFja2luZy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRGF0YSBsYXllciBnbG9iYWwgdXNlZCBmb3IgaW50ZXJuYWwvcHJpdmF0ZSBTaXRlIEtpdCBkYXRhLlxuICpcbiAqIEBzaW5jZSAxLjguMFxuICogQHByaXZhdGVcbiAqL1xuZXhwb3J0IGNvbnN0IERBVEFfTEFZRVIgPSAnX2dvb2dsZXNpdGVraXREYXRhTGF5ZXInO1xuXG4vKipcbiAqIFRoZSBgZ3RhZ2AgYDxzY3JpcHQ+YCBpZGVudGlmaWVyLlxuICpcbiAqIEBzaW5jZSAxLjguMFxuICogQHByaXZhdGVcbiAqL1xuZXhwb3J0IGNvbnN0IFNDUklQVF9JREVOVElGSUVSID0gJ2RhdGEtZ29vZ2xlc2l0ZWtpdC1ndGFnJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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 _features_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../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;\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(_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:applicatio
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _ca
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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_IMPOR
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/**\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.152.1\";\nvar initialConfig = {\n activeModules: activeModules,\n trackingEnabled: trackingEnabled,\n trackingID: trackingID,\n referenceSiteURL: referenceSiteURL,\n userIDHash: userIDHash,\n isSiteKitScreen: isSiteKitScreen,\n userRoles: userRoles,\n isAuthenticated: isAuthenticated,\n pluginVersion: pluginVersion\n};\nvar _createTracking = Object(_createTracking__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(initialConfig),\n enableTracking = _createTracking.enableTracking,\n disableTracking = _createTracking.disableTracking,\n isTrackingEnabled = _createTracking.isTrackingEnabled,\n initializeSnippet = _createTracking.initializeSnippet,\n trackEvent = _createTracking.trackEvent,\n trackEventOnce = _createTracking.trackEventOnce;\n/**\n * Changes the active state of tracking.\n *\n * @since 1.3.0\n *\n * @param {boolean} activeStatus The new state to set.\n */\nfunction toggleTracking(activeStatus) {\n if (!!activeStatus) {\n enableTracking();\n } else {\n disableTracking();\n }\n}\n\n// Bootstrap on import if tracking is allowed.\nif (isSiteKitScreen && trackingEnabled) {\n initializeSnippet();\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC90cmFja2luZy9pbmRleC5qcz82YTc3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXZlbnQgdHJhY2tpbmcgdXRpbGl0aWVzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3VybHMuanMuanMiLCJzb3VyY2
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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 _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_data_transform_case__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../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(_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 fall
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/ad-blocking-recovery-setup.svg":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./svg/graphics/ad-blocking-recovery-setup.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: \"M22.56 28.885a85.319 85.319 0 018.606-7.899C60.044-2.097 83.903-2.06 116.934 2.153 139.265 5 158.642 18.5 182.13 17.185 205.617 15.871 238.088 7.743 264 9.5c29.5 2 37 5.5 63.227 19.385 24.273 12.85 46.312 35.426 57.388 65.284 18.985 51.177-14.865 143.285-60.259 147.628-32.893 3.148-60.039-33.973-93.239-25.376-20.452 5.297-32.583 27.515-48.362 42.177-18.409 17.107-48.199 16.032-69.755 6.902-20.542-8.699-35.63-25.926-42.338-51.32-5.107-19.338-4.595-38.709-16.86-53.857C36.497 138.947 9.432 134 1.281 94.168c-5.16-25.213 5.942-49.13 21.279-65.283z\",\n fill: \"#F3F5F7\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#ad-blocking-recovery-setup_svg__filter0_d_149_3117)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 50.837,\n y: 42.913,\n width: 257.906,\n height: 176.087,\n rx: 14.086,\n fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 50.139,\n y: 42.214,\n width: 259.302,\n height: 177.484,\n rx: 14.785,\n stroke: \"#CBD0D3\",\n strokeWidth: 1.396\n}));\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 65,\n y: 78.486,\n width: 78,\n height: 126.285,\n rx: 5.282,\n fill: \"#EE92DA\"\n});\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 104.5,\n cy: 139.528,\n r: 11,\n stroke: \"#fff\",\n strokeWidth: 3\n});\nvar _ref5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M112 132.028l-15.5 15.5\",\n stroke: \"#fff\",\n strokeWidth: 3\n});\nvar _ref6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M50.837 56.999c0-7.78 6.307-14.086 14.087-14.086h229.733c7.78 0 14.086 6.306 14.086 14.086v7.258H50.837v-7.258z\",\n fill: \"#EBEEF0\"\n});\nvar _ref7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 61.509,\n y: 50.027,\n width: 7.115,\n height: 7.115,\n rx: 3.557,\n fill: \"#CBD0D3\"\n});\nvar _ref8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 72.181,\n y: 50.027,\n width: 7.115,\n height: 7.115,\n rx: 3.557,\n fill: \"#CBD0D3\"\n});\nvar _ref9 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 164,\n y: 78.486,\n width: 125.396,\n height: 42.688,\n rx: 5.585,\n fill: \"#EBEEF0\"\n});\nvar _ref10 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 164,\n y: 129,\n width: 92.49,\n height: 14.229,\n rx: 7.115,\n fill: \"#EBEEF0\"\n});\nvar _ref11 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 164,\n y: 151,\n width: 108.498,\n height: 5.585,\n rx: 2.793,\n fill: \"#EBEEF0\"\n});\nvar _ref12 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 164,\n y: 165,\n width: 92.49,\n height: 5.585,\n rx: 2.793,\n fill: \"#EBEEF0\"\n});\nvar _ref13 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 164,\n y: 179,\n width: 125.396,\n height: 5.585,\n rx: 2.793,\n fill: \"#EBEEF0\"\n});\nvar _ref14 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/adsense-ad-blocking-recovery.svg":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./svg/graphics/adsense-ad-blocking-recovery.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.844 147.762c2.194 6.077 5.317 11.655 9.223 16.472 15.35 18.759 38.032 20.349 58.833 15.655 21.062-4.784 40.919-14.928 58.106-29.684 9.89-8.504 19.66-19.057 32.756-19.528 4.917-.175 10.002 1.397 13.716 5.105 7.719 7.659 7.582 20.754 13.605 29.83 8.011 12.071 19.533 15.809 32.101 17.202 35.507 3.931 77.801-8.967 102.225-40.351 21.807-28.017 24.424-72.598-1.972-98.14-12.059-11.67-28.596-17.015-44.205-14.291-11.928 2.082-24.039 8.416-36.387 10.178-14.544 2.078-23.534-5.01-35.301-13.267-20.503-14.35-47.608-19.863-70.817-11.538-22.217 7.968-38.207 29.724-59.826 39.282-18.68 8.264-40.748 7.006-56.98 20.466C.716 91.073-4.112 123.22 4.844 147.762z\",\n fill: \"#F3F5F7\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M82.612 161.531c9.217 0 16.69-2.74 16.69-6.12v-2.225h-33.38v2.225c0 3.38 7.472 6.12 16.69 6.12z\",\n fill: \"#C59539\"\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"ellipse\", {\n cx: 82.612,\n cy: 153.185,\n rx: 16.69,\n ry: 6.12,\n fill: \"#E1B155\"\n});\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M82.612 157.08c9.218 0 16.69-2.74 16.69-6.12v-2.225h-33.38v2.225c0 3.38 7.472 6.12 16.69 6.12z\",\n fill: \"#C59539\"\n});\nvar _ref5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"ellipse\", {\n cx: 82.612,\n cy: 148.735,\n rx: 16.69,\n ry: 6.12,\n fill: \"#E1B155\"\n});\nvar _ref6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M82.612 152.629c9.217 0 16.69-2.74 16.69-6.12v-2.225h-33.38v2.225c0 3.38 7.472 6.12 16.69 6.12z\",\n fill: \"#C59539\"\n});\nvar _ref7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"ellipse\", {\n cx: 82.612,\n cy: 144.284,\n rx: 16.69,\n ry: 6.12,\n fill: \"#E1B155\"\n});\nvar _ref8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M82.612 148.179c9.218 0 16.69-2.74 16.69-6.12v-2.225h-33.38v2.225c0 3.38 7.472 6.12 16.69 6.12z\",\n fill: \"#C59539\"\n});\nvar _ref9 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"ellipse\", {\n cx: 82.612,\n cy: 139.834,\n rx: 16.69,\n ry: 6.12,\n fill: \"#E1B155\"\n});\nvar _ref10 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M82.612 143.727c9.218 0 16.69-2.74 16.69-6.119v-2.226h-33.38v2.226c0 3.379 7.472 6.119 16.69 6.119z\",\n fill: \"#C59539\"\n});\nvar _ref11 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"ellipse\", {\n cx: 82.612,\n cy: 135.382,\n rx: 16.69,\n ry: 6.12,\n fill: \"#E1B155\"\n});\nvar _ref12 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M82.612 139.277c9.217 0 16.69-2.739 16.69-6.119v-2.226h-33.38v2.226c0 3.38 7.472 6.119 16.69 6.119z\",\n fill: \"#C59539\"\n});\nvar _ref13 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"ellipse\", {\n cx: 82.612,\n cy: 130.932,\n rx: 16.69,\n ry: 6.12,\n fill: \"#E1B155\"\n});\nvar _ref14 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M82.107 132.861v-.372a3.584 3.584 0 01-.7-.12 2.263 2.263 0 01-.598-.266 1.101 1.101 0 01-.385-.415l.739-.162a.866.866 0 00.346.338c.1
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/adsense.svg":
|
|||
|
|
/*!**********************************!*\
|
|||
|
|
!*** ./svg/graphics/adsense.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: \"M107.91 41.72c7.73-13.22 3.14-30.12-10.24-37.75C84.29-3.66 67.18.87 59.45 14.09c-.35.59-.66 1.2-.96 1.81l-26.1 44.66a27.172 27.172 0 00-1.6 2.75L3.67 110.1l48.45 27.16 26.98-46.4c.29-.44.57-.89.84-1.35.27-.46.52-.93.76-1.39l26.11-44.67c.38-.57.76-1.14 1.1-1.73z\",\n fill: \"#FBBC04\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M52.34 137.11c-7.68 13.43-25 18.38-38.31 10.62-13.31-7.76-18.02-24.57-10.34-38s24.86-18.39 38.16-10.64c13.3 7.75 18.18 24.59 10.49 38.02z\",\n fill: \"#34A853\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M158.79 51.86c-13.23-7.62-30.15-3.1-37.79 10.1l-27.66 47.8c-7.64 13.2-3.11 30.08 10.13 37.7 13.23 7.62 30.15 3.1 37.79-10.1l27.66-47.8c7.63-13.2 3.1-30.08-10.13-37.7z\",\n fill: \"#4285F4\"\n}));\nfunction SvgAdsense(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 173 152\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgAdsense);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvZ3JhcGhpY3MvYWRzZW5zZS5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvZ3JhcGhpY3MvYWRzZW5zZS5zdmc/YzgzNSJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwiZ1wiLCB7XG4gIGZpbGw6IFwibm9uZVwiLFxuICBmaWxsUnVsZTogXCJldmVub2RkXCJcbn0sIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTEwNy45MSA0MS43MmM3LjczLTEzLjIyIDMuMTQtMzAuMTItMTAuMjQtMzcuNzVDODQuMjktMy42NiA2Ny4xOC44NyA1OS40NSAxNC4wOWMtLjM1LjU5LS42NiAxLjItLjk2IDEuODFsLTI2LjEgNDQuNjZhMjcuMTcyIDI3LjE3MiAwIDAwLTEuNiAyLjc1TDMuNjcgMTEwLjFsNDguNDUgMjcuMTYgMjYuOTgtNDYuNGMuMjktLjQ0LjU3LS44OS44NC0xLjM1LjI3LS40Ni41Mi0uOTMuNzYtMS4zOWwyNi4xMS00NC42N2MuMzgtLjU3Ljc2LTEuMTQgMS4xLTEuNzN6XCIsXG4gIGZpbGw6IFwiI0ZCQkMwNFwiXG59KSwgLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNNTIuMzQgMTM3LjExYy03LjY4IDEzLjQzLTI1IDE4LjM4LTM4LjMxIDEwLjYyLTEzLjMxLTcuNzYtMTguMDItMjQuNTctMTAuMzQtMzhzMjQuODYtMTguMzkgMzguMTYtMTAuNjRjMTMuMyA3Ljc1IDE4LjE4IDI0LjU5IDEwLjQ5IDM4LjAyelwiLFxuICBmaWxsOiBcIiMzNEE4NTNcIlxufSksIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTE1OC43OSA1MS44NmMtMTMuMjMtNy42Mi0zMC4xNS0zLjEtMzcuNzkgMTAuMWwtMjcuNjYgNDcuOGMtNy42NCAxMy4yLTMuMTEgMzAuMDggMTAuMTMgMzcuNyAxMy4yMyA3LjYyIDMwLjE1IDMuMSAzNy43OS0xMC4xbDI3LjY2LTQ3LjhjNy42My0xMy4yIDMuMS0zMC4wOC0xMC4xMy0zNy43elwiLFxuICBmaWxsOiBcIiM0Mjg1RjRcIlxufSkpO1xuZnVuY3Rpb24gU3ZnQWRzZW5zZShwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDE3MyAxNTJcIlxuICB9LCBwcm9wcyksIF9yZ
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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.0
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/logo-g.svg":
|
|||
|
|
/*!*********************************!*\
|
|||
|
|
!*** ./svg/graphics/logo-g.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: \"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z\",\n fill: \"#FBBC05\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z\",\n fill: \"#EA4335\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z\",\n fill: \"#34A853\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z\",\n fill: \"#4285F4\"\n}));\nfunction SvgLogoG(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 43 44\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgLogoG);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvZ3JhcGhpY3MvbG9nby1nLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9ncmFwaGljcy9sb2dvLWcuc3ZnP2RlNTkiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcImdcIiwge1xuICBmaWxsOiBcIm5vbmVcIixcbiAgZmlsbFJ1bGU6IFwiZXZlbm9kZFwiXG59LCAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0yLjI1MyAxMi4yNTJsNy4zOTkgNS42NThBMTMuMDU1IDEzLjA1NSAwIDAwOSAyMmMwIDEuNDMuMjI5IDIuODA1LjY1MiA0LjA5bC03LjQgNS42NThBMjIuMDIgMjIuMDIgMCAwMTAgMjJjMC0zLjUwNi44MS02LjgxNCAyLjI1My05Ljc0OHpcIixcbiAgZmlsbDogXCIjRkJCQzA1XCJcbn0pLCAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk05LjY1MiAxNy45MWwtNy40LTUuNjU4QTIxLjkzNSAyMS45MzUgMCAwMTIyIDBjNS42IDAgMTAuNiAyLjEgMTQuNSA1LjVsLTYuNCA2LjRDMjcuOSAxMC4xIDI1LjEgOSAyMiA5Yy01Ljc3IDAtMTAuNjQgMy43MjUtMTIuMzQ4IDguOTF6XCIsXG4gIGZpbGw6IFwiI0VBNDMzNVwiXG59KSwgLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNMi4yNSAzMS43NDJsNy4zOTYtNS42N0ExMi45NzUgMTIuOTc1IDAgMDAyMiAzNWM2LjEgMCAxMC43LTMuMSAxMS44LTguNUgyMlYxOGgyMC41Yy4zIDEuMy41IDIuNy41IDQgMCAxNC0xMCAyMi0yMSAyMkEyMS45MzUgMjEuOTM1IDAgMDEyLjI1IDMxLjc0MnpcIixcbiAgZmlsbDogXCIjMzRBODUzXCJcbn0pLCAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0zNi4zNCAzOC41MmwtNy4wMjUtNS40MzdjMi4yOTctMS40NSAzLjg5NS0zLjY4NSA0LjQ4NS02LjU4M0gyMlYxOGgyMC41Yy4zIDEuMy41IDIuNy41IDQgMCA3LjE3LTIuNjIzIDEyLjc2Ny02LjY2IDE2LjUyelwiLFxuICBmaWxsOiBcIiM0Mjg1RjRcIlxufSkpO1xuZnVuY3Rpb24gU3ZnTG9nb0cocHJvc
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/logo-sitekit.svg":
|
|||
|
|
/*!***************************************!*\
|
|||
|
|
!*** ./svg/graphics/logo-sitekit.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: \"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z\",\n fill: \"#5F6368\"\n});\nfunction SvgLogoSitekit(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 80 21\",\n fill: \"none\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgLogoSitekit);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvZ3JhcGhpY3MvbG9nby1zaXRla2l0LnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9ncmFwaGljcy9sb2dvLXNpdGVraXQuc3ZnPzUzNjMiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmR
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/YTI2MiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwiZ1wiLCB7XG4gIGZpbGw6IFwibm9uZVwiLFxuICBmaWxsUnVsZTogXCJldmVub2RkXCJcbn0sIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwiY2lyY2xlXCIsIHtcbiAgZmlsbDogXCIjRkZGXCIsXG4gIGN4OiA2LjUsXG4gIGN5OiA2LjUsXG4gIHI6IDYuNVxufSksIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTMuNDYxIDYuOTZoNS4xNUw2LjM2IDkuMjFhLjQ2NC40NjQgMCAwMC4zMjUuNzkuNDU5LjQ1OSAwIDAwLjMyNS0uMTM1bDMuMDM3LTMuMDM4YS40NTkuNDU5IDAgMDAwLS42NUw3LjAxNSAzLjEzNWEuNDYuNDYgMCAwMC0uNjUuNjVMOC42MSA2LjAzOUgzLjQ2MWEuNDYyLjQ2MiAwIDAwLS40NjEuNDZjMCAuMjU0LjIwNy40NjIuNDYxLjQ2MnpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSksIFwiLlwiKTtcbmZ1bmN0aW9uIFN2Z0Fycm93SW52ZXJzZShwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDEzIDEzXCJcbiAgfSwgcHJvcHMpLCBfcmVmKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z0Fycm93SW52ZXJzZTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXJyb3cuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2Fycm93LnN2Zz8yODEwIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJnXCIsIHtcbiAgZmlsbDogXCJub25lXCIsXG4gIGZpbGxSdWxlOiBcImV2ZW5vZGRcIlxufSwgLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJjaXJjbGVcIiwge1xuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiLFxuICBjeDogNi41LFxuICBjeTogNi41LFxuICByOiA2LjVcbn0pLCAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0zLjQ2MSA2Ljk2aDUuMTVMNi4zNiA5LjIxYS40NjQuNDY0IDAgMDAuMzI1Ljc5LjQ1OS40NTkgMCAwMC4zMjUtLjEzNWwzLjAzNy0zLjAzOGEuNDU5LjQ1OSAwIDAwMC0uNjVMNy4wMTUgMy4xMzVhLjQ2LjQ2IDAgMDAtLjY1LjY1TDguNjEgNi4wMzlIMy40NjFhLjQ2Mi40NjIgMCAwMC0uNDYxLjQ2YzAgLjI1NC4yMDcuNDYyLjQ2MS40NjJ6XCIsXG4gIGZpbGw6IFwiI0ZGRlwiXG59KSwgXCIuXCIpO1xuZnVuY3Rpb24gU3ZnQXJyb3cocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAxMyAxM1wiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdBcnJvdzsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/arrow.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/MTY0YSJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTEyIDIwbC04LTggOC04IDEuNDI1IDEuNC01LjYgNS42SDIwdjJINy44MjVsNS42IDUuNkwxMiAyMHpcIlxufSk7XG5mdW5jdGlvbiBTdmdCYWNrKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjQgMjRcIixcbiAgICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdCYWNrOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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/MzQ0MSJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTIgNS4zMDlsMS40NzQgMi4xNGMuNjkgMS4wMDEgMS45NDYgMS4wMDEgMi42MzYgMEwxMCAxLjhcIixcbiAgc3Ryb2tlOiBcImN1cnJlbnRDb2xvclwiLFxuICBzdHJva2VXaWR0aDogMS42LFxuICBzdHJva2VMaW5lY2FwOiBcInNxdWFyZVwiXG59KTtcbmZ1bmN0aW9uIFN2Z0NoZWNrMihwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDEyIDlcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnQ2hlY2syOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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/OGZjNCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGZpbGxSdWxlOiBcImV2ZW5vZGRcIixcbiAgY2xpcFJ1bGU6IFwiZXZlbm9kZFwiLFxuICBkOiBcIk0xMiAxQzUuOTI1IDEgMSA1LjkyNSAxIDEyczQuOTI1IDExIDExIDExIDExLTQuOTI1IDExLTExUzE4LjA3NSAxIDEyIDF6bTQuODA2IDguNTkybC41OTItLjgwNi0xLjYxMi0xLjE4NC0uNTkyLjgwNi0zLjg5IDUuMjk2Yy0uMTY2LjIyNi0uMzYuMjk2LS41MTIuMjk2LS4xNTIgMC0uMzQ2LS4wNy0uNTEyLS4yOTZsLTEuNDc0LTIuMDA3LS41OTItLjgwNi0xLjYxMiAxLjE4NC41OTIuODA2IDEuNDc0IDIuMDA3QzkuMTkxIDE1LjYgOS45NzEgMTYgMTAuNzkyIDE2Yy44MjEgMCAxLjYtLjQgMi4xMjQtMS4xMTJsMy44OS01LjI5NnpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSk7XG5mdW5jdGlvbiBTdmdDaGVja0ZpbGwocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyNCAyNFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdDaGVja0ZpbGw7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvY2xvc2Uuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2Nsb3NlLnN2Zz9mM2EwIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNMTQgMS40MUwxMi41OSAwIDcgNS41OSAxLjQxIDAgMCAxLjQxIDUuNTkgNyAwIDEyLjU5IDEuNDEgMTQgNyA4LjQxIDEyLjU5IDE0IDE0IDEyLjU5IDguNDEgNyAxNCAxLjQxelwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z0Nsb3NlKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMTQgMTRcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnQ2xvc2U7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/close.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/connected.svg":
|
|||
|
|
/*!*********************************!*\
|
|||
|
|
!*** ./svg/icons/connected.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: \"currentColor\",\n fillRule: \"evenodd\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z\"\n}));\nfunction SvgConnected(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 16 12\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgConnected);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvY29ubmVjdGVkLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9jb25uZWN0ZWQuc3ZnP2NjNTMiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcImdcIiwge1xuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiLFxuICBmaWxsUnVsZTogXCJldmVub2RkXCJcbn0sIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTAgNi40MTRMMS40MTUgNWw1LjI5MiA1LjI5Mi0xLjQxNCAxLjQxNXpcIlxufSksIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTE0LjE0Ni4xNDZsMS40MTUgMS40MTRMNS40MTQgMTEuNzA3IDQgMTAuMjkyelwiXG59KSk7XG5mdW5jdGlvbiBTdmdDb25uZWN0ZWQocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAxNiAxMlwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdDb25uZWN0ZWQ7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/connected.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/disconnect.svg":
|
|||
|
|
/*!**********************************!*\
|
|||
|
|
!*** ./svg/icons/disconnect.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: \"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z\",\n fill: \"currentColor\"\n});\nfunction SvgDisconnect(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 22 22\",\n fill: \"none\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgDisconnect);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZGlzY29ubmVjdC5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvZGlzY29ubmVjdC5zdmc/NGRiOSJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTYuODMgMkgyMGEyIDIgMCAwMTIgMnYxMmMwIC4zNC0uMDkuNjYtLjIzLjk0TDIwIDE1LjE3VjZoLTkuMTdsLTQtNHptMTMuNjYgMTkuMzFMMTcuMTcgMThINGEyIDIgMCAwMS0yLTJWNGMwLS4zNC4wOC0uNjYuMjMtLjk0TC42OSAxLjUxIDIuMS4xbDE5LjggMTkuOC0xLjQxIDEuNDF6TTE1LjE3IDE2bC0xMC0xMEg0djEwaDExLjE3elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z0Rpc2Nvbm5lY3QocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyMiAyMlwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdEaXNjb25uZWN0OyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/disconnect.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/error.svg":
|
|||
|
|
/*!*****************************!*\
|
|||
|
|
!*** ./svg/icons/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: \"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z\",\n fill: \"currentColor\",\n fillRule: \"nonzero\"\n});\nfunction SvgError(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 28 25\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgError);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZXJyb3Iuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2Vycm9yLnN2Zz80YTgyIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNMy4zMzIgMjQuNzVoMjEuMzM1YzIuMTgyIDAgMy41NDItMi4zNjYgMi40NTEtNC4yNUwxNi40NTEgMi4wN0MxNS4zNi4xODQgMTIuNjQuMTg0IDExLjU0OSAyLjA3TC44ODIgMjAuNWMtMS4wOTEgMS44ODQuMjY5IDQuMjUgMi40NSA0LjI1ek0xNCAxNC44MzNhMS40MiAxLjQyIDAgMDEtMS40MTctMS40MTZ2LTIuODM0YzAtLjc3OS42MzgtMS40MTYgMS40MTctMS40MTYuNzggMCAxLjQxNy42MzcgMS40MTcgMS40MTZ2Mi44MzRBMS40MiAxLjQyIDAgMDExNCAxNC44MzN6bTEuNDE3IDUuNjY3aC0yLjgzNHYtMi44MzNoMi44MzRWMjAuNXpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIixcbiAgZmlsbFJ1bGU6IFwibm9uemVyb1wiXG59KTtcbmZ1bmN0aW9uIFN2Z0Vycm9yKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjggMjVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnRXJyb3I7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/error.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/exclamation.svg":
|
|||
|
|
/*!***********************************!*\
|
|||
|
|
!*** ./svg/icons/exclamation.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: \"currentColor\",\n fillRule: \"evenodd\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M0 0h2v7H0zM0 10h2v2H0z\"\n}));\nfunction SvgExclamation(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 2 12\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgExclamation);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZXhjbGFtYXRpb24uc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2V4Y2xhbWF0aW9uLnN2Zz9lYWM2Il0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJnXCIsIHtcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIixcbiAgZmlsbFJ1bGU6IFwiZXZlbm9kZFwiXG59LCAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0wIDBoMnY3SDB6TTAgMTBoMnYySDB6XCJcbn0pKTtcbmZ1bmN0aW9uIFN2Z0V4Y2xhbWF0aW9uKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMiAxMlwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdFeGNsYW1hdGlvbjsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/exclamation.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/external-rounded.svg":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./svg/icons/external-rounded.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.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2\",\n stroke: \"currentColor\",\n strokeWidth: 1.5\n});\nfunction SvgExternalRounded(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 13 14\",\n fill: \"none\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgExternalRounded);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZXh0ZXJuYWwtcm91bmRlZC5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvZXh0ZXJuYWwtcm91bmRlZC5zdmc/MGIwMiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTQuNSAxLjVIM2EyIDIgMCAwMC0yIDJ2N2EyIDIgMCAwMDIgMmg3YTIgMiAwIDAwMi0yVjlNNyAxLjVoNXY1TTUgOC41TDExLjUgMlwiLFxuICBzdHJva2U6IFwiY3VycmVudENvbG9yXCIsXG4gIHN0cm9rZVdpZHRoOiAxLjVcbn0pO1xuZnVuY3Rpb24gU3ZnRXh0ZXJuYWxSb3VuZGVkKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMTMgMTRcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnRXh0ZXJuYWxSb3VuZGVkOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/external-rounded.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZXh0ZXJuYWwuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2V4dGVybmFsLnN2Zz82N2VjIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNNSAyMWExLjk5IDEuOTkgMCAwMS0xLjQyNS0uNTc1QTEuOTkgMS45OSAwIDAxMyAxOVY1YzAtLjU1LjE5Mi0xLjAxNy41NzUtMS40LjQtLjQuODc1LS42IDEuNDI1LS42aDd2Mkg1djE0aDE0di03aDJ2N2MwIC41NS0uMiAxLjAyNS0uNiAxLjQyNS0uMzgzLjM4My0uODUuNTc1LTEuNC41NzVINXptNC43LTUuM2wtMS40LTEuNEwxNy42IDVIMTRWM2g3djdoLTJWNi40bC05LjMgOS4zelwiXG59KTtcbmZ1bmN0aW9uIFN2Z0V4dGVybmFsKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjQgMjRcIixcbiAgICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdFeHRlcm5hbDsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/external.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/help.svg":
|
|||
|
|
/*!****************************!*\
|
|||
|
|
!*** ./svg/icons/help.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: \"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z\",\n fill: \"currentColor\"\n});\nfunction SvgHelp(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\"] = (SvgHelp);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvaGVscC5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvaGVscC5zdmc/NGM3MiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTkgMTZoMnYtMkg5djJ6bTEtMTZDNC40OCAwIDAgNC40OCAwIDEwczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNS41MiAwIDEwIDB6bTAgMThjLTQuNDEgMC04LTMuNTktOC04czMuNTktOCA4LTggOCAzLjU5IDggOC0zLjU5IDgtOCA4em0wLTE0QzcuNzkgNCA2IDUuNzkgNiA4aDJjMC0xLjEuOS0yIDItMnMyIC45IDIgMmMwIDItMyAxLjc1LTMgNWgyYzAtMi4yNSAzLTIuNSAzLTUgMC0yLjIxLTEuNzktNC00LTR6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnSGVscChwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDIwIDIwXCIsXG4gICAgZmlsbDogXCJub25lXCJcbiAgfSwgcHJvcHMpLCBfcmVmKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z0hlbHA7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/help.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//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvaW5mby1ncmVlbi5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvaW5mby1ncmVlbi5zdmc/MmNhZSJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTcuMzM0IDExLjMzM2gxLjMzM3YtNEg3LjMzNHY0ek04LjAwMSA2YS42NTguNjU4IDAgMDAuNjY3LS42NjcuNjA1LjYwNSAwIDAwLS4yLS40NjcuNjA1LjYwNSAwIDAwLS40NjctLjIuNjU4LjY1OCAwIDAwLS42NjcuNjY3YzAgLjE4OS4wNjEuMzUuMTgzLjQ4M0EuNjkuNjkgMCAwMDguMDAxIDZ6bTAgOC42NjZhNi41ODMgNi41ODMgMCAwMS0yLjYtLjUxNiA2Ljg1IDYuODUgMCAwMS0yLjExNy0xLjQzNEE2Ljg1IDYuODUgMCAwMTEuODUxIDEwLjYgNi41ODIgNi41ODIgMCAwMTEuMzM0IDhjMC0uOTIzLjE3Mi0xLjc5LjUxNy0yLjZhNi44NSA2Ljg1IDAgMDExLjQzMy0yLjExN2MuNi0uNiAxLjMwNi0xLjA3MiAyLjExNy0xLjQxN0E2LjQwNCA2LjQwNCAwIDAxOCAxLjMzM2MuOTIyIDAgMS43ODkuMTc4IDIuNi41MzNhNi42MTggNi42MTggMCAwMTIuMTE2IDEuNDE3Yy42LjYgMS4wNzIgMS4zMDYgMS40MTcgMi4xMTcuMzU1LjgxLjUzMyAxLjY3Ny41MzMgMi42IDAgLjkyMi0uMTc4IDEuNzg5LS41MzMgMi42YTYuNjE5IDYuNjE5IDAgMDEtMS40MTcgMi4xMTYgNi44NSA2Ljg1IDAgMDEtMi4xMTYgMS40MzQgNi41ODMgNi41ODMgMCAwMS0yLjYuNTE2em0wLTEuMzMzYzEuNDg5IDAgMi43NS0uNTE3IDMuNzgzLTEuNTVzMS41NS0yLjI5NCAxLjU1LTMuNzgzYzAtMS40OS0uNTE3LTIuNzUtMS41NS0zLjc4NC0xLjAzMy0xLjAzMy0yLjI5NC0xLjU1LTMuNzgzLTEuNTUtMS40OSAwLTIuNzUuNTE3LTMuNzg0IDEuNTVDMy4xODQgNS4yNSAyLjY2NyA2LjUxMSAyLjY2NyA4YzAgMS40ODkuNTE3IDIuNzUgMS41NSAzLjc4MyAxLjAzNCAxLjAzMyAyLjI5NSAxLjU1IDMuNzg0IDEuNTV6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnSW5mb0dyZWVuKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMTYgMTZcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyks
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/info-icon.svg":
|
|||
|
|
/*!*********************************!*\
|
|||
|
|
!*** ./svg/icons/info-icon.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 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z\"\n});\nfunction SvgInfoIcon(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 20 20\",\n fill: \"currentColor\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgInfoIcon);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvaW5mby1pY29uLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9pbmZvLWljb24uc3ZnPzMxN2MiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0xMCAxNS4yN0wxNi4xOCAxOWwtMS42NC03LjAzTDIwIDcuMjRsLTcuMTktLjYxTDEwIDAgNy4xOSA2LjYzIDAgNy4yNGw1LjQ2IDQuNzNMMy44MiAxOSAxMCAxNS4yN3pcIlxufSk7XG5mdW5jdGlvbiBTdmdJbmZvSWNvbihwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDIwIDIwXCIsXG4gICAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnSW5mb0ljb247Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/info-icon.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/keyboard-backspace.svg":
|
|||
|
|
/*!******************************************!*\
|
|||
|
|
!*** ./svg/icons/keyboard-backspace.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: \"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z\",\n fill: \"currentColor\"\n});\nfunction SvgKeyboardBackspace(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 24 24\"\n }, props), _ref, _ref2);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgKeyboardBackspace);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMva2V5Ym9hcmQtYmFja3NwYWNlLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9rZXlib2FyZC1iYWNrc3BhY2Uuc3ZnPzNkYzQiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0wIDBoMjR2MjRIMHpcIixcbiAgZmlsbDogXCJub25lXCJcbn0pO1xudmFyIF9yZWYyID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNMjEgMTFINi44M2wzLjU4LTMuNTlMOSA2bC02IDYgNiA2IDEuNDEtMS40MUw2LjgzIDEzSDIxelwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z0tleWJvYXJkQmFja3NwYWNlKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjQgMjRcIlxuICB9LCBwcm9wcyksIF9yZWYsIF9yZWYyKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z0tleWJvYXJkQmFja3NwYWNlOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/keyboard-backspace.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/manage-sites.svg":
|
|||
|
|
/*!************************************!*\
|
|||
|
|
!*** ./svg/icons/manage-sites.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: \"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z\",\n fill: \"currentColor\"\n});\nfunction SvgManageSites(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 22 18\",\n fill: \"none\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgManageSites);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvbWFuYWdlLXNpdGVzLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9tYW5hZ2Utc2l0ZXMuc3ZnPzkxN2QiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0yMCAwSDJDLjkgMCAwIC45IDAgMnYxMmMwIDEuMS45IDIgMiAyaDV2Mmg4di0yaDVjMS4xIDAgMi0uOSAyLTJWMmMwLTEuMS0uOS0yLTItMnptMCAxNEgyVjJoMTh2MTJ6bS0yLTlIN3YyaDExVjV6bTAgNEg3djJoMTFWOXpNNiA1SDR2MmgyVjV6bTAgNEg0djJoMlY5elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z01hbmFnZVNpdGVzKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjIgMThcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnTWFuYWdlU2l0ZXM7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/manage-sites.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/nav-content-icon.svg":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./svg/icons/nav-content-icon.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: \"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z\",\n fill: \"currentColor\"\n});\nfunction SvgNavContentIcon(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 18 18\",\n fill: \"none\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgNavContentIcon);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvbmF2LWNvbnRlbnQtaWNvbi5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvbmF2LWNvbnRlbnQtaWNvbi5zdmc/YTUwMCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGZpbGxSdWxlOiBcImV2ZW5vZGRcIixcbiAgY2xpcFJ1bGU6IFwiZXZlbm9kZFwiLFxuICBkOiBcIk0xOCAxNlYyYzAtMS4xLTEtMi0yLjIyMi0ySDIuMjIyQzEgMCAwIC45IDAgMnYxNGMwIDEuMSAxIDIgMi4yMjIgMmgxMy41NTZDMTcgMTggMTggMTcuMSAxOCAxNnpNOSA3aDVWNUg5djJ6bTctNUgydjE0aDE0VjJ6TTQgNGg0djRINFY0em0xMCA3SDl2Mmg1di0yek00IDEwaDR2NEg0di00elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z05hdkNvbnRlbnRJY29uKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMTggMThcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnTmF2Q29udGVudEljb247Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/nav-content-icon.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/nav-key-metrics-icon.svg":
|
|||
|
|
/*!********************************************!*\
|
|||
|
|
!*** ./svg/icons/nav-key-metrics-icon.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\"](\"rect\", {\n x: 0.5,\n width: 5,\n height: 5,\n rx: 1,\n fill: \"currentColor\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 7.5,\n width: 5,\n height: 5,\n rx: 1,\n fill: \"currentColor\"\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 0.5,\n y: 7,\n width: 5,\n height: 5,\n rx: 1,\n fill: \"currentColor\"\n});\nvar _ref4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 7.5,\n y: 7,\n width: 5,\n height: 5,\n rx: 1,\n fill: \"currentColor\"\n});\nfunction SvgNavKeyMetricsIcon(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 13 12\",\n fill: \"none\"\n }, props), _ref, _ref2, _ref3, _ref4);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgNavKeyMetricsIcon);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvbmF2LWtleS1tZXRyaWNzLWljb24uc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL25hdi1rZXktbWV0cmljcy1pY29uLnN2Zz8zNWQxIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJyZWN0XCIsIHtcbiAgeDogMC41LFxuICB3aWR0aDogNSxcbiAgaGVpZ2h0OiA1LFxuICByeDogMSxcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSk7XG52YXIgX3JlZjIgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInJlY3RcIiwge1xuICB4OiA3LjUsXG4gIHdpZHRoOiA1LFxuICBoZWlnaHQ6IDUsXG4gIHJ4OiAxLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbnZhciBfcmVmMyA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicmVjdFwiLCB7XG4gIHg6IDAuNSxcbiAgeTogNyxcbiAgd2lkdGg6IDUsXG4gIGhlaWdodDogNSxcbiAgcng6IDEsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xudmFyIF9yZWY0ID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJyZWN0XCIsIHtcbiAgeDogNy41LFxuICB5OiA3LFxuICB3aWR0aDogNSxcbiAgaGVpZ2h0OiA1LFxuICByeDogMSxcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSk7XG5mdW5jdGlvbiBTdmdOYXZLZXlNZXRyaWNzSWNvbihwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDEzIDEyXCIsXG4gICAgZmlsbDogXCJub25lXCJcbiAgfSwgcHJvcHMpLCBfcmVmLCBfcmVmMiwgX3JlZjMsIF9yZWY0KTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z05hdktleU1ldHJpY3NJY29uOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/nav-key-metrics-icon.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/nav-monetization-icon.svg":
|
|||
|
|
/*!*********************************************!*\
|
|||
|
|
!*** ./svg/icons/nav-monetization-icon.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: \"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z\",\n fill: \"currentColor\"\n});\nfunction SvgNavMonetizationIcon(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 23 12\",\n fill: \"none\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgNavMonetizationIcon);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvbmF2LW1vbmV0aXphdGlvbi1pY29uLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9uYXYtbW9uZXRpemF0aW9uLWljb24uc3ZnPzk2ZDYiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0xNi4xIDB2MmgyLjk2N2wtNS45NDYgNS4xNy00LjYtNEwwIDEwLjU5IDEuNjIxIDEybDYuOS02IDQuNiA0TDIwLjcgMy40MlY2SDIzVjBoLTYuOXpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSk7XG5mdW5jdGlvbiBTdmdOYXZNb25ldGl6YXRpb25JY29uKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjMgMTJcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnTmF2TW9uZXRpemF0aW9uSWNvbjsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/nav-monetization-icon.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/nav-speed-icon.svg":
|
|||
|
|
/*!**************************************!*\
|
|||
|
|
!*** ./svg/icons/nav-speed-icon.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: \"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z\",\n fill: \"currentColor\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z\",\n fill: \"currentColor\"\n});\nfunction SvgNavSpeedIcon(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 20 16\",\n fill: \"none\"\n }, props), _ref, _ref2);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgNavSpeedIcon);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvbmF2LXNwZWVkLWljb24uc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL25hdi1zcGVlZC1pY29uLnN2Zz9iNWQzIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNMTguMzc4IDQuNTQzbC0xLjIzMiAxLjg1NGE4LjAyNCA4LjAyNCAwIDAxLS4yMiA3LjU5OEgzLjA0M0E4LjAyNCA4LjAyNCAwIDAxNC4xNTQgNC40OSA4LjAxMSA4LjAxMSAwIDAxMTMuNTcgMi44MmwxLjg1My0xLjIzM0ExMC4wMSAxMC4wMSAwIDAwMy4xMTcgMi43NThhMTAuMDI2IDEwLjAyNiAwIDAwLTEuNzk3IDEyLjI0QTIuMDA0IDIuMDA0IDAgMDAzLjA0MyAxNmgxMy44NzNhMi4wMDMgMi4wMDMgMCAwMDEuNzQyLTEuMDAyIDEwLjAzIDEwLjAzIDAgMDAtLjI3LTEwLjQ2NWwtLjAxLjAxelwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbnZhciBfcmVmMiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTguNTcyIDExLjM5OWEyLjAwMyAyLjAwMyAwIDAwMi44MzUgMGw1LjY2OS04LjUxLTguNTA0IDUuNjczYTIuMDA1IDIuMDA1IDAgMDAwIDIuODM3elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z05hdlNwZWVkSWNvbihwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDIwIDE2XCIsXG4gICAgZmlsbDogXCJub25lXCJcbiAgfSwgcHJvcHMpLCBfcmVmLCBfcmVmMik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdOYXZTcGVlZEljb247Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/nav-speed-icon.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/nav-traffic-icon.svg":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./svg/icons/nav-traffic-icon.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: \"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z\",\n fill: \"currentColor\"\n});\nfunction SvgNavTrafficIcon(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 18 16\",\n fill: \"none\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgNavTrafficIcon);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvbmF2LXRyYWZmaWMtaWNvbi5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvbmF2LXRyYWZmaWMtaWNvbi5zdmc/NjlmNiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGZpbGxSdWxlOiBcImV2ZW5vZGRcIixcbiAgY2xpcFJ1bGU6IFwiZXZlbm9kZFwiLFxuICBkOiBcIk03IDBoMy45NzF2MTZIN1Ywek0wIDhoNHY4SDBWOHptMTgtM2gtNHYxMWg0VjV6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnTmF2VHJhZmZpY0ljb24ocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAxOCAxNlwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdOYXZUcmFmZmljSWNvbjsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/nav-traffic-icon.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvcGVuY2lsLWFsdC5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvcGVuY2lsLWFsdC5zdmc/OWE3ZCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIG
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvc3Rhci1maWxsLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9zdGFyLWZpbGwuc3ZnPzlhZjUiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk01LjgyNSAyMmwyLjMyNS03LjZMMiAxMGg3LjZMMTIgMmwyLjQgOEgyMmwtNi4xNSA0LjQgMi4zMjUgNy42TDEyIDE3LjMgNS44MjUgMjJ6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnU3RhckZpbGwocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyNCAyNFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdTdGFyRmlsbDsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/star-fill.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/suggestion-icon.svg":
|
|||
|
|
/*!***************************************!*\
|
|||
|
|
!*** ./svg/icons/suggestion-icon.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 4h2v7H0zm0-4h2v2H0z\",\n fill: \"currentColor\",\n fillRule: \"evenodd\"\n});\nfunction SvgSuggestionIcon(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 2 11\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgSuggestionIcon);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvc3VnZ2VzdGlvbi1pY29uLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9zdWdnZXN0aW9uLWljb24uc3ZnPzJiYWEiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0wIDRoMnY3SDB6bTAtNGgydjJIMHpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIixcbiAgZmlsbFJ1bGU6IFwiZXZlbm9kZFwiXG59KTtcbmZ1bmN0aW9uIFN2Z1N1Z2dlc3Rpb25JY29uKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMiAxMVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdTdWdnZXN0aW9uSWNvbjsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/suggestion-icon.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/NzcyZiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTEgMy44MzhMNC4xMDYgNyAxMCAxXCIsXG4gIHN0cm9rZTogXCJjdXJyZW50Q29sb3JcIixcbiAgc3Ryb2tlV2lkdGg6IDEuNVxufSk7XG5mdW5jdGlvbiBTdmdUaWNrKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMTEgOVwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdUaWNrOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/tick.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/view.svg":
|
|||
|
|
/*!****************************!*\
|
|||
|
|
!*** ./svg/icons/view.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: \"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z\",\n fill: \"currentColor\"\n});\nfunction SvgView(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 16 10\",\n fill: \"none\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgView);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvdmlldy5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvdmlldy5zdmc/YzI3ZiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTggMS4zMzNjMi43NTYgMCA1LjIxNCAxLjQyIDYuNDE1IDMuNjY3LTEuMiAyLjI0Ny0zLjY1OSAzLjY2Ny02LjQxNSAzLjY2Ny0yLjc1NiAwLTUuMjE1LTEuNDItNi40MTUtMy42NjdDMi43ODUgMi43NTMgNS4yNDQgMS4zMzMgOCAxLjMzM3pNOCAwQzQuMzY0IDAgMS4yNTggMi4wNzMgMCA1YzEuMjU4IDIuOTI3IDQuMzY0IDUgOCA1czYuNzQyLTIuMDczIDgtNWMtMS4yNTgtMi45MjctNC4zNjQtNS04LTV6bTAgMy4zMzNjMS4wMDQgMCAxLjgxOC43NDcgMS44MTggMS42NjdTOS4wMDQgNi42NjcgOCA2LjY2NyA2LjE4MiA1LjkyIDYuMTgyIDUgNi45OTYgMy4zMzMgOCAzLjMzM3pNOCAyQzYuMTk2IDIgNC43MjcgMy4zNDcgNC43MjcgNVM2LjE5NyA4IDggOGMxLjgwNCAwIDMuMjczLTEuMzQ3IDMuMjczLTNTOS44MDMgMiA4IDJ6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnVmlldyhwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDE2IDEwXCIsXG4gICAgZmlsbDogXCJub25lXCJcbiAgfSwgcHJvcHMpLCBfcmVmKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z1ZpZXc7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/view.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/warning-icon.svg":
|
|||
|
|
/*!************************************!*\
|
|||
|
|
!*** ./svg/icons/warning-icon.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 0h2v7H0zm0 10h2v2H0z\",\n fill: \"currentColor\",\n fillRule: \"evenodd\"\n});\nfunction SvgWarningIcon(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 2 12\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgWarningIcon);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvd2FybmluZy1pY29uLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy93YXJuaW5nLWljb24uc3ZnPzlmYmMiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0wIDBoMnY3SDB6bTAgMTBoMnYySDB6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCIsXG4gIGZpbGxSdWxlOiBcImV2ZW5vZGRcIlxufSk7XG5mdW5jdGlvbiBTdmdXYXJuaW5nSWNvbihwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDIgMTJcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnV2FybmluZ0ljb247Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/warning-icon.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/M2I2YyJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTAgMTloMjJMMTEgMCAwIDE5em0xMi0zaC0ydi0yaDJ2MnptMC00aC0yVjhoMnY0elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z1dhcm5pbmdWMihwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDIyIDE5XCJcbiAgfSwgcHJvcHMpLCBfcmVmKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z1dhcm5pbmdWMjsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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/YjZiMiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTAgMGgyNHYyNEgwelwiLFxuICBmaWxsOiBcIm5vbmVcIlxufSk7XG52YXIgX3JlZjIgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0xIDE1aC0ydi0yaDJ2MnptMC00aC0yVjdoMnY2elwiXG59KTtcbmZ1bmN0aW9uIFN2Z1dhcm5pbmcocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICBmaWxsOiBcImN1cnJlbnRDb2xvclwiLFxuICAgIHZpZXdCb3g6IFwiMCAwIDI0IDI0XCIsXG4gICAgXCJhcmlhLWxhYmVsbGVkYnlcIjogXCJ3YXJuaW5nLXRpdGxlIHdhcm5pbmctZGVzY1wiXG4gIH0sIHByb3BzKSwgX3JlZiwgX3JlZjIpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnV2FybmluZzsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/warning.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "@wordpress/i18n":
|
|||
|
|
/*!*****************************************!*\
|
|||
|
|
!*** external ["googlesitekit","i18n"] ***!
|
|||
|
|
\*****************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, exports) {
|
|||
|
|
|
|||
|
|
eval("module.exports = googlesitekit[\"i18n\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQHdvcmRwcmVzcy9pMThuLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2V4dGVybmFsIFtcImdvb2dsZXNpdGVraXRcIixcImkxOG5cIl0/YTFhZCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGdvb2dsZXNpdGVraXRbXCJpMThuXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///@wordpress/i18n\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "googlesitekit-api":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** external ["googlesitekit","api"] ***!
|
|||
|
|
\****************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, exports) {
|
|||
|
|
|
|||
|
|
eval("module.exports = googlesitekit[\"api\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlc2l0ZWtpdC1hcGkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vZXh0ZXJuYWwgW1wiZ29vZ2xlc2l0ZWtpdFwiLFwiYXBpXCJdPzMyYmUiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBnb29nbGVzaXRla2l0W1wiYXBpXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///googlesitekit-api\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "googlesitekit-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-adsense.js","runtime","googlesitekit-vendor"]]]);
|