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