3155 lines
2.7 MiB
JavaScript
3155 lines
2.7 MiB
JavaScript
|
|
(window["__googlesitekit_webpackJsonp"] = window["__googlesitekit_webpackJsonp"] || []).push([["googlesitekit-entity-dashboard"],{
|
|||
|
|
|
|||
|
|
/***/ "./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/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/DashboardEntityApp.js":
|
|||
|
|
/*!*********************************************!*\
|
|||
|
|
!*** ./js/components/DashboardEntityApp.js ***!
|
|||
|
|
\*********************************************/
|
|||
|
|
/*! 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 _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 _Header__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Header */ \"./js/components/Header.js\");\n/* harmony import */ var _googlesitekit_widgets_default_contexts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../googlesitekit/widgets/default-contexts */ \"./js/googlesitekit/widgets/default-contexts.js\");\n/* harmony import */ var _googlesitekit_widgets_components_WidgetContextRenderer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../googlesitekit/widgets/components/WidgetContextRenderer */ \"./js/googlesitekit/widgets/components/WidgetContextRenderer.js\");\n/* harmony import */ var _EntitySearchInput__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./EntitySearchInput */ \"./js/components/EntitySearchInput.js\");\n/* harmony import */ var _DateRangeSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./DateRangeSelector */ \"./js/components/DateRangeSelector.js\");\n/* harmony import */ var _help_HelpMenu__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./help/HelpMenu */ \"./js/components/help/HelpMenu.js\");\n/* harmony import */ var _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../googlesitekit/constants */ \"./js/googlesitekit/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_user_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n/* harmony import */ var _VisuallyHidden__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./VisuallyHidden */ \"./js/components/VisuallyHidden.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _PageHeader__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./PageHeader */ \"./js/components/PageHeader.js\");\n/* harmony import */ var _layout_Layout__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./layout/Layout */ \"./js/components/layout/Layout.js\");\n/* harmony import */ var _googlesitekit_widgets_datastore_constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../googlesitekit/widgets/datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _ScrollEffect__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./ScrollEffect */ \"./js/components/ScrollEffect.js\");\n/* harmony import */ var _notifications
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/DateRangeSelector.js":
|
|||
|
|
/*!********************************************!*\
|
|||
|
|
!*** ./js/components/DateRangeSelector.js ***!
|
|||
|
|
\********************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DateRangeSelector; });\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_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_date_range_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../svg/icons/date-range.svg */ \"./svg/icons/date-range.svg\");\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 _hooks_useKeyCodesInside__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../hooks/useKeyCodesInside */ \"./js/hooks/useKeyCodesInside.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../util */ \"./js/util/index.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\n\n/**\n * Date range selector 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
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/EntitySearchInput.js":
|
|||
|
|
/*!********************************************!*\
|
|||
|
|
!*** ./js/components/EntitySearchInput.js ***!
|
|||
|
|
\********************************************/
|
|||
|
|
/*! 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 react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var _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 _VisuallyHidden__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./VisuallyHidden */ \"./js/components/VisuallyHidden.js\");\n/* harmony import */ var _svg_icons_magnifying_glass_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../svg/icons/magnifying-glass.svg */ \"./svg/icons/magnifying-glass.svg\");\n/* harmony import */ var _svg_icons_close_dark_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../svg/icons/close-dark.svg */ \"./svg/icons/close-dark.svg\");\n/* harmony import */ var _PostSearcherAutoSuggest__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./PostSearcherAutoSuggest */ \"./js/components/PostSearcherAutoSuggest.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_location_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../util */ \"./js/util/index.js\");\n/* harmony import */ var _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../hooks/useDashboardType */ \"./js/hooks/useDashboardType.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n\n/**\n * EntitySearchInput 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 \
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ErrorHandler/index.js":
|
|||
|
|
/*!*********************************************!*\
|
|||
|
|
!*** ./js/components/ErrorHandler/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 _GenericErrorHandlerActions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../GenericErrorHandlerActions */ \"./js/components/GenericErrorHandlerActions.js\");\n/* harmony import */ var _Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Root/ViewContextContext */ \"./js/components/Root/ViewContextContext.js\");\n/* harmony import */ var _notifications_BannerNotification__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../notifications/BannerNotification */ \"./js/components/notifications/BannerNotification/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../util */ \"./js/util/index.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_h
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/FeatureTours.js":
|
|||
|
|
/*!***************************************!*\
|
|||
|
|
!*** ./js/components/FeatureTours.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 FeatureTours; });\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 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 _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _TourTooltips__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TourTooltips */ \"./js/components/TourTooltips.js\");\n\n/**\n * Feature Tours component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction FeatureTours() {\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_4__[\"default\"])();\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]),\n triggerTourForView = _useDispatch.triggerTourForView;\n Object(react_use__WEBPACK_IMPORTED_MODULE_1__[\"useMount\"])(function () {\n triggerTourForView(viewContext);\n });\n var tour = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).getCurrentTour();\n });\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n if (!tour) {\n return;\n }\n var dashboardElement = document.getElementById('js-googlesitekit-main-dashboard');\n if (!dashboardElement) {\n return;\n }\n var observer = new ResizeObserver(function () {\n global.dispatchEvent(new Event('resize'));\n });\n observer.observe(dashboardElement);\n return function () {\n observer.disconnect();\n };\n }, [tour]);\n if (!tour) {\n return null;\n }\n return /*#__PURE__*/React.createElement(_TourTooltips__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n tourID: tour.slug,\n steps: tour.steps,\n gaEventCategory: tour.gaEventCategory,\n callback: tour.callback\n });\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiL
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/FeaturesProvider/FeaturesContext.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./js/components/FeaturesProvider/FeaturesContext.js ***!
|
|||
|
|
\***********************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _features__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../features */ \"./js/features/index.js\");\n/**\n * Feature Flags context for React components.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nvar FeaturesContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createContext\"])(_features__WEBPACK_IMPORTED_MODULE_1__[\"enabledFeatures\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = (FeaturesContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0ZlYXR1cmVzUHJvdmlkZXIvRmVhdHVyZXNDb250ZXh0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9GZWF0dXJlc1Byb3ZpZGVyL0ZlYXR1cmVzQ29udGV4dC5qcz8wNmNiIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRmVhdHVyZSBGbGFncyBjb250ZXh0IGZvciBSZWFjdCBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBXb3JkUHJlc3MgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGNyZWF0ZUNvbnRleHQgfSBmcm9tICdAd29yZHByZXNzL2VsZW1lbnQnO1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBlbmFibGVkRmVhdHVyZXMgfSBmcm9tICcuLi8uLi9mZWF0dXJlcyc7XG5cbmNvbnN0IEZlYXR1cmVzQ29udGV4dCA9IGNyZWF0ZUNvbnRleHQoIGVuYWJsZWRGZWF0dXJlcyApO1xuXG5leHBvcnQgZGVmYXVsdCBGZWF0dXJlc0NvbnRleHQ7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/FeaturesProvider/FeaturesContext.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/FeaturesProvider/index.js":
|
|||
|
|
/*!*************************************************!*\
|
|||
|
|
!*** ./js/components/FeaturesProvider/index.js ***!
|
|||
|
|
\*************************************************/
|
|||
|
|
/*! exports provided: Consumer, Provider, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Consumer\", function() { return Consumer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Provider\", function() { return Provider; });\n/* harmony import */ var _FeaturesContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FeaturesContext */ \"./js/components/FeaturesProvider/FeaturesContext.js\");\n/**\n * Feature Flags Provider component.\n *\n * Site Kit by Google, Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\nvar Consumer = _FeaturesContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Consumer,\n Provider = _FeaturesContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider;\n\nvar FeaturesProvider = Provider;\n/* harmony default export */ __webpack_exports__[\"default\"] = (FeaturesProvider);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0ZlYXR1cmVzUHJvdmlkZXIvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL0ZlYXR1cmVzUHJvdmlkZXIvaW5kZXguanM/ZWFlNiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEZlYXR1cmUgRmxhZ3MgUHJvdmlkZXIgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjAgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IEZlYXR1cmVzQ29udGV4dCBmcm9tICcuL0ZlYXR1cmVzQ29udGV4dCc7XG5cbmV4cG9ydCBjb25zdCB7IENvbnN1bWVyLCBQcm92aWRlciB9ID0gRmVhdHVyZXNDb250ZXh0O1xuXG5jb25zdCBGZWF0dXJlc1Byb3ZpZGVyID0gUHJvdmlkZXI7XG5cbmV4cG9ydCBkZWZhdWx0IEZlYXR1cmVzUHJvdmlkZXI7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUVBO0FBQUE7QUFFQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/FeaturesProvider/index.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/GenericErrorHandlerActions.js":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./js/components/GenericErrorHandlerActions.js ***!
|
|||
|
|
\*****************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return GenericErrorHandlerActions; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n/* harmony import */ var _ReportErrorButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ReportErrorButton */ \"./js/components/ReportErrorButton/index.js\");\n\n/**\n * GenericErrorHandlerActions component.\n *\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction GenericErrorHandlerActions(_ref) {\n var message = _ref.message,\n componentStack = _ref.componentStack;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-generic-error-handler-actions\"\n }, /*#__PURE__*/React.createElement(_ReportErrorButton__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n message: message,\n componentStack: componentStack\n }), /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n href: \"https://wordpress.org/support/plugin/google-site-kit/\",\n external: true\n }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Report this problem', 'google-site-kit')));\n}\nGenericErrorHandlerActions.propTypes = {\n message: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n componentStack: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0dlbmVyaWNFcnJvckhhbmRsZXJBY3Rpb25zLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9HZW5lcmljRXJyb3JIYW5kbGVyQWN0aW9ucy5qcz81ZDY3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJpY0Vycm9ySGFuZGxlckFjdGlvbnMgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGV
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/InViewProvider/index.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./js/components/InViewProvider/index.js ***!
|
|||
|
|
\***********************************************/
|
|||
|
|
/*! exports provided: Consumer, Provider, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Consumer\", function() { return Consumer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Provider\", function() { return Provider; });\n/* harmony import */ var _InViewContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InViewContext */ \"./js/components/InViewProvider/InViewContext.js\");\n/**\n * In-view Provider component.\n *\n * Site Kit by Google, Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\nvar Consumer = _InViewContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Consumer,\n Provider = _InViewContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider;\n\nvar InViewProvider = Provider;\n/* harmony default export */ __webpack_exports__[\"default\"] = (InViewProvider);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0luVmlld1Byb3ZpZGVyL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9JblZpZXdQcm92aWRlci9pbmRleC5qcz84MmEzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW4tdmlldyBQcm92aWRlciBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgSW5WaWV3Q29udGV4dCBmcm9tICcuL0luVmlld0NvbnRleHQnO1xuXG5leHBvcnQgY29uc3QgeyBDb25zdW1lciwgUHJvdmlkZXIgfSA9IEluVmlld0NvbnRleHQ7XG5cbmNvbnN0IEluVmlld1Byb3ZpZGVyID0gUHJvdmlkZXI7XG5cbmV4cG9ydCBkZWZhdWx0IEluVmlld1Byb3ZpZGVyO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUFBO0FBRUE7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/InViewProvider/index.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/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/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/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/ModuleDashboardEffects.js":
|
|||
|
|
/*!*************************************************!*\
|
|||
|
|
!*** ./js/components/ModuleDashboardEffects.js ***!
|
|||
|
|
\*************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ModuleDashboardEffects; });\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_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 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 _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/useDashboardType */ \"./js/hooks/useDashboardType.js\");\n\n\nvar _dashboardTypeCompone;\n\n/**\n * ModuleDashboardEffects component.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\nvar dashboardTypeComponentMap = (_dashboardTypeCompone = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_dashboardTypeCompone, _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_5__[\"DASHBOARD_TYPE_MAIN\"], 'DashboardMainEffectComponent'), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_dashboardTypeCompone, _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_5__[\"DASHBOARD_TYPE_ENTITY\"], 'DashboardEntityEffectComponent'), _dashboardTypeCompone);\nfunction ModuleDashboardEffects() {\n var dashboardType = Object(_hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n var modules = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModules();\n });\n if (!modules) {\n return null;\n }\n var moduleComponentKey = dashboardTypeComponentMap[dashboardType];\n return Object.values(modules).reduce(function (elements, module) {\n var ModuleEffectComponent = module[moduleComponentKey];\n if (!module.active || !ModuleEffectComponent) {\n return elements;\n }\n return [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(elements), [/*#
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ModuleIcon.js":
|
|||
|
|
/*!*************************************!*\
|
|||
|
|
!*** ./js/components/ModuleIcon.js ***!
|
|||
|
|
\*************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ModuleIcon; });\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_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n\n\n\n/**\n * ModuleIcon 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\nfunction ModuleIcon(_ref) {\n var slug = _ref.slug,\n size = _ref.size,\n props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"slug\", \"size\"]);\n var ModuleIconComponent = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_MODULES\"]).getModuleIcon(slug);\n });\n if (!ModuleIconComponent) {\n return null;\n }\n return /*#__PURE__*/React.createElement(ModuleIconComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n width: size,\n height: size\n }, props));\n}\nModuleIcon.propTypes = {\n slug: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired,\n size: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number\n};\nModuleIcon.defaultProps = {\n size: 33\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL01vZHVsZUl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/NewBadge.js":
|
|||
|
|
/*!***********************************!*\
|
|||
|
|
!*** ./js/components/NewBadge.js ***!
|
|||
|
|
\***********************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _Badge__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Badge */ \"./js/components/Badge.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Link */ \"./js/components/Link.js\");\n\n/**\n * NewBadge component.\n *\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction NewBadge(_ref) {\n var tooltipTitle = _ref.tooltipTitle,\n learnMoreLink = _ref.learnMoreLink,\n forceOpen = _ref.forceOpen,\n hasLeftSpacing = _ref.hasLeftSpacing,\n hasNoSpacing = _ref.hasNoSpacing,\n _ref$onLearnMoreClick = _ref.onLearnMoreClick,\n onLearnMoreClick = _ref$onLearnMoreClick === void 0 ? function () {} : _ref$onLearnMoreClick;\n var badgeComponent = /*#__PURE__*/React.createElement(_Badge__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-new-badge', {\n 'googlesitekit-new-badge--has-no-spacing': hasNoSpacing\n }),\n label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('New', 'google-site-kit'),\n hasLeftSpacing: hasLeftSpacing\n });\n if (!tooltipTitle) {\n return badgeComponent;\n }\n return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Tooltip\"], {\n tooltipClassName: \"googlesitekit-new-badge__tooltip\",\n title: /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, tooltipTitle, /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n href: learnMoreLink,\n onClick: onLearnMoreClick,\n external: true,\n hideExternalIndicator: true\n }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Learn more', 'google-site-kit'))),\n
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/OverlayNotification/AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification.js":
|
|||
|
|
/*!*************************************************************************************************************!*\
|
|||
|
|
!*** ./js/components/OverlayNotification/AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification.js ***!
|
|||
|
|
\*************************************************************************************************************/
|
|||
|
|
/*! exports provided: ANALYTICS_ADSENSE_LINKED_OVERLAY_NOTIFICATION, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANALYTICS_ADSENSE_LINKED_OVERLAY_NOTIFICATION\", function() { return ANALYTICS_ADSENSE_LINKED_OVERLAY_NOTIFICATION; });\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_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _svg_graphics_analytics_adsense_linked_desktop_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../svg/graphics/analytics-adsense-linked-desktop.svg */ \"./svg/graphics/analytics-adsense-linked-desktop.svg\");\n/* harmony import */ var _svg_graphics_analytics_adsense_linked_mobile_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../svg/graphics/analytics-adsense-linked-mobile.svg */ \"./svg/graphics/analytics-adsense-linked-mobile.svg\");\n/* harmony import */ var _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.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_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../hooks/useDashboardType */ \"./js/hooks/useDashboardType.js\");\n/* harmony import */ var _modules_adsense_datastore_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../modules/adsense/datastore/constants */ \"./js/modules/adsense/datastore/constants.js\");\n/* harmony import */ var _modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _util_scroll__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../util/scroll */ \"./js/util/scroll.js\");\n/* harmony import */ var _OverlayNotification__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./OverlayNotification */ \"./js/components/OverlayNotification/OverlayNotification.js\")
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/OverlayNotification/LinkAnalyticsAndAdSenseAccountsOverlayNotification.js":
|
|||
|
|
/*!*************************************************************************************************!*\
|
|||
|
|
!*** ./js/components/OverlayNotification/LinkAnalyticsAndAdSenseAccountsOverlayNotification.js ***!
|
|||
|
|
\*************************************************************************************************/
|
|||
|
|
/*! exports provided: LINK_ANALYTICS_ADSENSE_OVERLAY_NOTIFICATION, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LINK_ANALYTICS_ADSENSE_OVERLAY_NOTIFICATION\", function() { return LINK_ANALYTICS_ADSENSE_OVERLAY_NOTIFICATION; });\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_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _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_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_ui_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/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 _modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _svg_graphics_analytics_adsense_connect_desktop_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../svg/graphics/analytics-adsense-connect-desktop.svg */ \"./svg/graphics/analytics-adsense-connect-desktop.svg\");\n/* harmony import */ var _svg_graphics_analytics_adsense_connect_mobile_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../svg/graphics/analytics-adsense-connect-mobile.svg */ \"./svg/graphics/analytics-adsense-connect-mobile.svg\");\n/* harmony import */ var _OverlayNotification__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./OverlayNotification */ \"./js/components/OverlayNotification/OverlayNotification.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../hooks/useDashboardType */ \"./js/hooks/useDashboardType.js\");\n/* harmony import */ var _util_when_active__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../util/when-active */ \"./js/util/when-active.js\");\n\n/**\n * LinkAnalyticsAndAdSenseAccountsOverlayNotification component.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache Lic
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/OverlayNotification/OverlayNotification.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./js/components/OverlayNotification/OverlayNotification.js ***!
|
|||
|
|
\******************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return OverlayNotification; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-ui/core */ \"../node_modules/@material-ui/core/esm/index.js\");\n/* 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 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_ui_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n\n/**\n * OverlayNotification component.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction OverlayNotification(_ref) {\n var className = _ref.className,\n children = _ref.children,\n GraphicDesktop = _ref.GraphicDesktop,\n GraphicMobile = _ref.GraphicMobile,\n notificationID = _ref.notificationID,\n onShow = _ref.onShow,\n shouldShowNotification = _ref.shouldShowNotification;\n var breakpoint = Object(_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_6__[\"useBreakpoint\"])();\n var isShowingNotification = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]).isShowingOverlayNotification(notificationID);\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]),\n setOverlayNotificationToShow = _useDispatch.setOverlayNotificationToShow;\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n if (shouldShowNotification && !isShowingNotification) {\n // If the conditions to show this notification are met AND no other\n // notifications are showing, show this notification.\n setOverlayNotificationToShow(notificationID);\n onShow === null || onShow === void 0 ? void 0 : onShow();\n }\n }, [isShowingNotification, notificationID, o
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/OverlayNotification/OverlayNotificationsRenderer.js":
|
|||
|
|
/*!***************************************************************************!*\
|
|||
|
|
!*** ./js/components/OverlayNotification/OverlayNotificationsRenderer.js ***!
|
|||
|
|
\***************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return OverlayNotificationsRenderer; });\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_useFeature__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useFeature */ \"./js/hooks/useFeature.js\");\n/* harmony import */ var _modules_analytics_4_components_audience_segmentation_dashboard_AudienceSegmentationIntroductoryOverlayNotification__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification */ \"./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification.js\");\n/* harmony import */ var _AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification */ \"./js/components/OverlayNotification/AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification.js\");\n/* harmony import */ var _LinkAnalyticsAndAdSenseAccountsOverlayNotification__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LinkAnalyticsAndAdSenseAccountsOverlayNotification */ \"./js/components/OverlayNotification/LinkAnalyticsAndAdSenseAccountsOverlayNotification.js\");\n/* harmony import */ var _modules_reader_revenue_manager_components_dashboard__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../modules/reader-revenue-manager/components/dashboard */ \"./js/modules/reader-revenue-manager/components/dashboard/index.js\");\n\n/**\n * OverlayNotificationsRenderer component.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction OverlayNotificationsRenderer() {\n var readerRevenueManagerEnabled = Object(_hooks_useFeature__WEBPACK_IMPORTED_MODULE_1__[\"useFeature\"])('rrmModule');\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_LinkAnalyticsAndAdSenseAccountsOverlayNotification__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null), /*#__PURE__*/React.createElement(_AnalyticsAndAdSenseAccountsDetectedAsLinkedOverlayNotification__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null), /*#__PURE__*/React.createElement(_modules_analytics_4_components_audience_segmentation_dashboard_AudienceSegmentationIntroductoryOverlayNotification__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null), readerRevenueManagerEnabled && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_modules_reader_revenue_manager_components_dashboard__WEBPACK_IMPORTED_MODULE_5__[\"PublicationApprovedOverlayNotification\"], null), /*#__PURE__*/React.createElement(_modules_reader_revenue_manager_components_dashboard__WEBPACK_IMPORTED_MODULE_5__[\"RRMIntroductoryOverlayNotification\"], null)));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/PermissionsModal/AuthenticatedPermissionsModal.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/components/PermissionsModal/AuthenticatedPermissionsModal.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_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 _ModalDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ModalDialog */ \"./js/components/ModalDialog.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/* 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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _googlesitekit_data_create_snapshot_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../googlesitekit/data/create-snapshot-store */ \"./js/googlesitekit/data/create-snapshot-store.js\");\n/* harmony import */ var _Portal__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Portal */ \"./js/components/Portal.js\");\n\n\n\n/**\n * AuthenticatedPermissionsModal 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\nfunction AuthenticatedPermissionsModal() {\n var _permissionsError$dat7, _permissionsError$dat8, _permissionsError$dat9, _permissionsError$dat10;\n var registry = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useRegistry\"])();\n var permissionsError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_googlesiteki
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/PermissionsModal/index.js":
|
|||
|
|
/*!*************************************************!*\
|
|||
|
|
!*** ./js/components/PermissionsModal/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 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 _AuthenticatedPermissionsModal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AuthenticatedPermissionsModal */ \"./js/components/PermissionsModal/AuthenticatedPermissionsModal.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/**\n * PermissionsModal 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 PermissionsModal() {\n var isAuthenticated = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).isAuthenticated();\n });\n if (isAuthenticated) {\n return /*#__PURE__*/React.createElement(_AuthenticatedPermissionsModal__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null);\n }\n return null;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (PermissionsModal);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1Blcm1pc3Npb25zTW9kYWwvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1Blcm1pc3Npb25zTW9kYWwvaW5kZXguanM/N2RlMyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFBlcm1pc3Npb25zTW9kYWwgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgdXNlU2VsZWN0IH0gZnJvbSAnZ29vZ2xlc2l0ZWtpdC1kYXRhJztcbmltcG9ydCBBdXRoZW50aWNhdGVkUGVybWlzc2lvbnNNb2RhbCBmcm9tICcuL0F1dGhlbnRpY2F0ZWRQZXJtaXNzaW9uc01vZGFsJztcbmltcG9ydCB7IENPUkVfVVNFUiB9IGZyb20gJy4uLy4uL2dvb2dsZXNpdGVraXQvZGF0YXN0b3JlL3VzZXIvY29uc3RhbnRzJztcblxuZnVuY3Rpb24gUGVybWlzc2lvbnNNb2RhbCgpIHtcblx0Y29uc3QgaXNBdXRoZW50aWNhdGVkID0gdXNlU2VsZWN0KCAoIHNlbGVjdCApID0+XG5cdFx0c2VsZWN0KCBDT1JFX1VTR
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/PostSearcherAutoSuggest.js":
|
|||
|
|
/*!**************************************************!*\
|
|||
|
|
!*** ./js/components/PostSearcherAutoSuggest.js ***!
|
|||
|
|
\**************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return PostSearcherAutoSuggest; });\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 _reach_combobox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @reach/combobox */ \"../node_modules/@reach/combobox/dist/combobox.esm.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/keycodes */ \"../node_modules/@wordpress/keycodes/build-module/index.js\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _hooks_useDebouncedState__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../hooks/useDebouncedState */ \"./js/hooks/useDebouncedState.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\n\n\n/**\n * PostSearcherAutoSuggest 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 unde
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/RecoverableModules.js":
|
|||
|
|
/*!*********************************************!*\
|
|||
|
|
!*** ./js/components/RecoverableModules.js ***!
|
|||
|
|
\*********************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return RecoverableModules; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _notifications_CTA__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./notifications/CTA */ \"./js/components/notifications/CTA.js\");\n\n/**\n * RecoverableModules component.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction RecoverableModules(_ref) {\n var moduleSlugs = _ref.moduleSlugs;\n var moduleNames = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n var modules = select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModules();\n if (modules === undefined) {\n return undefined;\n }\n return moduleSlugs.map(function (moduleSlug) {\n return modules[moduleSlug].name;\n });\n });\n if (moduleNames === undefined) {\n return null;\n }\n var description = moduleNames.length === 1 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Module name */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.', 'google-site-kit'), moduleNames[0]) : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: List of module names */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.', 'google-site-kit'), moduleNames.join(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"_x\"])(', ', 'Recoverable modules', 'google-site-kit')));\n return /*#__PURE__*/React.createElement(_notifications_CTA__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Dat
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ReportError.js":
|
|||
|
|
/*!**************************************!*\
|
|||
|
|
!*** ./js/components/ReportError.js ***!
|
|||
|
|
\**************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ReportError; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _util_errors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _util_insufficient_permissions_error_description__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util/insufficient-permissions-error-description */ \"./js/util/insufficient-permissions-error-description.js\");\n/* harmony import */ var _util_purify__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/purify */ \"./js/util/purify.js\");\n/* harmony import */ var _components_ErrorText__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../components/ErrorText */ \"./js/components/ErrorText.js\");\n/* harmony import */ var _notifications_CTA__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./notifications/CTA */ \"./js/components/notifications/CTA.js\");\n/* harmony import */ var _ReportErrorActions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ReportErrorActions */ \"./js/components/ReportErrorActions.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../hooks/useViewOnly */ \"./js/hooks/useViewOnly.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[
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/ReportZero.js":
|
|||
|
|
/*!*************************************!*\
|
|||
|
|
!*** ./js/components/ReportZero.js ***!
|
|||
|
|
\*************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ReportZero; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _notifications_CTA__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./notifications/CTA */ \"./js/components/notifications/CTA.js\");\n\n/**\n * ReportZero component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction ReportZero(_ref) {\n var moduleSlug = _ref.moduleSlug;\n var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModule(moduleSlug);\n });\n return /*#__PURE__*/React.createElement(_notifications_CTA__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Module name */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s Gathering Data', 'google-site-kit'), module === null || module === void 0 ? void 0 : module.name),\n description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Module name */\n Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s data is not yet available, please check back later', 'google-site-kit'), module === null || module === void 0 ? void 0 : module.name)\n });\n}\nReportZero.propTypes = {\n moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1JlcG9ydFplcm8uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1JlcG9ydFplcm8uanM/Y2ZmYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcG9ydFplc
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/RestoreSnapshots/index.js":
|
|||
|
|
/*!*************************************************!*\
|
|||
|
|
!*** ./js/components/RestoreSnapshots/index.js ***!
|
|||
|
|
\*************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _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 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_snapshot_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../googlesitekit/data/create-snapshot-store */ \"./js/googlesitekit/data/create-snapshot-store.js\");\n\n\n\n/**\n * Snapshot restoration 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\nfunction RestoreSnapshots(_ref) {\n var children = _ref.children;\n var registry = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useRegistry\"])();\n var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n restoredSnapshots = _useState2[0],\n setRestoredSnapshots = _useState2[1];\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n if (!restoredSnapshots) {\n _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.next = 2;\n return Object(_googlesitekit_data_create_snapshot_store__WEBPACK_IMPORTED_MODULE_5__[\"restoreAllSnapshots\"])(registry);\n case 2:\n setRestoredSnapshots(true);\n case 3:\n case \"end\":\n return _context.
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/Root/index.js":
|
|||
|
|
/*!*************************************!*\
|
|||
|
|
!*** ./js/components/Root/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 Root; });\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 _material_ui_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material-ui/core */ \"../node_modules/@material-ui/core/esm/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 _ErrorHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ErrorHandler */ \"./js/components/ErrorHandler/index.js\");\n/* harmony import */ var _FeaturesProvider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../FeaturesProvider */ \"./js/components/FeaturesProvider/index.js\");\n/* harmony import */ var _features__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../features */ \"./js/features/index.js\");\n/* harmony import */ var _PermissionsModal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../PermissionsModal */ \"./js/components/PermissionsModal/index.js\");\n/* harmony import */ var _RestoreSnapshots__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../RestoreSnapshots */ \"./js/components/RestoreSnapshots/index.js\");\n/* harmony import */ var _FeatureTours__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../FeatureTours */ \"./js/components/FeatureTours.js\");\n/* harmony import */ var _ViewContextContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ViewContextContext */ \"./js/components/Root/ViewContextContext.js\");\n/* harmony import */ var _InViewProvider__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../InViewProvider */ \"./js/components/InViewProvider/index.js\");\n/* harmony import */ var _util_is_site_kit_screen__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../util/is-site-kit-screen */ \"./js/util/is-site-kit-screen.js\");\n\n\n/**\n * Root 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\n\n\n\nfunction Root(_ref) {\n var children = _ref.children,\n registry = _ref.registry,\n _ref$viewContext = _ref.viewContext,\n viewContext = _ref$viewContext === void 0 ? null : _ref$viewContext
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/ScrollEffect.js":
|
|||
|
|
/*!***************************************!*\
|
|||
|
|
!*** ./js/components/ScrollEffect.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 ScrollEffect; });\n/* harmony import */ var _hooks_useHasScrolledEffect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useHasScrolledEffect */ \"./js/hooks/useHasScrolledEffect.js\");\n/**\n * ScrollEffect 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\nfunction ScrollEffect() {\n Object(_hooks_useHasScrolledEffect__WEBPACK_IMPORTED_MODULE_0__[\"useHasScrolledEffect\"])();\n return null;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1Njcm9sbEVmZmVjdC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvU2Nyb2xsRWZmZWN0LmpzPzBmN2QiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTY3JvbGxFZmZlY3QgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgdXNlSGFzU2Nyb2xsZWRFZmZlY3QgfSBmcm9tICcuLi9ob29rcy91c2VIYXNTY3JvbGxlZEVmZmVjdCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIFNjcm9sbEVmZmVjdCgpIHtcblx0dXNlSGFzU2Nyb2xsZWRFZmZlY3QoKTtcblxuXHRyZXR1cm4gbnVsbDtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/ScrollEffect.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/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/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/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/WidgetErrorHandler/index.js":
|
|||
|
|
/*!***************************************************!*\
|
|||
|
|
!*** ./js/components/WidgetErrorHandler/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/dashboard-sharing/DashboardSharingDialog/Footer/Notice.js":
|
|||
|
|
/*!*********************************************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/DashboardSharingDialog/Footer/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 _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n\n/**\n * DashboardSharingSettings Notice 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 Notice() {\n var canSubmitSharingChanges = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_MODULES\"]).canSubmitSharingChanges();\n });\n var haveSharingSettingsChangedManagement = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_MODULES\"]).haveSharingSettingsExpanded('management');\n });\n var haveSharingSettingsChangedRoles = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_MODULES\"]).haveSharingSettingsExpanded('sharedRoles');\n });\n return /*#__PURE__*/React.createElement(\"p\", {\n className: \"googlesitekit-dashboard-sharing-settings__notice\"\n }, haveSharingSettingsChangedManagement && canSubmitSharingChanges && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service', 'google-site-kit'), {\n span: /*#__PURE__*/React.createElement(\"span\", null),\n strong: /*#__PURE__*/React.createElement(\"strong\", null)\n }), !haveSharingSettingsChangedManagement && canSubmitSharingChanges && haveSharingSettingsChangedRoles && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account', 'google-site-kit'), {\n span: /*#__PURE__*/React.createElement(\"span\", null),\n stron
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/dashboard-sharing/DashboardSharingDialog/Footer/index.js":
|
|||
|
|
/*!********************************************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/DashboardSharingDialog/Footer/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 Footer; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_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 _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/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 _DashboardSharingSettings_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../DashboardSharingSettings/constants */ \"./js/components/dashboard-sharing/DashboardSharingSettings/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 _Link__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../Link */ \"./js/components/Link.js\");\n/* harmony import */ var _Notice__WEBPACK_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/dashboard-sharing/DashboardSharingDialog/index.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/DashboardSharingDialog/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 DashboardSharingDialog; });\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_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ \"../node_modules/@wordpress/icons/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var 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_ui_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/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_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _DashboardSharingSettings_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../DashboardSharingSettings/constants */ \"./js/components/dashboard-sharing/DashboardSharingSettings/constants.js\");\n/* harmony import */ var _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @wordpress/keycodes */ \"../node_modules/@wordpress/keycodes/build-module/index.js\");\n/* harmony import */ var _Portal__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../Portal */ \"./js/components/Portal.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _svg_icons_share_svg__WEBPACK_IMPORTED_MODULE_16_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/dashboard-sharing/DashboardSharingSettings/Module.js":
|
|||
|
|
/*!****************************************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/DashboardSharingSettings/Module.js ***!
|
|||
|
|
\****************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Module; });\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 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_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 _ModuleIcon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ModuleIcon */ \"./js/components/ModuleIcon.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../hooks/useViewContext */ \"./js/hooks/useViewContext.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 _googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/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 _constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./constants */ \"./js/components/dashboard-sharing/DashboardSharingSettings/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../util */ \"./js/util/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 _ModuleViewAccess__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ModuleViewAccess */ \"./js/components/dashboard-sharing/DashboardSharingSettings/ModuleViewAccess.js\");\n/* harmony import */ var _ModuleManageAccess__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ModuleManageAccess */ \"./js/components/dashboard-sharing/DashboardSharingSettings/ModuleManageAccess.js\");\n\n\n/**\n * DashboardSharingSettings Module 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 l
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/dashboard-sharing/DashboardSharingSettings/ModuleManageAccess.js":
|
|||
|
|
/*!****************************************************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/DashboardSharingSettings/ModuleManageAccess.js ***!
|
|||
|
|
\****************************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ModuleManageAccess; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/icons */ \"../node_modules/@wordpress/icons/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\n\n/**\n * ModuleManageAccess component for DashboardSharingSettings.\n *\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n\n\n/**\n * Internal dependencies\n */\n\n\nvar viewAccessOptions = [{\n value: 'owner',\n label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Only me', 'google-site-kit')\n}, {\n value: 'all_admins',\n label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Any admin signed in with Google', 'google-site-kit')\n}];\nfunction ModuleManageAccess(_ref) {\n var sharedOwnershipModule = _ref.sharedOwnershipModule,\n hasOwnedModule = _ref.hasOwnedModule,\n ownerUsername = _ref.ownerUsername,\n hasSharingCapability = _ref.hasSharingCapability,\n manageViewAccess = _ref.manageViewAccess,\n onChange = _ref.onChange;\n if (sharedOwnershipModule) {\n return /*#__PURE__*/React.createElement(\"p\", {\n className: \"googlesitekit-dashboard-sharing-settings__note\"\n }, /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Any admin signed in with Google', 'google-site-kit')), /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Tooltip\"], {\n title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.', 'google-site-kit')\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"googlesitekit-dashboard-sharing-settings__tooltip-icon\"\n }, /*#__PURE__*/React.createElement(_wordpress_icons__WEBPACK_IMPORTED_MODULE_2__[\"Icon\"], {\n icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_2__[\"info\"],\n size: 18\n }))));\n }\n if (hasOwnedModule) {\n return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/dashboard-sharing/DashboardSharingSettings/ModuleViewAccess.js":
|
|||
|
|
/*!**************************************************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/DashboardSharingSettings/ModuleViewAccess.js ***!
|
|||
|
|
\**************************************************************************************/
|
|||
|
|
/*! 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 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 _UserRoleSelect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../UserRoleSelect */ \"./js/components/dashboard-sharing/UserRoleSelect.js\");\n/* harmony import */ var _WarningNotice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../WarningNotice */ \"./js/components/WarningNotice.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Link */ \"./js/components/Link.js\");\n\n/**\n * ModuleViewAccess component for DashboardSharingSettings.\n *\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nvar ModuleViewAccess = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n var moduleSlug = _ref.moduleSlug,\n isLocked = _ref.isLocked,\n hasSharingCapability = _ref.hasSharingCapability,\n recoverable = _ref.recoverable,\n recoverableModuleSupportLink = _ref.recoverableModuleSupportLink;\n if (hasSharingCapability) {\n return /*#__PURE__*/React.createElement(_UserRoleSelect__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n moduleSlug: moduleSlug,\n isLocked: isLocked,\n ref: ref\n });\n }\n if (recoverable) {\n return /*#__PURE__*/React.createElement(_WarningNotice__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Managing user required to manage view access. <Link>Learn more</Link>', 'google-site-kit'), {\n Link: /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n href: recoverableModuleSupportLink,\n external: true,\n hideExternalIndicator: true\n })\n }));\n }\n return /*#__PURE__*/React.createElement(\"p\", {\n className: \"googlesitekit-dashboard-sharing-settings__note\"\n }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Contact managing user to manage view access', 'google-site-kit'));\n});\nModuleViewAccess.propTypes = {\n moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n isLocked: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool.isRequired,\n hasSharingCapability: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n recoverable: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n recoverableModuleSupportLink: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string\n};\nModuleViewAccess.displayName = 'ModuleViewAccess';\n/* harmony default export
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/dashboard-sharing/DashboardSharingSettings/constants.js":
|
|||
|
|
/*!*******************************************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/DashboardSharingSettings/constants.js ***!
|
|||
|
|
\*******************************************************************************/
|
|||
|
|
/*! exports provided: EDITING_USER_ROLE_SELECT_SLUG_KEY, SETTINGS_DIALOG, RESET_SETTINGS_DIALOG */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EDITING_USER_ROLE_SELECT_SLUG_KEY\", function() { return EDITING_USER_ROLE_SELECT_SLUG_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SETTINGS_DIALOG\", function() { return SETTINGS_DIALOG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESET_SETTINGS_DIALOG\", function() { return RESET_SETTINGS_DIALOG; });\n/**\n * DashboardSharingSettings constants.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar EDITING_USER_ROLE_SELECT_SLUG_KEY = 'editing-user-role-select-slug-key';\nvar SETTINGS_DIALOG = 'dashboardSharingDialogOpen';\nvar RESET_SETTINGS_DIALOG = 'resetSharingDialogOpen';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL2Rhc2hib2FyZC1zaGFyaW5nL0Rhc2hib2FyZFNoYXJpbmdTZXR0aW5ncy9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL2Rhc2hib2FyZC1zaGFyaW5nL0Rhc2hib2FyZFNoYXJpbmdTZXR0aW5ncy9jb25zdGFudHMuanM/OGI0NSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERhc2hib2FyZFNoYXJpbmdTZXR0aW5ncyBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgRURJVElOR19VU0VSX1JPTEVfU0VMRUNUX1NMVUdfS0VZID1cblx0J2VkaXRpbmctdXNlci1yb2xlLXNlbGVjdC1zbHVnLWtleSc7XG5cbmV4cG9ydCBjb25zdCBTRVRUSU5HU19ESUFMT0cgPSAnZGFzaGJvYXJkU2hhcmluZ0RpYWxvZ09wZW4nO1xuXG5leHBvcnQgY29uc3QgUkVTRVRfU0VUVElOR1NfRElBTE9HID0gJ3Jlc2V0U2hhcmluZ0RpYWxvZ09wZW4nO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/dashboard-sharing/DashboardSharingSettings/constants.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/dashboard-sharing/DashboardSharingSettings/index.js":
|
|||
|
|
/*!***************************************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/DashboardSharingSettings/index.js ***!
|
|||
|
|
\***************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(module, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DashboardSharingSettings; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _Module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Module */ \"./js/components/dashboard-sharing/DashboardSharingSettings/Module.js\");\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.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\n/**\n * DashboardSharingSettings component.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction DashboardSharingSettings() {\n var hasRecoverableModules = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_MODULES\"]).hasRecoverableModules();\n });\n var hasMultipleAdmins = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).hasMultipleAdmins();\n });\n var showManageColumn = hasRecoverableModules || hasMultipleAdmins;\n var sortedShareableModules = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n var userID = select(_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getID();\n var shareableModules = select(_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_MODULES\"]).getShareableModules();\n var owned = [];\n var manageable = [];\n var rest = [];\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/dashboard-sharing/DashboardSharingSettingsButton.js":
|
|||
|
|
/*!***************************************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/DashboardSharingSettingsButton.js ***!
|
|||
|
|
\***************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DashboardSharingSettingsButton; });\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 _svg_icons_share_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../svg/icons/share.svg */ \"./svg/icons/share.svg\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util */ \"./js/util/index.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_ui_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/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 _modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _DashboardSharingSettings_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DashboardSharingSettings/constants */ \"./js/components/dashboard-sharing/DashboardSharingSettings/constants.js\");\n/* harmony import */ var _DashboardSharingDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./DashboardSharingDialog */ \"./js/components/dashboard-sharing/DashboardSharingDialog/index.js\");\n\n/**\n * DashboardSharingSettingsButton 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\n\n\n\n\nfunction DashboardSharingSettingsButton() {\n var viewContext = Object(_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_5__[\"defau
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/dashboard-sharing/UserRoleSelect.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./js/components/dashboard-sharing/UserRoleSelect.js ***!
|
|||
|
|
\***********************************************************/
|
|||
|
|
/*! 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_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 _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/* 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_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 _Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Link */ \"./js/components/Link.js\");\n/* harmony import */ var _svg_icons_share_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../svg/icons/share.svg */ \"./svg/icons/share.svg\");\n/* harmony import */ var _svg_icons_check_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../svg/icons/check.svg */ \"./svg/icons/check.svg\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useKeyCodesInside__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../hooks/useKeyCodesInside */ \"./js/hooks/useKeyCodesInside.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n/* harmony import */ var _googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _DashboardSharingSettings_constants__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./DashboardSharingSettings/constants */ \"./js/components/dashboard-sharing/DashboardSharingSettings/constants.js\");\n\n\n
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/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/BannerDescription.js":
|
|||
|
|
/*!*****************************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/BannerNotification/BannerDescription.js ***!
|
|||
|
|
\*****************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return BannerDescription; });\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_sanitize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/sanitize */ \"./js/util/sanitize.js\");\n/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Link */ \"./js/components/Link.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ \"./js/components/notifications/BannerNotification/constants.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 * Internal dependencies\n */\n\n\n\nfunction BannerDescription(props) {\n var description = props.description,\n learnMoreLabel = props.learnMoreLabel,\n learnMoreURL = props.learnMoreURL,\n learnMoreTarget = props.learnMoreTarget,\n learnMoreDescription = props.learnMoreDescription,\n onLearnMoreClick = props.onLearnMoreClick;\n if (!description) {\n return null;\n }\n var handleLearnMore = function handleLearnMore(event) {\n event.persist();\n onLearnMoreClick === null || onLearnMoreClick === void 0 ? void 0 : onLearnMoreClick();\n };\n var learnMore;\n if (learnMoreLabel) {\n learnMore = /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n onClick: handleLearnMore,\n href: learnMoreURL,\n external: learnMoreTarget === _constants__WEBPACK_IMPORTED_MODULE_4__[\"LEARN_MORE_TARGET\"].EXTERNAL\n }, learnMoreLabel), learnMoreDescription);\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-publisher-win__desc\"\n }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"isValidElement\"])(description) ? /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, description, learnMore && /*#__PURE__*/React.createElement(\"p\", null, learnMore)) : /*#__PURE__*/React.createElement(\"p\", null, /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: Object(_util_sanitize__WEBPACK_IMPORTED_MODULE_2__[\"sanitizeHTML\"])(description, {\n ALLOWED_TAGS: ['strong', 'em', 'br', 'a'],\n ALLOWED_ATTR: ['href']\n })\n }), ' ', learnMore));\n}\nBannerDescription.propTypes = {\n description: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,\n learnMoreURL: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n learnMoreDescription: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n learnMoreLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n learnMoreTarget: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(Object.values(_constants__WEBP
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/BannerNotification/BannerIcon.js":
|
|||
|
|
/*!**********************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/BannerNotification/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 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 BannerIcon(props) {\n var type = props.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvQmFubmVyTm90aWZpY2F0aW9uL0Jhbm5lckljb24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvQmFubmVyTm90aWZpY2F0aW9uL0Jhbm5lckljb24uanM/YmVmOSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cb
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/BannerNotification/BannerLogo.js":
|
|||
|
|
/*!**********************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/BannerNotification/BannerLogo.js ***!
|
|||
|
|
\**********************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return BannerLogo; });\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_logo_g_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../svg/graphics/logo-g.svg */ \"./svg/graphics/logo-g.svg\");\n/* harmony import */ var _ModuleIcon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ModuleIcon */ \"./js/components/ModuleIcon.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 BannerLogo(props) {\n var module = props.module,\n moduleName = props.moduleName;\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_2__[\"Cell\"], {\n size: 12\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-publisher-win__logo\"\n }, module && /*#__PURE__*/React.createElement(_ModuleIcon__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n slug: module,\n size: 19\n }), !module && /*#__PURE__*/React.createElement(_svg_graphics_logo_g_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n height: \"34\",\n width: \"32\"\n })), moduleName && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-publisher-win__module-name\"\n }, moduleName));\n}\nBannerLogo.propTypes = {\n module: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n moduleName: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvQmFubmVyTm90aWZpY2F0aW9uL0Jhbm5lckxvZ28uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvQmFubmVyTm90aWZpY2F0aW9uL0Jhbm5lckxvZ28uanM/ZjM1NCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZ
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/BannerNotification/constants.js":
|
|||
|
|
/*!*********************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/BannerNotification/constants.js ***!
|
|||
|
|
\*********************************************************************/
|
|||
|
|
/*! exports provided: LEARN_MORE_TARGET */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LEARN_MORE_TARGET\", function() { return LEARN_MORE_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\nvar LEARN_MORE_TARGET = {\n EXTERNAL: 'external',\n INTERNAL: 'internal'\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvQmFubmVyTm90aWZpY2F0aW9uL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9CYW5uZXJOb3RpZmljYXRpb24vY29uc3RhbnRzLmpzPzAzODkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbmV4cG9ydCBjb25zdCBMRUFSTl9NT1JFX1RBUkdFVCA9IHtcblx0RVhURVJOQUw6ICdleHRlcm5hbCcsXG5cdElOVEVSTkFMOiAnaW50ZXJuYWwnLFxufTtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/notifications/BannerNotification/constants.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/BannerNotification/index.js":
|
|||
|
|
/*!*****************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/BannerNotification/index.js ***!
|
|||
|
|
\*****************************************************************/
|
|||
|
|
/*! exports provided: LEARN_MORE_TARGET, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return BannerNotification; });\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_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__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 react_use__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _util_scroll__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../util/scroll */ \"./js/util/scroll.js\");\n/* harmony import */ var _googlesitekit_api_cach
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/components/notifications/BannerNotification/utils.js":
|
|||
|
|
/*!*****************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/BannerNotification/utils.js ***!
|
|||
|
|
\*****************************************************************/
|
|||
|
|
/*! exports provided: ERROR_OR_WARNING_SIZE, SMALL_IMAGE_SVG_SIZE, getContentCellSizeProperties, getContentCellOrderProperties, getImageCellSizeProperties, getImageCellOrderProperties */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_OR_WARNING_SIZE\", function() { return ERROR_OR_WARNING_SIZE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SMALL_IMAGE_SVG_SIZE\", function() { return SMALL_IMAGE_SVG_SIZE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getContentCellSizeProperties\", function() { return getContentCellSizeProperties; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getContentCellOrderProperties\", function() { return getContentCellOrderProperties; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getImageCellSizeProperties\", function() { return getImageCellSizeProperties; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getImageCellOrderProperties\", function() { return getImageCellOrderProperties; });\n/**\n * BannerNotification utility functions.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar ERROR_OR_WARNING_SIZE = 1;\nvar SMALL_IMAGE_SVG_SIZE = 1;\n\n/**\n * Returns the cell size for the content area within BannerNotification.\n *\n * @since 1.69.0\n *\n * @param {Object} args Arguments.\n * @param {boolean} args.hasErrorOrWarning Whether the banner is rendering an error or a warning.\n * @param {boolean} args.hasSmallImageSVG Whether the banner is rendering a small image.\n * @param {boolean} args.hasWinImageSVG Whether the banner is rendering a large image.\n * @param {string} [args.format] The notification format. Can be either small, large or larger. Default: small.\n * @return {Object} The cell size for each breakpoint denoted by the smSize, mdSize and lgSize keys.\n */\nfunction getContentCellSizeProperties(_ref) {\n var _ref$format = _ref.format,\n format = _ref$format === void 0 ? 'small' : _ref$format,\n hasErrorOrWarning = _ref.hasErrorOrWarning,\n hasSmallImageSVG = _ref.hasSmallImageSVG,\n hasWinImageSVG = _ref.hasWinImageSVG;\n var sizes = {\n smSize: 4,\n mdSize: 8,\n lgSize: 12\n };\n var imageCellSizes = getImageCellSizeProperties(format);\n Object.keys(sizes).forEach(function (key) {\n var size = sizes[key];\n if (hasErrorOrWarning) {\n size = size - ERROR_OR_WARNING_SIZE;\n }\n if (hasSmallImageSVG) {\n size = size - SMALL_IMAGE_SVG_SIZE;\n }\n if (hasWinImageSVG && 0 < size - imageCellSizes[key]) {\n size = size - imageCellSizes[key];\n }\n sizes[key] = size;\n });\n return sizes;\n}\n\n/**\n * Gets the cell order for the content area within BannerNotification.\n *\n * @since 1.69.0\n *\n * @param {string} format The format of the notification. Can be either small or larger.\n * @return {Object} The cell order for each breakpoint denoted by the smOrder, mdOrder and lgOrder keys.\n */\nvar getContentCellOrderProperties = function getContentCellOrderProperties(format) {\n switch (format) {\n case 'small':\n return {};\n case 'larger':\n return {\n smOrder: 2,\n mdOrder: 2,\n lgOrder: 1\n };\n default:\n return {\n smOrder: 2,\n mdOrder: 1\n };\n }\n};\n\n/**\n * Gets the cell size for the image area within BannerNotification.\n *\n * @since 1.69.0\n *\n * @param {string} format The format of the notification. Can be either smaller or larger.\n * @return {Object} The cell s
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/EntityBannerNotifications.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/EntityBannerNotifications.js ***!
|
|||
|
|
\******************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return EntityBannerNotifications; });\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 * EntityBannerNotifications 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\nfunction EntityBannerNotifications() {\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_Notifications__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n areaSlug: _googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"NOTIFICATION_AREAS\"].BANNERS_ABOVE_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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvRW50aXR5QmFubmVyTm90aWZpY2F0aW9ucy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9FbnRpdHlCYW5uZXJOb3RpZmljYXRpb25zLmpzPzZiMTIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBFbnRpdHlCYW5uZXJOb3RpZmljYXRpb25zIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIyIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogV29yZFByZXNzIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBGcmFnbWVudCB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlbWVudCc7XG5cbi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBOb3RpZmljYXRpb25zIGZyb20gJy4vTm90aWZpY2F0aW9ucyc7XG5pbXBvcnQgeyBOT1RJRklDQVRJT05fQVJFQVMgfSBmcm9tICcuLi8uLi9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvZGF0YXN0b3JlL2NvbnN0YW50cyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIEVudGl0eUJhbm5lck5vdGlmaWNhdGlvbnMoKSB7XG5cdHJldHVybiAoXG5cdFx0PEZyYWdtZW50PlxuXHRcdFx0PE5vdGlmaWNhdGlvbnMgYXJlYVNsdWc9eyBOT1RJRklDQVRJT05fQVJFQVMuQkFOTkVSU19BQk9WRV9OQVYgfSAvPlxuXHRcdDwvRnJhZ21lbnQ+XG5cdCk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Q
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/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/OfflineNotification.js":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./js/components/notifications/OfflineNotification.js ***!
|
|||
|
|
\************************************************************/
|
|||
|
|
/*! 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 classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_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 _SettingsNotice__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../SettingsNotice */ \"./js/components/SettingsNotice/index.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/* harmony import */ var _SettingsNotice_SettingsNoticeSingleRow__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../SettingsNotice/SettingsNoticeSingleRow */ \"./js/components/SettingsNotice/SettingsNoticeSingleRow.js\");\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\n\n/**\n * OfflineNotification 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 OfflineNotification() {\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 dismissed = _useState2[0],\n setDismissed = _useState2[1];\n var isOnline = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]).getIsOnline();\n });\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n if (isOnline && dismissed) {\n setDismissed(false);\n }\n }, [isOnl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/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-entity-dashboard.js":
|
|||
|
|
/*!**********************************************!*\
|
|||
|
|
!*** ./js/googlesitekit-entity-dashboard.js ***!
|
|||
|
|
\**********************************************/
|
|||
|
|
/*! no exports provided */
|
|||
|
|
/***/ (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_dom_ready__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/dom-ready */ \"../node_modules/@wordpress/dom-ready/build-module/index.js\");\n/* harmony import */ var _components_DashboardEntityApp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/DashboardEntityApp */ \"./js/components/DashboardEntityApp.js\");\n/* harmony import */ var _components_Root__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/Root */ \"./js/components/Root/index.js\");\n/* harmony import */ var _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\n\n/**\n * DashboardDetails 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// Initialize the app once the DOM is ready.\nObject(_wordpress_dom_ready__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(function () {\n var renderTarget = document.getElementById('js-googlesitekit-entity-dashboard');\n if (renderTarget) {\n var viewOnly = renderTarget.dataset.viewOnly;\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"render\"])(/*#__PURE__*/React.createElement(_components_Root__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n viewContext: viewOnly ? _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_4__[\"VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY\"] : _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_4__[\"VIEW_CONTEXT_ENTITY_DASHBOARD\"]\n }, /*#__PURE__*/React.createElement(_components_DashboardEntityApp__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null)), renderTarget);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0LWVudGl0eS1kYXNoYm9hcmQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0LWVudGl0eS1kYXNoYm9hcmQuanM/ZjY4YiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERhc2hib2FyZERldGFpbHMgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBXb3JkUHJlc3MgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBkb21SZWFkeSBmcm9tICdAd29yZHByZXNzL2RvbS1yZWFkeSc7XG5pbXBvcnQgeyByZW5kZXIgfSBmcm9tICdAd29yZHByZXNzL2VsZW1lbnQnO1xuXG4vK
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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-snapshot-store.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/data/create-snapshot-store.js ***!
|
|||
|
|
\********************************************************/
|
|||
|
|
/*! exports provided: createSnapshotStore, getStoresWithSnapshots, snapshotAllStores, restoreAllSnapshots */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createSnapshotStore\", function() { return createSnapshotStore; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStoresWithSnapshots\", function() { return getStoresWithSnapshots; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"snapshotAllStores\", function() { return snapshotAllStores; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"restoreAllSnapshots\", function() { return restoreAllSnapshots; });\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _api_cache__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../api/cache */ \"./js/googlesitekit/api/cache.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util */ \"./js/util/index.js\");\n\n\n\n/**\n * Provides a datastore for snapshotting and restoring state.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n// Actions\nvar CREATE_SNAPSHOT = 'CREATE_SNAPSHOT';\nvar DELETE_SNAPSHOT = 'DELETE_SNAPSHOT';\nvar RESTORE_SNAPSHOT = 'RESTORE_SNAPSHOT';\nvar SET_STATE_FROM_SNAPSHOT = 'SET_STATE_FROM_SNAPSHOT';\n\n/**\n * Creates a store object that includes actions and controls for restoring/creating state snapshots.\n *\n * @since 1.9.0\n * @private\n *\n * @param {string} storeName The name of the store to snapshot in the cache.\n * @return {Object} The snapshot store object.\n */\nvar createSnapshotSt
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/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/ActionsCTALinkDismiss.js":
|
|||
|
|
/*!***********************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/common/ActionsCTALinkDismiss.js ***!
|
|||
|
|
\***********************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ActionsCTALinkDismiss; });\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_location_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _Dismiss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Dismiss */ \"./js/googlesitekit/notifications/components/common/Dismiss.js\");\n/* harmony import */ var _CTALink__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CTALink */ \"./js/googlesitekit/notifications/components/common/CTALink.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/**\n * Internal dependencies\n */\n\n\n\n\nfunction ActionsCTALinkDismiss(_ref) {\n var id = _ref.id,\n _ref$className = _ref.className,\n className = _ref$className === void 0 ? 'googlesitekit-publisher-win__actions' : _ref$className,\n ctaLink = _ref.ctaLink,\n ctaLabel = _ref.ctaLabel,\n _ref$ctaDisabled = _ref.ctaDisabled,\n ctaDisabled = _ref$ctaDisabled === void 0 ? false : _ref$ctaDisabled,\n onCTAClick = _ref.onCTAClick,\n ctaDismissOptions = _ref.ctaDismissOptions,\n _ref$isSaving = _ref.isSaving,\n isSaving = _ref$isSaving === void 0 ? false : _ref$isSaving,\n _ref$onDismiss = _ref.onDismiss,\n onDismiss = _ref$onDismiss === void 0 ? function () {} : _ref$onDismiss,\n _ref$dismissLabel = _ref.dismissLabel,\n dismissLabel = _ref$dismissLabel === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('OK, Got it!', 'google-site-kit') : _ref$dismissLabel,\n _ref$dismissOnCTAClic = _ref.dismissOnCTAClick,\n dismissOnCTAClick = _ref$dismissOnCTAClic === void 0 ? true : _ref$dismissOnCTAClic,\n _ref$dismissExpires = _ref.dismissExpires,\n dismissExpires = _ref$dismissExpires === void 0 ? 0 : _ref$dismissExpires,\n _ref$dismissOptions = _ref.dismissOptions,\n dismissOptions = _ref$dismissOptions === void 0 ? {} : _ref$dismissOptions,\n _ref$gaTrackingEventA = _ref.gaTrackingEventArgs,\n gaTrackingEventArgs = _ref$gaTrackingEventA === void 0 ? {} : _ref$gaTrackingEventA;\n var is
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/CTALink.js":
|
|||
|
|
/*!*********************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/common/CTALink.js ***!
|
|||
|
|
\*********************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CTALink; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/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 _datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _datastore_location_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _datastore_site_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/useNotificationEvents */ \"./js/googlesitekit/notifications/hooks/useNotificationEvents.js\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_12__);\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object);
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/components/common/CTALinkSubtle.js":
|
|||
|
|
/*!***************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/common/CTALinkSubtle.js ***!
|
|||
|
|
\***************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CTALinkSubtle; });\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 _hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/useNotificationEvents */ \"./js/googlesitekit/notifications/hooks/useNotificationEvents.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 _svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../svg/icons/external.svg */ \"./svg/icons/external.svg\");\n\n\n\n/**\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction CTALinkSubtle(_ref) {\n var id = _ref.id,\n ctaLink = _ref.ctaLink,\n ctaLabel = _ref.ctaLabel,\n onCTAClick = _ref.onCTAClick,\n _ref$isCTALinkExterna = _ref.isCTALinkExternal,\n isCTALinkExternal = _ref$isCTALinkExterna === void 0 ? false : _ref$isCTALinkExterna,\n gaTrackingEventArgs = _ref.gaTrackingEventArgs,\n _ref$tertiary = _ref.tertiary,\n tertiary = _ref$tertiary === void 0 ? false : _ref$tertiary,\n _ref$isSaving = _ref.isSaving,\n isSaving = _ref$isSaving === void 0 ? false : _ref$isSaving;\n var trackEvents = Object(_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(id, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.category);\n var handleCTAClick = /*#__PURE__*/fun
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/Error.js":
|
|||
|
|
/*!*******************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/common/Error.js ***!
|
|||
|
|
\*******************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Error; });\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 _datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _components_ErrorText__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../components/ErrorText */ \"./js/components/ErrorText.js\");\n\n/**\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/*\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction Error(_ref) {\n var id = _ref.id;\n var ctaError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getError('notificationAction', [id]);\n });\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]),\n clearError = _useDispatch.clearError;\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n return function () {\n clearError('notificationAction', [id]);\n };\n }, [clearError, id]);\n return ctaError ? /*#__PURE__*/React.createElement(_components_ErrorText__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n message: ctaError.message\n }) : null;\n}\n\n// eslint-disable-next-line sitekit/acronym-case\nError.propTypes = {\n id: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9jb21tb24vRXJyb3IuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9jb21tb24vRXJyb3IuanM/MjRmMCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIG
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/notifications/components/common/LearnMoreLink.js":
|
|||
|
|
/*!***************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/common/LearnMoreLink.js ***!
|
|||
|
|
\***************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return LearnMoreLink; });\n/* harmony import */ var _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 _components_Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../components/Link */ \"./js/components/Link.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/**\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 LearnMoreLink(_ref) {\n var id = _ref.id,\n label = _ref.label,\n url = _ref.url,\n ariaLabel = _ref.ariaLabel,\n gaTrackingEventArgs = _ref.gaTrackingEventArgs,\n _ref$external = _ref.external,\n external = _ref$external === void 0 ? true : _ref$external,\n otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"id\", \"label\", \"url\", \"ariaLabel\", \"gaTrackingEventArgs\", \"external\"]);\n var trackEvents = Object(_hooks_useNotificationEvents__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(id);\n var handleLearnMore = function handleLearnMore(event) {\n event.persist();\n trackEvents.clickLearnMore(gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.label, gaTrackingEventArgs === null || gaTrackingEventArgs === void 0 ? void 0 : gaTrackingEventArgs.value);\n };\n return /*#__PURE__*/React.createElement(_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n onClick: handleLearnMore,\n href: url,\n \"aria-label\": ariaLabel,\n external: external\n }, otherProps), label);\n}\nLearnMoreLink.propTypes = {\n id: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n label: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n url: prop_types__WEBPACK_IMPORTED_MOD
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/NotificationWithSVG.js":
|
|||
|
|
/*!*********************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/notifications/components/layout/NotificationWithSVG.js ***!
|
|||
|
|
\*********************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return NotificationWithSVG; });\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 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 _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _common_Error__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common/Error */ \"./js/googlesitekit/notifications/components/common/Error.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\nfunction NotificationWithSVG(_ref) {\n var id = _ref.id,\n title = _ref.title,\n description = _ref.description,\n actions = _ref.actions,\n SVG = _ref.SVG,\n primaryCellSizes = _ref.primaryCellSizes,\n SVGCellSizes = _ref.SVGCellSizes;\n var breakpoint = Object(_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_3__[\"useBreakpoint\"])();\n\n // Desktop breakpoint.\n var svgSizeProps = {\n mdSize: (SVGCellSizes === null || SVGCellSizes === void 0 ? void 0 : SVGCellSizes.md) || 8,\n lgSize: (SVGCellSizes === null || SVGCellSizes === void 0 ? void 0 : SVGCellSizes.lg) || 6\n };\n // Tablet breakpoint.\n if (breakpoint === _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_3__[\"BREAKPOINT_TABLET\"]) {\n svgSizeProps = {\n mdSize: (SVGCellSizes === null || SVGCellSizes === void 0 ? void 0 : SVGCellSizes.md) || 8\n };\n }\n // Mobile breakpoint.\n if (breakpoint === _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_3__[\"BREAKPOINT_SMALL\"]) {\n svgSizeProps = {\n smSize: (SVGCellSizes === null || SVGCellSizes === void 0 ? void 0 : SVGCellSizes.sm) || 12\n };\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-widget-context\"\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Grid\"], {\n className: \"googlesitekit-widget-area\"\n }, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Row\"], null, /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_4__[\"Cell\"], {\n size: 12\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-widget', 'googlesi
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/WPDashboardReportError.js":
|
|||
|
|
/*!***********************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WPDashboardReportError.js ***!
|
|||
|
|
\***********************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WPDashboardReportError; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ \"../node_modules/@wordpress/compose/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _components_ReportError__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../components/ReportError */ \"./js/components/ReportError.js\");\n\n/**\n * WPDashboardReportError component.\n *\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction WPDashboardReportError(_ref) {\n var moduleSlug = _ref.moduleSlug,\n error = _ref.error;\n var errorInstanceID = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__[\"useInstanceId\"])(WPDashboardReportError, 'WPDashboardReportError');\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]),\n setValue = _useDispatch.setValue;\n var errorMessage = error.message;\n var selectInstanceID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n return select(_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_UI\"]).getValue(\"WPDashboardReportError-\".concat(moduleSlug, \"-\").concat(errorMessage));\n });\n Object(react_use__WEBPACK_IMPORTED_MODULE_2__[\"useLifecycles\"])(function () {\n setValue(\"WPDashboardReportError-\".concat(moduleSlug, \"-\").concat(errorMessage), errorInstanceID);\n }, function () {\n setValue(\"WPDashboardReportError-\".concat(moduleSlug, \"-\").concat(errorMessage), undefined);\n });\n if (selectInstanceID !== errorInstanceID) {\n return null;\n }\n return /*#__PURE__*/React.createElement(_components_ReportError__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n moduleSlug: moduleSlug,\n error: error\n });\n}\nWPDashboardReportError.propTypes = {\n moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n error: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired\n};\n/* W
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/Widget.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/Widget.js ***!
|
|||
|
|
\*******************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\n/**\n * Widget component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\nvar Widget = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(function (_ref, ref) {\n var children = _ref.children,\n className = _ref.className,\n widgetSlug = _ref.widgetSlug,\n noPadding = _ref.noPadding,\n Header = _ref.Header,\n Footer = _ref.Footer;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-widget', \"googlesitekit-widget--\".concat(widgetSlug), {\n 'googlesitekit-widget--no-padding': noPadding\n }, {\n 'googlesitekit-widget--with-header': Header\n }, className),\n ref: ref\n }, Header && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-widget__header\"\n }, /*#__PURE__*/React.createElement(Header, null)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-widget__body\"\n }, children), Footer && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-widget__footer\"\n }, /*#__PURE__*/React.createElement(Footer, null)));\n});\nWidget.defaultProps = {\n children: undefined,\n noPadding: false\n};\nWidget.propTypes = {\n children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node,\n widgetSlug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n noPadding: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool,\n Header: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType,\n Footer: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.elementType\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Widget);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXQuanM/OGVjMyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFdpZGdldCBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetAreaHeader.js":
|
|||
|
|
/*!*****************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetAreaHeader.js ***!
|
|||
|
|
\*****************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetAreaHeader; });\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 _WidgetNewBadge__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./WidgetNewBadge */ \"./js/googlesitekit/widgets/components/WidgetNewBadge.js\");\n/* harmony import */ var _hooks_useWindowSize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../hooks/useWindowSize */ \"./js/hooks/useWindowSize.js\");\n\n/**\n * WidgetAreaHeader 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 WidgetAreaHeader(_ref) {\n var slug = _ref.slug,\n _ref$Icon = _ref.Icon,\n Icon = _ref$Icon === void 0 ? false : _ref$Icon,\n _ref$title = _ref.title,\n title = _ref$title === void 0 ? '' : _ref$title,\n _ref$subtitle = _ref.subtitle,\n subtitle = _ref$subtitle === void 0 ? '' : _ref$subtitle,\n CTA = _ref.CTA;\n var windowWidth = Object(_hooks_useWindowSize__WEBPACK_IMPORTED_MODULE_3__[\"useWindowWidth\"])();\n var ctaWithLargeWindow = CTA && windowWidth >= 783;\n var Subtitle = typeof subtitle === 'function' ? subtitle : undefined;\n return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Icon && /*#__PURE__*/React.createElement(Icon, {\n width: 33,\n height: 33\n }), title && /*#__PURE__*/React.createElement(\"h3\", {\n className: \"googlesitekit-widget-area-header__title googlesitekit-heading-3\"\n }, title, /*#__PURE__*/React.createElement(_WidgetNewBadge__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n slug: slug\n })), (subtitle || CTA) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-widget-area-header__details\"\n }, subtitle && /*#__PURE__*/React.createElement(\"h4\", {\n className: \"googlesitekit-widget-area-header__subtitle\"\n }, Subtitle && /*#__PURE__*/React.createElement(Subtitle, null), !Subtitle && subtitle, !title && /*#__PURE__*/React.createElement(_WidgetNewBadge__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n slug: slug\n })), ctaWithLargeWindow && /*#__PURE__*/React.createElement(\"div\", {\n className: \"googlesitekit-widget-area-header__cta\"\n }, /*#__PURE__*/React.createElement(CTA, null))));\n}\nWidgetAreaHeader.propTypes = {\n slug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n Icon: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n title: 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 subtitle: 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.
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetAreaRenderer.js":
|
|||
|
|
/*!*******************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetAreaRenderer.js ***!
|
|||
|
|
\*******************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetAreaRenderer; });\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var 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 _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util */ \"./js/googlesitekit/widgets/util/index.js\");\n/* harmony import */ var _util_scroll__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../util/scroll */ \"./js/util/scroll.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _datastore_ui_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _components_InViewProvider__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../components/InViewProvider */ \"./js/components/InViewProvider/index.js\");\n/* harmony import */ var _WidgetRenderer__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./WidgetRenderer */ \"./js/googlesitekit/widgets/components/WidgetRenderer.js\");\n/* harmony import */ var _WidgetCellWrapper__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./WidgetCellWrapper */ \"./js/googlesitekit/widgets/components/WidgetCellWrapper.js\");\n/* harmony import */ var _components_WidgetErrorHandler__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../components/WidgetErrorHandler */ \"./js/components/WidgetErrorHandler/index.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../hooks/useViewOnly */ \"./js/
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetCellWrapper.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetCellWrapper.js ***!
|
|||
|
|
\******************************************************************/
|
|||
|
|
/*! 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 _util_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/constants */ \"./js/googlesitekit/widgets/util/constants.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../material-components */ \"./js/material-components/index.js\");\n\n/**\n * WidgetCellWrapper 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\nfunction WidgetCellWrapper(_ref) {\n var gridColumnWidth = _ref.gridColumnWidth,\n children = _ref.children;\n if (0 === gridColumnWidth) {\n // Widget with columnWidth of 0 should be hidden\n return /*#__PURE__*/React.createElement(\"div\", {\n className: _util_constants__WEBPACK_IMPORTED_MODULE_2__[\"HIDDEN_CLASS\"]\n }, children);\n }\n\n // In practice this will be 3 or 4.\n if (gridColumnWidth < 6) {\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Cell\"], {\n lgSize: gridColumnWidth,\n mdSize: 4,\n smSize: 2\n }, children);\n }\n\n // In practice this will be 6.\n if (gridColumnWidth < 8) {\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Cell\"], {\n lgSize: gridColumnWidth,\n mdSize: 8\n }, children);\n }\n\n // In practice this will be 8, 9 or 12.\n return /*#__PURE__*/React.createElement(_material_components__WEBPACK_IMPORTED_MODULE_3__[\"Cell\"], {\n size: gridColumnWidth\n }, children);\n}\nWidgetCellWrapper.propTypes = {\n gridColumnWidth: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired,\n children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element.isRequired\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (WidgetCellWrapper);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvY29tcG9uZW50cy9XaWRnZXRDZWxsV3JhcHBlci5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvd2lkZ2V0cy9jb21wb25lbnRzL1dpZGdldENlbGxXcmFwcGVyLmpzP2FhZDkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBXaWRnZXRDZWxsV3JhcHBlciBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICo
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetContextRenderer.js":
|
|||
|
|
/*!**********************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetContextRenderer.js ***!
|
|||
|
|
\**********************************************************************/
|
|||
|
|
/*! 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_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 _WidgetAreaRenderer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./WidgetAreaRenderer */ \"./js/googlesitekit/widgets/components/WidgetAreaRenderer.js\");\n/* harmony import */ var _datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _material_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../material-components */ \"./js/material-components/index.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n\n/**\n * WidgetContextRenderer component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nfunction WidgetContextRenderer(props) {\n var id = props.id,\n slug = props.slug,\n className = props.className,\n Header = props.Header,\n Footer = props.Footer;\n var viewOnlyDashboard = Object(_hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_8__[\"default\"])();\n var viewableModules = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n if (!viewOnlyDashboard) {\n return null;\n }\n return select(_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).getViewableModules();\n });\n var widgetAreas = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n if (slug) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_WIDGETS\"]).getWidgetAreas(slug);\n }\n return null;\n });\n var isActive = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return !!slug && select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_WIDGETS\"]).isWidgetContextActive(slug, {\n modules: viewableModules ? viewableModules : undefined\n });\n });\n if (viewableModules === undefined) {\n return null;\n }\n
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetNewBadge.js":
|
|||
|
|
/*!***************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetNewBadge.js ***!
|
|||
|
|
\***************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetNewBadge; });\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 _datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _components_NewBadge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../components/NewBadge */ \"./js/components/NewBadge.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n\n/**\n * WidgetNewBadge component.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction WidgetNewBadge(_ref) {\n var slug = _ref.slug;\n var widgetArea = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_WIDGETS\"]).getWidgetArea(slug);\n });\n var hasNewBadge = widgetArea.hasNewBadge; // WidgetNewBadge Expirable Item\n var expirableBadgeSlug = \"widget-area-expirable-new-badge-\".concat(slug);\n var hasBadgeBeenSeen = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).hasExpirableItem(expirableBadgeSlug);\n });\n var isExpiredBadgeActive = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n return select(_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]).isExpirableItemActive(expirableBadgeSlug);\n });\n\n // Show the new badge if this widget area allows new badges, it's new badge\n // has not been seen yet, or the badge has been seen and is still active.\n var showNewBadge = hasNewBadge && (hasBadgeBeenSeen === false || isExpiredBadgeActive);\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_USER\"]),\n setExpirableItemTimers = _useDispatch.setExpirableItemTimers;\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n // Wait until the selectors have resolved.\n if (hasBadgeBeen
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetNull.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetNull.js ***!
|
|||
|
|
\***********************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetNull; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks/useWidgetStateEffect */ \"./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\");\n/* harmony import */ var _components_Null__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../components/Null */ \"./js/components/Null.js\");\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * WidgetNull component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n// This doesn't need to change.\nvar metadata = {};\n\n// The supported props must match `Null` (except `widgetSlug`).\nfunction WidgetNull(_ref) {\n var widgetSlug = _ref.widgetSlug;\n Object(_hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(widgetSlug, _components_Null__WEBPACK_IMPORTED_MODULE_4__[\"default\"], metadata);\n return /*#__PURE__*/React.createElement(_components_Null__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null);\n}\nWidgetNull.propTypes = _objectSpread({\n widgetSlug: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired\n}, _components_Null__WEBPACK_IMPORTED_MODULE_4__[\"default\"].propTypes);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetRecoverableModules.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetRecoverableModules.js ***!
|
|||
|
|
\*************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetRecoverableModules; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/useWidgetStateEffect */ \"./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\");\n/* harmony import */ var _components_RecoverableModules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../components/RecoverableModules */ \"./js/components/RecoverableModules.js\");\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * WidgetRecoverableModules component.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetRenderer.js":
|
|||
|
|
/*!***************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetRenderer.js ***!
|
|||
|
|
\***************************************************************/
|
|||
|
|
/*! 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 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 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/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _Widget__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Widget */ \"./js/googlesitekit/widgets/components/Widget.js\");\n/* harmony import */ var _WidgetRecoverableModules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./WidgetRecoverableModules */ \"./js/googlesitekit/widgets/components/WidgetRecoverableModules.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util */ \"./js/googlesitekit/widgets/util/index.js\");\n/* harmony import */ var _util_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/constants */ \"./js/googlesitekit/widgets/util/constants.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n\n/**\n * WidgetRenderer 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\n\n\nfunction WidgetRenderer(_ref) {\n var _widget$hideOnBreakpo;\n var slug = _ref.slug,\n OverrideComponent = _ref.OverrideComponent;\n var widget = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_WIDGETS\"]).getWidget(slug);\n });\n var breakpoint = Object(_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_11__[\"useBreakpoint\"])();\n var widgetComponentProps = Object(_util__WEBPACK_IMPORTED_MODULE_8__[\"getWidgetComponentProps\"])(slug);\n var Widget = widgetComponentProps.Widget,\n WidgetNull = widgetComponentProps.WidgetNull;\n var recoverableModules = Object(googlesiteki
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetReportError.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetReportError.js ***!
|
|||
|
|
\******************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetReportError; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _components_ReportError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../components/ReportError */ \"./js/components/ReportError.js\");\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * WidgetReportError component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n// eslint-disable-next-line no-unused-vars\nfunction WidgetReportError(_ref) {\n var widgetSlug = _ref.widgetSlug,\n props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"widgetSlug\"]);\n return /*#__PURE__*/React.createElement(_components_ReportError__WEBPACK_IMPORTED_MODULE_4__[\"default\"], props);\n}\nWidgetReportError.propTypes = _objectSpread({\n widgetSlug: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string.isRequired\n}, _components_ReportError__WEBPACK_IMPORTED_MODULE_4__[\"default\"].propTypes);\n/* WEBPACK VAR INJECTI
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/components/WidgetReportZero.js":
|
|||
|
|
/*!*****************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/components/WidgetReportZero.js ***!
|
|||
|
|
\*****************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return WidgetReportZero; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _hooks_useWidgetStateEffect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/useWidgetStateEffect */ \"./js/googlesitekit/widgets/hooks/useWidgetStateEffect.js\");\n/* harmony import */ var _components_ReportZero__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../components/ReportZero */ \"./js/components/ReportZero.js\");\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * WidgetReportZero component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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-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/googlesitekit/widgets/util/combine-widgets.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/util/combine-widgets.js ***!
|
|||
|
|
\**********************************************************/
|
|||
|
|
/*! exports provided: combineWidgets */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineWidgets\", function() { return combineWidgets; });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/widgets/util/constants.js\");\n\n/**\n * Widgets combination utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nfunction stateAndRowMatch(stateA, stateB, rowA, rowB) {\n return rowA === rowB && Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isEqual\"])(stateA, stateB);\n}\n\n/**\n * Determines whether all the widgets in a given area should be combined.\n *\n * The given widgets in an area can all be combined if they are\n * all from the same module and they are all in the same special\n * state (see #3225).\n *\n * @since 1.34.0\n *\n * @param {Array.<Object>} widgets List of widgets.\n * @param {Object} widgetStates Map of widget slug and their\n * state (either an object with\n * `Component` and `metadata`, or\n * `null`).\n * @return {boolean} \t\t\tWhether all the widgets should be combined.\n */\nfunction shouldCombineAllWidgets(widgets, widgetStates) {\n var states = {};\n for (var i = 0; i < widgets.length; i++) {\n var _widgetState$metadata;\n var widget = widgets[i];\n var widgetState = widgetStates === null || widgetStates === void 0 ? void 0 : widgetStates[widget.slug];\n var state = widgetState === null || widgetState === void 0 ? void 0 : widgetState.Component;\n var module = widgetState === null || widgetState === void 0 ? void 0 : (_widgetState$metadata = widgetState.metadata) === null || _widgetState$metadata === void 0 ? void 0 : _widgetState$metadata.moduleSlug;\n var isSpecialState = _constants__WEBPACK_IMPORTED_MODULE_2__[\"SPECIAL_WIDGET_STATES\"].includes(state);\n if (!state || !module || !isSpecialState) {\n return false;\n }\n if (states[module]) {\n if (states[module] !== state) {\n // We have a widget from a given module in a different state from the others.\n return false;\n }\n } else {\n states[module] = state;\n }\n }\n if (Object.keys(states).length > 1) {\n // We have multiple modules, so the widgets can't be combined.\n return false;\n }\n return true;\n}\n\n/*\n * Combines consecutive widgets with similar states within the same row.\n *\n * @since 1.25.0\n *\n * @param {Array.<Object>} widgets List of widgets.\n * @param {Object} widgetStates Map of widget sl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/util/constants.js":
|
|||
|
|
/*!****************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/util/constants.js ***!
|
|||
|
|
\****************************************************/
|
|||
|
|
/*! exports provided: WIDTH_GRID_COUNTER_MAP, HIDDEN_CLASS, SPECIAL_WIDGET_STATES */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WIDTH_GRID_COUNTER_MAP\", function() { return WIDTH_GRID_COUNTER_MAP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HIDDEN_CLASS\", function() { return HIDDEN_CLASS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SPECIAL_WIDGET_STATES\", function() { return SPECIAL_WIDGET_STATES; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../datastore/constants */ \"./js/googlesitekit/widgets/datastore/constants.js\");\n/* harmony import */ var _components_ReportZero__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components/ReportZero */ \"./js/components/ReportZero.js\");\n/* harmony import */ var _components_RecoverableModules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../components/RecoverableModules */ \"./js/components/RecoverableModules.js\");\n\nvar _WIDTH_GRID_COUNTER_M;\n/**\n * Widgets layout constants.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\nvar WIDTH_GRID_COUNTER_MAP = (_WIDTH_GRID_COUNTER_M = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_WIDTH_GRID_COUNTER_M, _datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"WIDGET_WIDTHS\"].QUARTER, 3), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_WIDTH_GRID_COUNTER_M, _datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"WIDGET_WIDTHS\"].HALF, 6), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_WIDTH_GRID_COUNTER_M, _datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"WIDGET_WIDTHS\"].FULL, 12), _WIDTH_GRID_COUNTER_M);\nvar HIDDEN_CLASS = 'googlesitekit-hidden';\nvar SPECIAL_WIDGET_STATES = [_components_ReportZero__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _components_RecoverableModules__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9jb25zdGFudHMuanM/NzUxZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFdpZGdldHMgbGF5b3V0IGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/util/get-widget-component-props.js":
|
|||
|
|
/*!*********************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/util/get-widget-component-props.js ***!
|
|||
|
|
\*********************************************************************/
|
|||
|
|
/*! exports provided: getWidgetComponentProps, withWidgetComponentProps, withWPDashboardWidgetComponentProps */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getWidgetComponentProps\", function() { return getWidgetComponentProps; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"withWidgetComponentProps\", function() { return withWidgetComponentProps; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"withWPDashboardWidgetComponentProps\", function() { return withWPDashboardWidgetComponentProps; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! memize */ \"../node_modules/memize/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _components_Widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components/Widget */ \"./js/googlesitekit/widgets/components/Widget.js\");\n/* harmony import */ var _components_WidgetReportZero__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/WidgetReportZero */ \"./js/googlesitekit/widgets/components/WidgetReportZero.js\");\n/* harmony import */ var _components_WidgetReportError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components/WidgetReportError */ \"./js/googlesitekit/widgets/components/WidgetReportError.js\");\n/* harmony import */ var _components_WidgetNull__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/WidgetNull */ \"./js/googlesitekit/widgets/components/WidgetNull.js\");\n/* harmony import */ var _components_WidgetRecoverableModules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../components/WidgetRecoverableModules */ \"./js/googlesitekit/widgets/components/WidgetRecoverableModules.js\");\n/* harmony import */ var _components_WPDashboardReportError__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../components/WPDashboardReportError */ \"./js/googlesitekit/widgets/components/WPDashboardReportError.js\");\n\n\n/**\n * Widgets component props utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Gets the props to pass to a widget's component.\n *\n * @since 1.25.0\n * @since 1.107.0 Added `widgetSlug` to the returned props.\n *\n * @param {string} widgetSlug The widget's slug.\n * @return {Object} Props to pass to the widget component.\n */\nvar getWidgetComponentProps = memize__WEBPACK_IMPORTED_MODULE_2___default()(function (widgetSlug) {\n // Scope widget-specific components to the widget instance so that the\n // component does not need to (re-)specify the widget slug.\n return {\n widgetSlug: widgetSlug,\n Widget: withWidgetSlug(widgetSlug)(_components_Widg
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/util/get-widget-layout.js":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/util/get-widget-layout.js ***!
|
|||
|
|
\************************************************************/
|
|||
|
|
/*! exports provided: getWidgetLayout */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getWidgetLayout\", function() { return getWidgetLayout; });\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/widgets/util/constants.js\");\n/* harmony import */ var _is_inactive_widget_state__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./is-inactive-widget-state */ \"./js/googlesitekit/widgets/util/is-inactive-widget-state.js\");\n\n\n/**\n * Widgets layout utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n/**\n * Adjusts column widths to better fit into the current row knowing that the default sizes don't fill the row completely.\n *\n * @since 1.21.0\n *\n * @param {Array.<number>} columnWidths Current column widths.\n * @param {number} counter Current counter.\n * @return {Array} Array where the first element is the updated list of column\n * widths, and the second element is the resulting counter\n * after the update.\n */\nfunction resizeColumns(columnWidths, counter) {\n // Safeguard: counter must always be 9 for this to work.\n if (counter !== 9) {\n return [columnWidths, counter];\n }\n columnWidths = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(columnWidths);\n\n // Start counting backwards from the last item.\n var i = columnWidths.length - 1;\n\n // Go back until counter is 0. The i >= 0 check is an extra safeguard that, with\n // correct usage should never apply, but is still useful to avoid infinite loops\n // if the function was used incorrectly.\n while (counter !== 0 && i >= 0) {\n // Replace the 3-column width with a 4-column width, or the 6-column\n // width with an 8-column width so that the overall row expands from\n // 9 to the full 12 columns.\n if (columnWidths[i] === 3) {\n counter -= 3;\n columnWidths[i] = 4; // Correct the column width.\n } else if (columnWidths[i] === 6) {\n counter -= 6;\n columnWidths[i] = 8; // Correct the column width.\n }\n i--;\n }\n return [columnWidths, counter];\n}\n\n/**\n * Gets an array of sizes that widget can take accounting the current counter value.\n *\n * @since 1.21.0\n *\n * @param {number} counter The current counter.\n * @param {Object} widget Widget object.\n * @return {Array.<Object>} List of objects with `counter` and `width` properties.\n */\nfunction getWidgetSizes(counter, widget) {\n var widths = Array.isArray(widget.wid
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/util/index.js":
|
|||
|
|
/*!************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/util/index.js ***!
|
|||
|
|
\************************************************/
|
|||
|
|
/*! exports provided: getWidgetLayout, combineWidgets, getWidgetComponentProps, withWidgetComponentProps, withWPDashboardWidgetComponentProps, WIDTH_GRID_COUNTER_MAP, HIDDEN_CLASS, SPECIAL_WIDGET_STATES, normalizeWidgetModules, isInactiveWidgetState */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _get_widget_layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./get-widget-layout */ \"./js/googlesitekit/widgets/util/get-widget-layout.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getWidgetLayout\", function() { return _get_widget_layout__WEBPACK_IMPORTED_MODULE_0__[\"getWidgetLayout\"]; });\n\n/* harmony import */ var _combine_widgets__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./combine-widgets */ \"./js/googlesitekit/widgets/util/combine-widgets.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineWidgets\", function() { return _combine_widgets__WEBPACK_IMPORTED_MODULE_1__[\"combineWidgets\"]; });\n\n/* harmony import */ var _get_widget_component_props__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./get-widget-component-props */ \"./js/googlesitekit/widgets/util/get-widget-component-props.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getWidgetComponentProps\", function() { return _get_widget_component_props__WEBPACK_IMPORTED_MODULE_2__[\"getWidgetComponentProps\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withWidgetComponentProps\", function() { return _get_widget_component_props__WEBPACK_IMPORTED_MODULE_2__[\"withWidgetComponentProps\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withWPDashboardWidgetComponentProps\", function() { return _get_widget_component_props__WEBPACK_IMPORTED_MODULE_2__[\"withWPDashboardWidgetComponentProps\"]; });\n\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/widgets/util/constants.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WIDTH_GRID_COUNTER_MAP\", function() { return _constants__WEBPACK_IMPORTED_MODULE_3__[\"WIDTH_GRID_COUNTER_MAP\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"HIDDEN_CLASS\", function() { return _constants__WEBPACK_IMPORTED_MODULE_3__[\"HIDDEN_CLASS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SPECIAL_WIDGET_STATES\", function() { return _constants__WEBPACK_IMPORTED_MODULE_3__[\"SPECIAL_WIDGET_STATES\"]; });\n\n/* harmony import */ var _widget_modules__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./widget-modules */ \"./js/googlesitekit/widgets/util/widget-modules.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"normalizeWidgetModules\", function() { return _widget_modules__WEBPACK_IMPORTED_MODULE_4__[\"normalizeWidgetModules\"]; });\n\n/* harmony import */ var _is_inactive_widget_state__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./is-inactive-widget-state */ \"./js/googlesitekit/widgets/util/is-inactive-widget-state.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isInactiveWidgetState\", function() { return _is_inactive_widget_state__WEBPACK_IMPORTED_MODULE_5__[\"isInactiveWidgetState\"]; });\n\n/**\n * Widgets API utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQv
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/util/is-inactive-widget-state.js":
|
|||
|
|
/*!*******************************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/util/is-inactive-widget-state.js ***!
|
|||
|
|
\*******************************************************************/
|
|||
|
|
/*! exports provided: isInactiveWidgetState */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isInactiveWidgetState\", function() { return isInactiveWidgetState; });\n/* harmony import */ var _components_Null__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../components/Null */ \"./js/components/Null.js\");\n/**\n * Is inactive widget utility.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n/**\n * Combines consecutive widgets with similar states within the same row.\n *\n * @since 1.28.0\n *\n * @param {Object|null} widgetState Widget state (either an object with `Component` and `metadata`, or `null`).\n * @return {boolean} True if widget is inactive, otherwise false.\n */\nfunction isInactiveWidgetState(widgetState) {\n return !!widgetState && widgetState.Component === _components_Null__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9pcy1pbmFjdGl2ZS13aWRnZXQtc3RhdGUuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC9pcy1pbmFjdGl2ZS13aWRnZXQtc3RhdGUuanM/NWNhZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIElzIGluYWN0aXZlIHdpZGdldCB1dGlsaXR5LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBJbnRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IE51bGwgZnJvbSAnLi4vLi4vLi4vY29tcG9uZW50cy9OdWxsJztcblxuLyoqXG4gKiBDb21iaW5lcyBjb25zZWN1dGl2ZSB3aWRnZXRzIHdpdGggc2ltaWxhciBzdGF0ZXMgd2l0aGluIHRoZSBzYW1lIHJvdy5cbiAqXG4gKiBAc2luY2UgMS4yOC4wXG4gKlxuICogQHBhcmFtIHtPYmplY3R8bnVsbH0gd2lkZ2V0U3RhdGUgV2lkZ2V0IHN0YXRlIChlaXRoZXIgYW4gb2JqZWN0IHdpdGggYENvbXBvbmVudGAgYW5kIGBtZXRhZGF0YWAsIG9yIGBudWxsYCkuXG4gKiBAcmV0dXJuIHtib29sZWFufSBUcnVlIGlmIHdpZGdldCBpcyBpbmFjdGl2ZSwgb3RoZXJ3aXNlIGZhbHNlLlxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNJbmFjdGl2ZVdpZGdldFN0YXRlKCB3aWRnZXRTdGF0ZSApIHtcblx0cmV0dXJuICEhIHdpZGdldFN0YXRlICYmIHdpZGdldFN0YXRlLkNvbXBvbmVudCA9PT0gTnVsbDtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/util/is-inactive-widget-state.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/googlesitekit/widgets/util/widget-modules.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./js/googlesitekit/widgets/util/widget-modules.js ***!
|
|||
|
|
\*********************************************************/
|
|||
|
|
/*! exports provided: normalizeWidgetModules */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"normalizeWidgetModules\", function() { return normalizeWidgetModules; });\n/**\n * Widget's modules utility.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Normalizes widget's modules by converting it to an array and filtering out all non-string values.\n *\n * @since 1.71.0\n *\n * @param {string|Array.<string>} modules Widget's mdoules.\n * @return {Array.<string>} Widget's modules list.\n */\nfunction normalizeWidgetModules(modules) {\n return (Array.isArray(modules) ? modules : [modules]).filter(function (module) {\n return typeof module === 'string' && module.length > 0;\n });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L3dpZGdldHMvdXRpbC93aWRnZXQtbW9kdWxlcy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvd2lkZ2V0cy91dGlsL3dpZGdldC1tb2R1bGVzLmpzP2Q2Y2MiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBXaWRnZXQncyBtb2R1bGVzIHV0aWxpdHkuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIE5vcm1hbGl6ZXMgd2lkZ2V0J3MgbW9kdWxlcyBieSBjb252ZXJ0aW5nIGl0IHRvIGFuIGFycmF5IGFuZCBmaWx0ZXJpbmcgb3V0IGFsbCBub24tc3RyaW5nIHZhbHVlcy5cbiAqXG4gKiBAc2luY2UgMS43MS4wXG4gKlxuICogQHBhcmFtIHtzdHJpbmd8QXJyYXkuPHN0cmluZz59IG1vZHVsZXMgV2lkZ2V0J3MgbWRvdWxlcy5cbiAqIEByZXR1cm4ge0FycmF5LjxzdHJpbmc+fSBXaWRnZXQncyBtb2R1bGVzIGxpc3QuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBub3JtYWxpemVXaWRnZXRNb2R1bGVzKCBtb2R1bGVzICkge1xuXHRyZXR1cm4gKCBBcnJheS5pc0FycmF5KCBtb2R1bGVzICkgPyBtb2R1bGVzIDogWyBtb2R1bGVzIF0gKS5maWx0ZXIoXG5cdFx0KCBtb2R1bGUgKSA9PiB0eXBlb2YgbW9kdWxlID09PSAnc3RyaW5nJyAmJiBtb2R1bGUubGVuZ3RoID4gMFxuXHQpO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/widgets/util/widget-modules.js\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/hooks/useActivateModuleCallback.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./js/hooks/useActivateModuleCallback.js ***!
|
|||
|
|
\***********************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return useActivateModuleCallback; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _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/useDebouncedState.js":
|
|||
|
|
/*!***************************************!*\
|
|||
|
|
!*** ./js/hooks/useDebouncedState.js ***!
|
|||
|
|
\***************************************/
|
|||
|
|
/*! exports provided: useDebouncedState */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useDebouncedState\", function() { return useDebouncedState; });\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\n/**\n * `useDebouncedState` 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 * Debounces a value after the specified delay.\n *\n * @since 1.16.0\n *\n * @param {string} value The value to be debounced.\n * @param {number} delay Number of milliseconds to debounce.\n * @return {string} The update value after the delay.\n */\nfunction useDebouncedState(value, delay) {\n var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useState\"])(value),\n _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n debouncedValue = _useState2[0],\n setDebouncedValue = _useState2[1];\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useEffect\"])(function () {\n // Update debounced value after the delay\n var timeout = setTimeout(function () {\n setDebouncedValue(value);\n }, delay);\n return function () {\n clearTimeout(timeout);\n };\n }, [value, delay]);\n return debouncedValue;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VEZWJvdW5jZWRTdGF0ZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZURlYm91bmNlZFN0YXRlLmpzP2M1NTMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlRGVib3VuY2VkU3RhdGVgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG4vKipcbiAqIFdvcmRQcmVzcyBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IHsgdXNlU3RhdGUsIHVzZUVmZmVjdCB9IGZyb20gJ0B3b3JkcHJlc3MvZWxlbWVudCc7XG5cbi8qKlxuICogRGVib3VuY2VzIGEgdmFsdWUgYWZ0ZXIgdGhlIHNwZWNpZmllZCBkZWxheS5cbiAqXG4gKiBAc2luY2UgMS4xNi4wXG4gKlxuICogQHBhcmFtIHtzdHJpbmd9IHZhbHVlIFRoZSB2YWx1ZSB0byBiZSBkZWJvdW5jZWQuXG4gKiBAcGFyYW0ge251bWJlcn0gZGVsYXkgTnVtYmVyIG9mIG1pbGxpc2Vjb25kcyB0byBkZWJvdW5jZS5cbiAqIEByZXR1cm4ge3N0cmluZ30gVGhlIHVwZGF0ZSB2YWx1ZSBhZnRlciB0aGUgZGVsYXkuXG4gKi9cbmV4cG9ydCBmdW5jdGl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/hooks/useFeature.js":
|
|||
|
|
/*!********************************!*\
|
|||
|
|
!*** ./js/hooks/useFeature.js ***!
|
|||
|
|
\********************************/
|
|||
|
|
/*! exports provided: useFeature */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useFeature\", function() { return useFeature; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _components_FeaturesProvider_FeaturesContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/FeaturesProvider/FeaturesContext */ \"./js/components/FeaturesProvider/FeaturesContext.js\");\n/* harmony import */ var _features__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../features */ \"./js/features/index.js\");\n/**\n * Feature Flags hook.\n *\n * Site Kit by Google, Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n/**\n * Returns the enabled state of a feature flag.\n *\n * @since 1.25.0\n *\n * @param {string} feature The feature flag name to check enabled state for.\n * @return {boolean} `true` if the feature is enabled, `false` otherwise.\n */\nvar useFeature = function useFeature(feature) {\n var enabledFeatures = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useContext\"])(_components_FeaturesProvider_FeaturesContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n return Object(_features__WEBPACK_IMPORTED_MODULE_2__[\"isFeatureEnabled\"])(feature, enabledFeatures);\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VGZWF0dXJlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvaG9va3MvdXNlRmVhdHVyZS5qcz82MWJmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRmVhdHVyZSBGbGFncyBob29rLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjAgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLyoqXG4gKiBXb3JkUHJlc3MgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IHVzZUNvbnRleHQgfSBmcm9tICdAd29yZHByZXNzL2VsZW1lbnQnO1xuXG4vKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgRmVhdHVyZXNDb250ZXh0IGZyb20gJy4uL2NvbXBvbmVudHMvRmVhdHVyZXNQcm92aWRlci9GZWF0dXJlc0NvbnRleHQnO1xuaW1wb3J0IHsgaXNGZWF0dXJlRW5hYmxlZCB9IGZyb20gJy4uL2ZlYXR1cmVzJztcblxuLyoqXG4gKiBSZXR1cm5zIHRoZSBlbmFibGVkIHN0YXRlIG9mIGEgZmVhdHVyZSBmbGFnLlxuICpcbiAqIEBzaW5jZSAxLjI1LjBcbiAqXG4gKiBAcGFyYW0ge3N0cmluZ30gZmVhdHVyZSBUaGUgZmVhdHVyZSBmbGFnIG5hbWUgdG8gY2hlY2sgZW5hYmxlZCBzdGF0ZSBmb3IuXG4gKiBAcmV0dXJuIHtib29sZWFufSBgdHJ1ZWAgaWYgdGhlIGZlYXR1cmUgaXMgZW5hYmxlZCwgYGZhbHNlYCBvdGhlcndpc2UuXG4gKi9cbmV4cG9ydCBjb25zdCB1c2VGZWF0dXJlID0gKCBmZWF0dXJlICkgPT4ge1xuXHRjb25zdCBlbmFibGVkRmVhdHVyZXMgPSB1c2VDb250ZXh0KCBGZWF0dXJlc0NvbnRleHQgKTtcblxuXHRyZXR1cm4gaXNGZWF0dXJlRW5hYmxlZCggZmVhdHVyZSwgZW5hYmxlZEZlYXR1cmVzICk7XG59O1xuIl0sIm1hcHBpbmdzIj
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/useHasScrolledEffect.js":
|
|||
|
|
/*!******************************************!*\
|
|||
|
|
!*** ./js/hooks/useHasScrolledEffect.js ***!
|
|||
|
|
\******************************************/
|
|||
|
|
/*! exports provided: useHasScrolledEffect */
|
|||
|
|
/***/ (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__, \"useHasScrolledEffect\", function() { return useHasScrolledEffect; });\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_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n\n/**\n * Has Scrolled 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 * External dependencies\n */\n\n\n\n/**\n * Returns whether the user has scrolled the page and adds/remove the googlesitekit-plugin--has-scrolled class to the body.\n *\n * @since 1.50.0\n *\n * @return {boolean} `true` if the user has scrolled the page, `false` otherwise.\n */\nvar useHasScrolledEffect = function useHasScrolledEffect() {\n var _useWindowScroll = Object(react_use__WEBPACK_IMPORTED_MODULE_1__[\"useWindowScroll\"])(),\n y = _useWindowScroll.y;\n var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useState\"])(false),\n _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2),\n hasScrolled = _useState2[0],\n setHasScrolled = _useState2[1];\n var className = 'googlesitekit-plugin--has-scrolled';\n Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"useEffect\"])(function () {\n if (hasScrolled) {\n global.document.body.classList.add(className);\n } else {\n global.document.body.classList.remove(className);\n }\n }, [hasScrolled]);\n if (y > 0 && !hasScrolled) {\n setHasScrolled(true);\n } else if (y === 0 && hasScrolled) {\n setHasScrolled(false);\n }\n return hasScrolled;\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VIYXNTY3JvbGxlZEVmZmVjdC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZUhhc1Njcm9sbGVkRWZmZWN0LmpzP2JhYjIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBIYXMgU2Nyb2xsZWQgaG9vay5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIyIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUg
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/useMonitorInternetConnection.js":
|
|||
|
|
/*!**************************************************!*\
|
|||
|
|
!*** ./js/hooks/useMonitorInternetConnection.js ***!
|
|||
|
|
\**************************************************/
|
|||
|
|
/*! exports provided: useMonitorInternetConnection */
|
|||
|
|
/***/ (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__, \"useMonitorInternetConnection\", function() { return useMonitorInternetConnection; });\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 react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/api-fetch */ \"./js/api-fetch-shim.js\");\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 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_ui_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n\n\n/**\n * `useMonitorInternetConnection` hook.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n/**\n * Monitors the user's internet connection status.\n *\n * @since 1.118.0\n * @since 1.136.0 Changed the connection check endpoint.\n */\nfunction useMonitorInternetConnection() {\n var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]),\n setIsOnline = _useDispatch.setIsOnline;\n var isOnline = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_UI\"]).getIsOnline();\n });\n var checkInternetConnection = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"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 (navigator.onLine) {\n
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/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/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification.js":
|
|||
|
|
/*!**********************************************************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationIntroductoryOverlayNotification.js ***!
|
|||
|
|
\**********************************************************************************************************************************/
|
|||
|
|
/*! exports provided: AUDIENCE_SEGMENTATION_INTRODUCTORY_OVERLAY_NOTIFICATION, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_SEGMENTATION_INTRODUCTORY_OVERLAY_NOTIFICATION\", function() { return AUDIENCE_SEGMENTATION_INTRODUCTORY_OVERLAY_NOTIFICATION; });\n/* harmony 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 _svg_graphics_audience_segmentation_introductory_graphic_desktop_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../svg/graphics/audience-segmentation-introductory-graphic-desktop.svg */ \"./svg/graphics/audience-segmentation-introductory-graphic-desktop.svg\");\n/* harmony import */ var _svg_graphics_audience_segmentation_introductory_graphic_mobile_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../svg/graphics/audience-segmentation-introductory-graphic-mobile.svg */ \"./svg/graphics/audience-segmentation-introductory-graphic-mobile.svg\");\n/* harmony import */ var _components_OverlayNotification_OverlayNotification__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../components/OverlayNotification/OverlayNotification */ \"./js/components/OverlayNotification/OverlayNotification.js\");\n/* harmony import */ var _util_scroll__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../util/scroll */ \"./js/util/scroll.js\");\n/* harmony import */ var _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.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 _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_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.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/analytics-4/datastore/constants.js\");\n/* harmony import */ var _hooks_useDas
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/is-zero-report.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./js/modules/analytics-4/utils/is-zero-report.js ***!
|
|||
|
|
\********************************************************/
|
|||
|
|
/*! exports provided: isZeroReport */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isZeroReport\", function() { return isZeroReport; });\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Report utilities.\n *\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Checks whether the report data has only zero values.\n *\n * @since 1.95.0\n *\n * @param {Object} report Report data object.\n * @return {(boolean|undefined)} Returns TRUE if the report data is empty or has only zero values, FALSE if there is at least one non-zero value, or undefined if the report data is not resolved yet.\n */\nfunction isZeroReport(report) {\n var _report$totals;\n if (report === undefined) {\n return undefined;\n }\n\n // If there is no rows array, no totals array, or totals is an array of empty objects, this is an empty report.\n if (!(report === null || report === void 0 ? void 0 : report.rows) || !(report === null || report === void 0 ? void 0 : report.totals) || (report === null || report === void 0 ? void 0 : (_report$totals = report.totals) === null || _report$totals === void 0 ? void 0 : _report$totals.every(lodash__WEBPACK_IMPORTED_MODULE_0__[\"isEmpty\"]))) {\n return true;\n }\n\n // false means there _is_ some report data\n return !report.totals.some(function (totals) {\n if (!totals.metricValues) {\n return false;\n }\n return totals.metricValues.some(function (_ref) {\n var value = _ref.value;\n return value > 0;\n });\n });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL2lzLXplcm8tcmVwb3J0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy9hbmFseXRpY3MtNC91dGlscy9pcy16ZXJvLXJlcG9ydC5qcz82ZDdiIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogUmVwb3J0IHV0aWxpdGllcy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIzIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IGlzRW1wdHkgfSBmcm9tICdsb2Rhc2gnO1xuXG4vKipcbiAqIENoZWNrcyB3aGV0aGVyIHRoZSByZXBvcnQgZGF0YSBoYXMgb25seSB6ZXJvIHZhbHVlcy5cbiAqXG4gKiBAc2luY2UgMS45NS4wXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHJlcG9ydCBSZXBvcnQgZGF0YSBvYmplY3QuXG4gKiBAcmV0dXJuIHsoYm9vbGVhbnx1bmRlZmluZWQpfSBSZXR1cm5zIFRSVUUgaWYgdGhlIHJlcG9ydCBkYXRhIGlzIGVtcHR5IG9yIGhhcyBvbmx5IHplcm8gdmFsdWVzLCBGQUxTRSBpZiB0aGVyZSBpcyBhdCBsZWFzdCBvbmUgbm9uLXplcm8gdmFsdWUsIG9yIHVuZGVmaW5lZCBpZiB0aGU
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/reader-revenue-manager/components/dashboard/ProductIDContributionsNotification.js":
|
|||
|
|
/*!******************************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/reader-revenue-manager/components/dashboard/ProductIDContributionsNotification.js ***!
|
|||
|
|
\******************************************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ProductIDContributionsNotification; });\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 _googlesitekit_notifications_components_layout_SubtleNotification__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __webpack_require__(/*! ../../../../googlesitekit/notifications/components/common/Dismiss */ \"./js/googlesitekit/notifications/components/common/Dismiss.js\");\n/* harmony import */ var _googlesitekit_notifications_components_common_CTALinkSubtle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../googlesitekit/notifications/components/common/CTALinkSubtle */ \"./js/googlesitekit/notifications/components/common/CTALinkSubtle.js\");\n\n/**\n * ProductIDContributionsNotification component.\n *\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction ProductIDContributionsNotification(_ref) {\n var id = _ref.id,\n Notification = _ref.Notification;\n var settingsURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getAdminURL('googlesitekit-settings');\n });\n return /*#__PURE__*/React.createElement(Notification, null, /*#__PURE__*/React.createElement(_googlesitekit_notifications_components_layout_SubtleNotification__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n type: \"new-feature\",\n description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('New! You can now select product IDs to use with your Reader Revenue Manager snippet', 'google-site-kit'),\n dismissCTA: /*#__PURE__*/React
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/reader-revenue-manager/components/dashboard/ProductIDSubscriptionsNotification.js":
|
|||
|
|
/*!******************************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/reader-revenue-manager/components/dashboard/ProductIDSubscriptionsNotification.js ***!
|
|||
|
|
\******************************************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ProductIDSubscriptionsNotification; });\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 _googlesitekit_notifications_components_layout_SubtleNotification__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __webpack_require__(/*! ../../../../googlesitekit/notifications/components/common/Dismiss */ \"./js/googlesitekit/notifications/components/common/Dismiss.js\");\n/* harmony import */ var _googlesitekit_notifications_components_common_CTALinkSubtle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../googlesitekit/notifications/components/common/CTALinkSubtle */ \"./js/googlesitekit/notifications/components/common/CTALinkSubtle.js\");\n\n/**\n * ProductIDSubscriptionsNotification component.\n *\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction ProductIDSubscriptionsNotification(_ref) {\n var id = _ref.id,\n Notification = _ref.Notification;\n var settingsURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n return select(_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).getAdminURL('googlesitekit-settings');\n });\n return /*#__PURE__*/React.createElement(Notification, null, /*#__PURE__*/React.createElement(_googlesitekit_notifications_components_layout_SubtleNotification__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n type: \"warning\",\n description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('To complete your Reader Revenue Manager paywall setup, add your product IDs in settings', 'google-site-kit'),\n dismissCTA: /*#__PURE__*/React
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/reader-revenue-manager/components/dashboard/PublicationApprovedOverlayNotification.js":
|
|||
|
|
/*!**********************************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/reader-revenue-manager/components/dashboard/PublicationApprovedOverlayNotification.js ***!
|
|||
|
|
\**********************************************************************************************************/
|
|||
|
|
/*! exports provided: RRM_PUBLICATION_APPROVED_OVERLAY_NOTIFICATION, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RRM_PUBLICATION_APPROVED_OVERLAY_NOTIFICATION\", function() { return RRM_PUBLICATION_APPROVED_OVERLAY_NOTIFICATION; });\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_OverlayNotification_OverlayNotification__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../components/OverlayNotification/OverlayNotification */ \"./js/components/OverlayNotification/OverlayNotification.js\");\n/* harmony import */ var _svg_graphics_reader_revenue_manager_introductory_graphic_desktop_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../svg/graphics/reader-revenue-manager-introductory-graphic-desktop.svg */ \"./svg/graphics/reader-revenue-manager-introductory-graphic-desktop.svg\");\n/* harmony import */ var _svg_graphics_reader_revenue_manager_introductory_graphic_mobile_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../svg/graphics/reader-revenue-manager-introductory-graphic-mobile.svg */ \"./svg/graphics/reader-revenue-manager-introductory-graphic-mobile.svg\");\n/* harmony import */ var _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../hooks/useDashboardType */ \"./js/hooks/useDashboardType.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../svg/icons/external.svg */ \"./svg/icons/external.svg\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.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 googlesitekit_data__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_11__);\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 _googlesitekit_datastore_ui_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/ui/constants */ \"./js/googlesitekit/datastore/ui/constants.js\");\n/* harmony import */ var _googlesitekit_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/reader-revenue-manager/datastore/constants.js\");\n/* harmony import */ var _util_when_active__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/reader-revenue-manager/components/dashboard/RRMIntroductoryOverlayNotification.js":
|
|||
|
|
/*!******************************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/reader-revenue-manager/components/dashboard/RRMIntroductoryOverlayNotification.js ***!
|
|||
|
|
\******************************************************************************************************/
|
|||
|
|
/*! exports provided: RRM_INTRODUCTORY_OVERLAY_NOTIFICATION, default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RRM_INTRODUCTORY_OVERLAY_NOTIFICATION\", function() { return RRM_INTRODUCTORY_OVERLAY_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 _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 _svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../svg/icons/external.svg */ \"./svg/icons/external.svg\");\n/* harmony import */ var _components_OverlayNotification_OverlayNotification__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../components/OverlayNotification/OverlayNotification */ \"./js/components/OverlayNotification/OverlayNotification.js\");\n/* harmony import */ var _svg_graphics_reader_revenue_manager_monetize_graphic_desktop_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../svg/graphics/reader-revenue-manager-monetize-graphic-desktop.svg */ \"./svg/graphics/reader-revenue-manager-monetize-graphic-desktop.svg\");\n/* harmony import */ var _svg_graphics_reader_revenue_manager_monetize_graphic_mobile_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../svg/graphics/reader-revenue-manager-monetize-graphic-mobile.svg */ \"./svg/graphics/reader-revenue-manager-monetize-graphic-mobile.svg\");\n/* harmony import */ var _components_SupportLink__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../components/SupportLink */ \"./js/components/SupportLink.js\");\n/* harmony import */ var _hooks_useDashboardType__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../hooks/useDashboardType */ \"./js/hooks/useDashboardType.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _hooks_useQueryArg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../hooks/useQueryArg */ \"./js/hooks/useQueryArg.js\");\n/* harmony import */ var _hooks_useViewContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _hooks_useViewOnly__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../hooks/useViewOnly */ \"./js/hooks/useViewOnly.js\");\n/* harmony import */ var _util_when_active__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../util/when-active */ \"./js/util/when-active.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../../util */ \"./js/util/index.js\");\n/* harmony import */ var _googlesit
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/reader-revenue-manager/components/dashboard/RRMSetupSuccessSubtleNotification.js":
|
|||
|
|
/*!*****************************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/reader-revenue-manager/components/dashboard/RRMSetupSuccessSubtleNotification.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 RRMSetupSuccessSubtleNotification; });\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_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 _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _wordpress_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 _hooks_useQueryArg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../hooks/useQueryArg */ \"./js/hooks/useQueryArg.js\");\n/* harmony import */ var _hooks_useRefocus__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../hooks/useRefocus */ \"./js/hooks/useRefocus.js\");\n/* harmony import */ var _googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/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/googl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/reader-revenue-manager/components/dashboard/ReaderRevenueManagerSetupCTABanner.js":
|
|||
|
|
/*!******************************************************************************************************!*\
|
|||
|
|
!*** ./js/modules/reader-revenue-manager/components/dashboard/ReaderRevenueManagerSetupCTABanner.js ***!
|
|||
|
|
\******************************************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ReaderRevenueManagerSetupCTABanner; });\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 _hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var _hooks_useActivateModuleCallback__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../hooks/useActivateModuleCallback */ \"./js/hooks/useActivateModuleCallback.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 _datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../datastore/constants */ \"./js/modules/reader-revenue-manager/datastore/constants.js\");\n/* harmony import */ var _svg_graphics_reader_revenue_manager_setup_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../svg/graphics/reader-revenue-manager-setup.svg */ \"./svg/graphics/reader-revenue-manager-setup.svg\");\n/* harmony import */ var _svg_graphics_reader_revenue_manager_setup_tablet_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../../svg/graphics/reader-revenue-manager-setup-tablet.svg */ \"./svg/graphics/reader-revenue-manager-setup-tablet.svg\");\n/* harmony import */ var _svg_graphics_reader_revenue_manager_setup_mobile_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../svg/graphics/reader-revenue-manager-setup-mobile.svg */ \"./svg/graphics/reader-revenue-manager-setup-mobile.svg\");\n/* harmony import */ var _components_AdminMenuTooltip__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../components/AdminMenuTooltip */ \"./js/components/AdminMenuTooltip/index.js\");\n/* harmony import */ var _googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _googlesitekit_notifications_components_layout_NotificationWithSVG__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../googlesitekit/notifications/components/layout/NotificationWithSVG */ \"./js/googlesitekit/notifications/components/l
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/reader-revenue-manager/components/dashboard/index.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./js/modules/reader-revenue-manager/components/dashboard/index.js ***!
|
|||
|
|
\*************************************************************************/
|
|||
|
|
/*! exports provided: ProductIDContributionsNotification, ProductIDSubscriptionsNotification, PublicationApprovedOverlayNotification, ReaderRevenueManagerSetupCTABanner, RRMSetupSuccessSubtleNotification, RRMIntroductoryOverlayNotification */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ProductIDContributionsNotification__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProductIDContributionsNotification */ \"./js/modules/reader-revenue-manager/components/dashboard/ProductIDContributionsNotification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ProductIDContributionsNotification\", function() { return _ProductIDContributionsNotification__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _ProductIDSubscriptionsNotification__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ProductIDSubscriptionsNotification */ \"./js/modules/reader-revenue-manager/components/dashboard/ProductIDSubscriptionsNotification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ProductIDSubscriptionsNotification\", function() { return _ProductIDSubscriptionsNotification__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _PublicationApprovedOverlayNotification__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./PublicationApprovedOverlayNotification */ \"./js/modules/reader-revenue-manager/components/dashboard/PublicationApprovedOverlayNotification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PublicationApprovedOverlayNotification\", function() { return _PublicationApprovedOverlayNotification__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _ReaderRevenueManagerSetupCTABanner__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ReaderRevenueManagerSetupCTABanner */ \"./js/modules/reader-revenue-manager/components/dashboard/ReaderRevenueManagerSetupCTABanner.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ReaderRevenueManagerSetupCTABanner\", function() { return _ReaderRevenueManagerSetupCTABanner__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _RRMSetupSuccessSubtleNotification__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RRMSetupSuccessSubtleNotification */ \"./js/modules/reader-revenue-manager/components/dashboard/RRMSetupSuccessSubtleNotification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RRMSetupSuccessSubtleNotification\", function() { return _RRMSetupSuccessSubtleNotification__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _RRMIntroductoryOverlayNotification__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RRMIntroductoryOverlayNotification */ \"./js/modules/reader-revenue-manager/components/dashboard/RRMIntroductoryOverlayNotification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RRMIntroductoryOverlayNotification\", function() { return _RRMIntroductoryOverlayNotification__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/**\n * RRM dashboard components.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3JlYWRlci1yZXZlbnVlLW1hbmFnZXIvY29tcG9uZW50cy9kYXNoYm9hcmQvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL3JlYWRlci1yZXZlbnVlLW1hbmFnZXIvY29tcG9uZW50cy9kYXNoYm9hcmQvaW5kZXguanM/ZjFjMiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJSTSBkYXNoYm9hcmQgY29tcG9uZW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./js/modules/reader-revenue-manager/datastore/constants.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./js/modules/reader-revenue-manager/datastore/constants.js ***!
|
|||
|
|
\******************************************************************/
|
|||
|
|
/*! exports provided: ERROR_CODE_NON_HTTPS_SITE, MODULES_READER_REVENUE_MANAGER, READER_REVENUE_MANAGER_MODULE_SLUG, PUBLICATION_ONBOARDING_STATES, UI_KEY_READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION, LEGACY_RRM_SETUP_BANNER_DISMISSED_KEY, READER_REVENUE_MANAGER_SETUP_FORM, READER_REVENUE_MANAGER_NOTICES_FORM, SHOW_PUBLICATION_CREATE, RESET_PUBLICATIONS, SYNC_PUBLICATION */
|
|||
|
|
/***/ (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_NON_HTTPS_SITE\", function() { return ERROR_CODE_NON_HTTPS_SITE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULES_READER_REVENUE_MANAGER\", function() { return MODULES_READER_REVENUE_MANAGER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"READER_REVENUE_MANAGER_MODULE_SLUG\", function() { return READER_REVENUE_MANAGER_MODULE_SLUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PUBLICATION_ONBOARDING_STATES\", function() { return PUBLICATION_ONBOARDING_STATES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_KEY_READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION\", function() { return UI_KEY_READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LEGACY_RRM_SETUP_BANNER_DISMISSED_KEY\", function() { return LEGACY_RRM_SETUP_BANNER_DISMISSED_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"READER_REVENUE_MANAGER_SETUP_FORM\", function() { return READER_REVENUE_MANAGER_SETUP_FORM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"READER_REVENUE_MANAGER_NOTICES_FORM\", function() { return READER_REVENUE_MANAGER_NOTICES_FORM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SHOW_PUBLICATION_CREATE\", function() { return SHOW_PUBLICATION_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESET_PUBLICATIONS\", function() { return RESET_PUBLICATIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SYNC_PUBLICATION\", function() { return SYNC_PUBLICATION; });\n/**\n * `modules/reader-revenue-manager` data store constants.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar ERROR_CODE_NON_HTTPS_SITE = 'non_https_site';\nvar MODULES_READER_REVENUE_MANAGER = 'modules/reader-revenue-manager';\nvar READER_REVENUE_MANAGER_MODULE_SLUG = 'reader-revenue-manager';\nvar PUBLICATION_ONBOARDING_STATES = {\n ONBOARDING_COMPLETE: 'ONBOARDING_COMPLETE',\n ONBOARDING_ACTION_REQUIRED: 'ONBOARDING_ACTION_REQUIRED',\n PENDING_VERIFICATION: 'PENDING_VERIFICATION',\n UNSPECIFIED: 'ONBOARDING_STATE_UNSPECIFIED'\n};\nvar UI_KEY_READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION = 'READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION';\nvar LEGACY_RRM_SETUP_BANNER_DISMISSED_KEY = 'rrm_module_setup_banner_dismissed_key';\nvar READER_REVENUE_MANAGER_SETUP_FORM = 'readerRevenueManagerSetupForm';\nvar READER_REVENUE_MANAGER_NOTICES_FORM = 'readerRevenueManagerNoticesForm';\nvar SHOW_PUBLICATION_CREATE = 'showPublicationCreate';\nvar RESET_PUBLICATIONS = 'resetPublications';\nvar SYNC_PUBLICATION = 'syncPublication';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3JlYWRlci1yZXZlbnVlLW1hbmFnZXIvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvcmVhZGVyLXJldmVudWUtbWFuYWdlci9kYXRhc3RvcmUvY29uc3RhbnRzLmpzPzdhODAiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgbW9kdWxlcy9yZWFkZXItcmV2ZW51ZS1tYW5hZ2VyYCBkYXRhIHN0b3JlIGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKi
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/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/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/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/analytics-adsense-connect-desktop.svg":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./svg/graphics/analytics-adsense-connect-desktop.svg ***!
|
|||
|
|
\************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#analytics-adsense-connect-desktop_svg__clip0_50_9707)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#analytics-adsense-connect-desktop_svg__filter0_d_50_9707)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 22,\n y: 30,\n width: 252,\n height: 172.055,\n rx: 13.764,\n fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 36,\n y: 65,\n width: 224,\n height: 47,\n rx: 5.161,\n fill: \"#DCE8FF\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 43,\n y: 145,\n width: 30,\n height: 3,\n rx: 1.5,\n fill: \"#9BB8F0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 43,\n y: 151,\n width: 40,\n height: 3,\n rx: 1.5,\n fill: \"#9BB8F0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M168.539 90.857L188 112h-81l29.455-32 21.039 22.857 11.045-12z\",\n fill: \"#9BB8F0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M22 43.764C22 36.162 28.162 30 35.764 30h224.472C267.838 30 274 36.162 274 43.764v7.091H22v-7.091z\",\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 32.427,\n y: 36.952,\n width: 6.952,\n height: 6.952,\n rx: 3.476,\n fill: \"#CBD0D3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 42.855,\n y: 36.952,\n width: 6.952,\n height: 6.952,\n rx: 3.476,\n fill: \"#CBD0D3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 36,\n y: 122,\n width: 59,\n height: 55,\n rx: 5.457,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 107,\n y: 122,\n width: 54,\n height: 10,\n rx: 5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 107,\n y: 141,\n width: 153,\n height: 5,\n rx: 2.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 107,\n y: 154,\n width: 153,\n height: 5,\n rx: 2.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M238.51 171.625c11.868 0 21.49-3.528 21.49-7.88v-2.865h-42.98v2.865c0 4.352 9.621 7.88 21.49 7.88z\",\n fill: \"#E1B155\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"ellipse\", {\n cx: 238.51,\n cy: 159.88,\n rx: 21.49,\n ry: 7.88,\n fill: \"#FECE72\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M237.859 162.363v-.48a4.538 4.538 0 01-.901-.154 2.897 2.897 0 01-.77-.342 1.423 1.423 0 01-.496-.534l.952-.209c.081.161.23.306.446.435.222.128.479.211.769.248v-1.223l-.03-.011c-.54-.111-.986-.254-1.337-.43-.351-.18-.526-.41-.526-.689 0-.165.074-.321.222-.468.156-.147.375-.269.659-.364a3.58 3.58 0 011.012-.176v-.474h.81v.485c.352.029.645.086.882.17.243.081.432.175.567.28
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/analytics-adsense-connect-mobile.svg":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./svg/graphics/analytics-adsense-connect-mobile.svg ***!
|
|||
|
|
\***********************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#analytics-adsense-connect-mobile_svg__clip0_413_2382)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M311.553 64.365c2.4 22.73-4.803 32.78-23.025 59.95-18.222 27.169 7.404 59.276-20.779 89.868-33.528 36.394-150.686 39.364-201.232 24.212-50.546-15.153-63.58-46.473-59.948-75.155C11.5 124.315 38.52 112.077 51.5 93 70.776 64.675 48.687 38.214 86 15.5s80.086 6.697 120.326 4.388c23.216-1.332 46.017-5.627 66.626.968 20.832 6.667 36.719 25.428 38.601 43.509z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#analytics-adsense-connect-mobile_svg__filter0_d_413_2382)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 56,\n y: 14,\n width: 209.444,\n height: 143,\n rx: 11.44,\n fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 67.635,\n y: 43.09,\n width: 186.173,\n height: 39.063,\n rx: 4.29,\n fill: \"#DCE8FF\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 73.454,\n y: 109.58,\n width: 24.934,\n height: 2.493,\n rx: 1.247,\n fill: \"#9BB8F0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 73.454,\n y: 114.567,\n width: 33.245,\n height: 2.493,\n rx: 1.247,\n fill: \"#9BB8F0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M177.792 64.58l16.175 17.573h-67.322l24.481-26.597 17.486 18.998 9.18-9.974z\",\n fill: \"#9BB8F0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M56 25.44C56 19.121 61.122 14 67.44 14h186.565c6.318 0 11.439 5.122 11.439 11.44v5.893H56V25.44z\",\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 64.666,\n y: 19.778,\n width: 5.778,\n height: 5.778,\n rx: 2.889,\n fill: \"#CBD0D3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 73.333,\n y: 19.778,\n width: 5.778,\n height: 5.778,\n rx: 2.889,\n fill: \"#CBD0D3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 67.635,\n y: 90.464,\n width: 49.037,\n height: 45.712,\n rx: 4.536,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 126.646,\n y: 90.464,\n width: 44.881,\n height: 8.311,\n rx: 4.156,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 126.646,\n y: 106.255,\n width: 127.163,\n height: 4.156,\n rx: 2.078,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 126.646,\n y: 117.06,\n width: 127.163,\n height: 4.156,\n rx: 2.078,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M235.947 131.708c9.864 0 17.861-2.932 17.861-6.549v-2.381h-35.722v2.381c0 3.617 7.997 6.549 17.861 6.549z\",\n fill: \"#E1B155\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"ellipse\", {\n cx: 235.947,\n cy: 121.947,\n rx: 17.861,\n ry: 6.549,\n fill: \"#FECE72\"\n}), /*#__PURE__*/react__WEBPACK_IMP
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/analytics-adsense-linked-desktop.svg":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./svg/graphics/analytics-adsense-linked-desktop.svg ***!
|
|||
|
|
\***********************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#analytics-adsense-linked-desktop_svg__clip0_100_3563)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#analytics-adsense-linked-desktop_svg__filter0_d_100_3563)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 24,\n y: 23,\n width: 248,\n height: 174,\n rx: 11,\n fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 48,\n y: 96,\n width: 116,\n height: 14,\n rx: 7,\n fill: \"#9CEBEB\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 48,\n y: 124,\n width: 141,\n height: 14,\n rx: 7,\n fill: \"#9CEBEB\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 48,\n y: 153,\n width: 97,\n height: 14,\n rx: 7,\n fill: \"#9CEBEB\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M222 103a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7zM222 131a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7zM222 159a7 7 0 017-7h12a7 7 0 110 14h-12a7 7 0 01-7-7z\",\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 48,\n y: 44,\n width: 36,\n height: 9,\n rx: 4.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 46.672,\n y: 162.656,\n width: 55.734,\n height: 9.516,\n rx: 4.758,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M272 72H24\",\n stroke: \"#EBEEF0\",\n strokeWidth: 2\n})));\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"clipPath\", {\n id: \"analytics-adsense-linked-desktop_svg__clip0_100_3563\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z\",\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n id: \"analytics-adsense-linked-desktop_svg__filter0_d_100_3563\",\n x: 8,\n y: 11,\n width: 280,\n height: 206,\n filterUnits: \"userSpaceOnUse\",\n colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n floodOpacity: 0,\n result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n in: \"SourceAlpha\",\n values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\",\n result: \"hardAlpha\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feOffset\", {\n dy: 4\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feGaussianBlur\", {\n stdDeviation: 8\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feComposite\", {\n in2: \"hardAlpha\",\n operator: \"out\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n values: \"0 0 0 0 0 0 0
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/analytics-adsense-linked-mobile.svg":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./svg/graphics/analytics-adsense-linked-mobile.svg ***!
|
|||
|
|
\**********************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#analytics-adsense-linked-mobile_svg__clip0_413_2990)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M311.553 64.365c2.4 22.73-4.803 32.78-23.025 59.95-18.222 27.169 7.404 59.276-20.779 89.868-33.528 36.394-150.686 39.364-201.232 24.212-50.546-15.153-63.58-46.473-59.948-75.155C11.5 124.315 38.52 112.077 51.5 93 70.776 64.675 48.687 38.214 86 15.5s80.086 6.697 120.326 4.388c23.216-1.332 46.017-5.627 66.626.968 20.832 6.667 36.719 25.428 38.601 43.509z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#analytics-adsense-linked-mobile_svg__filter0_d_413_2990)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 74.81,\n y: 12.732,\n width: 193.381,\n height: 135.679,\n rx: 8.577,\n fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 93.524,\n y: 69.655,\n width: 90.452,\n height: 10.917,\n rx: 5.458,\n fill: \"#9CEBEB\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 93.524,\n y: 91.488,\n width: 109.946,\n height: 10.917,\n rx: 5.458,\n fill: \"#9CEBEB\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 93.524,\n y: 114.101,\n width: 75.637,\n height: 10.917,\n rx: 5.458,\n fill: \"#9CEBEB\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M229.202 75.113a5.458 5.458 0 015.458-5.458h9.358a5.458 5.458 0 010 10.916h-9.358a5.458 5.458 0 01-5.458-5.458zM229.202 96.946a5.458 5.458 0 015.458-5.458h9.358a5.458 5.458 0 010 10.917h-9.358a5.459 5.459 0 01-5.458-5.459zM229.202 118.78a5.459 5.459 0 015.458-5.459h9.358a5.459 5.459 0 010 10.917h-9.358a5.458 5.458 0 01-5.458-5.458z\",\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 93.524,\n y: 29.107,\n width: 28.071,\n height: 7.018,\n rx: 3.509,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 92.488,\n y: 121.631,\n width: 43.459,\n height: 7.42,\n rx: 3.71,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M268.19 50.94H74.81\",\n stroke: \"#EBEEF0\",\n strokeWidth: 1.56\n})));\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"clipPath\", {\n id: \"analytics-adsense-linked-mobile_svg__clip0_413_2990\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n fill: \"#fff\",\n d: \"M0 0h343v123H0z\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"filter\", {\n id: \"analytics-adsense-linked-mobile_svg__filter0_d_413_2990\",\n x: 62.333,\n y: 3.375,\n width: 218.333,\n height: 160.631,\n filterUnits: \"userSpaceOnUse\",\n colorInterpolationFilters: \"sRGB\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feFlood\", {\n floodOpacity: 0,\n result: \"BackgroundImageFix\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"feColorMatrix\", {\n in: \"SourceAlpha\",\n values: \"0 0 0
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/audience-segmentation-introductory-graphic-desktop.svg":
|
|||
|
|
/*!*****************************************************************************!*\
|
|||
|
|
!*** ./svg/graphics/audience-segmentation-introductory-graphic-desktop.svg ***!
|
|||
|
|
\*****************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#audience-segmentation-introductory-graphic-desktop_svg__clip0_1395_20972)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M0 16C0 7.163 7.163 0 16 0h264c8.837 0 16 7.163 16 16v147H0V16z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#audience-segmentation-introductory-graphic-desktop_svg__filter0_d_1395_20972)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: -10,\n y: 25,\n width: 153,\n height: 174,\n rx: 11,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 9.031,\n y: 110.641,\n width: 53.016,\n height: 9.516,\n rx: 4.758,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 9.031,\n y: 95.688,\n width: 19.031,\n height: 9.516,\n rx: 4.758,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 9.031,\n y: 148.703,\n width: 19.031,\n height: 9.516,\n rx: 4.758,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M94.672 108.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 010 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 9,\n y: 46,\n width: 36,\n height: 9,\n rx: 4.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M94.672 161.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z\",\n fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#audience-segmentation-introductory-graphic-desktop_svg__filter1_d_1395_20972)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 152,\n y: 25,\n width: 153,\n height: 174,\n rx: 11,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 170.955,\n y: 110.641,\n width: 52.805,\n height: 9.516,\n rx: 4.758,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 170.955,\n y: 95.688,\n width: 18.956,\n height: 9.516,\n rx: 4.758,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 170.955,\n y: 148.703,\n width: 18.956,\n height: 9.516,\n rx: 4.758,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M256.256 108.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 171,\n y: 46,\n width: 36,\n height: 9,\n rx: 4.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M295 73.5H152\",\n stroke: \"#EBEEF0\",\n strokeWidth: 2\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/audience-segmentation-introductory-graphic-mobile.svg":
|
|||
|
|
/*!****************************************************************************!*\
|
|||
|
|
!*** ./svg/graphics/audience-segmentation-introductory-graphic-mobile.svg ***!
|
|||
|
|
\****************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z\",\n fill: \"#B8E6CA\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M41.064 27.146a64.127 64.127 0 016.51-5.868C69.418 4.126 87.464 4.153 112.45 7.283c16.891 2.116 26.759 10.166 49.788 8.9 23.029-1.266 28.929-7.127 57.117-5.25 22.315 1.487 32.324 5.897 52.163 16.213 18.36 9.549 35.031 26.324 43.408 48.509 14.361 38.026-11.243 106.466-45.58 109.693-24.881 2.339-45.414-25.243-70.527-18.855-15.47 3.936-24.646 20.444-36.581 31.339-13.925 12.711-43.922 11.912-60.227 5.129-15.538-6.464-30.653-19.276-35.728-38.145-3.863-14.369-4.916-31.498-15.733-44.622-13.09-15.883-21.087-22.968-25.581-44.54-3.903-18.734 4.494-36.505 16.095-48.508z\",\n fill: \"#B8E6CA\"\n});\nvar _ref3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n mask: \"url(#audience-segmentation-introductory-graphic-mobile_svg__a)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#audience-segmentation-introductory-graphic-mobile_svg__filter0_d_2898_16651)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 71.449,\n y: 21.433,\n width: 100.401,\n height: 136.493,\n rx: 7.218,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 83.941,\n y: 77.631,\n width: 34.79,\n height: 6.244,\n rx: 3.122,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 83.941,\n y: 67.819,\n width: 12.489,\n height: 6.244,\n rx: 3.122,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 83.941,\n y: 99.983,\n width: 12.489,\n height: 6.244,\n rx: 3.122,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M140.133 76.293a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.596h-8.921a5.798 5.798 0 01-5.798-5.798z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 83.926,\n y: 35.213,\n width: 23.624,\n height: 5.906,\n rx: 2.953,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M140.133 108.458a5.798 5.798 0 015.798-5.798h8.921a5.798 5.798 0 010 11.597h-8.921a5.798 5.798 0 01-5.798-5.799z\",\n fill: \"#FFDED3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 83.043,\n y: 109.796,\n width: 36.574,\n height: 6.244,\n rx: 3.122,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M171.848 53.259H72.103\",\n stroke: \"#EBEEF0\",\n strokeWidth: 1.31
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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/graphics/reader-revenue-manager-introductory-graphic-desktop.svg":
|
|||
|
|
/*!******************************************************************************!*\
|
|||
|
|
!*** ./svg/graphics/reader-revenue-manager-introductory-graphic-desktop.svg ***!
|
|||
|
|
\******************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 101.5,\n y: 79,\n width: 195,\n height: 172,\n rx: 13.764,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 218,\n y: 108,\n width: 64,\n height: 38,\n rx: 5.161,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 81.5,\n y: 56,\n width: 195,\n height: 172,\n rx: 13.764,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 97,\n y: 85,\n width: 165,\n height: 96,\n rx: 5.161,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 96,\n y: 148,\n width: 59,\n height: 55,\n rx: 5.457,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 167,\n y: 148,\n width: 54,\n height: 10,\n rx: 5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 61.5,\n y: 30,\n width: 195,\n height: 172,\n rx: 13.764,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 76.5,\n y: 50,\n width: 165,\n height: 51,\n rx: 5.161,\n fill: \"#6FD3D3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 147.5,\n y: 113,\n width: 54,\n height: 14,\n rx: 7,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 147.5,\n y: 135,\n width: 94,\n height: 5,\n rx: 2.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 76.5,\n y: 135,\n width: 59,\n height: 5,\n rx: 2.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 76.5,\n y: 124,\n width: 59,\n height: 5,\n rx: 2.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 76.5,\n y: 146,\n width: 59,\n height: 5,\n rx: 2.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 76.5,\n y: 113,\n width: 59,\n height: 5,\n rx: 2.5,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 147.5,\n y: 146,\n width: 94,\n height: 5,\n rx: 2.5,\n fill: \"#EBEEF0\"\n}));\nvar _ref2 =
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/reader-revenue-manager-introductory-graphic-mobile.svg":
|
|||
|
|
/*!*****************************************************************************!*\
|
|||
|
|
!*** ./svg/graphics/reader-revenue-manager-introductory-graphic-mobile.svg ***!
|
|||
|
|
\*****************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M29.447 64.365c-2.4 22.73 4.803 32.78 23.025 59.949 18.222 27.17-7.404 59.277 20.78 89.869 33.527 36.394 150.685 39.364 201.231 24.212 50.546-15.153 63.581-46.473 59.948-75.155C329.5 124.314 302.482 112.077 289.5 93c-19.276-28.325 2.813-54.786-34.5-77.5s-80.086 6.697-120.326 4.388c-23.216-1.332-46.017-5.627-66.626.968-20.832 6.667-36.72 25.428-38.6 43.509z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 108.926,\n y: 53.721,\n width: 158.074,\n height: 139.43,\n rx: 11.158,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 203.365,\n y: 77.23,\n width: 51.881,\n height: 30.804,\n rx: 4.184,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 92.713,\n y: 35.077,\n width: 158.074,\n height: 139.43,\n rx: 11.158,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 105.277,\n y: 58.585,\n width: 133.755,\n height: 77.821,\n rx: 4.184,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 104.467,\n y: 109.655,\n width: 47.828,\n height: 44.585,\n rx: 4.424,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 162.021,\n y: 109.655,\n width: 43.775,\n height: 8.106,\n rx: 4.053,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 76.5,\n y: 14,\n width: 158.074,\n height: 139.43,\n rx: 11.158,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 88.66,\n y: 30.213,\n width: 133.755,\n height: 41.343,\n rx: 4.184,\n fill: \"#6FD3D3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 146.215,\n y: 81.283,\n width: 43.775,\n height: 11.349,\n rx: 5.674,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 146.215,\n y: 99.117,\n width: 76.2,\n height: 4.053,\n rx: 2.027,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 88.66,\n y: 99.117,\n width: 47.828,\n height: 4.053,\n rx: 2.027,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 88.66,\n y: 90.2,\n width: 47.828,\n height: 4.053,\n rx: 2.027,\n fill: \"#EBEEF0\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createEl
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/reader-revenue-manager-monetize-graphic-desktop.svg":
|
|||
|
|
/*!**************************************************************************!*\
|
|||
|
|
!*** ./svg/graphics/reader-revenue-manager-monetize-graphic-desktop.svg ***!
|
|||
|
|
\**************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#reader-revenue-manager-monetize-graphic-desktop_svg__clip0_2428_20430)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-monetize-graphic-desktop_svg__filter0_d_2428_20430)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 48,\n y: 65,\n width: 252,\n height: 200,\n rx: 20,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 69,\n y: 92,\n width: 133,\n height: 11,\n rx: 5.5,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 219,\n y: 95,\n width: 61,\n height: 87,\n rx: 4,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 69,\n y: 133,\n width: 133,\n height: 11,\n rx: 5.5,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 69,\n y: 114,\n width: 133,\n height: 11,\n rx: 5.5,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 69,\n y: 152,\n width: 133,\n height: 11,\n rx: 5.5,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-monetize-graphic-desktop_svg__filter1_d_2428_20430)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 98,\n y: 25,\n width: 152,\n height: 174,\n rx: 20,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 146,\n y: 116,\n width: 56,\n height: 20,\n rx: 10,\n fill: \"#6FD3D3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 132,\n y: 74,\n width: 84,\n height: 11,\n rx: 5.5,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 132,\n y: 91,\n width: 84,\n height: 11,\n rx: 5.5,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"mask\", {\n id: \"reader-revenue-manager-monetize-graphic-desktop_svg__a\",\n fill: \"#fff\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 165.333,\n y: 46.929,\n width: 16.667,\n height: 14.286,\n rx: 1.786\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 165.333,\n y: 46.929,\n width: 16.667,\n height: 14.286,\n rx: 1.786,\n stroke: \"#6FD3D3\",\n strokeWidth: 4.444,\n mask: \"url(#reader-revenue-manager-monetize-graphic-desktop_svg__a)\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M169.5 47.524v-2.38a4.166 4.166 0 014.167-4.167v0a4.166 4.166 0 014.166 4.166v2.381\",\n stroke: \"#6FD3D3\",\n strokeWidth: 2.222\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 173.667,\n cy: 54.072,\n r: 1.786,\n fill: \"#6FD3D3\"\n}));\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createEle
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/reader-revenue-manager-monetize-graphic-mobile.svg":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./svg/graphics/reader-revenue-manager-monetize-graphic-mobile.svg ***!
|
|||
|
|
\*************************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#reader-revenue-manager-monetize-graphic-mobile_svg__clip0_2084_4987)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M29.447 64.365c-2.4 22.73 4.803 32.78 23.025 59.949 18.222 27.17-7.404 59.276 20.78 89.869 33.527 36.394 150.685 39.364 201.231 24.211 50.546-15.152 63.581-46.473 59.948-75.154C329.5 124.314 302.482 112.076 289.5 93c-19.276-28.325 2.813-54.786-34.5-77.5s-80.086 6.696-120.326 4.388c-23.216-1.332-46.017-5.627-66.626.968-20.832 6.667-36.72 25.427-38.6 43.509z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-monetize-graphic-mobile_svg__filter0_d_2084_4987)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 76,\n y: 48.778,\n width: 196,\n height: 155.556,\n rx: 15.556,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 92.334,\n y: 69.778,\n width: 103.444,\n height: 8.556,\n rx: 4.278,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 209,\n y: 72.111,\n width: 47.444,\n height: 67.667,\n rx: 3.111,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 92.334,\n y: 101.667,\n width: 103.444,\n height: 8.556,\n rx: 4.278,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 92.334,\n y: 86.889,\n width: 103.444,\n height: 8.556,\n rx: 4.278,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 92.334,\n y: 116.444,\n width: 103.444,\n height: 8.556,\n rx: 4.278,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-monetize-graphic-mobile_svg__filter1_d_2084_4987)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 114.889,\n y: 17.666,\n width: 118.222,\n height: 135.333,\n rx: 15.556,\n fill: \"#fff\"\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 152.223,\n y: 88.444,\n width: 43.556,\n height: 15.556,\n rx: 7.778,\n fill: \"#6FD3D3\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 141.334,\n y: 55.778,\n width: 65.333,\n height: 8.556,\n rx: 4.278,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 141.334,\n y: 69,\n width: 65.333,\n height: 8.556,\n rx: 4.278,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"mask\", {\n id: \"reader-revenue-manager-monetize-graphic-mobile_svg__a\",\n fill: \"#fff\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 167.26,\n y: 34.722,\n width: 12.963,\n height: 11.111,\n rx: 1.389\n})), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 167.26,\n y: 34.722,\n width: 12.963,\n height: 11.111,\n rx: 1.389,\n stroke: \"#6FD3D3\",\n strokeWidth: 3.457,\n mask: \"url(#reader-revenue-manager-monetize-graphic-mobile_svg__a)\"\n}),
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/reader-revenue-manager-setup-mobile.svg":
|
|||
|
|
/*!**************************************************************!*\
|
|||
|
|
!*** ./svg/graphics/reader-revenue-manager-setup-mobile.svg ***!
|
|||
|
|
\**************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#reader-revenue-manager-setup-mobile_svg__clip0_545_3220)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M48.29 62.984C45.736 92.5 61.979 101.179 61.979 141.7c0 40.523-68.064 65.392-38.567 133.189 23.634 54.322 143.822 65.071 212.81 49.74 68.988-15.331 94.263-53.72 90.398-90.963-5.246-50.546-33.305-76.635-44.18-122.287s8.084-69.5-20.73-92.004c-29.226-22.826-55.734-8.177-86.32-8.177-24.76 0-48.937-19.034-84.62-5.097-22.165 8.657-40.478 33.403-42.48 56.882z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 129.539,\n y: 17.537,\n width: 86.677,\n height: 172.078,\n rx: 12.746,\n fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 49.916,\n cy: 77.24,\n r: 16.523,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M53.238 72.804c-.432-.48-1.728-1.44-3.455-1.44-2.16 0-3.455 1.44-3.455 2.88 0 3.959 6.91 1.704 6.91 5.757 0 1.44-1.296 2.88-3.455 2.88-1.727 0-3.023-.96-3.455-1.44M49.783 68.485V85.76\",\n stroke: \"#fff\",\n strokeWidth: 1.275,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 254.048,\n cy: 37.482,\n r: 11.144,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M256.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M253.959 31.578v11.65\",\n stroke: \"#fff\",\n strokeWidth: 0.956,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 306.659,\n cy: 109.5,\n r: 13.712,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M309.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M306.547 102.235v14.335\",\n stroke: \"#fff\",\n strokeWidth: 1.275,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 139.795,\n y: 29.038,\n width: 66.512,\n height: 11.737,\n rx: 2.549,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 139.795,\n y: 60.897,\n width: 66.512,\n height: 72.66,\n rx: 2.549,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 139.795,\n y: 137.941,\n width: 66.512,\n height: 4.471,\n rx: 2.236,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 152.094,\n y: 44.365,\n width: 41.919,\n height: 6.707,\n rx: 3.354,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 139.795,\n y: 44.924,\n width: 8.384,\n height: 1.118,\n rx: 0.559,\n fill: \"#DEE3E6\"\n}), /*#__PURE__*/react__WEB
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/reader-revenue-manager-setup-tablet.svg":
|
|||
|
|
/*!**************************************************************!*\
|
|||
|
|
!*** ./svg/graphics/reader-revenue-manager-setup-tablet.svg ***!
|
|||
|
|
\**************************************************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n clipPath: \"url(#reader-revenue-manager-setup-tablet_svg__clip0_545_5344)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M134.999 170.5c0-40.522-17.5-50-18-88s26-61.5 47-66 23.5-1.302 51.5 0 39.5-17.5 79.5-14.5 45.5 19 69 25.5c23.874 6.603 33.464 1.321 48.5 21.5 19.001 25.5-2.875 51.848 8 97.5 14.77 62-276.999 64-285.5 24z\",\n fill: \"#B8E6CA\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 234.539,\n y: 17.537,\n width: 86.677,\n height: 172.078,\n rx: 12.746,\n fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 169.523,\n cy: 104.523,\n r: 16.523,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M172.845 100.088c-.432-.48-1.727-1.44-3.455-1.44-2.159 0-3.454 1.44-3.454 2.879 0 3.959 6.909 1.705 6.909 5.758 0 1.44-1.295 2.879-3.455 2.879-1.727 0-3.023-.959-3.454-1.439M169.391 95.769v17.274\",\n stroke: \"#fff\",\n strokeWidth: 1.275,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 105.5,\n cy: 70.5,\n r: 22.5,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M110.022 64.46c-.588-.653-2.352-1.96-4.704-1.96-2.941 0-4.705 1.96-4.705 3.92 0 5.392 9.409 2.322 9.409 7.841 0 1.96-1.764 3.92-4.704 3.92-2.352 0-4.117-1.306-4.705-1.96M105.318 58.58v23.522\",\n stroke: \"#fff\",\n strokeWidth: 1.275,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 359.048,\n cy: 37.482,\n r: 11.144,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M361.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M358.959 31.578v11.65\",\n stroke: \"#fff\",\n strokeWidth: 0.956,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 411.659,\n cy: 109.5,\n r: 13.712,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M414.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M411.547 102.235v14.335\",\n stroke: \"#fff\",\n strokeWidth: 1.275,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 457.288,\n cy: 50.288,\n r: 19.288,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M461.166 45.11c-.504-.56-2.017-1.68-4.033-1.68-2.521 0-4.033 1.68-4.033 3.36 0 4.622 8.066 1.99 8.066 6.722 0 1.68-1.513 3.36-4.033 3.36-2.017 0-3.529-1.12-4.033-1.68M457.131 40.069v20.165\",\n stroke: \"#fff\",\n strokeWidth: 1.275,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/graphics/reader-revenue-manager-setup.svg":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./svg/graphics/reader-revenue-manager-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: \"M74.032-2.916C70.583 36.886 92.52 48.59 92.52 103.233c0 54.644-91.918 88.181-52.084 179.603 31.917 73.252 194.23 87.748 287.396 67.074 93.167-20.673 127.301-72.44 122.081-122.662-7.085-68.16-44.978-103.341-59.664-164.902-14.686-61.56 10.917-93.72-27.996-124.067-39.469-30.78-75.267-11.025-116.573-11.025-33.439 0-66.088-25.668-114.278-6.874-29.933 11.674-54.665 45.044-57.369 76.704z\",\n fill: \"#B8E6CA\"\n});\nvar _ref2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n filter: \"url(#reader-revenue-manager-setup_svg__filter0_d_30_1196)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 168.849,\n y: 39.561,\n width: 136,\n height: 270,\n rx: 20,\n fill: \"#fff\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 54.898,\n cy: 177.171,\n r: 25.926,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M60.112 170.211c-.678-.753-2.71-2.258-5.42-2.258-3.389 0-5.422 2.258-5.422 4.517 0 6.212 10.842 2.675 10.842 9.035 0 2.259-2.033 4.517-5.42 4.517-2.711 0-4.744-1.506-5.422-2.258M54.69 163.435v27.105\",\n stroke: \"#fff\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 348.514,\n cy: 36.337,\n r: 17.485,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M352.031 31.643c-.457-.508-1.828-1.523-3.656-1.523-2.285 0-3.656 1.523-3.656 3.046 0 4.19 7.312 1.805 7.312 6.094 0 1.523-1.371 3.047-3.656 3.047-1.828 0-3.199-1.016-3.656-1.524M348.375 27.073v18.28\",\n stroke: \"#fff\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n cx: 418.514,\n cy: 149.337,\n r: 21.515,\n fill: \"#2F9F9F\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M422.841 143.562c-.562-.625-2.249-1.875-4.499-1.875-2.811 0-4.498 1.875-4.498 3.749 0 5.155 8.997 2.22 8.997 7.497 0 1.875-1.687 3.749-4.499 3.749-2.249 0-3.936-1.249-4.498-1.874M418.343 137.939v22.492\",\n stroke: \"#fff\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 184.94,\n y: 54.47,\n width: 104.361,\n height: 18.417,\n rx: 4,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 184.94,\n y: 104.458,\n width: 104.361,\n height: 114.008,\n rx: 4,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 184.94,\n y: 228.482,\n width: 104.361,\n height: 7.016,\n rx: 3.508,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 184.94,\n y: 241.482,\n width: 104.361,\n height: 7.016,\n rx: 3.508,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 204.234,\n y: 81.656,\n width: 65.774,\n height: 10.524,\n rx: 5.262,\n fill: \"#F3F5F7\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"rect\", {\n x: 184.94,\n y: 82.533,\n width: 13.155,\n hei
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./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-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/check.svg":
|
|||
|
|
/*!*****************************!*\
|
|||
|
|
!*** ./svg/icons/check.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 SvgCheck(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\"] = (SvgCheck);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvY2hlY2suc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2NoZWNrLnN2Zz80Y2VhIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJnXCIsIHtcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIixcbiAgZmlsbFJ1bGU6IFwiZXZlbm9kZFwiXG59LCAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0wIDYuNDE0TDEuNDE1IDVsNS4yOTIgNS4yOTItMS40MTQgMS40MTV6XCJcbn0pLCAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0xNC4xNDYuMTQ2bDEuNDE1IDEuNDE0TDUuNDE0IDExLjcwNyA0IDEwLjI5MnpcIlxufSkpO1xuZnVuY3Rpb24gU3ZnQ2hlY2socHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAxNiAxMlwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdDaGVjazsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/check.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/close-dark.svg":
|
|||
|
|
/*!**********************************!*\
|
|||
|
|
!*** ./svg/icons/close-dark.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: \"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z\",\n fill: \"currentColor\"\n});\nfunction SvgCloseDark(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\"] = (SvgCloseDark);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvY2xvc2UtZGFyay5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvY2xvc2UtZGFyay5zdmc/MDdlNSJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTE1LjgzMyA1LjM0MmwtMS4xNzUtMS4xNzVMMTAgOC44MjUgNS4zNDIgNC4xNjcgNC4xNjcgNS4zNDIgOC44MjUgMTBsLTQuNjU4IDQuNjU4IDEuMTc1IDEuMTc1TDEwIDExLjE3NWw0LjY1OCA0LjY1OCAxLjE3NS0xLjE3NUwxMS4xNzUgMTBsNC42NTgtNC42NTh6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnQ2xvc2VEYXJrKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjAgMjBcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnQ2xvc2VEYXJrOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/close-dark.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/date-range.svg":
|
|||
|
|
/*!**********************************!*\
|
|||
|
|
!*** ./svg/icons/date-range.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 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z\",\n fill: \"currentColor\",\n fillRule: \"evenodd\"\n});\nfunction SvgDateRange(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 18 20\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgDateRange);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZGF0ZS1yYW5nZS5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvZGF0ZS1yYW5nZS5zdmc/MjJmMSJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTYgOUg0djJoMlY5em00IDBIOHYyaDJWOXptNCAwaC0ydjJoMlY5em0yLTdoLTFWMGgtMnYySDVWMEgzdjJIMkMuODkgMiAuMDEgMi45LjAxIDRMMCAxOGEyIDIgMCAwMDIgMmgxNGMxLjEgMCAyLS45IDItMlY0YzAtMS4xLS45LTItMi0yem0wIDE2SDJWN2gxNHYxMXpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIixcbiAgZmlsbFJ1bGU6IFwiZXZlbm9kZFwiXG59KTtcbmZ1bmN0aW9uIFN2Z0RhdGVSYW5nZShwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDE4IDIwXCJcbiAgfSwgcHJvcHMpLCBfcmVmKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z0RhdGVSYW5nZTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/date-range.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.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-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/magnifying-glass.svg":
|
|||
|
|
/*!****************************************!*\
|
|||
|
|
!*** ./svg/icons/magnifying-glass.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: \"M16 9.5c0 1.407-.45 2.714-1.218 3.783L20.49 19 19 20.49l-5.717-5.708A6.463 6.463 0 019.5 16 6.5 6.5 0 1116 9.5zm-11 0C5 11.99 7.01 14 9.5 14S14 11.99 14 9.5 11.99 5 9.5 5 5 7.01 5 9.5z\",\n fill: \"currentColor\"\n});\nfunction SvgMagnifyingGlass(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\"] = (SvgMagnifyingGlass);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvbWFnbmlmeWluZy1nbGFzcy5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvbWFnbmlmeWluZy1nbGFzcy5zdmc/MzUyNCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGZpbGxSdWxlOiBcImV2ZW5vZGRcIixcbiAgY2xpcFJ1bGU6IFwiZXZlbm9kZFwiLFxuICBkOiBcIk0xNiA5LjVjMCAxLjQwNy0uNDUgMi43MTQtMS4yMTggMy43ODNMMjAuNDkgMTkgMTkgMjAuNDlsLTUuNzE3LTUuNzA4QTYuNDYzIDYuNDYzIDAgMDE5LjUgMTYgNi41IDYuNSAwIDExMTYgOS41em0tMTEgMEM1IDExLjk5IDcuMDEgMTQgOS41IDE0UzE0IDExLjk5IDE0IDkuNSAxMS45OSA1IDkuNSA1IDUgNy4wMSA1IDkuNXpcIixcbiAgZmlsbDogXCJjdXJyZW50Q29sb3JcIlxufSk7XG5mdW5jdGlvbiBTdmdNYWduaWZ5aW5nR2xhc3MocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyMCAyMFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdNYWduaWZ5aW5nR2xhc3M7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/magnifying-glass.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/share.svg":
|
|||
|
|
/*!*****************************!*\
|
|||
|
|
!*** ./svg/icons/share.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.666 7.5V5H15v2.5h-2.5v1.666H15v2.5h1.666v-2.5h2.5V7.5h-2.5zM7.5 10a3.332 3.332 0 100-6.667A3.332 3.332 0 107.5 10zm0-5c.916 0 1.666.75 1.666 1.666 0 .917-.75 1.667-1.666 1.667-.917 0-1.667-.75-1.667-1.667C5.833 5.75 6.583 5 7.5 5zm5.325 7.133c-1.4-.717-3.217-1.3-5.325-1.3-2.109 0-3.925.583-5.325 1.3A2.476 2.476 0 00.833 14.35v2.316h13.333V14.35c0-.934-.508-1.792-1.341-2.217zM12.5 15h-10v-.65c0-.317.166-.6.433-.734A10.09 10.09 0 017.5 12.5c1.975 0 3.575.608 4.566 1.116a.81.81 0 01.434.734V15z\",\n fill: \"currentColor\"\n});\nfunction SvgShare(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\"] = (SvgShare);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvc2hhcmUuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL3NoYXJlLnN2Zz85OTY5Il0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNMTYuNjY2IDcuNVY1SDE1djIuNWgtMi41djEuNjY2SDE1djIuNWgxLjY2NnYtMi41aDIuNVY3LjVoLTIuNXpNNy41IDEwYTMuMzMyIDMuMzMyIDAgMTAwLTYuNjY3QTMuMzMyIDMuMzMyIDAgMTA3LjUgMTB6bTAtNWMuOTE2IDAgMS42NjYuNzUgMS42NjYgMS42NjYgMCAuOTE3LS43NSAxLjY2Ny0xLjY2NiAxLjY2Ny0uOTE3IDAtMS42NjctLjc1LTEuNjY3LTEuNjY3QzUuODMzIDUuNzUgNi41ODMgNSA3LjUgNXptNS4zMjUgNy4xMzNjLTEuNC0uNzE3LTMuMjE3LTEuMy01LjMyNS0xLjMtMi4xMDkgMC0zLjkyNS41ODMtNS4zMjUgMS4zQTIuNDc2IDIuNDc2IDAgMDAuODMzIDE0LjM1djIuMzE2aDEzLjMzM1YxNC4zNWMwLS45MzQtLjUwOC0xLjc5Mi0xLjM0MS0yLjIxN3pNMTIuNSAxNWgtMTB2LS42NWMwLS4zMTcuMTY2LS42LjQzMy0uNzM0QTEwLjA5IDEwLjA5IDAgMDE3LjUgMTIuNWMxLjk3NSAwIDMuNTc1LjYwOCA0LjU2NiAxLjExNmEuODEuODEgMCAwMS40MzQuNzM0VjE1elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z1NoYXJlKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjAgMjBcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnU2hhcmU7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/share.svg\n");
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ "./svg/icons/star-fill.svg":
|
|||
|
|
/*!*********************************!*\
|
|||
|
|
!*** ./svg/icons/star-fill.svg ***!
|
|||
|
|
\*********************************/
|
|||
|
|
/*! exports provided: default */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n d: \"M5.825 22l2.325-7.6L2 10h7.6L12 2l2.4 8H22l-6.15 4.4 2.325 7.6L12 17.3 5.825 22z\",\n fill: \"currentColor\"\n});\nfunction SvgStarFill(props) {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n viewBox: \"0 0 24 24\",\n fill: \"none\"\n }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgStarFill);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,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/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.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");
|
|||
|
|
|
|||
|
|
/***/ })
|
|||
|
|
|
|||
|
|
},[["./js/googlesitekit-entity-dashboard.js","runtime","googlesitekit-vendor"]]]);
|