PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.0-beta1
Elementor Website Builder – more than just a page builder v4.0.0-beta1
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
← All changes | assets/js/announcements-app.js +2887 -1667 4.3.4 → 4.0.0-beta1 View file →
@@ -1,1734 +1,2954 @@
1 -(function(react, react_dom, _wordpress_i18n) {
1 +/******/ (() => { // webpackBootstrap
2 +/******/ var __webpack_modules__ = ({
2 3
3 -//#region \0rolldown/runtime.js
4 - var __create = Object.create;
5 - var __defProp = Object.defineProperty;
6 - var __name = (target, value) => __defProp(target, "name", {
7 - value,
8 - configurable: true
9 - });
10 - var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11 - var __getOwnPropNames = Object.getOwnPropertyNames;
12 - var __getProtoOf = Object.getPrototypeOf;
13 - var __hasOwnProp = Object.prototype.hasOwnProperty;
14 - var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
15 - var __copyProps = (to, from, except, desc) => {
16 - if (from && typeof from === "object" || typeof from === "function") {
17 - for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
18 - key = keys[i];
19 - if (!__hasOwnProp.call(to, key) && key !== except) {
20 - __defProp(to, key, {
21 - get: ((k) => from[k]).bind(null, key),
22 - enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
23 - });
24 - }
25 - }
26 - }
27 - return to;
28 - };
29 - var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30 - value: mod,
31 - enumerable: true
32 - }) : target, mod));
4 +/***/ "../app/assets/js/event-track/apps-event-tracking.js":
5 +/*!***********************************************************!*\
6 + !*** ../app/assets/js/event-track/apps-event-tracking.js ***!
7 + \***********************************************************/
8 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
33 9
34 -//#endregion
35 -react = __toESM(react);
36 -react_dom = __toESM(react_dom);
10 +"use strict";
37 11
38 -//#region node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
39 - function asyncGeneratorStep(n, t, e, r, o, a, c) {
40 - try {
41 - var i = n[a](c);
42 - var u = i.value;
43 - } catch (n) {
44 - e(n);
45 - return;
46 - }
47 - i.done ? t(u) : Promise.resolve(u).then(r, o);
48 - }
49 - function _asyncToGenerator(n) {
50 - return function() {
51 - var t = this;
52 - var e = arguments;
53 - return new Promise(function(r, o) {
54 - var a = n.apply(t, e);
55 - function _next(n) {
56 - asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
57 - }
58 - function _throw(n) {
59 - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
60 - }
61 - _next(void 0);
62 - });
63 - };
64 - }
65 12
66 -//#endregion
67 -//#region node_modules/@babel/runtime/helpers/esm/classCallCheck.js
68 - function _classCallCheck(a, n) {
69 - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
70 - }
13 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
14 +Object.defineProperty(exports, "__esModule", ({
15 + value: true
16 +}));
17 +exports.appsEventTrackingDispatch = exports.AppsEventTracking = void 0;
18 +var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
19 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
20 +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
21 +var _eventsConfig = _interopRequireDefault(__webpack_require__(/*! ../../../../core/common/modules/events-manager/assets/js/events-config */ "../core/common/modules/events-manager/assets/js/events-config.js"));
22 +function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23 +function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
24 +function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
25 +function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
26 +function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
27 +var EVENTS_MAP = {
28 + PAGE_VIEWS_WEBSITE_TEMPLATES: 'page_views_website_templates',
29 + KITS_CLOUD_UPGRADE_CLICKED: 'kits_cloud_upgrade_clicked',
30 + EXPORT_KIT_CUSTOMIZATION: 'export_kit_customization',
31 + IMPORT_KIT_CUSTOMIZATION: 'import_kit_customization',
32 + KIT_IMPORT_STATUS: 'kit_import_status',
33 + KIT_CLOUD_LIBRARY_APPLY: 'kit_cloud_library_apply',
34 + KIT_CLOUD_LIBRARY_DELETE: 'kit_cloud_library_delete',
35 + IMPORT_EXPORT_ADMIN_ACTION: 'ie_admin_action',
36 + KIT_IMPORT_UPLOAD_FILE: 'kit_import_upload_file'
37 +};
38 +var appsEventTrackingDispatch = exports.appsEventTrackingDispatch = function appsEventTrackingDispatch(command, eventParams) {
39 + // Add existing eventParams key value pair to the data/details object.
40 + var objectCreator = function objectCreator(array, obj) {
41 + var _iterator = _createForOfIteratorHelper(array),
42 + _step;
43 + try {
44 + for (_iterator.s(); !(_step = _iterator.n()).done;) {
45 + var key = _step.value;
46 + if (eventParams.hasOwnProperty(key) && eventParams[key] !== null) {
47 + obj[key] = eventParams[key];
48 + }
49 + }
50 + } catch (err) {
51 + _iterator.e(err);
52 + } finally {
53 + _iterator.f();
54 + }
55 + return obj;
56 + };
57 + var dataKeys = [];
58 + var detailsKeys = ['layout', 'site_part', 'error', 'document_name', 'document_type', 'view_type_clicked', 'tag', 'sort_direction', 'sort_type', 'action', 'grid_location', 'kit_name', 'page_source', 'element_position', 'element', 'event_type', 'modal_type', 'method', 'status', 'step', 'item', 'category', 'element_location', 'search_term', 'section', 'site_area'];
59 + var data = {};
60 + var details = {};
61 + var init = function init() {
62 + objectCreator(detailsKeys, details);
63 + objectCreator(dataKeys, data);
64 + var commandSplit = command.split('/');
65 + data.placement = commandSplit[0];
66 + data.event = commandSplit[1];
71 67
72 -//#endregion
73 -//#region node_modules/@babel/runtime/helpers/esm/typeof.js
74 - function _typeof(o) {
75 - "@babel/helpers - typeof";
76 - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
77 - return typeof o;
78 - } : function(o) {
79 - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
80 - }, _typeof(o);
81 - }
68 + // If 'details' is not empty, add the details object to the data object.
69 + if (Object.keys(details).length) {
70 + data.details = details;
71 + }
72 + };
73 + init();
74 + $e.run(command, data);
75 +};
76 +var AppsEventTracking = exports.AppsEventTracking = /*#__PURE__*/function () {
77 + function AppsEventTracking() {
78 + (0, _classCallCheck2.default)(this, AppsEventTracking);
79 + }
80 + return (0, _createClass2.default)(AppsEventTracking, null, [{
81 + key: "dispatchEvent",
82 + value: function dispatchEvent(eventName, payload) {
83 + var _window$elementorComm, _window$elementorComm2;
84 + return (_window$elementorComm = window.elementorCommon) === null || _window$elementorComm === void 0 || (_window$elementorComm = _window$elementorComm.eventsManager) === null || _window$elementorComm === void 0 || (_window$elementorComm2 = _window$elementorComm.dispatchEvent) === null || _window$elementorComm2 === void 0 ? void 0 : _window$elementorComm2.call(_window$elementorComm, eventName, payload);
85 + }
86 + }, {
87 + key: "sendPageViewsWebsiteTemplates",
88 + value: function sendPageViewsWebsiteTemplates(page) {
89 + return this.dispatchEvent(EVENTS_MAP.PAGE_VIEWS_WEBSITE_TEMPLATES, {
90 + trigger: _eventsConfig.default.triggers.pageLoaded,
91 + page_loaded: page,
92 + secondary_location: page
93 + });
94 + }
95 + }, {
96 + key: "sendKitsCloudUpgradeClicked",
97 + value: function sendKitsCloudUpgradeClicked(upgradeLocation) {
98 + return this.dispatchEvent(EVENTS_MAP.KITS_CLOUD_UPGRADE_CLICKED, {
99 + trigger: _eventsConfig.default.triggers.click,
100 + secondary_location: upgradeLocation,
101 + upgrade_location: upgradeLocation
102 + });
103 + }
104 + }, {
105 + key: "sendExportKitCustomization",
106 + value: function sendExportKitCustomization(payload) {
107 + return this.dispatchEvent(EVENTS_MAP.EXPORT_KIT_CUSTOMIZATION, _objectSpread({
108 + trigger: _eventsConfig.default.triggers.click
109 + }, payload));
110 + }
111 + }, {
112 + key: "sendImportKitCustomization",
113 + value: function sendImportKitCustomization(payload) {
114 + return this.dispatchEvent(EVENTS_MAP.IMPORT_KIT_CUSTOMIZATION, _objectSpread({
115 + trigger: _eventsConfig.default.triggers.click
116 + }, payload));
117 + }
118 + }, {
119 + key: "sendKitImportStatus",
120 + value: function sendKitImportStatus() {
121 + var error = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
122 + var isError = !!error;
123 + return this.dispatchEvent(EVENTS_MAP.KIT_IMPORT_STATUS, _objectSpread({
124 + kit_import_status: !isError
125 + }, isError && {
126 + kit_import_error: error.message
127 + }));
128 + }
129 + }, {
130 + key: "sendKitCloudLibraryApply",
131 + value: function sendKitCloudLibraryApply(kitId, kitApplyUrl) {
132 + return this.dispatchEvent(EVENTS_MAP.KIT_CLOUD_LIBRARY_APPLY, _objectSpread({
133 + trigger: _eventsConfig.default.triggers.click,
134 + kit_cloud_id: kitId
135 + }, kitApplyUrl && {
136 + kit_apply_url: kitApplyUrl
137 + }));
138 + }
139 + }, {
140 + key: "sendKitCloudLibraryDelete",
141 + value: function sendKitCloudLibraryDelete() {
142 + return this.dispatchEvent(EVENTS_MAP.KIT_CLOUD_LIBRARY_DELETE, {
143 + trigger: _eventsConfig.default.triggers.click
144 + });
145 + }
146 + }, {
147 + key: "sendImportExportAdminAction",
148 + value: function sendImportExportAdminAction(actionType) {
149 + return this.dispatchEvent(EVENTS_MAP.IMPORT_EXPORT_ADMIN_ACTION, {
150 + trigger: _eventsConfig.default.triggers.click,
151 + action_type: actionType
152 + });
153 + }
154 + }, {
155 + key: "sendKitImportUploadFile",
156 + value: function sendKitImportUploadFile(status) {
157 + return this.dispatchEvent(EVENTS_MAP.KIT_IMPORT_UPLOAD_FILE, {
158 + kit_import_upload_file_status: status
159 + });
160 + }
161 + }]);
162 +}();
82 163
83 -//#endregion
84 -//#region node_modules/@babel/runtime/helpers/esm/toPrimitive.js
85 - function toPrimitive(t, r) {
86 - if ("object" != _typeof(t) || !t) return t;
87 - var e = t[Symbol.toPrimitive];
88 - if (void 0 !== e) {
89 - var i = e.call(t, r || "default");
90 - if ("object" != _typeof(i)) return i;
91 - throw new TypeError("@@toPrimitive must return a primitive value.");
92 - }
93 - return ("string" === r ? String : Number)(t);
94 - }
164 +/***/ }),
95 165
96 -//#endregion
97 -//#region node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
98 - function toPropertyKey(t) {
99 - var i = toPrimitive(t, "string");
100 - return "symbol" == _typeof(i) ? i : i + "";
101 - }
166 +/***/ "../assets/dev/js/utils/react.js":
167 +/*!***************************************!*\
168 + !*** ../assets/dev/js/utils/react.js ***!
169 + \***************************************/
170 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
102 171
103 -//#endregion
104 -//#region node_modules/@babel/runtime/helpers/esm/createClass.js
105 - function _defineProperties(e, r) {
106 - for (var t = 0; t < r.length; t++) {
107 - var o = r[t];
108 - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
109 - }
110 - }
111 - function _createClass(e, r, t) {
112 - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
113 - }
172 +"use strict";
114 173
115 -//#endregion
116 -//#region node_modules/@babel/runtime/helpers/OverloadYield.js
117 - var require_OverloadYield = /* @__PURE__ */ __commonJSMin(((exports, module) => {
118 - function _OverloadYield(e, d) {
119 - this.v = e, this.k = d;
120 - }
121 - module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports;
122 - }));
123 174
124 -//#endregion
125 -//#region node_modules/@babel/runtime/helpers/regeneratorDefine.js
126 - var require_regeneratorDefine = /* @__PURE__ */ __commonJSMin(((exports, module) => {
127 - function _regeneratorDefine(e, r, n, t) {
128 - var i = Object.defineProperty;
129 - try {
130 - i({}, "", {});
131 - } catch (e) {
132 - i = 0;
133 - }
134 - module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) {
135 - function o(r, n) {
136 - _regeneratorDefine(e, r, function(e) {
137 - return this._invoke(r, n, e);
138 - });
139 - }
140 - r ? i ? i(e, r, {
141 - value: n,
142 - enumerable: !t,
143 - configurable: !t,
144 - writable: !t
145 - }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
146 - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _regeneratorDefine(e, r, n, t);
147 - }
148 - module.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports["default"] = module.exports;
149 - }));
175 +var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
176 +Object.defineProperty(exports, "__esModule", ({
177 + value: true
178 +}));
179 +exports["default"] = void 0;
180 +var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
181 +var ReactDOM = _interopRequireWildcard(__webpack_require__(/*! react-dom */ "react-dom"));
182 +var _client = __webpack_require__(/*! react-dom/client */ "../node_modules/react-dom/client.js");
183 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
184 +/**
185 + * Support conditional rendering of a React App to the DOM, based on the React version.
186 + * We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions.
187 + *
188 + * @param { React.ReactElement } app The app to render.
189 + * @param { HTMLElement } domElement The DOM element to render the app into.
190 + *
191 + * @return {{ unmount: () => void }} The unmount function.
192 + */
193 +function render(app, domElement) {
194 + var unmountFunction;
195 + try {
196 + var root = (0, _client.createRoot)(domElement);
197 + root.render(app);
198 + unmountFunction = function unmountFunction() {
199 + root.unmount();
200 + };
201 + } catch (e) {
202 + // eslint-disable-next-line react/no-deprecated
203 + ReactDOM.render(app, domElement);
204 + unmountFunction = function unmountFunction() {
205 + // eslint-disable-next-line react/no-deprecated
206 + ReactDOM.unmountComponentAtNode(domElement);
207 + };
208 + }
209 + return {
210 + unmount: unmountFunction
211 + };
212 +}
213 +var _default = exports["default"] = {
214 + render: render
215 +};
150 216
151 -//#endregion
152 -//#region node_modules/@babel/runtime/helpers/regenerator.js
153 - var require_regenerator$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
154 - var regeneratorDefine = require_regeneratorDefine();
155 - function _regenerator() {
156 - /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
157 - var e;
158 - var t;
159 - var r = "function" == typeof Symbol ? Symbol : {};
160 - var n = r.iterator || "@@iterator";
161 - var o = r.toStringTag || "@@toStringTag";
162 - function i(r, n, o, i) {
163 - var c = n && n.prototype instanceof Generator ? n : Generator;
164 - var u = Object.create(c.prototype);
165 - return regeneratorDefine(u, "_invoke", function(r, n, o) {
166 - var i;
167 - var c;
168 - var u;
169 - var f = 0;
170 - var p = o || [];
171 - var y = !1;
172 - var G = {
173 - p: 0,
174 - n: 0,
175 - v: e,
176 - a: d,
177 - f: d.bind(e, 4),
178 - d: function d(t, r) {
179 - return i = t, c = 0, u = e, G.n = r, a;
180 - }
181 - };
182 - function d(r, n) {
183 - for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
184 - var o;
185 - var i = p[t];
186 - var d = G.p;
187 - var l = i[2];
188 - r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
189 - }
190 - if (o || r > 1) return a;
191 - throw y = !0, n;
192 - }
193 - return function(o, p, l) {
194 - if (f > 1) throw TypeError("Generator is already running");
195 - for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
196 - i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
197 - try {
198 - if (f = 2, i) {
199 - if (c || (o = "next"), t = i[o]) {
200 - if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
201 - if (!t.done) return t;
202 - u = t.value, c < 2 && (c = 0);
203 - } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
204 - i = e;
205 - } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
206 - } catch (t) {
207 - i = e, c = 1, u = t;
208 - } finally {
209 - f = 1;
210 - }
211 - }
212 - return {
213 - value: t,
214 - done: y
215 - };
216 - };
217 - }(r, o, i), !0), u;
218 - }
219 - var a = {};
220 - function Generator() {}
221 - function GeneratorFunction() {}
222 - function GeneratorFunctionPrototype() {}
223 - t = Object.getPrototypeOf;
224 - var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function() {
225 - return this;
226 - }), t);
227 - var u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
228 - function f(e) {
229 - return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
230 - }
231 - return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), regeneratorDefine(u), regeneratorDefine(u, o, "Generator"), regeneratorDefine(u, n, function() {
232 - return this;
233 - }), regeneratorDefine(u, "toString", function() {
234 - return "[object Generator]";
235 - }), (module.exports = _regenerator = function _regenerator() {
236 - return {
237 - w: i,
238 - m: f
239 - };
240 - }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
241 - }
242 - module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
243 - }));
217 +/***/ }),
244 218
245 -//#endregion
246 -//#region node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js
247 - var require_regeneratorAsyncIterator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
248 - var OverloadYield = require_OverloadYield();
249 - var regeneratorDefine = require_regeneratorDefine();
250 - function AsyncIterator(t, e) {
251 - function n(r, o, i, f) {
252 - try {
253 - var c = t[r](o);
254 - var u = c.value;
255 - return u instanceof OverloadYield ? e.resolve(u.v).then(function(t) {
256 - n("next", t, i, f);
257 - }, function(t) {
258 - n("throw", t, i, f);
259 - }) : e.resolve(u).then(function(t) {
260 - c.value = t, i(c);
261 - }, function(t) {
262 - return n("throw", t, i, f);
263 - });
264 - } catch (t) {
265 - f(t);
266 - }
267 - }
268 - var r;
269 - this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function() {
270 - return this;
271 - })), regeneratorDefine(this, "_invoke", function(t, o, i) {
272 - function f() {
273 - return new e(function(e, r) {
274 - n(t, i, e, r);
275 - });
276 - }
277 - return r = r ? r.then(f, f) : f();
278 - }, !0);
279 - }
280 - module.exports = AsyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports;
281 - }));
219 +/***/ "../core/common/modules/events-manager/assets/js/events-config.js":
220 +/*!************************************************************************!*\
221 + !*** ../core/common/modules/events-manager/assets/js/events-config.js ***!
222 + \************************************************************************/
223 +/***/ ((__unused_webpack_module, exports) => {
282 224
283 -//#endregion
284 -//#region node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js
285 - var require_regeneratorAsyncGen = /* @__PURE__ */ __commonJSMin(((exports, module) => {
286 - var regenerator = require_regenerator$1();
287 - var regeneratorAsyncIterator = require_regeneratorAsyncIterator();
288 - function _regeneratorAsyncGen(r, e, t, o, n) {
289 - return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise);
290 - }
291 - module.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports["default"] = module.exports;
292 - }));
225 +"use strict";
293 226
294 -//#endregion
295 -//#region node_modules/@babel/runtime/helpers/regeneratorAsync.js
296 - var require_regeneratorAsync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
297 - var regeneratorAsyncGen = require_regeneratorAsyncGen();
298 - function _regeneratorAsync(n, e, r, t, o) {
299 - var a = regeneratorAsyncGen(n, e, r, t, o);
300 - return a.next().then(function(n) {
301 - return n.done ? n.value : a.next();
302 - });
303 - }
304 - module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports;
305 - }));
306 227
307 -//#endregion
308 -//#region node_modules/@babel/runtime/helpers/regeneratorKeys.js
309 - var require_regeneratorKeys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
310 - function _regeneratorKeys(e) {
311 - var n = Object(e);
312 - var r = [];
313 - for (var t in n) r.unshift(t);
314 - return function e() {
315 - for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e;
316 - return e.done = !0, e;
317 - };
318 - }
319 - module.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports["default"] = module.exports;
320 - }));
228 +Object.defineProperty(exports, "__esModule", ({
229 + value: true
230 +}));
231 +exports["default"] = void 0;
232 +var eventsConfig = {
233 + appTypes: {
234 + editor: 'editor',
235 + wpAdmin: 'wpadmin'
236 + },
237 + targetTypes: {
238 + dropdownItem: 'dropdown_item',
239 + button: 'button',
240 + tab: 'tab',
241 + toggle: 'toggle',
242 + searchInput: 'search_input',
243 + searchResult: 'search_result',
244 + buttons: 'buttons',
245 + searchWidget: 'search_widget'
246 + },
247 + interactionResults: {
248 + actionSelected: 'action_selected',
249 + navigate: 'navigate',
250 + create: 'create',
251 + sessionEnd: 'session_end',
252 + tabChanged: 'tab_changed',
253 + assetInserted: 'asset_inserted',
254 + assetFavorite: 'asset_favorite',
255 + aiGenerate: 'ai_generate',
256 + resultsUpdated: 'results_updated',
257 + noResults: 'no_results',
258 + selected: 'selected',
259 + promotionViewed: 'promotion_viewed',
260 + upgradeNow: 'upgrade_now'
261 + },
262 + targetNames: {
263 + publishDropdown: {
264 + saveDraft: 'save_draft',
265 + saveAsTemplate: 'save_as_template',
266 + viewPage: 'view_page',
267 + copyAndShare: 'copy_and_share'
268 + },
269 + pageList: {
270 + addNewPage: 'add_new_page'
271 + }
272 + },
273 + triggers: {
274 + click: 'Click',
275 + rightClick: 'Right Click',
276 + doubleClick: 'Double Click',
277 + accordionClick: 'Accordion Click',
278 + toggleClick: 'Toggle Click',
279 + dropdownClick: 'Click Dropdown',
280 + editorLoaded: 'Editor Loaded',
281 + visible: 'Visible',
282 + pageLoaded: 'Page Loaded',
283 + typing: 'Typing',
284 + tabSelect: 'Tab Select',
285 + insert: 'Insert'
286 + },
287 + locations: {
288 + widgetPanel: 'Widget Panel',
289 + topBar: 'Top Bar',
290 + sidebar: 'Sidebar',
291 + elementorEditor: 'Elementor Editor',
292 + templatesLibrary: {
293 + library: 'Templates Library'
294 + },
295 + app: {
296 + import: 'Import Kit',
297 + export: 'Export Kit',
298 + kitLibrary: 'Kit Library',
299 + cloudKitLibrary: 'Cloud Kit Library'
300 + },
301 + variables: 'Variables Panel',
302 + variablesManager: 'Variables Manager',
303 + admin: 'WP admin',
304 + structurePanel: 'Structure Panel',
305 + canvas: 'Canvas',
306 + leftPanel: 'Left Panel',
307 + elementorLibrary: 'Elementor Library',
308 + components: {
309 + instanceEditingPanel: 'Instance Editing Panel'
310 + }
311 + },
312 + secondaryLocations: {
313 + layout: 'Layout Section',
314 + basic: 'Basic Section',
315 + 'pro-elements': 'Pro Section',
316 + general: 'General Section',
317 + 'theme-elements': 'Site Section',
318 + 'theme-elements-single': 'Single Section',
319 + 'woocommerce-elements': 'WooCommerce Section',
320 + wordpress: 'WordPress Section',
321 + categories: 'Widgets Tab',
322 + global: 'Globals Tab',
323 + 'whats-new': 'What\'s New',
324 + 'document-settings': 'Document Settings icon',
325 + 'preview-page': 'Preview Page',
326 + 'publish-button': 'Publish Button',
327 + 'widget-panel': 'Widget Panel Icon',
328 + finder: 'Finder',
329 + help: 'Help',
330 + elementorLogoDropdown: 'top_bar_elementor_logo_dropdown',
331 + elementorLogo: 'Elementor Logo',
332 + eLogoMenu: 'E-logo Menu',
333 + notes: 'Notes',
334 + siteSettings: 'Site Settings',
335 + structure: 'Structure',
336 + documentNameDropdown: 'Document Name dropdown',
337 + responsiveControls: 'Responsive controls',
338 + launchpad: 'launchpad',
339 + checklistHeader: 'Checklist Header',
340 + checklistSteps: 'Checklist Steps',
341 + userPreferences: 'User Preferences',
342 + contextMenu: 'Context Menu',
343 + templateLibrary: {
344 + saveModal: 'Save to Modal',
345 + moveModal: 'Move to Modal',
346 + bulkMoveModal: 'Bulk Move to Modal',
347 + copyModal: 'Copy to Modal',
348 + bulkCopyModal: 'Bulk Copy to Modal',
349 + saveModalSelectFolder: 'Save to Modal - select folder',
350 + saveModalSelectConnect: 'Save to Modal - connect',
351 + saveModalSelectUpgrade: 'Save to Modal - upgrade',
352 + importModal: 'Import Modal',
353 + newFolderModal: 'New Folder Modal',
354 + deleteDialog: 'Delete Dialog',
355 + deleteFolderDialog: 'Delete Folder Dialog',
356 + renameDialog: 'Rename Dialog',
357 + createFolderDialog: 'Create Folder Dialog',
358 + applySettingsDialog: 'Apply Settings Dialog',
359 + cloudTab: 'Cloud Tab',
360 + siteTab: 'Site Tab',
361 + cloudTabFolder: 'Cloud Tab - Folder',
362 + cloudTabConnect: 'Cloud Tab - Connect',
363 + cloudTabUpgrade: 'Cloud Tab - Upgrade',
364 + morePopup: 'Context Menu',
365 + quotaBar: 'Quota Bar'
366 + },
367 + kitLibrary: {
368 + cloudKitLibrary: 'kits_cloud_library',
369 + cloudKitLibraryConnect: 'kits_cloud_library_connect',
370 + cloudKitLibraryUpgrade: 'kits_cloud_library_upgrade',
371 + kitExportCustomization: 'kit_export_customization',
372 + kitExport: 'kit_export',
373 + kitExportCustomizationEdit: 'kit_export_customization_edit',
374 + kitExportSummary: 'kit_export_summary',
375 + kitImportUploadBox: 'kit_import_upload_box',
376 + kitImportCustomization: 'kit_import_customization',
377 + kitImportSummary: 'kit_import_summary'
378 + },
379 + variablesPopover: 'Variables Popover',
380 + admin: {
381 + pluginToolsTab: 'plugin_tools_tab',
382 + pluginWebsiteTemplatesTab: 'plugin_website_templates_tab'
383 + },
384 + componentsTab: 'Components Tab',
385 + canvasElement: 'Canvas Element',
386 + publishDropdown: 'Publish Dropdown',
387 + pageListDropdown: 'Page List Dropdown',
388 + emptyBox: 'Empty Box',
389 + searchBar: 'Search Bar',
390 + finderResults: 'Finder Results',
391 + libraryTabs: 'Library Tabs',
392 + assetCard: 'Asset Card'
393 + },
394 + elements: {
395 + accordionSection: 'Accordion section',
396 + buttonIcon: 'Button Icon',
397 + mainCta: 'Main CTA',
398 + button: 'Button',
399 + link: 'Link',
400 + dropdown: 'Dropdown',
401 + toggle: 'Toggle',
402 + launchpadChecklist: 'Checklist popup'
403 + },
404 + names: {
405 + v1: {
406 + layout: 'v1_widgets_tab_layout_section',
407 + basic: 'v1_widgets_tab_basic_section',
408 + 'pro-elements': 'v1_widgets_tab_pro_section',
409 + general: 'v1_widgets_tab_general_section',
410 + 'theme-elements': 'v1_widgets_tab_site_section',
411 + 'theme-elements-single': 'v1_widgets_tab_single_section',
412 + 'woocommerce-elements': 'v1_widgets_tab_woocommerce_section',
413 + wordpress: 'v1_widgets_tab_wordpress_section',
414 + categories: 'v1_widgets_tab',
415 + global: 'v1_globals_tab'
416 + },
417 + topBar: {
418 + whatsNew: 'top_bar_whats_new',
419 + documentSettings: 'top_bar_document_settings_icon',
420 + previewPage: 'top_bar_preview_page',
421 + publishButton: 'top_bar_publish_button',
422 + widgetPanel: 'top_bar_widget_panel_icon',
423 + finder: 'top_bar_finder',
424 + help: 'top_bar_help',
425 + history: 'top_bar_elementor_logo_dropdown_history',
426 + userPreferences: 'top_bar_elementor_logo_dropdown_user_preferences',
427 + keyboardShortcuts: 'top_bar_elementor_logo_dropdown_keyboard_shortcuts',
428 + exitToWordpress: 'top_bar_elementor_logo_dropdown_exit_to_wordpress',
429 + themeBuilder: 'top_bar_elementor_logo_dropdown_theme_builder',
430 + notes: 'top_bar_notes',
431 + siteSettings: 'top_bar_site_setting',
432 + structure: 'top_bar_structure',
433 + documentNameDropdown: 'top_bar_document_name_dropdown',
434 + responsiveControls: 'top_bar_responsive_controls',
435 + launchpadOn: 'top_bar_checklist_icon_show',
436 + launchpadOff: 'top_bar_checklist_icon_hide',
437 + elementorLogoDropdown: 'open_e_menu',
438 + connectAccount: 'connect_account',
439 + accountConnected: 'account_connected'
440 + },
441 + // ChecklistSteps event names are generated dynamically, based on stepId and action type taken: title, action, done, undone, upgrade
442 + elementorEditor: {
443 + checklist: {
444 + checklistHeaderClose: 'checklist_header_close_icon',
445 + checklistFirstPopup: 'checklist popup triggered'
446 + },
447 + userPreferences: {
448 + checklistShow: 'checklist_userpreferences_toggle_show',
449 + checklistHide: 'checklist_userpreferences_toggle_hide'
450 + }
451 + },
452 + variables: {
453 + open: 'open_variables_popover',
454 + add: 'add_new_variable',
455 + connect: 'connect_variable',
456 + save: 'save_new_variable',
457 + openManager: 'open_variables_manager',
458 + saveChanges: 'save_variables_changes',
459 + delete: 'delete_variable'
460 + },
461 + components: {
462 + createClicked: 'component_create_clicked',
463 + createCancelled: 'component_creation_cancelled',
464 + created: 'component_created',
465 + instanceAdded: 'component_instance_added',
466 + edited: 'component_edited',
467 + propertiesPanelOpened: 'component_properties_panel_opened',
468 + propertiesGroupCreated: 'component_properties_group_created',
469 + propertyExposed: 'component_property_exposed',
470 + propertyRemoved: 'component_property_removed',
471 + detached: 'component_detached'
472 + },
473 + global_classes: {
474 + classApplied: 'class_applied',
475 + classRemoved: 'class_removed',
476 + classManagerFilterCleared: 'class_manager_filter_cleared',
477 + classDeleted: 'class_deleted',
478 + classPublishConflict: 'class_publish_conflict',
479 + classRenamed: 'class_renamed',
480 + classCreated: 'class_created',
481 + classManagerSearched: 'class_manager_searched',
482 + classManagerFiltersOpened: 'class_manager_filters_opened',
483 + classManagerOpened: 'class_manager_opened',
484 + classManagerReorder: 'class_manager_reorder',
485 + classManagerFilterUsed: 'class_manager_filter_used',
486 + classUsageLocate: 'class_usage_locate',
487 + classUsageHovered: 'class_usage_hovered',
488 + classStyled: 'class_styled',
489 + classStateClicked: 'class_state_clicked',
490 + classUsageClicked: 'class_usage_clicked',
491 + classDuplicate: 'class_duplicate'
492 + },
493 + editorOne: {
494 + topBarPublishDropdown: 'top_bar_publish_dropdown',
495 + topBarPageList: 'top_bar_page_list',
496 + siteSettingsSession: 'site_settings_session',
497 + eLibraryNav: 'e_library_nav',
498 + eLibraryInsert: 'e_library_insert',
499 + eLibraryFavorite: 'e_library_favorite',
500 + eLibraryGenerateAi: 'e_library_generate_ai',
501 + finderSearchInput: 'finder_search_input',
502 + finderResultSelect: 'finder_result_select',
503 + canvasEmptyBoxAction: 'canvas_empty_box_action',
504 + widgetPanelSearch: 'widget_panel_search'
505 + },
506 + interactions: {
507 + created: 'interactions_created'
508 + },
509 + promotions: {
510 + viewPromotion: 'view_promotion',
511 + upgradePromotionClick: 'upgrade_promotion_click'
512 + }
513 + }
514 +};
515 +var _default = exports["default"] = eventsConfig;
321 516
322 -//#endregion
323 -//#region node_modules/@babel/runtime/helpers/typeof.js
324 - var require_typeof = /* @__PURE__ */ __commonJSMin(((exports, module) => {
325 - function _typeof(o) {
326 - "@babel/helpers - typeof";
327 - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
328 - return typeof o;
329 - } : function(o) {
330 - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
331 - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
332 - }
333 - module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
334 - }));
517 +/***/ }),
335 518
336 -//#endregion
337 -//#region node_modules/@babel/runtime/helpers/regeneratorValues.js
338 - var require_regeneratorValues = /* @__PURE__ */ __commonJSMin(((exports, module) => {
339 - var _typeof = require_typeof()["default"];
340 - function _regeneratorValues(e) {
341 - if (null != e) {
342 - var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"];
343 - var r = 0;
344 - if (t) return t.call(e);
345 - if ("function" == typeof e.next) return e;
346 - if (!isNaN(e.length)) return { next: function next() {
347 - return e && r >= e.length && (e = void 0), {
348 - value: e && e[r++],
349 - done: !e
350 - };
351 - } };
352 - }
353 - throw new TypeError(_typeof(e) + " is not iterable");
354 - }
355 - module.exports = _regeneratorValues, module.exports.__esModule = true, module.exports["default"] = module.exports;
356 - }));
519 +/***/ "../modules/announcements/assets/js/components/Announcement.js":
520 +/*!*********************************************************************!*\
521 + !*** ../modules/announcements/assets/js/components/Announcement.js ***!
522 + \*********************************************************************/
523 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
357 524
358 -//#endregion
359 -//#region node_modules/@babel/runtime/helpers/regeneratorRuntime.js
360 - var require_regeneratorRuntime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
361 - var OverloadYield = require_OverloadYield();
362 - var regenerator = require_regenerator$1();
363 - var regeneratorAsync = require_regeneratorAsync();
364 - var regeneratorAsyncGen = require_regeneratorAsyncGen();
365 - var regeneratorAsyncIterator = require_regeneratorAsyncIterator();
366 - var regeneratorKeys = require_regeneratorKeys();
367 - var regeneratorValues = require_regeneratorValues();
368 - function _regeneratorRuntime() {
369 - "use strict";
370 - var r = regenerator();
371 - var e = r.m(_regeneratorRuntime);
372 - var t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
373 - function n(r) {
374 - var e = "function" == typeof r && r.constructor;
375 - return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name));
376 - }
377 - var o = {
378 - "throw": 1,
379 - "return": 2,
380 - "break": 3,
381 - "continue": 3
382 - };
383 - function a(r) {
384 - var e;
385 - var t;
386 - return function(n) {
387 - e || (e = {
388 - stop: function stop() {
389 - return t(n.a, 2);
390 - },
391 - "catch": function _catch() {
392 - return n.v;
393 - },
394 - abrupt: function abrupt(r, e) {
395 - return t(n.a, o[r], e);
396 - },
397 - delegateYield: function delegateYield(r, o, a) {
398 - return e.resultName = o, t(n.d, regeneratorValues(r), a);
399 - },
400 - finish: function finish(r) {
401 - return t(n.f, r);
402 - }
403 - }, t = function t(r, _t, o) {
404 - n.p = e.prev, n.n = e.next;
405 - try {
406 - return r(_t, o);
407 - } finally {
408 - e.next = n.n;
409 - }
410 - }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;
411 - try {
412 - return r.call(this, e);
413 - } finally {
414 - n.p = e.prev, n.n = e.next;
415 - }
416 - };
417 - }
418 - return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
419 - return {
420 - wrap: function wrap(e, t, n, o) {
421 - return r.w(a(e), t, n, o && o.reverse());
422 - },
423 - isGeneratorFunction: n,
424 - mark: r.m,
425 - awrap: function awrap(r, e) {
426 - return new OverloadYield(r, e);
427 - },
428 - AsyncIterator: regeneratorAsyncIterator,
429 - async: function async(r, e, t, o, u) {
430 - return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u);
431 - },
432 - keys: regeneratorKeys,
433 - values: regeneratorValues
434 - };
435 - }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
436 - }
437 - module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
438 - }));
525 +"use strict";
439 526
440 -//#endregion
441 -//#region node_modules/@babel/runtime/regenerator/index.js
442 - var require_regenerator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
443 - var runtime = require_regeneratorRuntime()();
444 - module.exports = runtime;
445 - try {
446 - regeneratorRuntime = runtime;
447 - } catch (accidentalStrictMode) {
448 - if (typeof globalThis === "object") globalThis.regeneratorRuntime = runtime;
449 - else Function("r", "regeneratorRuntime = r")(runtime);
450 - }
451 - }));
452 527
453 -//#endregion
454 -//#region node_modules/react-dom/client.js
455 - var require_client = /* @__PURE__ */ __commonJSMin(((exports) => {
456 - var m = (globalThis.ReactDOM);
457 - var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
458 - exports.createRoot = function(c, o) {
459 - i.usingClientEntryPoint = true;
460 - try {
461 - return m.createRoot(c, o);
462 - } finally {
463 - i.usingClientEntryPoint = false;
464 - }
465 - };
466 - }));
528 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
529 +Object.defineProperty(exports, "__esModule", ({
530 + value: true
531 +}));
532 +exports["default"] = Announcement;
533 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
534 +var _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js"));
535 +var _ = __webpack_require__(/*! ./ */ "../modules/announcements/assets/js/components/index.js");
536 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
537 +var _excluded = ["cta"];
538 +function Announcement(props) {
539 + var announcement = props.announcement,
540 + onClose = props.onClose;
541 + var cta = announcement.cta,
542 + announcementContent = (0, _objectWithoutProperties2.default)(announcement, _excluded);
543 + return /*#__PURE__*/_react.default.createElement("div", {
544 + className: "announcement-item"
545 + }, /*#__PURE__*/_react.default.createElement(_.AnnouncementBody, {
546 + announcement: announcementContent
547 + }), /*#__PURE__*/_react.default.createElement(_.AnnouncementFooter, {
548 + buttons: cta,
549 + onClose: onClose
550 + }));
551 +}
552 +Announcement.propTypes = {
553 + announcement: _propTypes.default.object.isRequired,
554 + onClose: _propTypes.default.func.isRequired
555 +};
467 556
468 -//#endregion
469 -//#region assets/dev/js/utils/react.js
470 -var import_regenerator = /* @__PURE__ */ __toESM(require_regenerator());
471 - var import_client = require_client();
472 - /**
473 - * Support conditional rendering of a React App to the DOM, based on the React version.
474 - * We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions.
475 - *
476 - * @param {Promise.resolve(React).ReactElement} app The app to render.
477 - * @param {HTMLElement} domElement The DOM element to render the app into.
478 - *
479 - * @return {{ unmount: () => void }} The unmount function.
480 - */
481 - function render(app, domElement) {
482 - var unmountFunction;
483 - try {
484 - var root = (0, import_client.createRoot)(domElement);
485 - root.render(app);
486 - unmountFunction = function unmountFunction() {
487 - root.unmount();
488 - };
489 - } catch (e) {
490 - react_dom.render(app, domElement);
491 - unmountFunction = function unmountFunction() {
492 - react_dom.unmountComponentAtNode(domElement);
493 - };
494 - }
495 - return { unmount: unmountFunction };
557 +/***/ }),
558 +
559 +/***/ "../modules/announcements/assets/js/components/AnnouncementBody.js":
560 +/*!*************************************************************************!*\
561 + !*** ../modules/announcements/assets/js/components/AnnouncementBody.js ***!
562 + \*************************************************************************/
563 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
564 +
565 +"use strict";
566 +
567 +
568 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
569 +Object.defineProperty(exports, "__esModule", ({
570 + value: true
571 +}));
572 +exports["default"] = AnnouncementBody;
573 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
574 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
575 +function AnnouncementBody(props) {
576 + var _props$announcement = props.announcement,
577 + title = _props$announcement.title,
578 + description = _props$announcement.description,
579 + media = _props$announcement.media;
580 + return /*#__PURE__*/_react.default.createElement("div", {
581 + className: "announcement-body-container"
582 + }, 'image' === media.type && /*#__PURE__*/_react.default.createElement("div", {
583 + className: "announcement-body-media announcement-body-".concat(media.type)
584 + }, /*#__PURE__*/_react.default.createElement("img", {
585 + src: media.src,
586 + alt: "Announcement"
587 + })), /*#__PURE__*/_react.default.createElement("div", {
588 + className: "announcement-body-content"
589 + }, /*#__PURE__*/_react.default.createElement("div", {
590 + className: "announcement-body-title"
591 + }, title), /*#__PURE__*/_react.default.createElement("div", {
592 + className: "announcement-body-description",
593 + dangerouslySetInnerHTML: {
594 + __html: description
595 + }
596 + })));
597 +}
598 +AnnouncementBody.propTypes = {
599 + announcement: _propTypes.default.object.isRequired
600 +};
601 +
602 +/***/ }),
603 +
604 +/***/ "../modules/announcements/assets/js/components/AnnouncementFooter.js":
605 +/*!***************************************************************************!*\
606 + !*** ../modules/announcements/assets/js/components/AnnouncementFooter.js ***!
607 + \***************************************************************************/
608 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
609 +
610 +"use strict";
611 +
612 +
613 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
614 +Object.defineProperty(exports, "__esModule", ({
615 + value: true
616 +}));
617 +exports["default"] = AnnouncementFooter;
618 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
619 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
620 +function AnnouncementFooter(props) {
621 + var buttons = props.buttons,
622 + onClose = props.onClose;
623 + return /*#__PURE__*/_react.default.createElement("div", {
624 + className: "announcement-footer-container"
625 + }, Object.values(buttons).map(function (button, index) {
626 + return /*#__PURE__*/_react.default.createElement("a", {
627 + key: "button".concat(index),
628 + className: "button-item ".concat(button.variant),
629 + href: button.url,
630 + target: button.target,
631 + onClick: function onClick() {
632 + return onClose('cta');
633 + }
634 + }, button.label);
635 + }));
636 +}
637 +AnnouncementFooter.propTypes = {
638 + buttons: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object]),
639 + onClose: _propTypes.default.func.isRequired
640 +};
641 +
642 +/***/ }),
643 +
644 +/***/ "../modules/announcements/assets/js/components/Announcements.js":
645 +/*!**********************************************************************!*\
646 + !*** ../modules/announcements/assets/js/components/Announcements.js ***!
647 + \**********************************************************************/
648 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
649 +
650 +"use strict";
651 +
652 +
653 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
654 +var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
655 +Object.defineProperty(exports, "__esModule", ({
656 + value: true
657 +}));
658 +exports["default"] = Announcements;
659 +var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
660 +var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
661 +var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js"));
662 +var _ = __webpack_require__(/*! ./ */ "../modules/announcements/assets/js/components/index.js");
663 +var _appsEventTracking = __webpack_require__(/*! elementor-app/event-track/apps-event-tracking */ "../app/assets/js/event-track/apps-event-tracking.js");
664 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
665 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
666 +function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
667 +function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
668 +function Announcements(props) {
669 + var announcements = props.announcements,
670 + unMount = props.unMount;
671 + var _useState = (0, _react.useState)(0),
672 + _useState2 = (0, _slicedToArray2.default)(_useState, 2),
673 + currentAnnouncement = _useState2[0],
674 + setCurrentAnnouncement = _useState2[1];
675 + var announcementTitle = Object.values(announcements)[0].title || '';
676 +
677 + // Send event when the popup is presented
678 + (0, _react.useEffect)(function () {
679 + var timer = setTimeout(function () {
680 + var eventArgs = {
681 + event_name: 'element_impression',
682 + element_type: 'popup',
683 + eventNonInteraction: 1
684 + };
685 + eventTrackingHandle('impression', eventArgs);
686 + }, 200);
687 + return function () {
688 + return clearTimeout(timer);
689 + };
690 + }, [announcements]);
691 + var onCloseHandle = function onCloseHandle(eventName) {
692 + var eventArgs = {
693 + event_name: 'element_click',
694 + element_type: 'button'
695 + };
696 + eventTrackingHandle(eventName, eventArgs);
697 + announcements.shift();
698 + if (0 === announcements.length) {
699 + return unMount();
700 + }
701 + setCurrentAnnouncement(currentAnnouncement + 1);
702 + };
703 + var eventTrackingHandle = function eventTrackingHandle(eventName, additionalArgs) {
704 + var eventBaseArgs = {
705 + event: 'fireEvent',
706 + eventCategory: 'editor',
707 + eventAction: 'whats new popup',
708 + eventLabel: eventName,
709 + eventLabel2: announcementTitle,
710 + event_action: eventName,
711 + event_location: 'popup',
712 + event_context: 'whats new',
713 + event_subcontext: announcementTitle,
714 + element_id: 'e-announcements-root'
715 + };
716 + var eventArgs = _objectSpread(_objectSpread({}, eventBaseArgs), additionalArgs);
717 + (0, _appsEventTracking.appsEventTrackingDispatch)("announcement/".concat(eventName), eventArgs);
718 + };
719 + return /*#__PURE__*/_react.default.createElement("div", {
720 + className: "announcements-container"
721 + }, /*#__PURE__*/_react.default.createElement(_.AnnouncementsHeader, {
722 + onClose: onCloseHandle
723 + }), /*#__PURE__*/_react.default.createElement(_.Announcement, {
724 + key: "announcement-".concat(currentAnnouncement),
725 + announcement: announcements[0],
726 + onClose: onCloseHandle
727 + }));
728 +}
729 +Announcements.propTypes = {
730 + announcements: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object]).isRequired,
731 + unMount: _propTypes.default.func.isRequired
732 +};
733 +
734 +/***/ }),
735 +
736 +/***/ "../modules/announcements/assets/js/components/AnnouncementsHeader.js":
737 +/*!****************************************************************************!*\
738 + !*** ../modules/announcements/assets/js/components/AnnouncementsHeader.js ***!
739 + \****************************************************************************/
740 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
741 +
742 +"use strict";
743 +/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
744 +
745 +
746 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
747 +Object.defineProperty(exports, "__esModule", ({
748 + value: true
749 +}));
750 +exports["default"] = AnnouncementsHeader;
751 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
752 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
753 +function AnnouncementsHeader(props) {
754 + var onClose = props.onClose;
755 + return /*#__PURE__*/_react.default.createElement("div", {
756 + className: "announcements-heading-container"
757 + }, /*#__PURE__*/_react.default.createElement("i", {
758 + className: "eicon-elementor",
759 + "aria-hidden": "true"
760 + }), /*#__PURE__*/_react.default.createElement("span", {
761 + className: "heading-title"
762 + }, __('Notifications', 'elementor')), /*#__PURE__*/_react.default.createElement("button", {
763 + className: "close-button",
764 + onClick: function onClick() {
765 + return onClose('close');
766 + }
767 + }, /*#__PURE__*/_react.default.createElement("i", {
768 + className: "eicon-close",
769 + "aria-hidden": "true"
770 + })));
771 +}
772 +AnnouncementsHeader.propTypes = {
773 + onClose: _propTypes.default.func.isRequired
774 +};
775 +
776 +/***/ }),
777 +
778 +/***/ "../modules/announcements/assets/js/components/Overlay.js":
779 +/*!****************************************************************!*\
780 + !*** ../modules/announcements/assets/js/components/Overlay.js ***!
781 + \****************************************************************/
782 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
783 +
784 +"use strict";
785 +
786 +
787 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
788 +Object.defineProperty(exports, "__esModule", ({
789 + value: true
790 +}));
791 +exports["default"] = Overlay;
792 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
793 +function Overlay() {
794 + return /*#__PURE__*/_react.default.createElement("div", {
795 + className: "announcements-screen-overlay"
796 + });
797 +}
798 +
799 +/***/ }),
800 +
801 +/***/ "../modules/announcements/assets/js/components/index.js":
802 +/*!**************************************************************!*\
803 + !*** ../modules/announcements/assets/js/components/index.js ***!
804 + \**************************************************************/
805 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
806 +
807 +"use strict";
808 +
809 +
810 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
811 +Object.defineProperty(exports, "__esModule", ({
812 + value: true
813 +}));
814 +Object.defineProperty(exports, "Announcement", ({
815 + enumerable: true,
816 + get: function get() {
817 + return _Announcement.default;
818 + }
819 +}));
820 +Object.defineProperty(exports, "AnnouncementBody", ({
821 + enumerable: true,
822 + get: function get() {
823 + return _AnnouncementBody.default;
824 + }
825 +}));
826 +Object.defineProperty(exports, "AnnouncementFooter", ({
827 + enumerable: true,
828 + get: function get() {
829 + return _AnnouncementFooter.default;
830 + }
831 +}));
832 +Object.defineProperty(exports, "Announcements", ({
833 + enumerable: true,
834 + get: function get() {
835 + return _Announcements.default;
836 + }
837 +}));
838 +Object.defineProperty(exports, "AnnouncementsHeader", ({
839 + enumerable: true,
840 + get: function get() {
841 + return _AnnouncementsHeader.default;
842 + }
843 +}));
844 +Object.defineProperty(exports, "Overlay", ({
845 + enumerable: true,
846 + get: function get() {
847 + return _Overlay.default;
848 + }
849 +}));
850 +var _Announcements = _interopRequireDefault(__webpack_require__(/*! ./Announcements */ "../modules/announcements/assets/js/components/Announcements.js"));
851 +var _Announcement = _interopRequireDefault(__webpack_require__(/*! ./Announcement */ "../modules/announcements/assets/js/components/Announcement.js"));
852 +var _AnnouncementsHeader = _interopRequireDefault(__webpack_require__(/*! ./AnnouncementsHeader */ "../modules/announcements/assets/js/components/AnnouncementsHeader.js"));
853 +var _AnnouncementBody = _interopRequireDefault(__webpack_require__(/*! ./AnnouncementBody */ "../modules/announcements/assets/js/components/AnnouncementBody.js"));
854 +var _AnnouncementFooter = _interopRequireDefault(__webpack_require__(/*! ./AnnouncementFooter */ "../modules/announcements/assets/js/components/AnnouncementFooter.js"));
855 +var _Overlay = _interopRequireDefault(__webpack_require__(/*! ./Overlay */ "../modules/announcements/assets/js/components/Overlay.js"));
856 +
857 +/***/ }),
858 +
859 +/***/ "../modules/announcements/assets/js/e-component.js":
860 +/*!*********************************************************!*\
861 + !*** ../modules/announcements/assets/js/e-component.js ***!
862 + \*********************************************************/
863 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
864 +
865 +"use strict";
866 +
867 +
868 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
869 +Object.defineProperty(exports, "__esModule", ({
870 + value: true
871 +}));
872 +exports["default"] = void 0;
873 +var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
874 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
875 +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
876 +var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
877 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
878 +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
879 +function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
880 +function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
881 +function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
882 +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
883 +var EComponent = exports["default"] = /*#__PURE__*/function (_$e$modules$Component) {
884 + function EComponent() {
885 + (0, _classCallCheck2.default)(this, EComponent);
886 + return _callSuper(this, EComponent, arguments);
887 + }
888 + (0, _inherits2.default)(EComponent, _$e$modules$Component);
889 + return (0, _createClass2.default)(EComponent, [{
890 + key: "getNamespace",
891 + value:
892 + /**
893 + * @return {string} The namespace of the component
894 + */
895 + function getNamespace() {
896 + return 'announcement';
897 + }
898 + }, {
899 + key: "defaultCommands",
900 + value: function defaultCommands() {
901 + return ['close', 'cta', 'impression'].reduce(function (allCommands, command) {
902 + return _objectSpread(_objectSpread({}, allCommands), {}, (0, _defineProperty2.default)({}, command, function () {}));
903 + }, {});
904 + }
905 + }]);
906 +}($e.modules.ComponentBase);
907 +
908 +/***/ }),
909 +
910 +/***/ "../node_modules/@babel/runtime/helpers/OverloadYield.js":
911 +/*!***************************************************************!*\
912 + !*** ../node_modules/@babel/runtime/helpers/OverloadYield.js ***!
913 + \***************************************************************/
914 +/***/ ((module) => {
915 +
916 +function _OverloadYield(e, d) {
917 + this.v = e, this.k = d;
918 +}
919 +module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports;
920 +
921 +/***/ }),
922 +
923 +/***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
924 +/*!******************************************************************!*\
925 + !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
926 + \******************************************************************/
927 +/***/ ((module) => {
928 +
929 +function _arrayLikeToArray(r, a) {
930 + (null == a || a > r.length) && (a = r.length);
931 + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
932 + return n;
933 +}
934 +module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
935 +
936 +/***/ }),
937 +
938 +/***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js":
939 +/*!****************************************************************!*\
940 + !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
941 + \****************************************************************/
942 +/***/ ((module) => {
943 +
944 +function _arrayWithHoles(r) {
945 + if (Array.isArray(r)) return r;
946 +}
947 +module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
948 +
949 +/***/ }),
950 +
951 +/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js":
952 +/*!***********************************************************************!*\
953 + !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
954 + \***********************************************************************/
955 +/***/ ((module) => {
956 +
957 +function _assertThisInitialized(e) {
958 + if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
959 + return e;
960 +}
961 +module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
962 +
963 +/***/ }),
964 +
965 +/***/ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js":
966 +/*!******************************************************************!*\
967 + !*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
968 + \******************************************************************/
969 +/***/ ((module) => {
970 +
971 +function asyncGeneratorStep(n, t, e, r, o, a, c) {
972 + try {
973 + var i = n[a](c),
974 + u = i.value;
975 + } catch (n) {
976 + return void e(n);
977 + }
978 + i.done ? t(u) : Promise.resolve(u).then(r, o);
979 +}
980 +function _asyncToGenerator(n) {
981 + return function () {
982 + var t = this,
983 + e = arguments;
984 + return new Promise(function (r, o) {
985 + var a = n.apply(t, e);
986 + function _next(n) {
987 + asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
988 + }
989 + function _throw(n) {
990 + asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
991 + }
992 + _next(void 0);
993 + });
994 + };
995 +}
996 +module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
997 +
998 +/***/ }),
999 +
1000 +/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js":
1001 +/*!****************************************************************!*\
1002 + !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***!
1003 + \****************************************************************/
1004 +/***/ ((module) => {
1005 +
1006 +function _classCallCheck(a, n) {
1007 + if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
1008 +}
1009 +module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
1010 +
1011 +/***/ }),
1012 +
1013 +/***/ "../node_modules/@babel/runtime/helpers/createClass.js":
1014 +/*!*************************************************************!*\
1015 + !*** ../node_modules/@babel/runtime/helpers/createClass.js ***!
1016 + \*************************************************************/
1017 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1018 +
1019 +var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js");
1020 +function _defineProperties(e, r) {
1021 + for (var t = 0; t < r.length; t++) {
1022 + var o = r[t];
1023 + o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
1024 + }
1025 +}
1026 +function _createClass(e, r, t) {
1027 + return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
1028 + writable: !1
1029 + }), e;
1030 +}
1031 +module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
1032 +
1033 +/***/ }),
1034 +
1035 +/***/ "../node_modules/@babel/runtime/helpers/defineProperty.js":
1036 +/*!****************************************************************!*\
1037 + !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***!
1038 + \****************************************************************/
1039 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1040 +
1041 +var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js");
1042 +function _defineProperty(e, r, t) {
1043 + return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
1044 + value: t,
1045 + enumerable: !0,
1046 + configurable: !0,
1047 + writable: !0
1048 + }) : e[r] = t, e;
1049 +}
1050 +module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
1051 +
1052 +/***/ }),
1053 +
1054 +/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js":
1055 +/*!****************************************************************!*\
1056 + !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
1057 + \****************************************************************/
1058 +/***/ ((module) => {
1059 +
1060 +function _getPrototypeOf(t) {
1061 + return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
1062 + return t.__proto__ || Object.getPrototypeOf(t);
1063 + }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t);
1064 +}
1065 +module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
1066 +
1067 +/***/ }),
1068 +
1069 +/***/ "../node_modules/@babel/runtime/helpers/inherits.js":
1070 +/*!**********************************************************!*\
1071 + !*** ../node_modules/@babel/runtime/helpers/inherits.js ***!
1072 + \**********************************************************/
1073 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1074 +
1075 +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js");
1076 +function _inherits(t, e) {
1077 + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
1078 + t.prototype = Object.create(e && e.prototype, {
1079 + constructor: {
1080 + value: t,
1081 + writable: !0,
1082 + configurable: !0
1083 + }
1084 + }), Object.defineProperty(t, "prototype", {
1085 + writable: !1
1086 + }), e && setPrototypeOf(t, e);
1087 +}
1088 +module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
1089 +
1090 +/***/ }),
1091 +
1092 +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js":
1093 +/*!***********************************************************************!*\
1094 + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
1095 + \***********************************************************************/
1096 +/***/ ((module) => {
1097 +
1098 +function _interopRequireDefault(e) {
1099 + return e && e.__esModule ? e : {
1100 + "default": e
1101 + };
1102 +}
1103 +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
1104 +
1105 +/***/ }),
1106 +
1107 +/***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":
1108 +/*!**********************************************************************!*\
1109 + !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
1110 + \**********************************************************************/
1111 +/***/ ((module) => {
1112 +
1113 +function _iterableToArrayLimit(r, l) {
1114 + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
1115 + if (null != t) {
1116 + var e,
1117 + n,
1118 + i,
1119 + u,
1120 + a = [],
1121 + f = !0,
1122 + o = !1;
1123 + try {
1124 + if (i = (t = t.call(r)).next, 0 === l) {
1125 + if (Object(t) !== t) return;
1126 + f = !1;
1127 + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
1128 + } catch (r) {
1129 + o = !0, n = r;
1130 + } finally {
1131 + try {
1132 + if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
1133 + } finally {
1134 + if (o) throw n;
1135 + }
1136 + }
1137 + return a;
1138 + }
1139 +}
1140 +module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
1141 +
1142 +/***/ }),
1143 +
1144 +/***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js":
1145 +/*!*****************************************************************!*\
1146 + !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
1147 + \*****************************************************************/
1148 +/***/ ((module) => {
1149 +
1150 +function _nonIterableRest() {
1151 + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1152 +}
1153 +module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
1154 +
1155 +/***/ }),
1156 +
1157 +/***/ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js":
1158 +/*!*************************************************************************!*\
1159 + !*** ../node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***!
1160 + \*************************************************************************/
1161 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1162 +
1163 +var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");
1164 +function _objectWithoutProperties(e, t) {
1165 + if (null == e) return {};
1166 + var o,
1167 + r,
1168 + i = objectWithoutPropertiesLoose(e, t);
1169 + if (Object.getOwnPropertySymbols) {
1170 + var n = Object.getOwnPropertySymbols(e);
1171 + for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
1172 + }
1173 + return i;
1174 +}
1175 +module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
1176 +
1177 +/***/ }),
1178 +
1179 +/***/ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":
1180 +/*!******************************************************************************!*\
1181 + !*** ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***!
1182 + \******************************************************************************/
1183 +/***/ ((module) => {
1184 +
1185 +function _objectWithoutPropertiesLoose(r, e) {
1186 + if (null == r) return {};
1187 + var t = {};
1188 + for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
1189 + if (-1 !== e.indexOf(n)) continue;
1190 + t[n] = r[n];
1191 + }
1192 + return t;
1193 +}
1194 +module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
1195 +
1196 +/***/ }),
1197 +
1198 +/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
1199 +/*!***************************************************************************!*\
1200 + !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
1201 + \***************************************************************************/
1202 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1203 +
1204 +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
1205 +var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js");
1206 +function _possibleConstructorReturn(t, e) {
1207 + if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
1208 + if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
1209 + return assertThisInitialized(t);
1210 +}
1211 +module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
1212 +
1213 +/***/ }),
1214 +
1215 +/***/ "../node_modules/@babel/runtime/helpers/regenerator.js":
1216 +/*!*************************************************************!*\
1217 + !*** ../node_modules/@babel/runtime/helpers/regenerator.js ***!
1218 + \*************************************************************/
1219 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1220 +
1221 +var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js");
1222 +function _regenerator() {
1223 + /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
1224 + var e,
1225 + t,
1226 + r = "function" == typeof Symbol ? Symbol : {},
1227 + n = r.iterator || "@@iterator",
1228 + o = r.toStringTag || "@@toStringTag";
1229 + function i(r, n, o, i) {
1230 + var c = n && n.prototype instanceof Generator ? n : Generator,
1231 + u = Object.create(c.prototype);
1232 + return regeneratorDefine(u, "_invoke", function (r, n, o) {
1233 + var i,
1234 + c,
1235 + u,
1236 + f = 0,
1237 + p = o || [],
1238 + y = !1,
1239 + G = {
1240 + p: 0,
1241 + n: 0,
1242 + v: e,
1243 + a: d,
1244 + f: d.bind(e, 4),
1245 + d: function d(t, r) {
1246 + return i = t, c = 0, u = e, G.n = r, a;
1247 + }
1248 + };
1249 + function d(r, n) {
1250 + for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
1251 + var o,
1252 + i = p[t],
1253 + d = G.p,
1254 + l = i[2];
1255 + r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
1256 + }
1257 + if (o || r > 1) return a;
1258 + throw y = !0, n;
1259 + }
1260 + return function (o, p, l) {
1261 + if (f > 1) throw TypeError("Generator is already running");
1262 + for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
1263 + i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
1264 + try {
1265 + if (f = 2, i) {
1266 + if (c || (o = "next"), t = i[o]) {
1267 + if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
1268 + if (!t.done) return t;
1269 + u = t.value, c < 2 && (c = 0);
1270 + } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
1271 + i = e;
1272 + } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
1273 + } catch (t) {
1274 + i = e, c = 1, u = t;
1275 + } finally {
1276 + f = 1;
1277 + }
1278 + }
1279 + return {
1280 + value: t,
1281 + done: y
1282 + };
1283 + };
1284 + }(r, o, i), !0), u;
1285 + }
1286 + var a = {};
1287 + function Generator() {}
1288 + function GeneratorFunction() {}
1289 + function GeneratorFunctionPrototype() {}
1290 + t = Object.getPrototypeOf;
1291 + var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function () {
1292 + return this;
1293 + }), t),
1294 + u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
1295 + function f(e) {
1296 + return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
1297 + }
1298 + return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), regeneratorDefine(u), regeneratorDefine(u, o, "Generator"), regeneratorDefine(u, n, function () {
1299 + return this;
1300 + }), regeneratorDefine(u, "toString", function () {
1301 + return "[object Generator]";
1302 + }), (module.exports = _regenerator = function _regenerator() {
1303 + return {
1304 + w: i,
1305 + m: f
1306 + };
1307 + }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
1308 +}
1309 +module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
1310 +
1311 +/***/ }),
1312 +
1313 +/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsync.js":
1314 +/*!******************************************************************!*\
1315 + !*** ../node_modules/@babel/runtime/helpers/regeneratorAsync.js ***!
1316 + \******************************************************************/
1317 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1318 +
1319 +var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js");
1320 +function _regeneratorAsync(n, e, r, t, o) {
1321 + var a = regeneratorAsyncGen(n, e, r, t, o);
1322 + return a.next().then(function (n) {
1323 + return n.done ? n.value : a.next();
1324 + });
1325 +}
1326 +module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports;
1327 +
1328 +/***/ }),
1329 +
1330 +/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js":
1331 +/*!*********************************************************************!*\
1332 + !*** ../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js ***!
1333 + \*********************************************************************/
1334 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1335 +
1336 +var regenerator = __webpack_require__(/*! ./regenerator.js */ "../node_modules/@babel/runtime/helpers/regenerator.js");
1337 +var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js");
1338 +function _regeneratorAsyncGen(r, e, t, o, n) {
1339 + return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise);
1340 +}
1341 +module.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports["default"] = module.exports;
1342 +
1343 +/***/ }),
1344 +
1345 +/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js":
1346 +/*!**************************************************************************!*\
1347 + !*** ../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js ***!
1348 + \**************************************************************************/
1349 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1350 +
1351 +var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ "../node_modules/@babel/runtime/helpers/OverloadYield.js");
1352 +var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js");
1353 +function AsyncIterator(t, e) {
1354 + function n(r, o, i, f) {
1355 + try {
1356 + var c = t[r](o),
1357 + u = c.value;
1358 + return u instanceof OverloadYield ? e.resolve(u.v).then(function (t) {
1359 + n("next", t, i, f);
1360 + }, function (t) {
1361 + n("throw", t, i, f);
1362 + }) : e.resolve(u).then(function (t) {
1363 + c.value = t, i(c);
1364 + }, function (t) {
1365 + return n("throw", t, i, f);
1366 + });
1367 + } catch (t) {
1368 + f(t);
1369 + }
1370 + }
1371 + var r;
1372 + this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () {
1373 + return this;
1374 + })), regeneratorDefine(this, "_invoke", function (t, o, i) {
1375 + function f() {
1376 + return new e(function (e, r) {
1377 + n(t, i, e, r);
1378 + });
1379 + }
1380 + return r = r ? r.then(f, f) : f();
1381 + }, !0);
1382 +}
1383 +module.exports = AsyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports;
1384 +
1385 +/***/ }),
1386 +
1387 +/***/ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js":
1388 +/*!*******************************************************************!*\
1389 + !*** ../node_modules/@babel/runtime/helpers/regeneratorDefine.js ***!
1390 + \*******************************************************************/
1391 +/***/ ((module) => {
1392 +
1393 +function _regeneratorDefine(e, r, n, t) {
1394 + var i = Object.defineProperty;
1395 + try {
1396 + i({}, "", {});
1397 + } catch (e) {
1398 + i = 0;
1399 + }
1400 + module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) {
1401 + function o(r, n) {
1402 + _regeneratorDefine(e, r, function (e) {
1403 + return this._invoke(r, n, e);
1404 + });
1405 + }
1406 + r ? i ? i(e, r, {
1407 + value: n,
1408 + enumerable: !t,
1409 + configurable: !t,
1410 + writable: !t
1411 + }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
1412 + }, module.exports.__esModule = true, module.exports["default"] = module.exports, _regeneratorDefine(e, r, n, t);
1413 +}
1414 +module.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports["default"] = module.exports;
1415 +
1416 +/***/ }),
1417 +
1418 +/***/ "../node_modules/@babel/runtime/helpers/regeneratorKeys.js":
1419 +/*!*****************************************************************!*\
1420 + !*** ../node_modules/@babel/runtime/helpers/regeneratorKeys.js ***!
1421 + \*****************************************************************/
1422 +/***/ ((module) => {
1423 +
1424 +function _regeneratorKeys(e) {
1425 + var n = Object(e),
1426 + r = [];
1427 + for (var t in n) r.unshift(t);
1428 + return function e() {
1429 + for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e;
1430 + return e.done = !0, e;
1431 + };
1432 +}
1433 +module.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports["default"] = module.exports;
1434 +
1435 +/***/ }),
1436 +
1437 +/***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js":
1438 +/*!********************************************************************!*\
1439 + !*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
1440 + \********************************************************************/
1441 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1442 +
1443 +var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ "../node_modules/@babel/runtime/helpers/OverloadYield.js");
1444 +var regenerator = __webpack_require__(/*! ./regenerator.js */ "../node_modules/@babel/runtime/helpers/regenerator.js");
1445 +var regeneratorAsync = __webpack_require__(/*! ./regeneratorAsync.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsync.js");
1446 +var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js");
1447 +var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js");
1448 +var regeneratorKeys = __webpack_require__(/*! ./regeneratorKeys.js */ "../node_modules/@babel/runtime/helpers/regeneratorKeys.js");
1449 +var regeneratorValues = __webpack_require__(/*! ./regeneratorValues.js */ "../node_modules/@babel/runtime/helpers/regeneratorValues.js");
1450 +function _regeneratorRuntime() {
1451 + "use strict";
1452 +
1453 + var r = regenerator(),
1454 + e = r.m(_regeneratorRuntime),
1455 + t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
1456 + function n(r) {
1457 + var e = "function" == typeof r && r.constructor;
1458 + return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name));
1459 + }
1460 + var o = {
1461 + "throw": 1,
1462 + "return": 2,
1463 + "break": 3,
1464 + "continue": 3
1465 + };
1466 + function a(r) {
1467 + var e, t;
1468 + return function (n) {
1469 + e || (e = {
1470 + stop: function stop() {
1471 + return t(n.a, 2);
1472 + },
1473 + "catch": function _catch() {
1474 + return n.v;
1475 + },
1476 + abrupt: function abrupt(r, e) {
1477 + return t(n.a, o[r], e);
1478 + },
1479 + delegateYield: function delegateYield(r, o, a) {
1480 + return e.resultName = o, t(n.d, regeneratorValues(r), a);
1481 + },
1482 + finish: function finish(r) {
1483 + return t(n.f, r);
1484 + }
1485 + }, t = function t(r, _t, o) {
1486 + n.p = e.prev, n.n = e.next;
1487 + try {
1488 + return r(_t, o);
1489 + } finally {
1490 + e.next = n.n;
1491 + }
1492 + }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;
1493 + try {
1494 + return r.call(this, e);
1495 + } finally {
1496 + n.p = e.prev, n.n = e.next;
1497 + }
1498 + };
1499 + }
1500 + return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
1501 + return {
1502 + wrap: function wrap(e, t, n, o) {
1503 + return r.w(a(e), t, n, o && o.reverse());
1504 + },
1505 + isGeneratorFunction: n,
1506 + mark: r.m,
1507 + awrap: function awrap(r, e) {
1508 + return new OverloadYield(r, e);
1509 + },
1510 + AsyncIterator: regeneratorAsyncIterator,
1511 + async: function async(r, e, t, o, u) {
1512 + return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u);
1513 + },
1514 + keys: regeneratorKeys,
1515 + values: regeneratorValues
1516 + };
1517 + }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
1518 +}
1519 +module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
1520 +
1521 +/***/ }),
1522 +
1523 +/***/ "../node_modules/@babel/runtime/helpers/regeneratorValues.js":
1524 +/*!*******************************************************************!*\
1525 + !*** ../node_modules/@babel/runtime/helpers/regeneratorValues.js ***!
1526 + \*******************************************************************/
1527 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1528 +
1529 +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
1530 +function _regeneratorValues(e) {
1531 + if (null != e) {
1532 + var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
1533 + r = 0;
1534 + if (t) return t.call(e);
1535 + if ("function" == typeof e.next) return e;
1536 + if (!isNaN(e.length)) return {
1537 + next: function next() {
1538 + return e && r >= e.length && (e = void 0), {
1539 + value: e && e[r++],
1540 + done: !e
1541 + };
1542 + }
1543 + };
1544 + }
1545 + throw new TypeError(_typeof(e) + " is not iterable");
1546 +}
1547 +module.exports = _regeneratorValues, module.exports.__esModule = true, module.exports["default"] = module.exports;
1548 +
1549 +/***/ }),
1550 +
1551 +/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js":
1552 +/*!****************************************************************!*\
1553 + !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
1554 + \****************************************************************/
1555 +/***/ ((module) => {
1556 +
1557 +function _setPrototypeOf(t, e) {
1558 + return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
1559 + return t.__proto__ = e, t;
1560 + }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e);
1561 +}
1562 +module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
1563 +
1564 +/***/ }),
1565 +
1566 +/***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js":
1567 +/*!***************************************************************!*\
1568 + !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***!
1569 + \***************************************************************/
1570 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1571 +
1572 +var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js");
1573 +var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js");
1574 +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
1575 +var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js");
1576 +function _slicedToArray(r, e) {
1577 + return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();
1578 +}
1579 +module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1580 +
1581 +/***/ }),
1582 +
1583 +/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js":
1584 +/*!*************************************************************!*\
1585 + !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***!
1586 + \*************************************************************/
1587 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1588 +
1589 +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
1590 +function toPrimitive(t, r) {
1591 + if ("object" != _typeof(t) || !t) return t;
1592 + var e = t[Symbol.toPrimitive];
1593 + if (void 0 !== e) {
1594 + var i = e.call(t, r || "default");
1595 + if ("object" != _typeof(i)) return i;
1596 + throw new TypeError("@@toPrimitive must return a primitive value.");
1597 + }
1598 + return ("string" === r ? String : Number)(t);
1599 +}
1600 +module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
1601 +
1602 +/***/ }),
1603 +
1604 +/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js":
1605 +/*!***************************************************************!*\
1606 + !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
1607 + \***************************************************************/
1608 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1609 +
1610 +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
1611 +var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js");
1612 +function toPropertyKey(t) {
1613 + var i = toPrimitive(t, "string");
1614 + return "symbol" == _typeof(i) ? i : i + "";
1615 +}
1616 +module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
1617 +
1618 +/***/ }),
1619 +
1620 +/***/ "../node_modules/@babel/runtime/helpers/typeof.js":
1621 +/*!********************************************************!*\
1622 + !*** ../node_modules/@babel/runtime/helpers/typeof.js ***!
1623 + \********************************************************/
1624 +/***/ ((module) => {
1625 +
1626 +function _typeof(o) {
1627 + "@babel/helpers - typeof";
1628 +
1629 + return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1630 + return typeof o;
1631 + } : function (o) {
1632 + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1633 + }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
1634 +}
1635 +module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
1636 +
1637 +/***/ }),
1638 +
1639 +/***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
1640 +/*!****************************************************************************!*\
1641 + !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
1642 + \****************************************************************************/
1643 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1644 +
1645 +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
1646 +function _unsupportedIterableToArray(r, a) {
1647 + if (r) {
1648 + if ("string" == typeof r) return arrayLikeToArray(r, a);
1649 + var t = {}.toString.call(r).slice(8, -1);
1650 + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;
1651 + }
1652 +}
1653 +module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1654 +
1655 +/***/ }),
1656 +
1657 +/***/ "../node_modules/@babel/runtime/regenerator/index.js":
1658 +/*!***********************************************************!*\
1659 + !*** ../node_modules/@babel/runtime/regenerator/index.js ***!
1660 + \***********************************************************/
1661 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1662 +
1663 +// TODO(Babel 8): Remove this file.
1664 +
1665 +var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();
1666 +module.exports = runtime;
1667 +
1668 +// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
1669 +try {
1670 + regeneratorRuntime = runtime;
1671 +} catch (accidentalStrictMode) {
1672 + if (typeof globalThis === "object") {
1673 + globalThis.regeneratorRuntime = runtime;
1674 + } else {
1675 + Function("r", "regeneratorRuntime = r")(runtime);
1676 + }
1677 +}
1678 +
1679 +
1680 +/***/ }),
1681 +
1682 +/***/ "../node_modules/object-assign/index.js":
1683 +/*!**********************************************!*\
1684 + !*** ../node_modules/object-assign/index.js ***!
1685 + \**********************************************/
1686 +/***/ ((module) => {
1687 +
1688 +"use strict";
1689 +/*
1690 +object-assign
1691 +(c) Sindre Sorhus
1692 +@license MIT
1693 +*/
1694 +
1695 +
1696 +/* eslint-disable no-unused-vars */
1697 +var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1698 +var hasOwnProperty = Object.prototype.hasOwnProperty;
1699 +var propIsEnumerable = Object.prototype.propertyIsEnumerable;
1700 +
1701 +function toObject(val) {
1702 + if (val === null || val === undefined) {
1703 + throw new TypeError('Object.assign cannot be called with null or undefined');
496 1704 }
497 - var react_default = { render };
498 1705
499 -//#endregion
500 -//#region node_modules/@babel/runtime/helpers/esm/defineProperty.js
501 - function _defineProperty(e, r, t) {
502 - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
503 - value: t,
504 - enumerable: !0,
505 - configurable: !0,
506 - writable: !0
507 - }) : e[r] = t, e;
508 - }
1706 + return Object(val);
1707 +}
509 1708
510 -//#endregion
511 -//#region node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
512 - function _arrayWithHoles(r) {
513 - if (Array.isArray(r)) return r;
514 - }
1709 +function shouldUseNative() {
1710 + try {
1711 + if (!Object.assign) {
1712 + return false;
1713 + }
515 1714
516 -//#endregion
517 -//#region node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
518 - function _iterableToArrayLimit(r, l) {
519 - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
520 - if (null != t) {
521 - var e;
522 - var n;
523 - var i;
524 - var u;
525 - var a = [];
526 - var f = !0;
527 - var o = !1;
528 - try {
529 - if (i = (t = t.call(r)).next, 0 === l) {
530 - if (Object(t) !== t) return;
531 - f = !1;
532 - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
533 - } catch (r) {
534 - o = !0, n = r;
535 - } finally {
536 - try {
537 - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
538 - } finally {
539 - if (o) throw n;
540 - }
541 - }
542 - return a;
1715 + // Detect buggy property enumeration order in older V8 versions.
1716 +
1717 + // https://bugs.chromium.org/p/v8/issues/detail?id=4118
1718 + var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
1719 + test1[5] = 'de';
1720 + if (Object.getOwnPropertyNames(test1)[0] === '5') {
1721 + return false;
543 1722 }
544 - }
545 1723
546 -//#endregion
547 -//#region node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
548 - function _arrayLikeToArray$1(r, a) {
549 - (null == a || a > r.length) && (a = r.length);
550 - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
551 - return n;
552 - }
553 - __name(_arrayLikeToArray$1, "_arrayLikeToArray");
1724 + // https://bugs.chromium.org/p/v8/issues/detail?id=3056
1725 + var test2 = {};
1726 + for (var i = 0; i < 10; i++) {
1727 + test2['_' + String.fromCharCode(i)] = i;
1728 + }
1729 + var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
1730 + return test2[n];
1731 + });
1732 + if (order2.join('') !== '0123456789') {
1733 + return false;
1734 + }
554 1735
555 -//#endregion
556 -//#region node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
557 - function _unsupportedIterableToArray$1(r, a) {
558 - if (r) {
559 - if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
560 - var t = {}.toString.call(r).slice(8, -1);
561 - return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0;
1736 + // https://bugs.chromium.org/p/v8/issues/detail?id=3056
1737 + var test3 = {};
1738 + 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
1739 + test3[letter] = letter;
1740 + });
1741 + if (Object.keys(Object.assign({}, test3)).join('') !==
1742 + 'abcdefghijklmnopqrst') {
1743 + return false;
562 1744 }
1745 +
1746 + return true;
1747 + } catch (err) {
1748 + // We don't expect any of the above to throw, but better to be safe.
1749 + return false;
563 1750 }
564 - __name(_unsupportedIterableToArray$1, "_unsupportedIterableToArray");
1751 +}
565 1752
566 -//#endregion
567 -//#region node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
568 - function _nonIterableRest() {
569 - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
570 - }
1753 +module.exports = shouldUseNative() ? Object.assign : function (target, source) {
1754 + var from;
1755 + var to = toObject(target);
1756 + var symbols;
571 1757
572 -//#endregion
573 -//#region node_modules/@babel/runtime/helpers/esm/slicedToArray.js
574 - function _slicedToArray(r, e) {
575 - return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$1(r, e) || _nonIterableRest();
576 - }
1758 + for (var s = 1; s < arguments.length; s++) {
1759 + from = Object(arguments[s]);
577 1760
578 -//#endregion
579 -//#region app/assets/js/event-track/apps-event-tracking.js
580 - function _createForOfIteratorHelper(r, e) {
581 - var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
582 - if (!t) {
583 - if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
584 - t && (r = t);
585 - var _n = 0;
586 - var F = function F() {};
587 - return {
588 - s: F,
589 - n: function n() {
590 - return _n >= r.length ? { done: !0 } : {
591 - done: !1,
592 - value: r[_n++]
593 - };
594 - },
595 - e: function e(r) {
596 - throw r;
597 - },
598 - f: F
599 - };
1761 + for (var key in from) {
1762 + if (hasOwnProperty.call(from, key)) {
1763 + to[key] = from[key];
600 1764 }
601 - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
602 1765 }
603 - var o;
604 - var a = !0;
605 - var u = !1;
606 - return {
607 - s: function s() {
608 - t = t.call(r);
609 - },
610 - n: function n() {
611 - var r = t.next();
612 - return a = r.done, r;
613 - },
614 - e: function e(r) {
615 - u = !0, o = r;
616 - },
617 - f: function f() {
618 - try {
619 - a || null == t.return || t.return();
620 - } finally {
621 - if (u) throw o;
1766 +
1767 + if (getOwnPropertySymbols) {
1768 + symbols = getOwnPropertySymbols(from);
1769 + for (var i = 0; i < symbols.length; i++) {
1770 + if (propIsEnumerable.call(from, symbols[i])) {
1771 + to[symbols[i]] = from[symbols[i]];
622 1772 }
623 1773 }
624 - };
625 - }
626 - function _unsupportedIterableToArray(r, a) {
627 - if (r) {
628 - if ("string" == typeof r) return _arrayLikeToArray(r, a);
629 - var t = {}.toString.call(r).slice(8, -1);
630 - return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
631 1774 }
632 1775 }
633 - function _arrayLikeToArray(r, a) {
634 - (null == a || a > r.length) && (a = r.length);
635 - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
636 - return n;
637 - }
638 - var appsEventTrackingDispatch = function appsEventTrackingDispatch(command, eventParams) {
639 - var objectCreator = function objectCreator(array, obj) {
640 - var _iterator = _createForOfIteratorHelper(array);
641 - var _step;
642 - try {
643 - for (_iterator.s(); !(_step = _iterator.n()).done;) {
644 - var key = _step.value;
645 - if (eventParams.hasOwnProperty(key) && eventParams[key] !== null) obj[key] = eventParams[key];
646 - }
647 - } catch (err) {
648 - _iterator.e(err);
649 - } finally {
650 - _iterator.f();
651 - }
652 - return obj;
653 - };
654 - var dataKeys = [];
655 - var detailsKeys = [
656 - "layout",
657 - "site_part",
658 - "error",
659 - "document_name",
660 - "document_type",
661 - "view_type_clicked",
662 - "tag",
663 - "sort_direction",
664 - "sort_type",
665 - "action",
666 - "grid_location",
667 - "kit_name",
668 - "page_source",
669 - "element_position",
670 - "element",
671 - "event_type",
672 - "modal_type",
673 - "method",
674 - "status",
675 - "step",
676 - "item",
677 - "category",
678 - "element_location",
679 - "search_term",
680 - "section",
681 - "site_area"
682 - ];
683 - var data = {};
684 - var details = {};
685 - (function init() {
686 - objectCreator(detailsKeys, details);
687 - objectCreator(dataKeys, data);
688 - var commandSplit = command.split("/");
689 - data.placement = commandSplit[0];
690 - data.event = commandSplit[1];
691 - if (Object.keys(details).length) data.details = details;
692 - })();
693 - $e.run(command, data);
694 - };
695 1776
696 -//#endregion
697 -//#region node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
698 -/** @license React v16.13.1
699 - * react-is.development.js
700 - *
701 - * Copyright (c) Facebook, Inc. and its affiliates.
702 - *
703 - * This source code is licensed under the MIT license found in the
704 - * LICENSE file in the root directory of this source tree.
705 - */
706 - var require_react_is_development = /* @__PURE__ */ __commonJSMin(((exports) => {
707 - (function() {
708 - "use strict";
709 - var hasSymbol = typeof Symbol === "function" && Symbol.for;
710 - var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
711 - var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
712 - var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
713 - var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
714 - var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
715 - var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
716 - var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
717 - var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
718 - var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
719 - var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
720 - var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
721 - var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
722 - var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
723 - var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
724 - var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
725 - var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
726 - var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
727 - var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
728 - function isValidElementType(type) {
729 - return typeof type === "string" || typeof type === "function" || type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
730 - }
731 - function typeOf(object) {
732 - if (typeof object === "object" && object !== null) {
733 - var $$typeof = object.$$typeof;
734 - switch ($$typeof) {
735 - case REACT_ELEMENT_TYPE:
736 - var type = object.type;
737 - switch (type) {
738 - case REACT_ASYNC_MODE_TYPE:
739 - case REACT_CONCURRENT_MODE_TYPE:
740 - case REACT_FRAGMENT_TYPE:
741 - case REACT_PROFILER_TYPE:
742 - case REACT_STRICT_MODE_TYPE:
743 - case REACT_SUSPENSE_TYPE: return type;
744 - default:
745 - var $$typeofType = type && type.$$typeof;
746 - switch ($$typeofType) {
747 - case REACT_CONTEXT_TYPE:
748 - case REACT_FORWARD_REF_TYPE:
749 - case REACT_LAZY_TYPE:
750 - case REACT_MEMO_TYPE:
751 - case REACT_PROVIDER_TYPE: return $$typeofType;
752 - default: return $$typeof;
753 - }
754 - }
755 - case REACT_PORTAL_TYPE: return $$typeof;
756 - }
757 - }
758 - }
759 - var AsyncMode = REACT_ASYNC_MODE_TYPE;
760 - var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
761 - var ContextConsumer = REACT_CONTEXT_TYPE;
762 - var ContextProvider = REACT_PROVIDER_TYPE;
763 - var Element = REACT_ELEMENT_TYPE;
764 - var ForwardRef = REACT_FORWARD_REF_TYPE;
765 - var Fragment = REACT_FRAGMENT_TYPE;
766 - var Lazy = REACT_LAZY_TYPE;
767 - var Memo = REACT_MEMO_TYPE;
768 - var Portal = REACT_PORTAL_TYPE;
769 - var Profiler = REACT_PROFILER_TYPE;
770 - var StrictMode = REACT_STRICT_MODE_TYPE;
771 - var Suspense = REACT_SUSPENSE_TYPE;
772 - var hasWarnedAboutDeprecatedIsAsyncMode = false;
773 - function isAsyncMode(object) {
774 - if (!hasWarnedAboutDeprecatedIsAsyncMode) {
775 - hasWarnedAboutDeprecatedIsAsyncMode = true;
776 - console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
777 - }
778 - return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
779 - }
780 - function isConcurrentMode(object) {
781 - return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
782 - }
783 - function isContextConsumer(object) {
784 - return typeOf(object) === REACT_CONTEXT_TYPE;
785 - }
786 - function isContextProvider(object) {
787 - return typeOf(object) === REACT_PROVIDER_TYPE;
788 - }
789 - function isElement(object) {
790 - return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
791 - }
792 - function isForwardRef(object) {
793 - return typeOf(object) === REACT_FORWARD_REF_TYPE;
794 - }
795 - function isFragment(object) {
796 - return typeOf(object) === REACT_FRAGMENT_TYPE;
797 - }
798 - function isLazy(object) {
799 - return typeOf(object) === REACT_LAZY_TYPE;
800 - }
801 - function isMemo(object) {
802 - return typeOf(object) === REACT_MEMO_TYPE;
803 - }
804 - function isPortal(object) {
805 - return typeOf(object) === REACT_PORTAL_TYPE;
806 - }
807 - function isProfiler(object) {
808 - return typeOf(object) === REACT_PROFILER_TYPE;
809 - }
810 - function isStrictMode(object) {
811 - return typeOf(object) === REACT_STRICT_MODE_TYPE;
812 - }
813 - function isSuspense(object) {
814 - return typeOf(object) === REACT_SUSPENSE_TYPE;
815 - }
816 - exports.AsyncMode = AsyncMode;
817 - exports.ConcurrentMode = ConcurrentMode;
818 - exports.ContextConsumer = ContextConsumer;
819 - exports.ContextProvider = ContextProvider;
820 - exports.Element = Element;
821 - exports.ForwardRef = ForwardRef;
822 - exports.Fragment = Fragment;
823 - exports.Lazy = Lazy;
824 - exports.Memo = Memo;
825 - exports.Portal = Portal;
826 - exports.Profiler = Profiler;
827 - exports.StrictMode = StrictMode;
828 - exports.Suspense = Suspense;
829 - exports.isAsyncMode = isAsyncMode;
830 - exports.isConcurrentMode = isConcurrentMode;
831 - exports.isContextConsumer = isContextConsumer;
832 - exports.isContextProvider = isContextProvider;
833 - exports.isElement = isElement;
834 - exports.isForwardRef = isForwardRef;
835 - exports.isFragment = isFragment;
836 - exports.isLazy = isLazy;
837 - exports.isMemo = isMemo;
838 - exports.isPortal = isPortal;
839 - exports.isProfiler = isProfiler;
840 - exports.isStrictMode = isStrictMode;
841 - exports.isSuspense = isSuspense;
842 - exports.isValidElementType = isValidElementType;
843 - exports.typeOf = typeOf;
844 - })();
845 - }));
1777 + return to;
1778 +};
846 1779
847 -//#endregion
848 -//#region node_modules/prop-types/node_modules/react-is/index.js
849 - var require_react_is = /* @__PURE__ */ __commonJSMin(((exports, module) => {
850 - module.exports = require_react_is_development();
851 - }));
852 1780
853 -//#endregion
854 -//#region node_modules/object-assign/index.js
855 -/*
856 - object-assign
857 - (c) Sindre Sorhus
858 - @license MIT
859 - */
860 - var require_object_assign = /* @__PURE__ */ __commonJSMin(((exports, module) => {
861 - var getOwnPropertySymbols = Object.getOwnPropertySymbols;
862 - var hasOwnProperty = Object.prototype.hasOwnProperty;
863 - var propIsEnumerable = Object.prototype.propertyIsEnumerable;
864 - function toObject(val) {
865 - if (val === null || val === void 0) throw new TypeError("Object.assign cannot be called with null or undefined");
866 - return Object(val);
867 - }
868 - function shouldUseNative() {
869 - try {
870 - if (!Object.assign) return false;
871 - var test1 = /* @__PURE__ */ new String("abc");
872 - test1[5] = "de";
873 - if (Object.getOwnPropertyNames(test1)[0] === "5") return false;
874 - var test2 = {};
875 - for (var i = 0; i < 10; i++) test2["_" + String.fromCharCode(i)] = i;
876 - if (Object.getOwnPropertyNames(test2).map(function(n) {
877 - return test2[n];
878 - }).join("") !== "0123456789") return false;
879 - var test3 = {};
880 - "abcdefghijklmnopqrst".split("").forEach(function(letter) {
881 - test3[letter] = letter;
882 - });
883 - if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") return false;
884 - return true;
885 - } catch (err) {
886 - return false;
887 - }
888 - }
889 - module.exports = shouldUseNative() ? Object.assign : function(target, source) {
890 - var from;
891 - var to = toObject(target);
892 - var symbols;
893 - for (var s = 1; s < arguments.length; s++) {
894 - from = Object(arguments[s]);
895 - for (var key in from) if (hasOwnProperty.call(from, key)) to[key] = from[key];
896 - if (getOwnPropertySymbols) {
897 - symbols = getOwnPropertySymbols(from);
898 - for (var i = 0; i < symbols.length; i++) if (propIsEnumerable.call(from, symbols[i])) to[symbols[i]] = from[symbols[i]];
899 - }
900 - }
901 - return to;
902 - };
903 - }));
1781 +/***/ }),
904 1782
905 -//#endregion
906 -//#region node_modules/prop-types/lib/ReactPropTypesSecret.js
1783 +/***/ "../node_modules/prop-types/checkPropTypes.js":
1784 +/*!****************************************************!*\
1785 + !*** ../node_modules/prop-types/checkPropTypes.js ***!
1786 + \****************************************************/
1787 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1788 +
1789 +"use strict";
907 1790 /**
908 - * Copyright (c) 2013-present, Facebook, Inc.
909 - *
910 - * This source code is licensed under the MIT license found in the
911 - * LICENSE file in the root directory of this source tree.
912 - */
913 - var require_ReactPropTypesSecret = /* @__PURE__ */ __commonJSMin(((exports, module) => {
914 - var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
915 - module.exports = ReactPropTypesSecret;
916 - }));
1791 + * Copyright (c) 2013-present, Facebook, Inc.
1792 + *
1793 + * This source code is licensed under the MIT license found in the
1794 + * LICENSE file in the root directory of this source tree.
1795 + */
917 1796
918 -//#endregion
919 -//#region node_modules/prop-types/lib/has.js
920 - var require_has = /* @__PURE__ */ __commonJSMin(((exports, module) => {
921 - module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
922 - }));
923 1797
924 -//#endregion
925 -//#region node_modules/prop-types/checkPropTypes.js
1798 +
1799 +var printWarning = function() {};
1800 +
1801 +if (true) {
1802 + var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
1803 + var loggedTypeFailures = {};
1804 + var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
1805 +
1806 + printWarning = function(text) {
1807 + var message = 'Warning: ' + text;
1808 + if (typeof console !== 'undefined') {
1809 + console.error(message);
1810 + }
1811 + try {
1812 + // --- Welcome to debugging React ---
1813 + // This error was thrown as a convenience so that you can use this stack
1814 + // to find the callsite that caused this warning to fire.
1815 + throw new Error(message);
1816 + } catch (x) { /**/ }
1817 + };
1818 +}
1819 +
926 1820 /**
927 - * Copyright (c) 2013-present, Facebook, Inc.
928 - *
929 - * This source code is licensed under the MIT license found in the
930 - * LICENSE file in the root directory of this source tree.
931 - */
932 - var require_checkPropTypes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
933 - var printWarning = function() {};
934 - var ReactPropTypesSecret = require_ReactPropTypesSecret();
935 - var loggedTypeFailures = {};
936 - var has = require_has();
937 - printWarning = function(text) {
938 - var message = "Warning: " + text;
939 - if (typeof console !== "undefined") console.error(message);
940 - try {
941 - throw new Error(message);
942 - } catch (x) {}
943 - };
944 - /**
945 - * Assert that the values match with the type specs.
946 - * Error messages are memorized and will only be shown once.
947 - *
948 - * @param {object} typeSpecs Map of name to a ReactPropType
949 - * @param {object} values Runtime values that need to be type-checked
950 - * @param {string} location e.g. "prop", "context", "child context"
951 - * @param {string} componentName Name of the component for error messages.
952 - * @param {?Function} getStack Returns the component stack.
953 - * @private
954 - */
955 - function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
956 - for (var typeSpecName in typeSpecs) if (has(typeSpecs, typeSpecName)) {
957 - var error;
958 - try {
959 - if (typeof typeSpecs[typeSpecName] !== "function") {
960 - var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
961 - err.name = "Invariant Violation";
962 - throw err;
963 - }
964 - error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
965 - } catch (ex) {
966 - error = ex;
967 - }
968 - if (error && !(error instanceof Error)) printWarning((componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");
969 - if (error instanceof Error && !(error.message in loggedTypeFailures)) {
970 - loggedTypeFailures[error.message] = true;
971 - var stack = getStack ? getStack() : "";
972 - printWarning("Failed " + location + " type: " + error.message + (stack != null ? stack : ""));
973 - }
974 - }
975 - }
976 - /**
977 - * Resets warning cache when testing.
978 - *
979 - * @private
980 - */
981 - checkPropTypes.resetWarningCache = function() {
982 - loggedTypeFailures = {};
983 - };
984 - module.exports = checkPropTypes;
985 - }));
1821 + * Assert that the values match with the type specs.
1822 + * Error messages are memorized and will only be shown once.
1823 + *
1824 + * @param {object} typeSpecs Map of name to a ReactPropType
1825 + * @param {object} values Runtime values that need to be type-checked
1826 + * @param {string} location e.g. "prop", "context", "child context"
1827 + * @param {string} componentName Name of the component for error messages.
1828 + * @param {?Function} getStack Returns the component stack.
1829 + * @private
1830 + */
1831 +function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
1832 + if (true) {
1833 + for (var typeSpecName in typeSpecs) {
1834 + if (has(typeSpecs, typeSpecName)) {
1835 + var error;
1836 + // Prop type validation may throw. In case they do, we don't want to
1837 + // fail the render phase where it didn't fail before. So we log it.
1838 + // After these have been cleaned up, we'll let them throw.
1839 + try {
1840 + // This is intentionally an invariant that gets caught. It's the same
1841 + // behavior as without this statement except with a better message.
1842 + if (typeof typeSpecs[typeSpecName] !== 'function') {
1843 + var err = Error(
1844 + (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
1845 + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
1846 + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
1847 + );
1848 + err.name = 'Invariant Violation';
1849 + throw err;
1850 + }
1851 + error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
1852 + } catch (ex) {
1853 + error = ex;
1854 + }
1855 + if (error && !(error instanceof Error)) {
1856 + printWarning(
1857 + (componentName || 'React class') + ': type specification of ' +
1858 + location + ' `' + typeSpecName + '` is invalid; the type checker ' +
1859 + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
1860 + 'You may have forgotten to pass an argument to the type checker ' +
1861 + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
1862 + 'shape all require an argument).'
1863 + );
1864 + }
1865 + if (error instanceof Error && !(error.message in loggedTypeFailures)) {
1866 + // Only monitor this failure once because there tends to be a lot of the
1867 + // same error.
1868 + loggedTypeFailures[error.message] = true;
986 1869
987 -//#endregion
988 -//#region node_modules/prop-types/factoryWithTypeCheckers.js
1870 + var stack = getStack ? getStack() : '';
1871 +
1872 + printWarning(
1873 + 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
1874 + );
1875 + }
1876 + }
1877 + }
1878 + }
1879 +}
1880 +
989 1881 /**
990 - * Copyright (c) 2013-present, Facebook, Inc.
991 - *
992 - * This source code is licensed under the MIT license found in the
993 - * LICENSE file in the root directory of this source tree.
994 - */
995 - var require_factoryWithTypeCheckers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
996 - var ReactIs = require_react_is();
997 - var assign = require_object_assign();
998 - var ReactPropTypesSecret = require_ReactPropTypesSecret();
999 - var has = require_has();
1000 - var checkPropTypes = require_checkPropTypes();
1001 - var printWarning = function() {};
1002 - printWarning = function(text) {
1003 - var message = "Warning: " + text;
1004 - if (typeof console !== "undefined") console.error(message);
1005 - try {
1006 - throw new Error(message);
1007 - } catch (x) {}
1008 - };
1009 - function emptyFunctionThatReturnsNull() {
1010 - return null;
1011 - }
1012 - module.exports = function(isValidElement, throwOnDirectAccess) {
1013 - var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
1014 - var FAUX_ITERATOR_SYMBOL = "@@iterator";
1015 - /**
1016 - * Returns the iterator method function contained on the iterable object.
1017 - *
1018 - * Be sure to invoke the function with the iterable as context:
1019 - *
1020 - * var iteratorFn = getIteratorFn(myIterable);
1021 - * if (iteratorFn) {
1022 - * var iterator = iteratorFn.call(myIterable);
1023 - * ...
1024 - * }
1025 - *
1026 - * @param {?object} maybeIterable
1027 - * @return {?function}
1028 - */
1029 - function getIteratorFn(maybeIterable) {
1030 - var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
1031 - if (typeof iteratorFn === "function") return iteratorFn;
1032 - }
1033 - /**
1034 - * Collection of methods that allow declaration and validation of props that are
1035 - * supplied to React components. Example usage:
1036 - *
1037 - * var Props = require('ReactPropTypes');
1038 - * var MyArticle = React.createClass({
1039 - * propTypes: {
1040 - * // An optional string prop named "description".
1041 - * description: Props.string,
1042 - *
1043 - * // A required enum prop named "category".
1044 - * category: Props.oneOf(['News','Photos']).isRequired,
1045 - *
1046 - * // A prop named "dialog" that requires an instance of Dialog.
1047 - * dialog: Props.instanceOf(Dialog).isRequired
1048 - * },
1049 - * render: function() { ... }
1050 - * });
1051 - *
1052 - * A more formal specification of how these methods are used:
1053 - *
1054 - * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
1055 - * decl := ReactPropTypes.{type}(.isRequired)?
1056 - *
1057 - * Each and every declaration produces a function with the same signature. This
1058 - * allows the creation of custom validation functions. For example:
1059 - *
1060 - * var MyLink = React.createClass({
1061 - * propTypes: {
1062 - * // An optional string or URI prop named "href".
1063 - * href: function(props, propName, componentName) {
1064 - * var propValue = props[propName];
1065 - * if (propValue != null && typeof propValue !== 'string' &&
1066 - * !(propValue instanceof URI)) {
1067 - * return new Error(
1068 - * 'Expected a string or an URI for ' + propName + ' in ' +
1069 - * componentName
1070 - * );
1071 - * }
1072 - * }
1073 - * },
1074 - * render: function() {...}
1075 - * });
1076 - *
1077 - * @internal
1078 - */
1079 - var ANONYMOUS = "<<anonymous>>";
1080 - var ReactPropTypes = {
1081 - array: createPrimitiveTypeChecker("array"),
1082 - bigint: createPrimitiveTypeChecker("bigint"),
1083 - bool: createPrimitiveTypeChecker("boolean"),
1084 - func: createPrimitiveTypeChecker("function"),
1085 - number: createPrimitiveTypeChecker("number"),
1086 - object: createPrimitiveTypeChecker("object"),
1087 - string: createPrimitiveTypeChecker("string"),
1088 - symbol: createPrimitiveTypeChecker("symbol"),
1089 - any: createAnyTypeChecker(),
1090 - arrayOf: createArrayOfTypeChecker,
1091 - element: createElementTypeChecker(),
1092 - elementType: createElementTypeTypeChecker(),
1093 - instanceOf: createInstanceTypeChecker,
1094 - node: createNodeChecker(),
1095 - objectOf: createObjectOfTypeChecker,
1096 - oneOf: createEnumTypeChecker,
1097 - oneOfType: createUnionTypeChecker,
1098 - shape: createShapeTypeChecker,
1099 - exact: createStrictShapeTypeChecker
1100 - };
1101 - /**
1102 - * inlined Object.is polyfill to avoid requiring consumers ship their own
1103 - * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
1104 - */
1105 - function is(x, y) {
1106 - if (x === y) return x !== 0 || 1 / x === 1 / y;
1107 - else return x !== x && y !== y;
1108 - }
1109 - /**
1110 - * We use an Error-like object for backward compatibility as people may call
1111 - * PropTypes directly and inspect their output. However, we don't use real
1112 - * Errors anymore. We don't inspect their stack anyway, and creating them
1113 - * is prohibitively expensive if they are created too often, such as what
1114 - * happens in oneOfType() for any type before the one that matched.
1115 - */
1116 - function PropTypeError(message, data) {
1117 - this.message = message;
1118 - this.data = data && typeof data === "object" ? data : {};
1119 - this.stack = "";
1120 - }
1121 - PropTypeError.prototype = Error.prototype;
1122 - function createChainableTypeChecker(validate) {
1123 - var manualPropTypeCallCache = {};
1124 - var manualPropTypeWarningCount = 0;
1125 - function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
1126 - componentName = componentName || ANONYMOUS;
1127 - propFullName = propFullName || propName;
1128 - if (secret !== ReactPropTypesSecret) {
1129 - if (throwOnDirectAccess) {
1130 - var err = /* @__PURE__ */ new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");
1131 - err.name = "Invariant Violation";
1132 - throw err;
1133 - } else if (typeof console !== "undefined") {
1134 - var cacheKey = componentName + ":" + propName;
1135 - if (!manualPropTypeCallCache[cacheKey] && manualPropTypeWarningCount < 3) {
1136 - printWarning("You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.");
1137 - manualPropTypeCallCache[cacheKey] = true;
1138 - manualPropTypeWarningCount++;
1139 - }
1140 - }
1141 - }
1142 - if (props[propName] == null) {
1143 - if (isRequired) {
1144 - if (props[propName] === null) return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
1145 - return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
1146 - }
1147 - return null;
1148 - } else return validate(props, propName, componentName, location, propFullName);
1149 - }
1150 - var chainedCheckType = checkType.bind(null, false);
1151 - chainedCheckType.isRequired = checkType.bind(null, true);
1152 - return chainedCheckType;
1153 - }
1154 - function createPrimitiveTypeChecker(expectedType) {
1155 - function validate(props, propName, componentName, location, propFullName, secret) {
1156 - var propValue = props[propName];
1157 - if (getPropType(propValue) !== expectedType) {
1158 - var preciseType = getPreciseType(propValue);
1159 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."), { expectedType });
1160 - }
1161 - return null;
1162 - }
1163 - return createChainableTypeChecker(validate);
1164 - }
1165 - function createAnyTypeChecker() {
1166 - return createChainableTypeChecker(emptyFunctionThatReturnsNull);
1167 - }
1168 - function createArrayOfTypeChecker(typeChecker) {
1169 - function validate(props, propName, componentName, location, propFullName) {
1170 - if (typeof typeChecker !== "function") return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
1171 - var propValue = props[propName];
1172 - if (!Array.isArray(propValue)) {
1173 - var propType = getPropType(propValue);
1174 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
1175 - }
1176 - for (var i = 0; i < propValue.length; i++) {
1177 - var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
1178 - if (error instanceof Error) return error;
1179 - }
1180 - return null;
1181 - }
1182 - return createChainableTypeChecker(validate);
1183 - }
1184 - function createElementTypeChecker() {
1185 - function validate(props, propName, componentName, location, propFullName) {
1186 - var propValue = props[propName];
1187 - if (!isValidElement(propValue)) {
1188 - var propType = getPropType(propValue);
1189 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
1190 - }
1191 - return null;
1192 - }
1193 - return createChainableTypeChecker(validate);
1194 - }
1195 - function createElementTypeTypeChecker() {
1196 - function validate(props, propName, componentName, location, propFullName) {
1197 - var propValue = props[propName];
1198 - if (!ReactIs.isValidElementType(propValue)) {
1199 - var propType = getPropType(propValue);
1200 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
1201 - }
1202 - return null;
1203 - }
1204 - return createChainableTypeChecker(validate);
1205 - }
1206 - function createInstanceTypeChecker(expectedClass) {
1207 - function validate(props, propName, componentName, location, propFullName) {
1208 - if (!(props[propName] instanceof expectedClass)) {
1209 - var expectedClassName = expectedClass.name || ANONYMOUS;
1210 - var actualClassName = getClassName(props[propName]);
1211 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
1212 - }
1213 - return null;
1214 - }
1215 - return createChainableTypeChecker(validate);
1216 - }
1217 - function createEnumTypeChecker(expectedValues) {
1218 - if (!Array.isArray(expectedValues)) {
1219 - if (arguments.length > 1) printWarning("Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).");
1220 - else printWarning("Invalid argument supplied to oneOf, expected an array.");
1221 - return emptyFunctionThatReturnsNull;
1222 - }
1223 - function validate(props, propName, componentName, location, propFullName) {
1224 - var propValue = props[propName];
1225 - for (var i = 0; i < expectedValues.length; i++) if (is(propValue, expectedValues[i])) return null;
1226 - var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
1227 - if (getPreciseType(value) === "symbol") return String(value);
1228 - return value;
1229 - });
1230 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
1231 - }
1232 - return createChainableTypeChecker(validate);
1233 - }
1234 - function createObjectOfTypeChecker(typeChecker) {
1235 - function validate(props, propName, componentName, location, propFullName) {
1236 - if (typeof typeChecker !== "function") return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
1237 - var propValue = props[propName];
1238 - var propType = getPropType(propValue);
1239 - if (propType !== "object") return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
1240 - for (var key in propValue) if (has(propValue, key)) {
1241 - var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
1242 - if (error instanceof Error) return error;
1243 - }
1244 - return null;
1245 - }
1246 - return createChainableTypeChecker(validate);
1247 - }
1248 - function createUnionTypeChecker(arrayOfTypeCheckers) {
1249 - if (!Array.isArray(arrayOfTypeCheckers)) {
1250 - printWarning("Invalid argument supplied to oneOfType, expected an instance of array.");
1251 - return emptyFunctionThatReturnsNull;
1252 - }
1253 - for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1254 - var checker = arrayOfTypeCheckers[i];
1255 - if (typeof checker !== "function") {
1256 - printWarning("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + ".");
1257 - return emptyFunctionThatReturnsNull;
1258 - }
1259 - }
1260 - function validate(props, propName, componentName, location, propFullName) {
1261 - var expectedTypes = [];
1262 - for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1263 - var checker = arrayOfTypeCheckers[i];
1264 - var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
1265 - if (checkerResult == null) return null;
1266 - if (checkerResult.data && has(checkerResult.data, "expectedType")) expectedTypes.push(checkerResult.data.expectedType);
1267 - }
1268 - var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
1269 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
1270 - }
1271 - return createChainableTypeChecker(validate);
1272 - }
1273 - function createNodeChecker() {
1274 - function validate(props, propName, componentName, location, propFullName) {
1275 - if (!isNode(props[propName])) return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
1276 - return null;
1277 - }
1278 - return createChainableTypeChecker(validate);
1279 - }
1280 - function invalidValidatorError(componentName, location, propFullName, key, type) {
1281 - return new PropTypeError((componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`.");
1282 - }
1283 - function createShapeTypeChecker(shapeTypes) {
1284 - function validate(props, propName, componentName, location, propFullName) {
1285 - var propValue = props[propName];
1286 - var propType = getPropType(propValue);
1287 - if (propType !== "object") return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
1288 - for (var key in shapeTypes) {
1289 - var checker = shapeTypes[key];
1290 - if (typeof checker !== "function") return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1291 - var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
1292 - if (error) return error;
1293 - }
1294 - return null;
1295 - }
1296 - return createChainableTypeChecker(validate);
1297 - }
1298 - function createStrictShapeTypeChecker(shapeTypes) {
1299 - function validate(props, propName, componentName, location, propFullName) {
1300 - var propValue = props[propName];
1301 - var propType = getPropType(propValue);
1302 - if (propType !== "object") return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
1303 - for (var key in assign({}, props[propName], shapeTypes)) {
1304 - var checker = shapeTypes[key];
1305 - if (has(shapeTypes, key) && typeof checker !== "function") return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1306 - if (!checker) return new PropTypeError("Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " "));
1307 - var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
1308 - if (error) return error;
1309 - }
1310 - return null;
1311 - }
1312 - return createChainableTypeChecker(validate);
1313 - }
1314 - function isNode(propValue) {
1315 - switch (typeof propValue) {
1316 - case "number":
1317 - case "string":
1318 - case "undefined": return true;
1319 - case "boolean": return !propValue;
1320 - case "object":
1321 - if (Array.isArray(propValue)) return propValue.every(isNode);
1322 - if (propValue === null || isValidElement(propValue)) return true;
1323 - var iteratorFn = getIteratorFn(propValue);
1324 - if (iteratorFn) {
1325 - var iterator = iteratorFn.call(propValue);
1326 - var step;
1327 - if (iteratorFn !== propValue.entries) {
1328 - while (!(step = iterator.next()).done) if (!isNode(step.value)) return false;
1329 - } else while (!(step = iterator.next()).done) {
1330 - var entry = step.value;
1331 - if (entry) {
1332 - if (!isNode(entry[1])) return false;
1333 - }
1334 - }
1335 - } else return false;
1336 - return true;
1337 - default: return false;
1338 - }
1339 - }
1340 - function isSymbol(propType, propValue) {
1341 - if (propType === "symbol") return true;
1342 - if (!propValue) return false;
1343 - if (propValue["@@toStringTag"] === "Symbol") return true;
1344 - if (typeof Symbol === "function" && propValue instanceof Symbol) return true;
1345 - return false;
1346 - }
1347 - function getPropType(propValue) {
1348 - var propType = typeof propValue;
1349 - if (Array.isArray(propValue)) return "array";
1350 - if (propValue instanceof RegExp) return "object";
1351 - if (isSymbol(propType, propValue)) return "symbol";
1352 - return propType;
1353 - }
1354 - function getPreciseType(propValue) {
1355 - if (typeof propValue === "undefined" || propValue === null) return "" + propValue;
1356 - var propType = getPropType(propValue);
1357 - if (propType === "object") {
1358 - if (propValue instanceof Date) return "date";
1359 - else if (propValue instanceof RegExp) return "regexp";
1360 - }
1361 - return propType;
1362 - }
1363 - function getPostfixForTypeWarning(value) {
1364 - var type = getPreciseType(value);
1365 - switch (type) {
1366 - case "array":
1367 - case "object": return "an " + type;
1368 - case "boolean":
1369 - case "date":
1370 - case "regexp": return "a " + type;
1371 - default: return type;
1372 - }
1373 - }
1374 - function getClassName(propValue) {
1375 - if (!propValue.constructor || !propValue.constructor.name) return ANONYMOUS;
1376 - return propValue.constructor.name;
1377 - }
1378 - ReactPropTypes.checkPropTypes = checkPropTypes;
1379 - ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1380 - ReactPropTypes.PropTypes = ReactPropTypes;
1381 - return ReactPropTypes;
1382 - };
1383 - }));
1882 + * Resets warning cache when testing.
1883 + *
1884 + * @private
1885 + */
1886 +checkPropTypes.resetWarningCache = function() {
1887 + if (true) {
1888 + loggedTypeFailures = {};
1889 + }
1890 +}
1384 1891
1385 -//#endregion
1386 -//#region node_modules/prop-types/index.js
1387 - var require_prop_types = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1388 - var ReactIs = require_react_is();
1389 - var throwOnDirectAccess = true;
1390 - module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
1391 - }));
1892 +module.exports = checkPropTypes;
1392 1893
1393 -//#endregion
1394 -//#region modules/announcements/assets/js/components/Announcements.js
1395 - var import_prop_types = /* @__PURE__ */ __toESM(require_prop_types());
1396 - function ownKeys$1(e, r) {
1397 - var t = Object.keys(e);
1398 - if (Object.getOwnPropertySymbols) {
1399 - var o = Object.getOwnPropertySymbols(e);
1400 - r && (o = o.filter(function(r) {
1401 - return Object.getOwnPropertyDescriptor(e, r).enumerable;
1402 - })), t.push.apply(t, o);
1403 - }
1404 - return t;
1405 - }
1406 - __name(ownKeys$1, "ownKeys");
1407 - function _objectSpread$1(e) {
1408 - for (var r = 1; r < arguments.length; r++) {
1409 - var t = null != arguments[r] ? arguments[r] : {};
1410 - r % 2 ? ownKeys$1(Object(t), !0).forEach(function(r) {
1411 - _defineProperty(e, r, t[r]);
1412 - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r) {
1413 - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
1414 - });
1415 - }
1416 - return e;
1417 - }
1418 - __name(_objectSpread$1, "_objectSpread");
1419 - function Announcements(props) {
1420 - var announcements = props.announcements;
1421 - var unMount = props.unMount;
1422 - var _useState2 = _slicedToArray((0, react.useState)(0), 2);
1423 - var currentAnnouncement = _useState2[0];
1424 - var setCurrentAnnouncement = _useState2[1];
1425 - var announcementTitle = Object.values(announcements)[0].title || "";
1426 - (0, react.useEffect)(function() {
1427 - var timer = setTimeout(function() {
1428 - eventTrackingHandle("impression", {
1429 - event_name: "element_impression",
1430 - element_type: "popup",
1431 - eventNonInteraction: 1
1432 - });
1433 - }, 200);
1434 - return function() {
1435 - return clearTimeout(timer);
1436 - };
1437 - }, [announcements]);
1438 - var onCloseHandle = function onCloseHandle(eventName) {
1439 - eventTrackingHandle(eventName, {
1440 - event_name: "element_click",
1441 - element_type: "button"
1442 - });
1443 - announcements.shift();
1444 - if (0 === announcements.length) return unMount();
1445 - setCurrentAnnouncement(currentAnnouncement + 1);
1446 - };
1447 - var eventTrackingHandle = function eventTrackingHandle(eventName, additionalArgs) {
1448 - var eventArgs = _objectSpread$1(_objectSpread$1({}, {
1449 - event: "fireEvent",
1450 - eventCategory: "editor",
1451 - eventAction: "whats new popup",
1452 - eventLabel: eventName,
1453 - eventLabel2: announcementTitle,
1454 - event_action: eventName,
1455 - event_location: "popup",
1456 - event_context: "whats new",
1457 - event_subcontext: announcementTitle,
1458 - element_id: "e-announcements-root"
1459 - }), additionalArgs);
1460 - appsEventTrackingDispatch("announcement/".concat(eventName), eventArgs);
1461 - };
1462 - return /*#__PURE__*/ react.default.createElement("div", { className: "announcements-container" }, /*#__PURE__*/ react.default.createElement(AnnouncementsHeader, { onClose: onCloseHandle }), /*#__PURE__*/ react.default.createElement(Announcement, {
1463 - key: "announcement-".concat(currentAnnouncement),
1464 - announcement: announcements[0],
1465 - onClose: onCloseHandle
1466 - }));
1467 - }
1468 - Announcements.propTypes = {
1469 - announcements: import_prop_types.default.oneOfType([import_prop_types.default.array, import_prop_types.default.object]).isRequired,
1470 - unMount: import_prop_types.default.func.isRequired
1471 - };
1472 1894
1473 -//#endregion
1474 -//#region node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
1475 - function _objectWithoutPropertiesLoose(r, e) {
1476 - if (null == r) return {};
1477 - var t = {};
1478 - for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
1479 - if (-1 !== e.indexOf(n)) continue;
1480 - t[n] = r[n];
1481 - }
1482 - return t;
1483 - }
1895 +/***/ }),
1484 1896
1485 -//#endregion
1486 -//#region node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
1487 - function _objectWithoutProperties(e, t) {
1488 - if (null == e) return {};
1489 - var o;
1490 - var r;
1491 - var i = _objectWithoutPropertiesLoose(e, t);
1492 - if (Object.getOwnPropertySymbols) {
1493 - var n = Object.getOwnPropertySymbols(e);
1494 - for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
1495 - }
1496 - return i;
1497 - }
1897 +/***/ "../node_modules/prop-types/factoryWithTypeCheckers.js":
1898 +/*!*************************************************************!*\
1899 + !*** ../node_modules/prop-types/factoryWithTypeCheckers.js ***!
1900 + \*************************************************************/
1901 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1498 1902
1499 -//#endregion
1500 -//#region modules/announcements/assets/js/components/Announcement.js
1501 - var _excluded = ["cta"];
1502 - function Announcement(props) {
1503 - var announcement = props.announcement;
1504 - var onClose = props.onClose;
1505 - var cta = announcement.cta;
1506 - var announcementContent = _objectWithoutProperties(announcement, _excluded);
1507 - return /*#__PURE__*/ react.default.createElement("div", { className: "announcement-item" }, /*#__PURE__*/ react.default.createElement(AnnouncementBody, { announcement: announcementContent }), /*#__PURE__*/ react.default.createElement(AnnouncementFooter, {
1508 - buttons: cta,
1509 - onClose
1510 - }));
1511 - }
1512 - Announcement.propTypes = {
1513 - announcement: import_prop_types.default.object.isRequired,
1514 - onClose: import_prop_types.default.func.isRequired
1515 - };
1903 +"use strict";
1904 +/**
1905 + * Copyright (c) 2013-present, Facebook, Inc.
1906 + *
1907 + * This source code is licensed under the MIT license found in the
1908 + * LICENSE file in the root directory of this source tree.
1909 + */
1516 1910
1517 -//#endregion
1518 -//#region modules/announcements/assets/js/components/AnnouncementsHeader.js
1519 - function AnnouncementsHeader(props) {
1520 - var onClose = props.onClose;
1521 - return /*#__PURE__*/ react.default.createElement("div", { className: "announcements-heading-container" }, /*#__PURE__*/ react.default.createElement("i", {
1522 - className: "eicon-elementor",
1523 - "aria-hidden": "true"
1524 - }), /*#__PURE__*/ react.default.createElement("span", { className: "heading-title" }, (0, _wordpress_i18n.__)("Notifications", "elementor")), /*#__PURE__*/ react.default.createElement("button", {
1525 - className: "close-button",
1526 - onClick: function onClick() {
1527 - return onClose("close");
1528 - }
1529 - }, /*#__PURE__*/ react.default.createElement("i", {
1530 - className: "eicon-close",
1531 - "aria-hidden": "true"
1532 - })));
1533 - }
1534 - AnnouncementsHeader.propTypes = { onClose: import_prop_types.default.func.isRequired };
1535 1911
1536 -//#endregion
1537 -//#region modules/announcements/assets/js/components/AnnouncementBody.js
1538 - function AnnouncementBody(props) {
1539 - var _props$announcement = props.announcement;
1540 - var title = _props$announcement.title;
1541 - var description = _props$announcement.description;
1542 - var media = _props$announcement.media;
1543 - return /*#__PURE__*/ react.default.createElement("div", { className: "announcement-body-container" }, "image" === media.type && /*#__PURE__*/ react.default.createElement("div", { className: "announcement-body-media announcement-body-".concat(media.type) }, /*#__PURE__*/ react.default.createElement("img", {
1544 - src: media.src,
1545 - alt: "Announcement"
1546 - })), /*#__PURE__*/ react.default.createElement("div", { className: "announcement-body-content" }, /*#__PURE__*/ react.default.createElement("div", { className: "announcement-body-title" }, title), /*#__PURE__*/ react.default.createElement("div", {
1547 - className: "announcement-body-description",
1548 - dangerouslySetInnerHTML: { __html: description }
1549 - })));
1550 - }
1551 - AnnouncementBody.propTypes = { announcement: import_prop_types.default.object.isRequired };
1552 1912
1553 -//#endregion
1554 -//#region modules/announcements/assets/js/components/AnnouncementFooter.js
1555 - function AnnouncementFooter(props) {
1556 - var buttons = props.buttons;
1557 - var onClose = props.onClose;
1558 - return /*#__PURE__*/ react.default.createElement("div", { className: "announcement-footer-container" }, Object.values(buttons).map(function(button, index) {
1559 - return /*#__PURE__*/ react.default.createElement("a", {
1560 - key: "button".concat(index),
1561 - className: "button-item ".concat(button.variant),
1562 - href: button.url,
1563 - target: button.target,
1564 - onClick: function onClick() {
1565 - return onClose("cta");
1566 - }
1567 - }, button.label);
1568 - }));
1569 - }
1570 - AnnouncementFooter.propTypes = {
1571 - buttons: import_prop_types.default.oneOfType([import_prop_types.default.array, import_prop_types.default.object]),
1572 - onClose: import_prop_types.default.func.isRequired
1573 - };
1913 +var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js");
1914 +var assign = __webpack_require__(/*! object-assign */ "../node_modules/object-assign/index.js");
1574 1915
1575 -//#endregion
1576 -//#region modules/announcements/assets/js/components/Overlay.js
1577 - function Overlay() {
1578 - return /*#__PURE__*/ react.default.createElement("div", { className: "announcements-screen-overlay" });
1579 - }
1916 +var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
1917 +var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
1918 +var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../node_modules/prop-types/checkPropTypes.js");
1580 1919
1581 -//#endregion
1582 -//#region node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
1583 - function _assertThisInitialized(e) {
1584 - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1585 - return e;
1586 - }
1920 +var printWarning = function() {};
1587 1921
1588 -//#endregion
1589 -//#region node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
1590 - function _possibleConstructorReturn(t, e) {
1591 - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
1592 - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
1593 - return _assertThisInitialized(t);
1594 - }
1922 +if (true) {
1923 + printWarning = function(text) {
1924 + var message = 'Warning: ' + text;
1925 + if (typeof console !== 'undefined') {
1926 + console.error(message);
1927 + }
1928 + try {
1929 + // --- Welcome to debugging React ---
1930 + // This error was thrown as a convenience so that you can use this stack
1931 + // to find the callsite that caused this warning to fire.
1932 + throw new Error(message);
1933 + } catch (x) {}
1934 + };
1935 +}
1595 1936
1596 -//#endregion
1597 -//#region node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
1598 - function _getPrototypeOf(t) {
1599 - return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
1600 - return t.__proto__ || Object.getPrototypeOf(t);
1601 - }, _getPrototypeOf(t);
1602 - }
1937 +function emptyFunctionThatReturnsNull() {
1938 + return null;
1939 +}
1603 1940
1604 -//#endregion
1605 -//#region node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
1606 - function _setPrototypeOf(t, e) {
1607 - return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
1608 - return t.__proto__ = e, t;
1609 - }, _setPrototypeOf(t, e);
1610 - }
1941 +module.exports = function(isValidElement, throwOnDirectAccess) {
1942 + /* global Symbol */
1943 + var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
1944 + var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
1611 1945
1612 -//#endregion
1613 -//#region node_modules/@babel/runtime/helpers/esm/inherits.js
1614 - function _inherits(t, e) {
1615 - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
1616 - t.prototype = Object.create(e && e.prototype, { constructor: {
1617 - value: t,
1618 - writable: !0,
1619 - configurable: !0
1620 - } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e);
1621 - }
1946 + /**
1947 + * Returns the iterator method function contained on the iterable object.
1948 + *
1949 + * Be sure to invoke the function with the iterable as context:
1950 + *
1951 + * var iteratorFn = getIteratorFn(myIterable);
1952 + * if (iteratorFn) {
1953 + * var iterator = iteratorFn.call(myIterable);
1954 + * ...
1955 + * }
1956 + *
1957 + * @param {?object} maybeIterable
1958 + * @return {?function}
1959 + */
1960 + function getIteratorFn(maybeIterable) {
1961 + var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
1962 + if (typeof iteratorFn === 'function') {
1963 + return iteratorFn;
1964 + }
1965 + }
1622 1966
1623 -//#endregion
1624 -//#region modules/announcements/assets/js/e-component.js
1625 - function ownKeys(e, r) {
1626 - var t = Object.keys(e);
1627 - if (Object.getOwnPropertySymbols) {
1628 - var o = Object.getOwnPropertySymbols(e);
1629 - r && (o = o.filter(function(r) {
1630 - return Object.getOwnPropertyDescriptor(e, r).enumerable;
1631 - })), t.push.apply(t, o);
1632 - }
1633 - return t;
1634 - }
1635 - function _objectSpread(e) {
1636 - for (var r = 1; r < arguments.length; r++) {
1637 - var t = null != arguments[r] ? arguments[r] : {};
1638 - r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
1639 - _defineProperty(e, r, t[r]);
1640 - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
1641 - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
1642 - });
1643 - }
1644 - return e;
1645 - }
1646 - function _callSuper(t, o, e) {
1647 - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
1648 - }
1649 - function _isNativeReflectConstruct() {
1650 - try {
1651 - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1652 - } catch (t) {}
1653 - return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
1654 - return !!t;
1655 - })();
1656 - }
1657 - var EComponent = /*#__PURE__*/ function(_$e$modules$Component) {
1658 - function EComponent() {
1659 - _classCallCheck(this, EComponent);
1660 - return _callSuper(this, EComponent, arguments);
1661 - }
1662 - _inherits(EComponent, _$e$modules$Component);
1663 - return _createClass(EComponent, [{
1664 - key: "getNamespace",
1665 - value: function getNamespace() {
1666 - return "announcement";
1667 - }
1668 - }, {
1669 - key: "defaultCommands",
1670 - value: function defaultCommands() {
1671 - return [
1672 - "close",
1673 - "cta",
1674 - "impression"
1675 - ].reduce(function(allCommands, command) {
1676 - return _objectSpread(_objectSpread({}, allCommands), {}, _defineProperty({}, command, function() {}));
1677 - }, {});
1678 - }
1679 - }]);
1680 - }($e.modules.ComponentBase);
1967 + /**
1968 + * Collection of methods that allow declaration and validation of props that are
1969 + * supplied to React components. Example usage:
1970 + *
1971 + * var Props = require('ReactPropTypes');
1972 + * var MyArticle = React.createClass({
1973 + * propTypes: {
1974 + * // An optional string prop named "description".
1975 + * description: Props.string,
1976 + *
1977 + * // A required enum prop named "category".
1978 + * category: Props.oneOf(['News','Photos']).isRequired,
1979 + *
1980 + * // A prop named "dialog" that requires an instance of Dialog.
1981 + * dialog: Props.instanceOf(Dialog).isRequired
1982 + * },
1983 + * render: function() { ... }
1984 + * });
1985 + *
1986 + * A more formal specification of how these methods are used:
1987 + *
1988 + * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
1989 + * decl := ReactPropTypes.{type}(.isRequired)?
1990 + *
1991 + * Each and every declaration produces a function with the same signature. This
1992 + * allows the creation of custom validation functions. For example:
1993 + *
1994 + * var MyLink = React.createClass({
1995 + * propTypes: {
1996 + * // An optional string or URI prop named "href".
1997 + * href: function(props, propName, componentName) {
1998 + * var propValue = props[propName];
1999 + * if (propValue != null && typeof propValue !== 'string' &&
2000 + * !(propValue instanceof URI)) {
2001 + * return new Error(
2002 + * 'Expected a string or an URI for ' + propName + ' in ' +
2003 + * componentName
2004 + * );
2005 + * }
2006 + * }
2007 + * },
2008 + * render: function() {...}
2009 + * });
2010 + *
2011 + * @internal
2012 + */
1681 2013
1682 -//#endregion
1683 -//#region modules/announcements/assets/js/index.js
1684 - var AnnouncementIndex = /*#__PURE__*/ function() {
1685 - function AnnouncementIndex() {
1686 - _classCallCheck(this, AnnouncementIndex);
1687 - this.initAnnouncement();
1688 - }
1689 - return _createClass(AnnouncementIndex, [{
1690 - key: "initAnnouncement",
1691 - value: function() {
1692 - var _initAnnouncement = _asyncToGenerator(/*#__PURE__*/ import_regenerator.default.mark(function _callee() {
1693 - var _window$elementorAnno;
1694 - var container;
1695 - var announcements;
1696 - var _ReactUtils$render;
1697 - var unmount;
1698 - return import_regenerator.default.wrap(function(_context) {
1699 - while (1) switch (_context.prev = _context.next) {
1700 - case 0:
1701 - container = document.getElementById("e-announcements-root");
1702 - announcements = (_window$elementorAnno = window.elementorAnnouncementsConfig) === null || _window$elementorAnno === void 0 ? void 0 : _window$elementorAnno.announcements;
1703 - if (!(!announcements || !container)) {
1704 - _context.next = 1;
1705 - break;
1706 - }
1707 - return _context.abrupt("return");
1708 - case 1:
1709 - _context.next = 2;
1710 - return $e.components.register(new EComponent());
1711 - case 2: _ReactUtils$render = react_default.render(/*#__PURE__*/ react.default.createElement(react.default.Fragment, null, /*#__PURE__*/ react.default.createElement(Overlay, null), /*#__PURE__*/ react.default.createElement(Announcements, {
1712 - announcements,
1713 - unMount: function unMount() {
1714 - unmount();
1715 - container.remove();
1716 - }
1717 - })), container), unmount = _ReactUtils$render.unmount;
1718 - case 3:
1719 - case "end": return _context.stop();
1720 - }
1721 - }, _callee);
1722 - }));
1723 - function initAnnouncement() {
1724 - return _initAnnouncement.apply(this, arguments);
1725 - }
1726 - return initAnnouncement;
1727 - }()
1728 - }]);
1729 - }();
1730 - new AnnouncementIndex();
2014 + var ANONYMOUS = '<<anonymous>>';
1731 2015
1732 -//#endregion
1733 -})(React, ReactDOM, wp.i18n);
2016 + // Important!
2017 + // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
2018 + var ReactPropTypes = {
2019 + array: createPrimitiveTypeChecker('array'),
2020 + bigint: createPrimitiveTypeChecker('bigint'),
2021 + bool: createPrimitiveTypeChecker('boolean'),
2022 + func: createPrimitiveTypeChecker('function'),
2023 + number: createPrimitiveTypeChecker('number'),
2024 + object: createPrimitiveTypeChecker('object'),
2025 + string: createPrimitiveTypeChecker('string'),
2026 + symbol: createPrimitiveTypeChecker('symbol'),
2027 +
2028 + any: createAnyTypeChecker(),
2029 + arrayOf: createArrayOfTypeChecker,
2030 + element: createElementTypeChecker(),
2031 + elementType: createElementTypeTypeChecker(),
2032 + instanceOf: createInstanceTypeChecker,
2033 + node: createNodeChecker(),
2034 + objectOf: createObjectOfTypeChecker,
2035 + oneOf: createEnumTypeChecker,
2036 + oneOfType: createUnionTypeChecker,
2037 + shape: createShapeTypeChecker,
2038 + exact: createStrictShapeTypeChecker,
2039 + };
2040 +
2041 + /**
2042 + * inlined Object.is polyfill to avoid requiring consumers ship their own
2043 + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
2044 + */
2045 + /*eslint-disable no-self-compare*/
2046 + function is(x, y) {
2047 + // SameValue algorithm
2048 + if (x === y) {
2049 + // Steps 1-5, 7-10
2050 + // Steps 6.b-6.e: +0 != -0
2051 + return x !== 0 || 1 / x === 1 / y;
2052 + } else {
2053 + // Step 6.a: NaN == NaN
2054 + return x !== x && y !== y;
2055 + }
2056 + }
2057 + /*eslint-enable no-self-compare*/
2058 +
2059 + /**
2060 + * We use an Error-like object for backward compatibility as people may call
2061 + * PropTypes directly and inspect their output. However, we don't use real
2062 + * Errors anymore. We don't inspect their stack anyway, and creating them
2063 + * is prohibitively expensive if they are created too often, such as what
2064 + * happens in oneOfType() for any type before the one that matched.
2065 + */
2066 + function PropTypeError(message, data) {
2067 + this.message = message;
2068 + this.data = data && typeof data === 'object' ? data: {};
2069 + this.stack = '';
2070 + }
2071 + // Make `instanceof Error` still work for returned errors.
2072 + PropTypeError.prototype = Error.prototype;
2073 +
2074 + function createChainableTypeChecker(validate) {
2075 + if (true) {
2076 + var manualPropTypeCallCache = {};
2077 + var manualPropTypeWarningCount = 0;
2078 + }
2079 + function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
2080 + componentName = componentName || ANONYMOUS;
2081 + propFullName = propFullName || propName;
2082 +
2083 + if (secret !== ReactPropTypesSecret) {
2084 + if (throwOnDirectAccess) {
2085 + // New behavior only for users of `prop-types` package
2086 + var err = new Error(
2087 + 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
2088 + 'Use `PropTypes.checkPropTypes()` to call them. ' +
2089 + 'Read more at http://fb.me/use-check-prop-types'
2090 + );
2091 + err.name = 'Invariant Violation';
2092 + throw err;
2093 + } else if ( true && typeof console !== 'undefined') {
2094 + // Old behavior for people using React.PropTypes
2095 + var cacheKey = componentName + ':' + propName;
2096 + if (
2097 + !manualPropTypeCallCache[cacheKey] &&
2098 + // Avoid spamming the console because they are often not actionable except for lib authors
2099 + manualPropTypeWarningCount < 3
2100 + ) {
2101 + printWarning(
2102 + 'You are manually calling a React.PropTypes validation ' +
2103 + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
2104 + 'and will throw in the standalone `prop-types` package. ' +
2105 + 'You may be seeing this warning due to a third-party PropTypes ' +
2106 + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
2107 + );
2108 + manualPropTypeCallCache[cacheKey] = true;
2109 + manualPropTypeWarningCount++;
2110 + }
2111 + }
2112 + }
2113 + if (props[propName] == null) {
2114 + if (isRequired) {
2115 + if (props[propName] === null) {
2116 + return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
2117 + }
2118 + return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
2119 + }
2120 + return null;
2121 + } else {
2122 + return validate(props, propName, componentName, location, propFullName);
2123 + }
2124 + }
2125 +
2126 + var chainedCheckType = checkType.bind(null, false);
2127 + chainedCheckType.isRequired = checkType.bind(null, true);
2128 +
2129 + return chainedCheckType;
2130 + }
2131 +
2132 + function createPrimitiveTypeChecker(expectedType) {
2133 + function validate(props, propName, componentName, location, propFullName, secret) {
2134 + var propValue = props[propName];
2135 + var propType = getPropType(propValue);
2136 + if (propType !== expectedType) {
2137 + // `propValue` being instance of, say, date/regexp, pass the 'object'
2138 + // check, but we can offer a more precise error message here rather than
2139 + // 'of type `object`'.
2140 + var preciseType = getPreciseType(propValue);
2141 +
2142 + return new PropTypeError(
2143 + 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
2144 + {expectedType: expectedType}
2145 + );
2146 + }
2147 + return null;
2148 + }
2149 + return createChainableTypeChecker(validate);
2150 + }
2151 +
2152 + function createAnyTypeChecker() {
2153 + return createChainableTypeChecker(emptyFunctionThatReturnsNull);
2154 + }
2155 +
2156 + function createArrayOfTypeChecker(typeChecker) {
2157 + function validate(props, propName, componentName, location, propFullName) {
2158 + if (typeof typeChecker !== 'function') {
2159 + return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
2160 + }
2161 + var propValue = props[propName];
2162 + if (!Array.isArray(propValue)) {
2163 + var propType = getPropType(propValue);
2164 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
2165 + }
2166 + for (var i = 0; i < propValue.length; i++) {
2167 + var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
2168 + if (error instanceof Error) {
2169 + return error;
2170 + }
2171 + }
2172 + return null;
2173 + }
2174 + return createChainableTypeChecker(validate);
2175 + }
2176 +
2177 + function createElementTypeChecker() {
2178 + function validate(props, propName, componentName, location, propFullName) {
2179 + var propValue = props[propName];
2180 + if (!isValidElement(propValue)) {
2181 + var propType = getPropType(propValue);
2182 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
2183 + }
2184 + return null;
2185 + }
2186 + return createChainableTypeChecker(validate);
2187 + }
2188 +
2189 + function createElementTypeTypeChecker() {
2190 + function validate(props, propName, componentName, location, propFullName) {
2191 + var propValue = props[propName];
2192 + if (!ReactIs.isValidElementType(propValue)) {
2193 + var propType = getPropType(propValue);
2194 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
2195 + }
2196 + return null;
2197 + }
2198 + return createChainableTypeChecker(validate);
2199 + }
2200 +
2201 + function createInstanceTypeChecker(expectedClass) {
2202 + function validate(props, propName, componentName, location, propFullName) {
2203 + if (!(props[propName] instanceof expectedClass)) {
2204 + var expectedClassName = expectedClass.name || ANONYMOUS;
2205 + var actualClassName = getClassName(props[propName]);
2206 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
2207 + }
2208 + return null;
2209 + }
2210 + return createChainableTypeChecker(validate);
2211 + }
2212 +
2213 + function createEnumTypeChecker(expectedValues) {
2214 + if (!Array.isArray(expectedValues)) {
2215 + if (true) {
2216 + if (arguments.length > 1) {
2217 + printWarning(
2218 + 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
2219 + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
2220 + );
2221 + } else {
2222 + printWarning('Invalid argument supplied to oneOf, expected an array.');
2223 + }
2224 + }
2225 + return emptyFunctionThatReturnsNull;
2226 + }
2227 +
2228 + function validate(props, propName, componentName, location, propFullName) {
2229 + var propValue = props[propName];
2230 + for (var i = 0; i < expectedValues.length; i++) {
2231 + if (is(propValue, expectedValues[i])) {
2232 + return null;
2233 + }
2234 + }
2235 +
2236 + var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
2237 + var type = getPreciseType(value);
2238 + if (type === 'symbol') {
2239 + return String(value);
2240 + }
2241 + return value;
2242 + });
2243 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
2244 + }
2245 + return createChainableTypeChecker(validate);
2246 + }
2247 +
2248 + function createObjectOfTypeChecker(typeChecker) {
2249 + function validate(props, propName, componentName, location, propFullName) {
2250 + if (typeof typeChecker !== 'function') {
2251 + return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
2252 + }
2253 + var propValue = props[propName];
2254 + var propType = getPropType(propValue);
2255 + if (propType !== 'object') {
2256 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
2257 + }
2258 + for (var key in propValue) {
2259 + if (has(propValue, key)) {
2260 + var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
2261 + if (error instanceof Error) {
2262 + return error;
2263 + }
2264 + }
2265 + }
2266 + return null;
2267 + }
2268 + return createChainableTypeChecker(validate);
2269 + }
2270 +
2271 + function createUnionTypeChecker(arrayOfTypeCheckers) {
2272 + if (!Array.isArray(arrayOfTypeCheckers)) {
2273 + true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0;
2274 + return emptyFunctionThatReturnsNull;
2275 + }
2276 +
2277 + for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
2278 + var checker = arrayOfTypeCheckers[i];
2279 + if (typeof checker !== 'function') {
2280 + printWarning(
2281 + 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
2282 + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
2283 + );
2284 + return emptyFunctionThatReturnsNull;
2285 + }
2286 + }
2287 +
2288 + function validate(props, propName, componentName, location, propFullName) {
2289 + var expectedTypes = [];
2290 + for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
2291 + var checker = arrayOfTypeCheckers[i];
2292 + var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
2293 + if (checkerResult == null) {
2294 + return null;
2295 + }
2296 + if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
2297 + expectedTypes.push(checkerResult.data.expectedType);
2298 + }
2299 + }
2300 + var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
2301 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
2302 + }
2303 + return createChainableTypeChecker(validate);
2304 + }
2305 +
2306 + function createNodeChecker() {
2307 + function validate(props, propName, componentName, location, propFullName) {
2308 + if (!isNode(props[propName])) {
2309 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
2310 + }
2311 + return null;
2312 + }
2313 + return createChainableTypeChecker(validate);
2314 + }
2315 +
2316 + function invalidValidatorError(componentName, location, propFullName, key, type) {
2317 + return new PropTypeError(
2318 + (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
2319 + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
2320 + );
2321 + }
2322 +
2323 + function createShapeTypeChecker(shapeTypes) {
2324 + function validate(props, propName, componentName, location, propFullName) {
2325 + var propValue = props[propName];
2326 + var propType = getPropType(propValue);
2327 + if (propType !== 'object') {
2328 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
2329 + }
2330 + for (var key in shapeTypes) {
2331 + var checker = shapeTypes[key];
2332 + if (typeof checker !== 'function') {
2333 + return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
2334 + }
2335 + var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
2336 + if (error) {
2337 + return error;
2338 + }
2339 + }
2340 + return null;
2341 + }
2342 + return createChainableTypeChecker(validate);
2343 + }
2344 +
2345 + function createStrictShapeTypeChecker(shapeTypes) {
2346 + function validate(props, propName, componentName, location, propFullName) {
2347 + var propValue = props[propName];
2348 + var propType = getPropType(propValue);
2349 + if (propType !== 'object') {
2350 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
2351 + }
2352 + // We need to check all keys in case some are required but missing from props.
2353 + var allKeys = assign({}, props[propName], shapeTypes);
2354 + for (var key in allKeys) {
2355 + var checker = shapeTypes[key];
2356 + if (has(shapeTypes, key) && typeof checker !== 'function') {
2357 + return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
2358 + }
2359 + if (!checker) {
2360 + return new PropTypeError(
2361 + 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
2362 + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
2363 + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
2364 + );
2365 + }
2366 + var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
2367 + if (error) {
2368 + return error;
2369 + }
2370 + }
2371 + return null;
2372 + }
2373 +
2374 + return createChainableTypeChecker(validate);
2375 + }
2376 +
2377 + function isNode(propValue) {
2378 + switch (typeof propValue) {
2379 + case 'number':
2380 + case 'string':
2381 + case 'undefined':
2382 + return true;
2383 + case 'boolean':
2384 + return !propValue;
2385 + case 'object':
2386 + if (Array.isArray(propValue)) {
2387 + return propValue.every(isNode);
2388 + }
2389 + if (propValue === null || isValidElement(propValue)) {
2390 + return true;
2391 + }
2392 +
2393 + var iteratorFn = getIteratorFn(propValue);
2394 + if (iteratorFn) {
2395 + var iterator = iteratorFn.call(propValue);
2396 + var step;
2397 + if (iteratorFn !== propValue.entries) {
2398 + while (!(step = iterator.next()).done) {
2399 + if (!isNode(step.value)) {
2400 + return false;
2401 + }
2402 + }
2403 + } else {
2404 + // Iterator will provide entry [k,v] tuples rather than values.
2405 + while (!(step = iterator.next()).done) {
2406 + var entry = step.value;
2407 + if (entry) {
2408 + if (!isNode(entry[1])) {
2409 + return false;
2410 + }
2411 + }
2412 + }
2413 + }
2414 + } else {
2415 + return false;
2416 + }
2417 +
2418 + return true;
2419 + default:
2420 + return false;
2421 + }
2422 + }
2423 +
2424 + function isSymbol(propType, propValue) {
2425 + // Native Symbol.
2426 + if (propType === 'symbol') {
2427 + return true;
2428 + }
2429 +
2430 + // falsy value can't be a Symbol
2431 + if (!propValue) {
2432 + return false;
2433 + }
2434 +
2435 + // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
2436 + if (propValue['@@toStringTag'] === 'Symbol') {
2437 + return true;
2438 + }
2439 +
2440 + // Fallback for non-spec compliant Symbols which are polyfilled.
2441 + if (typeof Symbol === 'function' && propValue instanceof Symbol) {
2442 + return true;
2443 + }
2444 +
2445 + return false;
2446 + }
2447 +
2448 + // Equivalent of `typeof` but with special handling for array and regexp.
2449 + function getPropType(propValue) {
2450 + var propType = typeof propValue;
2451 + if (Array.isArray(propValue)) {
2452 + return 'array';
2453 + }
2454 + if (propValue instanceof RegExp) {
2455 + // Old webkits (at least until Android 4.0) return 'function' rather than
2456 + // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
2457 + // passes PropTypes.object.
2458 + return 'object';
2459 + }
2460 + if (isSymbol(propType, propValue)) {
2461 + return 'symbol';
2462 + }
2463 + return propType;
2464 + }
2465 +
2466 + // This handles more types than `getPropType`. Only used for error messages.
2467 + // See `createPrimitiveTypeChecker`.
2468 + function getPreciseType(propValue) {
2469 + if (typeof propValue === 'undefined' || propValue === null) {
2470 + return '' + propValue;
2471 + }
2472 + var propType = getPropType(propValue);
2473 + if (propType === 'object') {
2474 + if (propValue instanceof Date) {
2475 + return 'date';
2476 + } else if (propValue instanceof RegExp) {
2477 + return 'regexp';
2478 + }
2479 + }
2480 + return propType;
2481 + }
2482 +
2483 + // Returns a string that is postfixed to a warning about an invalid type.
2484 + // For example, "undefined" or "of type array"
2485 + function getPostfixForTypeWarning(value) {
2486 + var type = getPreciseType(value);
2487 + switch (type) {
2488 + case 'array':
2489 + case 'object':
2490 + return 'an ' + type;
2491 + case 'boolean':
2492 + case 'date':
2493 + case 'regexp':
2494 + return 'a ' + type;
2495 + default:
2496 + return type;
2497 + }
2498 + }
2499 +
2500 + // Returns class name of the object, if any.
2501 + function getClassName(propValue) {
2502 + if (!propValue.constructor || !propValue.constructor.name) {
2503 + return ANONYMOUS;
2504 + }
2505 + return propValue.constructor.name;
2506 + }
2507 +
2508 + ReactPropTypes.checkPropTypes = checkPropTypes;
2509 + ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
2510 + ReactPropTypes.PropTypes = ReactPropTypes;
2511 +
2512 + return ReactPropTypes;
2513 +};
2514 +
2515 +
2516 +/***/ }),
2517 +
2518 +/***/ "../node_modules/prop-types/index.js":
2519 +/*!*******************************************!*\
2520 + !*** ../node_modules/prop-types/index.js ***!
2521 + \*******************************************/
2522 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2523 +
2524 +/**
2525 + * Copyright (c) 2013-present, Facebook, Inc.
2526 + *
2527 + * This source code is licensed under the MIT license found in the
2528 + * LICENSE file in the root directory of this source tree.
2529 + */
2530 +
2531 +if (true) {
2532 + var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js");
2533 +
2534 + // By explicitly using `prop-types` you are opting into new development behavior.
2535 + // http://fb.me/prop-types-in-prod
2536 + var throwOnDirectAccess = true;
2537 + module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "../node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
2538 +} else // removed by dead control flow
2539 +{}
2540 +
2541 +
2542 +/***/ }),
2543 +
2544 +/***/ "../node_modules/prop-types/lib/ReactPropTypesSecret.js":
2545 +/*!**************************************************************!*\
2546 + !*** ../node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
2547 + \**************************************************************/
2548 +/***/ ((module) => {
2549 +
2550 +"use strict";
2551 +/**
2552 + * Copyright (c) 2013-present, Facebook, Inc.
2553 + *
2554 + * This source code is licensed under the MIT license found in the
2555 + * LICENSE file in the root directory of this source tree.
2556 + */
2557 +
2558 +
2559 +
2560 +var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
2561 +
2562 +module.exports = ReactPropTypesSecret;
2563 +
2564 +
2565 +/***/ }),
2566 +
2567 +/***/ "../node_modules/prop-types/lib/has.js":
2568 +/*!*********************************************!*\
2569 + !*** ../node_modules/prop-types/lib/has.js ***!
2570 + \*********************************************/
2571 +/***/ ((module) => {
2572 +
2573 +module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
2574 +
2575 +
2576 +/***/ }),
2577 +
2578 +/***/ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js":
2579 +/*!************************************************************************************!*\
2580 + !*** ../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js ***!
2581 + \************************************************************************************/
2582 +/***/ ((__unused_webpack_module, exports) => {
2583 +
2584 +"use strict";
2585 +/** @license React v16.13.1
2586 + * react-is.development.js
2587 + *
2588 + * Copyright (c) Facebook, Inc. and its affiliates.
2589 + *
2590 + * This source code is licensed under the MIT license found in the
2591 + * LICENSE file in the root directory of this source tree.
2592 + */
2593 +
2594 +
2595 +
2596 +
2597 +
2598 +if (true) {
2599 + (function() {
2600 +'use strict';
2601 +
2602 +// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
2603 +// nor polyfill, then a plain number is used for performance.
2604 +var hasSymbol = typeof Symbol === 'function' && Symbol.for;
2605 +var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
2606 +var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
2607 +var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
2608 +var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
2609 +var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
2610 +var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
2611 +var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
2612 +// (unstable) APIs that have been removed. Can we remove the symbols?
2613 +
2614 +var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
2615 +var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
2616 +var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
2617 +var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
2618 +var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
2619 +var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
2620 +var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
2621 +var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
2622 +var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
2623 +var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
2624 +var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
2625 +
2626 +function isValidElementType(type) {
2627 + return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2628 + type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
2629 +}
2630 +
2631 +function typeOf(object) {
2632 + if (typeof object === 'object' && object !== null) {
2633 + var $$typeof = object.$$typeof;
2634 +
2635 + switch ($$typeof) {
2636 + case REACT_ELEMENT_TYPE:
2637 + var type = object.type;
2638 +
2639 + switch (type) {
2640 + case REACT_ASYNC_MODE_TYPE:
2641 + case REACT_CONCURRENT_MODE_TYPE:
2642 + case REACT_FRAGMENT_TYPE:
2643 + case REACT_PROFILER_TYPE:
2644 + case REACT_STRICT_MODE_TYPE:
2645 + case REACT_SUSPENSE_TYPE:
2646 + return type;
2647 +
2648 + default:
2649 + var $$typeofType = type && type.$$typeof;
2650 +
2651 + switch ($$typeofType) {
2652 + case REACT_CONTEXT_TYPE:
2653 + case REACT_FORWARD_REF_TYPE:
2654 + case REACT_LAZY_TYPE:
2655 + case REACT_MEMO_TYPE:
2656 + case REACT_PROVIDER_TYPE:
2657 + return $$typeofType;
2658 +
2659 + default:
2660 + return $$typeof;
2661 + }
2662 +
2663 + }
2664 +
2665 + case REACT_PORTAL_TYPE:
2666 + return $$typeof;
2667 + }
2668 + }
2669 +
2670 + return undefined;
2671 +} // AsyncMode is deprecated along with isAsyncMode
2672 +
2673 +var AsyncMode = REACT_ASYNC_MODE_TYPE;
2674 +var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
2675 +var ContextConsumer = REACT_CONTEXT_TYPE;
2676 +var ContextProvider = REACT_PROVIDER_TYPE;
2677 +var Element = REACT_ELEMENT_TYPE;
2678 +var ForwardRef = REACT_FORWARD_REF_TYPE;
2679 +var Fragment = REACT_FRAGMENT_TYPE;
2680 +var Lazy = REACT_LAZY_TYPE;
2681 +var Memo = REACT_MEMO_TYPE;
2682 +var Portal = REACT_PORTAL_TYPE;
2683 +var Profiler = REACT_PROFILER_TYPE;
2684 +var StrictMode = REACT_STRICT_MODE_TYPE;
2685 +var Suspense = REACT_SUSPENSE_TYPE;
2686 +var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
2687 +
2688 +function isAsyncMode(object) {
2689 + {
2690 + if (!hasWarnedAboutDeprecatedIsAsyncMode) {
2691 + hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
2692 +
2693 + console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
2694 + }
2695 + }
2696 +
2697 + return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
2698 +}
2699 +function isConcurrentMode(object) {
2700 + return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
2701 +}
2702 +function isContextConsumer(object) {
2703 + return typeOf(object) === REACT_CONTEXT_TYPE;
2704 +}
2705 +function isContextProvider(object) {
2706 + return typeOf(object) === REACT_PROVIDER_TYPE;
2707 +}
2708 +function isElement(object) {
2709 + return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
2710 +}
2711 +function isForwardRef(object) {
2712 + return typeOf(object) === REACT_FORWARD_REF_TYPE;
2713 +}
2714 +function isFragment(object) {
2715 + return typeOf(object) === REACT_FRAGMENT_TYPE;
2716 +}
2717 +function isLazy(object) {
2718 + return typeOf(object) === REACT_LAZY_TYPE;
2719 +}
2720 +function isMemo(object) {
2721 + return typeOf(object) === REACT_MEMO_TYPE;
2722 +}
2723 +function isPortal(object) {
2724 + return typeOf(object) === REACT_PORTAL_TYPE;
2725 +}
2726 +function isProfiler(object) {
2727 + return typeOf(object) === REACT_PROFILER_TYPE;
2728 +}
2729 +function isStrictMode(object) {
2730 + return typeOf(object) === REACT_STRICT_MODE_TYPE;
2731 +}
2732 +function isSuspense(object) {
2733 + return typeOf(object) === REACT_SUSPENSE_TYPE;
2734 +}
2735 +
2736 +exports.AsyncMode = AsyncMode;
2737 +exports.ConcurrentMode = ConcurrentMode;
2738 +exports.ContextConsumer = ContextConsumer;
2739 +exports.ContextProvider = ContextProvider;
2740 +exports.Element = Element;
2741 +exports.ForwardRef = ForwardRef;
2742 +exports.Fragment = Fragment;
2743 +exports.Lazy = Lazy;
2744 +exports.Memo = Memo;
2745 +exports.Portal = Portal;
2746 +exports.Profiler = Profiler;
2747 +exports.StrictMode = StrictMode;
2748 +exports.Suspense = Suspense;
2749 +exports.isAsyncMode = isAsyncMode;
2750 +exports.isConcurrentMode = isConcurrentMode;
2751 +exports.isContextConsumer = isContextConsumer;
2752 +exports.isContextProvider = isContextProvider;
2753 +exports.isElement = isElement;
2754 +exports.isForwardRef = isForwardRef;
2755 +exports.isFragment = isFragment;
2756 +exports.isLazy = isLazy;
2757 +exports.isMemo = isMemo;
2758 +exports.isPortal = isPortal;
2759 +exports.isProfiler = isProfiler;
2760 +exports.isStrictMode = isStrictMode;
2761 +exports.isSuspense = isSuspense;
2762 +exports.isValidElementType = isValidElementType;
2763 +exports.typeOf = typeOf;
2764 + })();
2765 +}
2766 +
2767 +
2768 +/***/ }),
2769 +
2770 +/***/ "../node_modules/prop-types/node_modules/react-is/index.js":
2771 +/*!*****************************************************************!*\
2772 + !*** ../node_modules/prop-types/node_modules/react-is/index.js ***!
2773 + \*****************************************************************/
2774 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2775 +
2776 +"use strict";
2777 +
2778 +
2779 +if (false) // removed by dead control flow
2780 +{} else {
2781 + module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js");
2782 +}
2783 +
2784 +
2785 +/***/ }),
2786 +
2787 +/***/ "../node_modules/react-dom/client.js":
2788 +/*!*******************************************!*\
2789 + !*** ../node_modules/react-dom/client.js ***!
2790 + \*******************************************/
2791 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2792 +
2793 +"use strict";
2794 +
2795 +
2796 +var m = __webpack_require__(/*! react-dom */ "react-dom");
2797 +if (false) // removed by dead control flow
2798 +{} else {
2799 + var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2800 + exports.createRoot = function(c, o) {
2801 + i.usingClientEntryPoint = true;
2802 + try {
2803 + return m.createRoot(c, o);
2804 + } finally {
2805 + i.usingClientEntryPoint = false;
2806 + }
2807 + };
2808 + exports.hydrateRoot = function(c, h, o) {
2809 + i.usingClientEntryPoint = true;
2810 + try {
2811 + return m.hydrateRoot(c, h, o);
2812 + } finally {
2813 + i.usingClientEntryPoint = false;
2814 + }
2815 + };
2816 +}
2817 +
2818 +
2819 +/***/ }),
2820 +
2821 +/***/ "@wordpress/i18n":
2822 +/*!**************************!*\
2823 + !*** external "wp.i18n" ***!
2824 + \**************************/
2825 +/***/ ((module) => {
2826 +
2827 +"use strict";
2828 +module.exports = wp.i18n;
2829 +
2830 +/***/ }),
2831 +
2832 +/***/ "react":
2833 +/*!************************!*\
2834 + !*** external "React" ***!
2835 + \************************/
2836 +/***/ ((module) => {
2837 +
2838 +"use strict";
2839 +module.exports = React;
2840 +
2841 +/***/ }),
2842 +
2843 +/***/ "react-dom":
2844 +/*!***************************!*\
2845 + !*** external "ReactDOM" ***!
2846 + \***************************/
2847 +/***/ ((module) => {
2848 +
2849 +"use strict";
2850 +module.exports = ReactDOM;
2851 +
2852 +/***/ })
2853 +
2854 +/******/ });
2855 +/************************************************************************/
2856 +/******/ // The module cache
2857 +/******/ var __webpack_module_cache__ = {};
2858 +/******/
2859 +/******/ // The require function
2860 +/******/ function __webpack_require__(moduleId) {
2861 +/******/ // Check if module is in cache
2862 +/******/ var cachedModule = __webpack_module_cache__[moduleId];
2863 +/******/ if (cachedModule !== undefined) {
2864 +/******/ return cachedModule.exports;
2865 +/******/ }
2866 +/******/ // Create a new module (and put it into the cache)
2867 +/******/ var module = __webpack_module_cache__[moduleId] = {
2868 +/******/ // no module.id needed
2869 +/******/ // no module.loaded needed
2870 +/******/ exports: {}
2871 +/******/ };
2872 +/******/
2873 +/******/ // Execute the module function
2874 +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
2875 +/******/
2876 +/******/ // Return the exports of the module
2877 +/******/ return module.exports;
2878 +/******/ }
2879 +/******/
2880 +/************************************************************************/
2881 +var __webpack_exports__ = {};
2882 +// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
2883 +(() => {
2884 +"use strict";
2885 +var exports = __webpack_exports__;
2886 +/*!***************************************************!*\
2887 + !*** ../modules/announcements/assets/js/index.js ***!
2888 + \***************************************************/
2889 +
2890 +
2891 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
2892 +Object.defineProperty(exports, "__esModule", ({
2893 + value: true
2894 +}));
2895 +exports["default"] = void 0;
2896 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
2897 +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "../node_modules/@babel/runtime/regenerator/index.js"));
2898 +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js"));
2899 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
2900 +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
2901 +var _react2 = _interopRequireDefault(__webpack_require__(/*! elementor-utils/react */ "../assets/dev/js/utils/react.js"));
2902 +var _components = __webpack_require__(/*! ./components */ "../modules/announcements/assets/js/components/index.js");
2903 +var _eComponent = _interopRequireDefault(__webpack_require__(/*! ./e-component */ "../modules/announcements/assets/js/e-component.js"));
2904 +var AnnouncementIndex = exports["default"] = /*#__PURE__*/function () {
2905 + function AnnouncementIndex() {
2906 + (0, _classCallCheck2.default)(this, AnnouncementIndex);
2907 + this.initAnnouncement();
2908 + }
2909 + return (0, _createClass2.default)(AnnouncementIndex, [{
2910 + key: "initAnnouncement",
2911 + value: function () {
2912 + var _initAnnouncement = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
2913 + var _window$elementorAnno;
2914 + var container, announcements, _ReactUtils$render, unmount;
2915 + return _regenerator.default.wrap(function (_context) {
2916 + while (1) switch (_context.prev = _context.next) {
2917 + case 0:
2918 + container = document.getElementById('e-announcements-root');
2919 + announcements = (_window$elementorAnno = window.elementorAnnouncementsConfig) === null || _window$elementorAnno === void 0 ? void 0 : _window$elementorAnno.announcements;
2920 + if (!(!announcements || !container)) {
2921 + _context.next = 1;
2922 + break;
2923 + }
2924 + return _context.abrupt("return");
2925 + case 1:
2926 + _context.next = 2;
2927 + return $e.components.register(new _eComponent.default());
2928 + case 2:
2929 + _ReactUtils$render = _react2.default.render(/*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_components.Overlay, null), /*#__PURE__*/_react.default.createElement(_components.Announcements, {
2930 + announcements: announcements,
2931 + unMount: function unMount() {
2932 + unmount();
2933 + container.remove();
2934 + }
2935 + })), container), unmount = _ReactUtils$render.unmount;
2936 + case 3:
2937 + case "end":
2938 + return _context.stop();
2939 + }
2940 + }, _callee);
2941 + }));
2942 + function initAnnouncement() {
2943 + return _initAnnouncement.apply(this, arguments);
2944 + }
2945 + return initAnnouncement;
2946 + }()
2947 + }]);
2948 +}();
2949 +new AnnouncementIndex();
2950 +})();
2951 +
2952 +/******/ })()
2953 +;
1734 2954 //# sourceMappingURL=announcements-app.js.map