PluginProbe
Elementor Website Builder – more than just a page builder / 3.20.0-dev3
Elementor Website Builder – more than just a page builder v3.20.0-dev3
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 +2405 -1667 4.3.2 → 3.20.0-dev3 View file →
@@ -1,1734 +1,2472 @@
1 -(function(react, react_dom, _wordpress_i18n) {
1 +/*! elementor - v3.20.0 - 29-02-2024 */
2 +/******/ (() => { // webpackBootstrap
3 +/******/ var __webpack_modules__ = ({
2 4
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));
5 +/***/ "../app/assets/js/event-track/apps-event-tracking.js":
6 +/*!***********************************************************!*\
7 + !*** ../app/assets/js/event-track/apps-event-tracking.js ***!
8 + \***********************************************************/
9 +/***/ ((__unused_webpack_module, exports) => {
33 10
34 -//#endregion
35 -react = __toESM(react);
36 -react_dom = __toESM(react_dom);
11 +"use strict";
37 12
38 -//#region node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
39 - function asyncGeneratorStep(n, t, e, r, o, a, c) {
40 - try {
41 - var i = n[a](c);
42 - var u = i.value;
43 - } catch (n) {
44 - e(n);
45 - return;
46 - }
47 - i.done ? t(u) : Promise.resolve(u).then(r, o);
48 - }
49 - function _asyncToGenerator(n) {
50 - return function() {
51 - var t = this;
52 - var e = arguments;
53 - return new Promise(function(r, o) {
54 - var a = n.apply(t, e);
55 - function _next(n) {
56 - asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
57 - }
58 - function _throw(n) {
59 - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
60 - }
61 - _next(void 0);
62 - });
63 - };
64 - }
65 13
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 - }
14 +Object.defineProperty(exports, "__esModule", ({
15 + value: true
16 +}));
17 +exports.appsEventTrackingDispatch = void 0;
18 +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
19 +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
20 +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
21 +var appsEventTrackingDispatch = function appsEventTrackingDispatch(command, eventParams) {
22 + // Add existing eventParams key value pair to the data/details object.
23 + var objectCreator = function objectCreator(array, obj) {
24 + var _iterator = _createForOfIteratorHelper(array),
25 + _step;
26 + try {
27 + for (_iterator.s(); !(_step = _iterator.n()).done;) {
28 + var key = _step.value;
29 + if (eventParams.hasOwnProperty(key) && eventParams[key] !== null) {
30 + obj[key] = eventParams[key];
31 + }
32 + }
33 + } catch (err) {
34 + _iterator.e(err);
35 + } finally {
36 + _iterator.f();
37 + }
38 + return obj;
39 + };
40 + var dataKeys = [];
41 + 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'];
42 + var data = {};
43 + var details = {};
44 + var init = function init() {
45 + objectCreator(detailsKeys, details);
46 + objectCreator(dataKeys, data);
47 + var commandSplit = command.split('/');
48 + data.placement = commandSplit[0];
49 + data.event = commandSplit[1];
71 50
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 - }
51 + // If 'details' is not empty, add the details object to the data object.
52 + if (Object.keys(details).length) {
53 + data.details = details;
54 + }
55 + };
56 + init();
57 + $e.run(command, data);
58 +};
59 +exports.appsEventTrackingDispatch = appsEventTrackingDispatch;
82 60
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 - }
61 +/***/ }),
95 62
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 - }
63 +/***/ "../modules/announcements/assets/js/components/Announcement.js":
64 +/*!*********************************************************************!*\
65 + !*** ../modules/announcements/assets/js/components/Announcement.js ***!
66 + \*********************************************************************/
67 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
102 68
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 - }
69 +"use strict";
114 70
115 -//#endregion
116 -//#region node_modules/@babel/runtime/helpers/OverloadYield.js
117 - var require_OverloadYield = /* @__PURE__ */ __commonJSMin(((exports, module) => {
118 - function _OverloadYield(e, d) {
119 - this.v = e, this.k = d;
120 - }
121 - module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports;
122 - }));
123 71
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 - }));
72 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
73 +Object.defineProperty(exports, "__esModule", ({
74 + value: true
75 +}));
76 +exports["default"] = Announcement;
77 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
78 +var _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js"));
79 +var _ = __webpack_require__(/*! ./ */ "../modules/announcements/assets/js/components/index.js");
80 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
81 +var _excluded = ["cta"];
82 +function Announcement(props) {
83 + var announcement = props.announcement,
84 + onClose = props.onClose;
85 + var cta = announcement.cta,
86 + announcementContent = (0, _objectWithoutProperties2.default)(announcement, _excluded);
87 + return /*#__PURE__*/_react.default.createElement("div", {
88 + className: "announcement-item"
89 + }, /*#__PURE__*/_react.default.createElement(_.AnnouncementBody, {
90 + announcement: announcementContent
91 + }), /*#__PURE__*/_react.default.createElement(_.AnnouncementFooter, {
92 + buttons: cta,
93 + onClose: onClose
94 + }));
95 +}
96 +Announcement.propTypes = {
97 + announcement: _propTypes.default.object.isRequired,
98 + onClose: _propTypes.default.func.isRequired
99 +};
150 100
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 - }));
101 +/***/ }),
244 102
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 - }));
103 +/***/ "../modules/announcements/assets/js/components/AnnouncementBody.js":
104 +/*!*************************************************************************!*\
105 + !*** ../modules/announcements/assets/js/components/AnnouncementBody.js ***!
106 + \*************************************************************************/
107 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
282 108
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 - }));
109 +"use strict";
293 110
294 -//#endregion
295 -//#region node_modules/@babel/runtime/helpers/regeneratorAsync.js
296 - var require_regeneratorAsync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
297 - var regeneratorAsyncGen = require_regeneratorAsyncGen();
298 - function _regeneratorAsync(n, e, r, t, o) {
299 - var a = regeneratorAsyncGen(n, e, r, t, o);
300 - return a.next().then(function(n) {
301 - return n.done ? n.value : a.next();
302 - });
303 - }
304 - module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports;
305 - }));
306 111
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 - }));
112 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
113 +Object.defineProperty(exports, "__esModule", ({
114 + value: true
115 +}));
116 +exports["default"] = AnnouncementBody;
117 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
118 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
119 +function AnnouncementBody(props) {
120 + var _props$announcement = props.announcement,
121 + title = _props$announcement.title,
122 + description = _props$announcement.description,
123 + media = _props$announcement.media;
124 + return /*#__PURE__*/_react.default.createElement("div", {
125 + className: "announcement-body-container"
126 + }, 'image' === media.type && /*#__PURE__*/_react.default.createElement("div", {
127 + className: "announcement-body-media announcement-body-".concat(media.type)
128 + }, /*#__PURE__*/_react.default.createElement("img", {
129 + src: media.src,
130 + alt: "Announcement"
131 + })), /*#__PURE__*/_react.default.createElement("div", {
132 + className: "announcement-body-content"
133 + }, /*#__PURE__*/_react.default.createElement("div", {
134 + className: "announcement-body-title"
135 + }, title), /*#__PURE__*/_react.default.createElement("div", {
136 + className: "announcement-body-description",
137 + dangerouslySetInnerHTML: {
138 + __html: description
139 + }
140 + })));
141 +}
142 +AnnouncementBody.propTypes = {
143 + announcement: _propTypes.default.object.isRequired
144 +};
321 145
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 - }));
146 +/***/ }),
335 147
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 - }));
148 +/***/ "../modules/announcements/assets/js/components/AnnouncementFooter.js":
149 +/*!***************************************************************************!*\
150 + !*** ../modules/announcements/assets/js/components/AnnouncementFooter.js ***!
151 + \***************************************************************************/
152 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
357 153
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 - }));
154 +"use strict";
439 155
440 -//#endregion
441 -//#region node_modules/@babel/runtime/regenerator/index.js
442 - var require_regenerator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
443 - var runtime = require_regeneratorRuntime()();
444 - module.exports = runtime;
445 - try {
446 - regeneratorRuntime = runtime;
447 - } catch (accidentalStrictMode) {
448 - if (typeof globalThis === "object") globalThis.regeneratorRuntime = runtime;
449 - else Function("r", "regeneratorRuntime = r")(runtime);
450 - }
451 - }));
452 156
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 - }));
157 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
158 +Object.defineProperty(exports, "__esModule", ({
159 + value: true
160 +}));
161 +exports["default"] = AnnouncementFooter;
162 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
163 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
164 +function AnnouncementFooter(props) {
165 + var buttons = props.buttons,
166 + onClose = props.onClose;
167 + return /*#__PURE__*/_react.default.createElement("div", {
168 + className: "announcement-footer-container"
169 + }, Object.values(buttons).map(function (button, index) {
170 + return /*#__PURE__*/_react.default.createElement("a", {
171 + key: "button".concat(index),
172 + className: "button-item ".concat(button.variant),
173 + href: button.url,
174 + target: button.target,
175 + onClick: function onClick() {
176 + return onClose('cta');
177 + }
178 + }, button.label);
179 + }));
180 +}
181 +AnnouncementFooter.propTypes = {
182 + buttons: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object]),
183 + onClose: _propTypes.default.func.isRequired
184 +};
467 185
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 };
186 +/***/ }),
187 +
188 +/***/ "../modules/announcements/assets/js/components/Announcements.js":
189 +/*!**********************************************************************!*\
190 + !*** ../modules/announcements/assets/js/components/Announcements.js ***!
191 + \**********************************************************************/
192 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
193 +
194 +"use strict";
195 +
196 +
197 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
198 +var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
199 +Object.defineProperty(exports, "__esModule", ({
200 + value: true
201 +}));
202 +exports["default"] = Announcements;
203 +var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
204 +var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
205 +var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js"));
206 +var _ = __webpack_require__(/*! ./ */ "../modules/announcements/assets/js/components/index.js");
207 +var _appsEventTracking = __webpack_require__(/*! elementor-app/event-track/apps-event-tracking */ "../app/assets/js/event-track/apps-event-tracking.js");
208 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
209 +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
210 +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
211 +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
212 +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
213 +function Announcements(props) {
214 + var announcements = props.announcements,
215 + unMount = props.unMount;
216 + var _useState = (0, _react.useState)(0),
217 + _useState2 = (0, _slicedToArray2.default)(_useState, 2),
218 + currentAnnouncement = _useState2[0],
219 + setCurrentAnnouncement = _useState2[1];
220 + var announcementTitle = Object.values(announcements)[0].title || '';
221 +
222 + // Send event when the popup is presented
223 + (0, _react.useEffect)(function () {
224 + var timer = setTimeout(function () {
225 + var eventArgs = {
226 + event_name: 'element_impression',
227 + element_type: 'popup',
228 + eventNonInteraction: 1
229 + };
230 + eventTrackingHandle('impression', eventArgs);
231 + }, 200);
232 + return function () {
233 + return clearTimeout(timer);
234 + };
235 + }, [announcements]);
236 + var onCloseHandle = function onCloseHandle(eventName) {
237 + var eventArgs = {
238 + event_name: 'element_click',
239 + element_type: 'button'
240 + };
241 + eventTrackingHandle(eventName, eventArgs);
242 + announcements.shift();
243 + if (0 === announcements.length) {
244 + return unMount();
245 + }
246 + setCurrentAnnouncement(currentAnnouncement + 1);
247 + };
248 + var eventTrackingHandle = function eventTrackingHandle(eventName, additionalArgs) {
249 + var eventBaseArgs = {
250 + event: 'fireEvent',
251 + eventCategory: 'editor',
252 + eventAction: 'whats new popup',
253 + eventLabel: eventName,
254 + eventLabel2: announcementTitle,
255 + event_action: eventName,
256 + event_location: 'popup',
257 + event_context: 'whats new',
258 + event_subcontext: announcementTitle,
259 + element_id: 'e-announcements-root'
260 + };
261 + var eventArgs = _objectSpread(_objectSpread({}, eventBaseArgs), additionalArgs);
262 + (0, _appsEventTracking.appsEventTrackingDispatch)("announcement/".concat(eventName), eventArgs);
263 + };
264 + return /*#__PURE__*/_react.default.createElement("div", {
265 + className: "announcements-container"
266 + }, /*#__PURE__*/_react.default.createElement(_.AnnouncementsHeader, {
267 + onClose: onCloseHandle
268 + }), /*#__PURE__*/_react.default.createElement(_.Announcement, {
269 + key: "announcement-".concat(currentAnnouncement),
270 + announcement: announcements[0],
271 + onClose: onCloseHandle
272 + }));
273 +}
274 +Announcements.propTypes = {
275 + announcements: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.object]).isRequired,
276 + unMount: _propTypes.default.func.isRequired
277 +};
278 +
279 +/***/ }),
280 +
281 +/***/ "../modules/announcements/assets/js/components/AnnouncementsHeader.js":
282 +/*!****************************************************************************!*\
283 + !*** ../modules/announcements/assets/js/components/AnnouncementsHeader.js ***!
284 + \****************************************************************************/
285 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
286 +
287 +"use strict";
288 +/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
289 +
290 +
291 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
292 +Object.defineProperty(exports, "__esModule", ({
293 + value: true
294 +}));
295 +exports["default"] = AnnouncementsHeader;
296 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
297 +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
298 +function AnnouncementsHeader(props) {
299 + var onClose = props.onClose;
300 + return /*#__PURE__*/_react.default.createElement("div", {
301 + className: "announcements-heading-container"
302 + }, /*#__PURE__*/_react.default.createElement("i", {
303 + className: "eicon-elementor",
304 + "aria-hidden": "true"
305 + }), /*#__PURE__*/_react.default.createElement("span", {
306 + className: "heading-title"
307 + }, __('Notifications', 'elementor')), /*#__PURE__*/_react.default.createElement("button", {
308 + className: "close-button",
309 + onClick: function onClick() {
310 + return onClose('close');
311 + }
312 + }, /*#__PURE__*/_react.default.createElement("i", {
313 + className: "eicon-close",
314 + "aria-hidden": "true"
315 + })));
316 +}
317 +AnnouncementsHeader.propTypes = {
318 + onClose: _propTypes.default.func.isRequired
319 +};
320 +
321 +/***/ }),
322 +
323 +/***/ "../modules/announcements/assets/js/components/Overlay.js":
324 +/*!****************************************************************!*\
325 + !*** ../modules/announcements/assets/js/components/Overlay.js ***!
326 + \****************************************************************/
327 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
328 +
329 +"use strict";
330 +
331 +
332 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
333 +Object.defineProperty(exports, "__esModule", ({
334 + value: true
335 +}));
336 +exports["default"] = Overlay;
337 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
338 +function Overlay() {
339 + return /*#__PURE__*/_react.default.createElement("div", {
340 + className: "announcements-screen-overlay"
341 + });
342 +}
343 +
344 +/***/ }),
345 +
346 +/***/ "../modules/announcements/assets/js/components/index.js":
347 +/*!**************************************************************!*\
348 + !*** ../modules/announcements/assets/js/components/index.js ***!
349 + \**************************************************************/
350 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
351 +
352 +"use strict";
353 +
354 +
355 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
356 +Object.defineProperty(exports, "__esModule", ({
357 + value: true
358 +}));
359 +Object.defineProperty(exports, "Announcement", ({
360 + enumerable: true,
361 + get: function get() {
362 + return _Announcement.default;
363 + }
364 +}));
365 +Object.defineProperty(exports, "AnnouncementBody", ({
366 + enumerable: true,
367 + get: function get() {
368 + return _AnnouncementBody.default;
369 + }
370 +}));
371 +Object.defineProperty(exports, "AnnouncementFooter", ({
372 + enumerable: true,
373 + get: function get() {
374 + return _AnnouncementFooter.default;
375 + }
376 +}));
377 +Object.defineProperty(exports, "Announcements", ({
378 + enumerable: true,
379 + get: function get() {
380 + return _Announcements.default;
381 + }
382 +}));
383 +Object.defineProperty(exports, "AnnouncementsHeader", ({
384 + enumerable: true,
385 + get: function get() {
386 + return _AnnouncementsHeader.default;
387 + }
388 +}));
389 +Object.defineProperty(exports, "Overlay", ({
390 + enumerable: true,
391 + get: function get() {
392 + return _Overlay.default;
393 + }
394 +}));
395 +var _Announcements = _interopRequireDefault(__webpack_require__(/*! ./Announcements */ "../modules/announcements/assets/js/components/Announcements.js"));
396 +var _Announcement = _interopRequireDefault(__webpack_require__(/*! ./Announcement */ "../modules/announcements/assets/js/components/Announcement.js"));
397 +var _AnnouncementsHeader = _interopRequireDefault(__webpack_require__(/*! ./AnnouncementsHeader */ "../modules/announcements/assets/js/components/AnnouncementsHeader.js"));
398 +var _AnnouncementBody = _interopRequireDefault(__webpack_require__(/*! ./AnnouncementBody */ "../modules/announcements/assets/js/components/AnnouncementBody.js"));
399 +var _AnnouncementFooter = _interopRequireDefault(__webpack_require__(/*! ./AnnouncementFooter */ "../modules/announcements/assets/js/components/AnnouncementFooter.js"));
400 +var _Overlay = _interopRequireDefault(__webpack_require__(/*! ./Overlay */ "../modules/announcements/assets/js/components/Overlay.js"));
401 +
402 +/***/ }),
403 +
404 +/***/ "../modules/announcements/assets/js/e-component.js":
405 +/*!*********************************************************!*\
406 + !*** ../modules/announcements/assets/js/e-component.js ***!
407 + \*********************************************************/
408 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
409 +
410 +"use strict";
411 +
412 +
413 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
414 +Object.defineProperty(exports, "__esModule", ({
415 + value: true
416 +}));
417 +exports["default"] = void 0;
418 +var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
419 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
420 +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
421 +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
422 +var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
423 +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
424 +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
425 +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
426 +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
427 +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
428 +var EComponent = /*#__PURE__*/function (_$e$modules$Component) {
429 + (0, _inherits2.default)(EComponent, _$e$modules$Component);
430 + var _super = _createSuper(EComponent);
431 + function EComponent() {
432 + (0, _classCallCheck2.default)(this, EComponent);
433 + return _super.apply(this, arguments);
434 + }
435 + (0, _createClass2.default)(EComponent, [{
436 + key: "getNamespace",
437 + value:
438 + /**
439 + * @return {string} The namespace of the component
440 + */
441 + function getNamespace() {
442 + return 'announcement';
443 + }
444 + }, {
445 + key: "defaultCommands",
446 + value: function defaultCommands() {
447 + return ['close', 'cta', 'impression'].reduce(function (allCommands, command) {
448 + return _objectSpread(_objectSpread({}, allCommands), {}, (0, _defineProperty2.default)({}, command, function () {}));
449 + }, {});
450 + }
451 + }]);
452 + return EComponent;
453 +}($e.modules.ComponentBase);
454 +exports["default"] = EComponent;
455 +
456 +/***/ }),
457 +
458 +/***/ "../node_modules/object-assign/index.js":
459 +/*!**********************************************!*\
460 + !*** ../node_modules/object-assign/index.js ***!
461 + \**********************************************/
462 +/***/ ((module) => {
463 +
464 +"use strict";
465 +/*
466 +object-assign
467 +(c) Sindre Sorhus
468 +@license MIT
469 +*/
470 +
471 +
472 +/* eslint-disable no-unused-vars */
473 +var getOwnPropertySymbols = Object.getOwnPropertySymbols;
474 +var hasOwnProperty = Object.prototype.hasOwnProperty;
475 +var propIsEnumerable = Object.prototype.propertyIsEnumerable;
476 +
477 +function toObject(val) {
478 + if (val === null || val === undefined) {
479 + throw new TypeError('Object.assign cannot be called with null or undefined');
496 480 }
497 - var react_default = { render };
498 481
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 - }
482 + return Object(val);
483 +}
509 484
510 -//#endregion
511 -//#region node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
512 - function _arrayWithHoles(r) {
513 - if (Array.isArray(r)) return r;
514 - }
485 +function shouldUseNative() {
486 + try {
487 + if (!Object.assign) {
488 + return false;
489 + }
515 490
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;
491 + // Detect buggy property enumeration order in older V8 versions.
492 +
493 + // https://bugs.chromium.org/p/v8/issues/detail?id=4118
494 + var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
495 + test1[5] = 'de';
496 + if (Object.getOwnPropertyNames(test1)[0] === '5') {
497 + return false;
543 498 }
544 - }
545 499
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");
500 + // https://bugs.chromium.org/p/v8/issues/detail?id=3056
501 + var test2 = {};
502 + for (var i = 0; i < 10; i++) {
503 + test2['_' + String.fromCharCode(i)] = i;
504 + }
505 + var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
506 + return test2[n];
507 + });
508 + if (order2.join('') !== '0123456789') {
509 + return false;
510 + }
554 511
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;
512 + // https://bugs.chromium.org/p/v8/issues/detail?id=3056
513 + var test3 = {};
514 + 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
515 + test3[letter] = letter;
516 + });
517 + if (Object.keys(Object.assign({}, test3)).join('') !==
518 + 'abcdefghijklmnopqrst') {
519 + return false;
562 520 }
521 +
522 + return true;
523 + } catch (err) {
524 + // We don't expect any of the above to throw, but better to be safe.
525 + return false;
563 526 }
564 - __name(_unsupportedIterableToArray$1, "_unsupportedIterableToArray");
527 +}
565 528
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 - }
529 +module.exports = shouldUseNative() ? Object.assign : function (target, source) {
530 + var from;
531 + var to = toObject(target);
532 + var symbols;
571 533
572 -//#endregion
573 -//#region node_modules/@babel/runtime/helpers/esm/slicedToArray.js
574 - function _slicedToArray(r, e) {
575 - return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$1(r, e) || _nonIterableRest();
576 - }
534 + for (var s = 1; s < arguments.length; s++) {
535 + from = Object(arguments[s]);
577 536
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 - };
537 + for (var key in from) {
538 + if (hasOwnProperty.call(from, key)) {
539 + to[key] = from[key];
600 540 }
601 - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
602 541 }
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;
542 +
543 + if (getOwnPropertySymbols) {
544 + symbols = getOwnPropertySymbols(from);
545 + for (var i = 0; i < symbols.length; i++) {
546 + if (propIsEnumerable.call(from, symbols[i])) {
547 + to[symbols[i]] = from[symbols[i]];
622 548 }
623 549 }
624 - };
625 - }
626 - function _unsupportedIterableToArray(r, a) {
627 - if (r) {
628 - if ("string" == typeof r) return _arrayLikeToArray(r, a);
629 - var t = {}.toString.call(r).slice(8, -1);
630 - return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
631 550 }
632 551 }
633 - function _arrayLikeToArray(r, a) {
634 - (null == a || a > r.length) && (a = r.length);
635 - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
636 - return n;
637 - }
638 - var appsEventTrackingDispatch = function appsEventTrackingDispatch(command, eventParams) {
639 - var objectCreator = function objectCreator(array, obj) {
640 - var _iterator = _createForOfIteratorHelper(array);
641 - var _step;
642 - try {
643 - for (_iterator.s(); !(_step = _iterator.n()).done;) {
644 - var key = _step.value;
645 - if (eventParams.hasOwnProperty(key) && eventParams[key] !== null) obj[key] = eventParams[key];
646 - }
647 - } catch (err) {
648 - _iterator.e(err);
649 - } finally {
650 - _iterator.f();
651 - }
652 - return obj;
653 - };
654 - var dataKeys = [];
655 - var detailsKeys = [
656 - "layout",
657 - "site_part",
658 - "error",
659 - "document_name",
660 - "document_type",
661 - "view_type_clicked",
662 - "tag",
663 - "sort_direction",
664 - "sort_type",
665 - "action",
666 - "grid_location",
667 - "kit_name",
668 - "page_source",
669 - "element_position",
670 - "element",
671 - "event_type",
672 - "modal_type",
673 - "method",
674 - "status",
675 - "step",
676 - "item",
677 - "category",
678 - "element_location",
679 - "search_term",
680 - "section",
681 - "site_area"
682 - ];
683 - var data = {};
684 - var details = {};
685 - (function init() {
686 - objectCreator(detailsKeys, details);
687 - objectCreator(dataKeys, data);
688 - var commandSplit = command.split("/");
689 - data.placement = commandSplit[0];
690 - data.event = commandSplit[1];
691 - if (Object.keys(details).length) data.details = details;
692 - })();
693 - $e.run(command, data);
694 - };
695 552
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 - }));
553 + return to;
554 +};
846 555
847 -//#endregion
848 -//#region node_modules/prop-types/node_modules/react-is/index.js
849 - var require_react_is = /* @__PURE__ */ __commonJSMin(((exports, module) => {
850 - module.exports = require_react_is_development();
851 - }));
852 556
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 - }));
557 +/***/ }),
904 558
905 -//#endregion
906 -//#region node_modules/prop-types/lib/ReactPropTypesSecret.js
559 +/***/ "../node_modules/prop-types/checkPropTypes.js":
560 +/*!****************************************************!*\
561 + !*** ../node_modules/prop-types/checkPropTypes.js ***!
562 + \****************************************************/
563 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
564 +
565 +"use strict";
907 566 /**
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 - }));
567 + * Copyright (c) 2013-present, Facebook, Inc.
568 + *
569 + * This source code is licensed under the MIT license found in the
570 + * LICENSE file in the root directory of this source tree.
571 + */
917 572
918 -//#endregion
919 -//#region node_modules/prop-types/lib/has.js
920 - var require_has = /* @__PURE__ */ __commonJSMin(((exports, module) => {
921 - module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
922 - }));
923 573
924 -//#endregion
925 -//#region node_modules/prop-types/checkPropTypes.js
574 +
575 +var printWarning = function() {};
576 +
577 +if (true) {
578 + var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
579 + var loggedTypeFailures = {};
580 + var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
581 +
582 + printWarning = function(text) {
583 + var message = 'Warning: ' + text;
584 + if (typeof console !== 'undefined') {
585 + console.error(message);
586 + }
587 + try {
588 + // --- Welcome to debugging React ---
589 + // This error was thrown as a convenience so that you can use this stack
590 + // to find the callsite that caused this warning to fire.
591 + throw new Error(message);
592 + } catch (x) { /**/ }
593 + };
594 +}
595 +
926 596 /**
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 - }));
597 + * Assert that the values match with the type specs.
598 + * Error messages are memorized and will only be shown once.
599 + *
600 + * @param {object} typeSpecs Map of name to a ReactPropType
601 + * @param {object} values Runtime values that need to be type-checked
602 + * @param {string} location e.g. "prop", "context", "child context"
603 + * @param {string} componentName Name of the component for error messages.
604 + * @param {?Function} getStack Returns the component stack.
605 + * @private
606 + */
607 +function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
608 + if (true) {
609 + for (var typeSpecName in typeSpecs) {
610 + if (has(typeSpecs, typeSpecName)) {
611 + var error;
612 + // Prop type validation may throw. In case they do, we don't want to
613 + // fail the render phase where it didn't fail before. So we log it.
614 + // After these have been cleaned up, we'll let them throw.
615 + try {
616 + // This is intentionally an invariant that gets caught. It's the same
617 + // behavior as without this statement except with a better message.
618 + if (typeof typeSpecs[typeSpecName] !== 'function') {
619 + var err = Error(
620 + (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
621 + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
622 + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
623 + );
624 + err.name = 'Invariant Violation';
625 + throw err;
626 + }
627 + error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
628 + } catch (ex) {
629 + error = ex;
630 + }
631 + if (error && !(error instanceof Error)) {
632 + printWarning(
633 + (componentName || 'React class') + ': type specification of ' +
634 + location + ' `' + typeSpecName + '` is invalid; the type checker ' +
635 + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
636 + 'You may have forgotten to pass an argument to the type checker ' +
637 + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
638 + 'shape all require an argument).'
639 + );
640 + }
641 + if (error instanceof Error && !(error.message in loggedTypeFailures)) {
642 + // Only monitor this failure once because there tends to be a lot of the
643 + // same error.
644 + loggedTypeFailures[error.message] = true;
986 645
987 -//#endregion
988 -//#region node_modules/prop-types/factoryWithTypeCheckers.js
646 + var stack = getStack ? getStack() : '';
647 +
648 + printWarning(
649 + 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
650 + );
651 + }
652 + }
653 + }
654 + }
655 +}
656 +
989 657 /**
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 - }));
658 + * Resets warning cache when testing.
659 + *
660 + * @private
661 + */
662 +checkPropTypes.resetWarningCache = function() {
663 + if (true) {
664 + loggedTypeFailures = {};
665 + }
666 +}
1384 667
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 - }));
668 +module.exports = checkPropTypes;
1392 669
1393 -//#endregion
1394 -//#region modules/announcements/assets/js/components/Announcements.js
1395 - var import_prop_types = /* @__PURE__ */ __toESM(require_prop_types());
1396 - function ownKeys$1(e, r) {
1397 - var t = Object.keys(e);
1398 - if (Object.getOwnPropertySymbols) {
1399 - var o = Object.getOwnPropertySymbols(e);
1400 - r && (o = o.filter(function(r) {
1401 - return Object.getOwnPropertyDescriptor(e, r).enumerable;
1402 - })), t.push.apply(t, o);
1403 - }
1404 - return t;
1405 - }
1406 - __name(ownKeys$1, "ownKeys");
1407 - function _objectSpread$1(e) {
1408 - for (var r = 1; r < arguments.length; r++) {
1409 - var t = null != arguments[r] ? arguments[r] : {};
1410 - r % 2 ? ownKeys$1(Object(t), !0).forEach(function(r) {
1411 - _defineProperty(e, r, t[r]);
1412 - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r) {
1413 - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
1414 - });
1415 - }
1416 - return e;
1417 - }
1418 - __name(_objectSpread$1, "_objectSpread");
1419 - function Announcements(props) {
1420 - var announcements = props.announcements;
1421 - var unMount = props.unMount;
1422 - var _useState2 = _slicedToArray((0, react.useState)(0), 2);
1423 - var currentAnnouncement = _useState2[0];
1424 - var setCurrentAnnouncement = _useState2[1];
1425 - var announcementTitle = Object.values(announcements)[0].title || "";
1426 - (0, react.useEffect)(function() {
1427 - var timer = setTimeout(function() {
1428 - eventTrackingHandle("impression", {
1429 - event_name: "element_impression",
1430 - element_type: "popup",
1431 - eventNonInteraction: 1
1432 - });
1433 - }, 200);
1434 - return function() {
1435 - return clearTimeout(timer);
1436 - };
1437 - }, [announcements]);
1438 - var onCloseHandle = function onCloseHandle(eventName) {
1439 - eventTrackingHandle(eventName, {
1440 - event_name: "element_click",
1441 - element_type: "button"
1442 - });
1443 - announcements.shift();
1444 - if (0 === announcements.length) return unMount();
1445 - setCurrentAnnouncement(currentAnnouncement + 1);
1446 - };
1447 - var eventTrackingHandle = function eventTrackingHandle(eventName, additionalArgs) {
1448 - var eventArgs = _objectSpread$1(_objectSpread$1({}, {
1449 - event: "fireEvent",
1450 - eventCategory: "editor",
1451 - eventAction: "whats new popup",
1452 - eventLabel: eventName,
1453 - eventLabel2: announcementTitle,
1454 - event_action: eventName,
1455 - event_location: "popup",
1456 - event_context: "whats new",
1457 - event_subcontext: announcementTitle,
1458 - element_id: "e-announcements-root"
1459 - }), additionalArgs);
1460 - appsEventTrackingDispatch("announcement/".concat(eventName), eventArgs);
1461 - };
1462 - return /*#__PURE__*/ react.default.createElement("div", { className: "announcements-container" }, /*#__PURE__*/ react.default.createElement(AnnouncementsHeader, { onClose: onCloseHandle }), /*#__PURE__*/ react.default.createElement(Announcement, {
1463 - key: "announcement-".concat(currentAnnouncement),
1464 - announcement: announcements[0],
1465 - onClose: onCloseHandle
1466 - }));
1467 - }
1468 - Announcements.propTypes = {
1469 - announcements: import_prop_types.default.oneOfType([import_prop_types.default.array, import_prop_types.default.object]).isRequired,
1470 - unMount: import_prop_types.default.func.isRequired
1471 - };
1472 670
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 - }
671 +/***/ }),
1484 672
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 - }
673 +/***/ "../node_modules/prop-types/factoryWithTypeCheckers.js":
674 +/*!*************************************************************!*\
675 + !*** ../node_modules/prop-types/factoryWithTypeCheckers.js ***!
676 + \*************************************************************/
677 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1498 678
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 - };
679 +"use strict";
680 +/**
681 + * Copyright (c) 2013-present, Facebook, Inc.
682 + *
683 + * This source code is licensed under the MIT license found in the
684 + * LICENSE file in the root directory of this source tree.
685 + */
1516 686
1517 -//#endregion
1518 -//#region modules/announcements/assets/js/components/AnnouncementsHeader.js
1519 - function AnnouncementsHeader(props) {
1520 - var onClose = props.onClose;
1521 - return /*#__PURE__*/ react.default.createElement("div", { className: "announcements-heading-container" }, /*#__PURE__*/ react.default.createElement("i", {
1522 - className: "eicon-elementor",
1523 - "aria-hidden": "true"
1524 - }), /*#__PURE__*/ react.default.createElement("span", { className: "heading-title" }, (0, _wordpress_i18n.__)("Notifications", "elementor")), /*#__PURE__*/ react.default.createElement("button", {
1525 - className: "close-button",
1526 - onClick: function onClick() {
1527 - return onClose("close");
1528 - }
1529 - }, /*#__PURE__*/ react.default.createElement("i", {
1530 - className: "eicon-close",
1531 - "aria-hidden": "true"
1532 - })));
1533 - }
1534 - AnnouncementsHeader.propTypes = { onClose: import_prop_types.default.func.isRequired };
1535 687
1536 -//#endregion
1537 -//#region modules/announcements/assets/js/components/AnnouncementBody.js
1538 - function AnnouncementBody(props) {
1539 - var _props$announcement = props.announcement;
1540 - var title = _props$announcement.title;
1541 - var description = _props$announcement.description;
1542 - var media = _props$announcement.media;
1543 - return /*#__PURE__*/ react.default.createElement("div", { className: "announcement-body-container" }, "image" === media.type && /*#__PURE__*/ react.default.createElement("div", { className: "announcement-body-media announcement-body-".concat(media.type) }, /*#__PURE__*/ react.default.createElement("img", {
1544 - src: media.src,
1545 - alt: "Announcement"
1546 - })), /*#__PURE__*/ react.default.createElement("div", { className: "announcement-body-content" }, /*#__PURE__*/ react.default.createElement("div", { className: "announcement-body-title" }, title), /*#__PURE__*/ react.default.createElement("div", {
1547 - className: "announcement-body-description",
1548 - dangerouslySetInnerHTML: { __html: description }
1549 - })));
1550 - }
1551 - AnnouncementBody.propTypes = { announcement: import_prop_types.default.object.isRequired };
1552 688
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 - };
689 +var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js");
690 +var assign = __webpack_require__(/*! object-assign */ "../node_modules/object-assign/index.js");
1574 691
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 - }
692 +var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
693 +var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
694 +var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../node_modules/prop-types/checkPropTypes.js");
1580 695
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 - }
696 +var printWarning = function() {};
1587 697
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 - }
698 +if (true) {
699 + printWarning = function(text) {
700 + var message = 'Warning: ' + text;
701 + if (typeof console !== 'undefined') {
702 + console.error(message);
703 + }
704 + try {
705 + // --- Welcome to debugging React ---
706 + // This error was thrown as a convenience so that you can use this stack
707 + // to find the callsite that caused this warning to fire.
708 + throw new Error(message);
709 + } catch (x) {}
710 + };
711 +}
1595 712
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 - }
713 +function emptyFunctionThatReturnsNull() {
714 + return null;
715 +}
1603 716
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 - }
717 +module.exports = function(isValidElement, throwOnDirectAccess) {
718 + /* global Symbol */
719 + var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
720 + var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
1611 721
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 - }
722 + /**
723 + * Returns the iterator method function contained on the iterable object.
724 + *
725 + * Be sure to invoke the function with the iterable as context:
726 + *
727 + * var iteratorFn = getIteratorFn(myIterable);
728 + * if (iteratorFn) {
729 + * var iterator = iteratorFn.call(myIterable);
730 + * ...
731 + * }
732 + *
733 + * @param {?object} maybeIterable
734 + * @return {?function}
735 + */
736 + function getIteratorFn(maybeIterable) {
737 + var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
738 + if (typeof iteratorFn === 'function') {
739 + return iteratorFn;
740 + }
741 + }
1622 742
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);
743 + /**
744 + * Collection of methods that allow declaration and validation of props that are
745 + * supplied to React components. Example usage:
746 + *
747 + * var Props = require('ReactPropTypes');
748 + * var MyArticle = React.createClass({
749 + * propTypes: {
750 + * // An optional string prop named "description".
751 + * description: Props.string,
752 + *
753 + * // A required enum prop named "category".
754 + * category: Props.oneOf(['News','Photos']).isRequired,
755 + *
756 + * // A prop named "dialog" that requires an instance of Dialog.
757 + * dialog: Props.instanceOf(Dialog).isRequired
758 + * },
759 + * render: function() { ... }
760 + * });
761 + *
762 + * A more formal specification of how these methods are used:
763 + *
764 + * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
765 + * decl := ReactPropTypes.{type}(.isRequired)?
766 + *
767 + * Each and every declaration produces a function with the same signature. This
768 + * allows the creation of custom validation functions. For example:
769 + *
770 + * var MyLink = React.createClass({
771 + * propTypes: {
772 + * // An optional string or URI prop named "href".
773 + * href: function(props, propName, componentName) {
774 + * var propValue = props[propName];
775 + * if (propValue != null && typeof propValue !== 'string' &&
776 + * !(propValue instanceof URI)) {
777 + * return new Error(
778 + * 'Expected a string or an URI for ' + propName + ' in ' +
779 + * componentName
780 + * );
781 + * }
782 + * }
783 + * },
784 + * render: function() {...}
785 + * });
786 + *
787 + * @internal
788 + */
1681 789
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();
790 + var ANONYMOUS = '<<anonymous>>';
1731 791
1732 -//#endregion
1733 -})(React, ReactDOM, wp.i18n);
792 + // Important!
793 + // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
794 + var ReactPropTypes = {
795 + array: createPrimitiveTypeChecker('array'),
796 + bigint: createPrimitiveTypeChecker('bigint'),
797 + bool: createPrimitiveTypeChecker('boolean'),
798 + func: createPrimitiveTypeChecker('function'),
799 + number: createPrimitiveTypeChecker('number'),
800 + object: createPrimitiveTypeChecker('object'),
801 + string: createPrimitiveTypeChecker('string'),
802 + symbol: createPrimitiveTypeChecker('symbol'),
803 +
804 + any: createAnyTypeChecker(),
805 + arrayOf: createArrayOfTypeChecker,
806 + element: createElementTypeChecker(),
807 + elementType: createElementTypeTypeChecker(),
808 + instanceOf: createInstanceTypeChecker,
809 + node: createNodeChecker(),
810 + objectOf: createObjectOfTypeChecker,
811 + oneOf: createEnumTypeChecker,
812 + oneOfType: createUnionTypeChecker,
813 + shape: createShapeTypeChecker,
814 + exact: createStrictShapeTypeChecker,
815 + };
816 +
817 + /**
818 + * inlined Object.is polyfill to avoid requiring consumers ship their own
819 + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
820 + */
821 + /*eslint-disable no-self-compare*/
822 + function is(x, y) {
823 + // SameValue algorithm
824 + if (x === y) {
825 + // Steps 1-5, 7-10
826 + // Steps 6.b-6.e: +0 != -0
827 + return x !== 0 || 1 / x === 1 / y;
828 + } else {
829 + // Step 6.a: NaN == NaN
830 + return x !== x && y !== y;
831 + }
832 + }
833 + /*eslint-enable no-self-compare*/
834 +
835 + /**
836 + * We use an Error-like object for backward compatibility as people may call
837 + * PropTypes directly and inspect their output. However, we don't use real
838 + * Errors anymore. We don't inspect their stack anyway, and creating them
839 + * is prohibitively expensive if they are created too often, such as what
840 + * happens in oneOfType() for any type before the one that matched.
841 + */
842 + function PropTypeError(message, data) {
843 + this.message = message;
844 + this.data = data && typeof data === 'object' ? data: {};
845 + this.stack = '';
846 + }
847 + // Make `instanceof Error` still work for returned errors.
848 + PropTypeError.prototype = Error.prototype;
849 +
850 + function createChainableTypeChecker(validate) {
851 + if (true) {
852 + var manualPropTypeCallCache = {};
853 + var manualPropTypeWarningCount = 0;
854 + }
855 + function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
856 + componentName = componentName || ANONYMOUS;
857 + propFullName = propFullName || propName;
858 +
859 + if (secret !== ReactPropTypesSecret) {
860 + if (throwOnDirectAccess) {
861 + // New behavior only for users of `prop-types` package
862 + var err = new Error(
863 + 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
864 + 'Use `PropTypes.checkPropTypes()` to call them. ' +
865 + 'Read more at http://fb.me/use-check-prop-types'
866 + );
867 + err.name = 'Invariant Violation';
868 + throw err;
869 + } else if ( true && typeof console !== 'undefined') {
870 + // Old behavior for people using React.PropTypes
871 + var cacheKey = componentName + ':' + propName;
872 + if (
873 + !manualPropTypeCallCache[cacheKey] &&
874 + // Avoid spamming the console because they are often not actionable except for lib authors
875 + manualPropTypeWarningCount < 3
876 + ) {
877 + printWarning(
878 + 'You are manually calling a React.PropTypes validation ' +
879 + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
880 + 'and will throw in the standalone `prop-types` package. ' +
881 + 'You may be seeing this warning due to a third-party PropTypes ' +
882 + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
883 + );
884 + manualPropTypeCallCache[cacheKey] = true;
885 + manualPropTypeWarningCount++;
886 + }
887 + }
888 + }
889 + if (props[propName] == null) {
890 + if (isRequired) {
891 + if (props[propName] === null) {
892 + return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
893 + }
894 + return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
895 + }
896 + return null;
897 + } else {
898 + return validate(props, propName, componentName, location, propFullName);
899 + }
900 + }
901 +
902 + var chainedCheckType = checkType.bind(null, false);
903 + chainedCheckType.isRequired = checkType.bind(null, true);
904 +
905 + return chainedCheckType;
906 + }
907 +
908 + function createPrimitiveTypeChecker(expectedType) {
909 + function validate(props, propName, componentName, location, propFullName, secret) {
910 + var propValue = props[propName];
911 + var propType = getPropType(propValue);
912 + if (propType !== expectedType) {
913 + // `propValue` being instance of, say, date/regexp, pass the 'object'
914 + // check, but we can offer a more precise error message here rather than
915 + // 'of type `object`'.
916 + var preciseType = getPreciseType(propValue);
917 +
918 + return new PropTypeError(
919 + 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
920 + {expectedType: expectedType}
921 + );
922 + }
923 + return null;
924 + }
925 + return createChainableTypeChecker(validate);
926 + }
927 +
928 + function createAnyTypeChecker() {
929 + return createChainableTypeChecker(emptyFunctionThatReturnsNull);
930 + }
931 +
932 + function createArrayOfTypeChecker(typeChecker) {
933 + function validate(props, propName, componentName, location, propFullName) {
934 + if (typeof typeChecker !== 'function') {
935 + return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
936 + }
937 + var propValue = props[propName];
938 + if (!Array.isArray(propValue)) {
939 + var propType = getPropType(propValue);
940 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
941 + }
942 + for (var i = 0; i < propValue.length; i++) {
943 + var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
944 + if (error instanceof Error) {
945 + return error;
946 + }
947 + }
948 + return null;
949 + }
950 + return createChainableTypeChecker(validate);
951 + }
952 +
953 + function createElementTypeChecker() {
954 + function validate(props, propName, componentName, location, propFullName) {
955 + var propValue = props[propName];
956 + if (!isValidElement(propValue)) {
957 + var propType = getPropType(propValue);
958 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
959 + }
960 + return null;
961 + }
962 + return createChainableTypeChecker(validate);
963 + }
964 +
965 + function createElementTypeTypeChecker() {
966 + function validate(props, propName, componentName, location, propFullName) {
967 + var propValue = props[propName];
968 + if (!ReactIs.isValidElementType(propValue)) {
969 + var propType = getPropType(propValue);
970 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
971 + }
972 + return null;
973 + }
974 + return createChainableTypeChecker(validate);
975 + }
976 +
977 + function createInstanceTypeChecker(expectedClass) {
978 + function validate(props, propName, componentName, location, propFullName) {
979 + if (!(props[propName] instanceof expectedClass)) {
980 + var expectedClassName = expectedClass.name || ANONYMOUS;
981 + var actualClassName = getClassName(props[propName]);
982 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
983 + }
984 + return null;
985 + }
986 + return createChainableTypeChecker(validate);
987 + }
988 +
989 + function createEnumTypeChecker(expectedValues) {
990 + if (!Array.isArray(expectedValues)) {
991 + if (true) {
992 + if (arguments.length > 1) {
993 + printWarning(
994 + 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
995 + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
996 + );
997 + } else {
998 + printWarning('Invalid argument supplied to oneOf, expected an array.');
999 + }
1000 + }
1001 + return emptyFunctionThatReturnsNull;
1002 + }
1003 +
1004 + function validate(props, propName, componentName, location, propFullName) {
1005 + var propValue = props[propName];
1006 + for (var i = 0; i < expectedValues.length; i++) {
1007 + if (is(propValue, expectedValues[i])) {
1008 + return null;
1009 + }
1010 + }
1011 +
1012 + var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
1013 + var type = getPreciseType(value);
1014 + if (type === 'symbol') {
1015 + return String(value);
1016 + }
1017 + return value;
1018 + });
1019 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
1020 + }
1021 + return createChainableTypeChecker(validate);
1022 + }
1023 +
1024 + function createObjectOfTypeChecker(typeChecker) {
1025 + function validate(props, propName, componentName, location, propFullName) {
1026 + if (typeof typeChecker !== 'function') {
1027 + return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
1028 + }
1029 + var propValue = props[propName];
1030 + var propType = getPropType(propValue);
1031 + if (propType !== 'object') {
1032 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
1033 + }
1034 + for (var key in propValue) {
1035 + if (has(propValue, key)) {
1036 + var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1037 + if (error instanceof Error) {
1038 + return error;
1039 + }
1040 + }
1041 + }
1042 + return null;
1043 + }
1044 + return createChainableTypeChecker(validate);
1045 + }
1046 +
1047 + function createUnionTypeChecker(arrayOfTypeCheckers) {
1048 + if (!Array.isArray(arrayOfTypeCheckers)) {
1049 + true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0;
1050 + return emptyFunctionThatReturnsNull;
1051 + }
1052 +
1053 + for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1054 + var checker = arrayOfTypeCheckers[i];
1055 + if (typeof checker !== 'function') {
1056 + printWarning(
1057 + 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
1058 + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
1059 + );
1060 + return emptyFunctionThatReturnsNull;
1061 + }
1062 + }
1063 +
1064 + function validate(props, propName, componentName, location, propFullName) {
1065 + var expectedTypes = [];
1066 + for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1067 + var checker = arrayOfTypeCheckers[i];
1068 + var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
1069 + if (checkerResult == null) {
1070 + return null;
1071 + }
1072 + if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
1073 + expectedTypes.push(checkerResult.data.expectedType);
1074 + }
1075 + }
1076 + var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
1077 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
1078 + }
1079 + return createChainableTypeChecker(validate);
1080 + }
1081 +
1082 + function createNodeChecker() {
1083 + function validate(props, propName, componentName, location, propFullName) {
1084 + if (!isNode(props[propName])) {
1085 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
1086 + }
1087 + return null;
1088 + }
1089 + return createChainableTypeChecker(validate);
1090 + }
1091 +
1092 + function invalidValidatorError(componentName, location, propFullName, key, type) {
1093 + return new PropTypeError(
1094 + (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
1095 + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
1096 + );
1097 + }
1098 +
1099 + function createShapeTypeChecker(shapeTypes) {
1100 + function validate(props, propName, componentName, location, propFullName) {
1101 + var propValue = props[propName];
1102 + var propType = getPropType(propValue);
1103 + if (propType !== 'object') {
1104 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
1105 + }
1106 + for (var key in shapeTypes) {
1107 + var checker = shapeTypes[key];
1108 + if (typeof checker !== 'function') {
1109 + return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1110 + }
1111 + var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1112 + if (error) {
1113 + return error;
1114 + }
1115 + }
1116 + return null;
1117 + }
1118 + return createChainableTypeChecker(validate);
1119 + }
1120 +
1121 + function createStrictShapeTypeChecker(shapeTypes) {
1122 + function validate(props, propName, componentName, location, propFullName) {
1123 + var propValue = props[propName];
1124 + var propType = getPropType(propValue);
1125 + if (propType !== 'object') {
1126 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
1127 + }
1128 + // We need to check all keys in case some are required but missing from props.
1129 + var allKeys = assign({}, props[propName], shapeTypes);
1130 + for (var key in allKeys) {
1131 + var checker = shapeTypes[key];
1132 + if (has(shapeTypes, key) && typeof checker !== 'function') {
1133 + return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1134 + }
1135 + if (!checker) {
1136 + return new PropTypeError(
1137 + 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
1138 + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
1139 + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
1140 + );
1141 + }
1142 + var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1143 + if (error) {
1144 + return error;
1145 + }
1146 + }
1147 + return null;
1148 + }
1149 +
1150 + return createChainableTypeChecker(validate);
1151 + }
1152 +
1153 + function isNode(propValue) {
1154 + switch (typeof propValue) {
1155 + case 'number':
1156 + case 'string':
1157 + case 'undefined':
1158 + return true;
1159 + case 'boolean':
1160 + return !propValue;
1161 + case 'object':
1162 + if (Array.isArray(propValue)) {
1163 + return propValue.every(isNode);
1164 + }
1165 + if (propValue === null || isValidElement(propValue)) {
1166 + return true;
1167 + }
1168 +
1169 + var iteratorFn = getIteratorFn(propValue);
1170 + if (iteratorFn) {
1171 + var iterator = iteratorFn.call(propValue);
1172 + var step;
1173 + if (iteratorFn !== propValue.entries) {
1174 + while (!(step = iterator.next()).done) {
1175 + if (!isNode(step.value)) {
1176 + return false;
1177 + }
1178 + }
1179 + } else {
1180 + // Iterator will provide entry [k,v] tuples rather than values.
1181 + while (!(step = iterator.next()).done) {
1182 + var entry = step.value;
1183 + if (entry) {
1184 + if (!isNode(entry[1])) {
1185 + return false;
1186 + }
1187 + }
1188 + }
1189 + }
1190 + } else {
1191 + return false;
1192 + }
1193 +
1194 + return true;
1195 + default:
1196 + return false;
1197 + }
1198 + }
1199 +
1200 + function isSymbol(propType, propValue) {
1201 + // Native Symbol.
1202 + if (propType === 'symbol') {
1203 + return true;
1204 + }
1205 +
1206 + // falsy value can't be a Symbol
1207 + if (!propValue) {
1208 + return false;
1209 + }
1210 +
1211 + // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
1212 + if (propValue['@@toStringTag'] === 'Symbol') {
1213 + return true;
1214 + }
1215 +
1216 + // Fallback for non-spec compliant Symbols which are polyfilled.
1217 + if (typeof Symbol === 'function' && propValue instanceof Symbol) {
1218 + return true;
1219 + }
1220 +
1221 + return false;
1222 + }
1223 +
1224 + // Equivalent of `typeof` but with special handling for array and regexp.
1225 + function getPropType(propValue) {
1226 + var propType = typeof propValue;
1227 + if (Array.isArray(propValue)) {
1228 + return 'array';
1229 + }
1230 + if (propValue instanceof RegExp) {
1231 + // Old webkits (at least until Android 4.0) return 'function' rather than
1232 + // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
1233 + // passes PropTypes.object.
1234 + return 'object';
1235 + }
1236 + if (isSymbol(propType, propValue)) {
1237 + return 'symbol';
1238 + }
1239 + return propType;
1240 + }
1241 +
1242 + // This handles more types than `getPropType`. Only used for error messages.
1243 + // See `createPrimitiveTypeChecker`.
1244 + function getPreciseType(propValue) {
1245 + if (typeof propValue === 'undefined' || propValue === null) {
1246 + return '' + propValue;
1247 + }
1248 + var propType = getPropType(propValue);
1249 + if (propType === 'object') {
1250 + if (propValue instanceof Date) {
1251 + return 'date';
1252 + } else if (propValue instanceof RegExp) {
1253 + return 'regexp';
1254 + }
1255 + }
1256 + return propType;
1257 + }
1258 +
1259 + // Returns a string that is postfixed to a warning about an invalid type.
1260 + // For example, "undefined" or "of type array"
1261 + function getPostfixForTypeWarning(value) {
1262 + var type = getPreciseType(value);
1263 + switch (type) {
1264 + case 'array':
1265 + case 'object':
1266 + return 'an ' + type;
1267 + case 'boolean':
1268 + case 'date':
1269 + case 'regexp':
1270 + return 'a ' + type;
1271 + default:
1272 + return type;
1273 + }
1274 + }
1275 +
1276 + // Returns class name of the object, if any.
1277 + function getClassName(propValue) {
1278 + if (!propValue.constructor || !propValue.constructor.name) {
1279 + return ANONYMOUS;
1280 + }
1281 + return propValue.constructor.name;
1282 + }
1283 +
1284 + ReactPropTypes.checkPropTypes = checkPropTypes;
1285 + ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1286 + ReactPropTypes.PropTypes = ReactPropTypes;
1287 +
1288 + return ReactPropTypes;
1289 +};
1290 +
1291 +
1292 +/***/ }),
1293 +
1294 +/***/ "../node_modules/prop-types/index.js":
1295 +/*!*******************************************!*\
1296 + !*** ../node_modules/prop-types/index.js ***!
1297 + \*******************************************/
1298 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1299 +
1300 +/**
1301 + * Copyright (c) 2013-present, Facebook, Inc.
1302 + *
1303 + * This source code is licensed under the MIT license found in the
1304 + * LICENSE file in the root directory of this source tree.
1305 + */
1306 +
1307 +if (true) {
1308 + var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js");
1309 +
1310 + // By explicitly using `prop-types` you are opting into new development behavior.
1311 + // http://fb.me/prop-types-in-prod
1312 + var throwOnDirectAccess = true;
1313 + module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "../node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
1314 +} else {}
1315 +
1316 +
1317 +/***/ }),
1318 +
1319 +/***/ "../node_modules/prop-types/lib/ReactPropTypesSecret.js":
1320 +/*!**************************************************************!*\
1321 + !*** ../node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
1322 + \**************************************************************/
1323 +/***/ ((module) => {
1324 +
1325 +"use strict";
1326 +/**
1327 + * Copyright (c) 2013-present, Facebook, Inc.
1328 + *
1329 + * This source code is licensed under the MIT license found in the
1330 + * LICENSE file in the root directory of this source tree.
1331 + */
1332 +
1333 +
1334 +
1335 +var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
1336 +
1337 +module.exports = ReactPropTypesSecret;
1338 +
1339 +
1340 +/***/ }),
1341 +
1342 +/***/ "../node_modules/prop-types/lib/has.js":
1343 +/*!*********************************************!*\
1344 + !*** ../node_modules/prop-types/lib/has.js ***!
1345 + \*********************************************/
1346 +/***/ ((module) => {
1347 +
1348 +module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
1349 +
1350 +
1351 +/***/ }),
1352 +
1353 +/***/ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js":
1354 +/*!************************************************************************************!*\
1355 + !*** ../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js ***!
1356 + \************************************************************************************/
1357 +/***/ ((__unused_webpack_module, exports) => {
1358 +
1359 +"use strict";
1360 +/** @license React v16.13.1
1361 + * react-is.development.js
1362 + *
1363 + * Copyright (c) Facebook, Inc. and its affiliates.
1364 + *
1365 + * This source code is licensed under the MIT license found in the
1366 + * LICENSE file in the root directory of this source tree.
1367 + */
1368 +
1369 +
1370 +
1371 +
1372 +
1373 +if (true) {
1374 + (function() {
1375 +'use strict';
1376 +
1377 +// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1378 +// nor polyfill, then a plain number is used for performance.
1379 +var hasSymbol = typeof Symbol === 'function' && Symbol.for;
1380 +var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
1381 +var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
1382 +var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
1383 +var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
1384 +var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
1385 +var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
1386 +var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
1387 +// (unstable) APIs that have been removed. Can we remove the symbols?
1388 +
1389 +var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
1390 +var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
1391 +var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
1392 +var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
1393 +var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
1394 +var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
1395 +var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
1396 +var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
1397 +var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
1398 +var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
1399 +var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
1400 +
1401 +function isValidElementType(type) {
1402 + return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1403 + 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);
1404 +}
1405 +
1406 +function typeOf(object) {
1407 + if (typeof object === 'object' && object !== null) {
1408 + var $$typeof = object.$$typeof;
1409 +
1410 + switch ($$typeof) {
1411 + case REACT_ELEMENT_TYPE:
1412 + var type = object.type;
1413 +
1414 + switch (type) {
1415 + case REACT_ASYNC_MODE_TYPE:
1416 + case REACT_CONCURRENT_MODE_TYPE:
1417 + case REACT_FRAGMENT_TYPE:
1418 + case REACT_PROFILER_TYPE:
1419 + case REACT_STRICT_MODE_TYPE:
1420 + case REACT_SUSPENSE_TYPE:
1421 + return type;
1422 +
1423 + default:
1424 + var $$typeofType = type && type.$$typeof;
1425 +
1426 + switch ($$typeofType) {
1427 + case REACT_CONTEXT_TYPE:
1428 + case REACT_FORWARD_REF_TYPE:
1429 + case REACT_LAZY_TYPE:
1430 + case REACT_MEMO_TYPE:
1431 + case REACT_PROVIDER_TYPE:
1432 + return $$typeofType;
1433 +
1434 + default:
1435 + return $$typeof;
1436 + }
1437 +
1438 + }
1439 +
1440 + case REACT_PORTAL_TYPE:
1441 + return $$typeof;
1442 + }
1443 + }
1444 +
1445 + return undefined;
1446 +} // AsyncMode is deprecated along with isAsyncMode
1447 +
1448 +var AsyncMode = REACT_ASYNC_MODE_TYPE;
1449 +var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
1450 +var ContextConsumer = REACT_CONTEXT_TYPE;
1451 +var ContextProvider = REACT_PROVIDER_TYPE;
1452 +var Element = REACT_ELEMENT_TYPE;
1453 +var ForwardRef = REACT_FORWARD_REF_TYPE;
1454 +var Fragment = REACT_FRAGMENT_TYPE;
1455 +var Lazy = REACT_LAZY_TYPE;
1456 +var Memo = REACT_MEMO_TYPE;
1457 +var Portal = REACT_PORTAL_TYPE;
1458 +var Profiler = REACT_PROFILER_TYPE;
1459 +var StrictMode = REACT_STRICT_MODE_TYPE;
1460 +var Suspense = REACT_SUSPENSE_TYPE;
1461 +var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
1462 +
1463 +function isAsyncMode(object) {
1464 + {
1465 + if (!hasWarnedAboutDeprecatedIsAsyncMode) {
1466 + hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
1467 +
1468 + 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.');
1469 + }
1470 + }
1471 +
1472 + return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
1473 +}
1474 +function isConcurrentMode(object) {
1475 + return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
1476 +}
1477 +function isContextConsumer(object) {
1478 + return typeOf(object) === REACT_CONTEXT_TYPE;
1479 +}
1480 +function isContextProvider(object) {
1481 + return typeOf(object) === REACT_PROVIDER_TYPE;
1482 +}
1483 +function isElement(object) {
1484 + return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1485 +}
1486 +function isForwardRef(object) {
1487 + return typeOf(object) === REACT_FORWARD_REF_TYPE;
1488 +}
1489 +function isFragment(object) {
1490 + return typeOf(object) === REACT_FRAGMENT_TYPE;
1491 +}
1492 +function isLazy(object) {
1493 + return typeOf(object) === REACT_LAZY_TYPE;
1494 +}
1495 +function isMemo(object) {
1496 + return typeOf(object) === REACT_MEMO_TYPE;
1497 +}
1498 +function isPortal(object) {
1499 + return typeOf(object) === REACT_PORTAL_TYPE;
1500 +}
1501 +function isProfiler(object) {
1502 + return typeOf(object) === REACT_PROFILER_TYPE;
1503 +}
1504 +function isStrictMode(object) {
1505 + return typeOf(object) === REACT_STRICT_MODE_TYPE;
1506 +}
1507 +function isSuspense(object) {
1508 + return typeOf(object) === REACT_SUSPENSE_TYPE;
1509 +}
1510 +
1511 +exports.AsyncMode = AsyncMode;
1512 +exports.ConcurrentMode = ConcurrentMode;
1513 +exports.ContextConsumer = ContextConsumer;
1514 +exports.ContextProvider = ContextProvider;
1515 +exports.Element = Element;
1516 +exports.ForwardRef = ForwardRef;
1517 +exports.Fragment = Fragment;
1518 +exports.Lazy = Lazy;
1519 +exports.Memo = Memo;
1520 +exports.Portal = Portal;
1521 +exports.Profiler = Profiler;
1522 +exports.StrictMode = StrictMode;
1523 +exports.Suspense = Suspense;
1524 +exports.isAsyncMode = isAsyncMode;
1525 +exports.isConcurrentMode = isConcurrentMode;
1526 +exports.isContextConsumer = isContextConsumer;
1527 +exports.isContextProvider = isContextProvider;
1528 +exports.isElement = isElement;
1529 +exports.isForwardRef = isForwardRef;
1530 +exports.isFragment = isFragment;
1531 +exports.isLazy = isLazy;
1532 +exports.isMemo = isMemo;
1533 +exports.isPortal = isPortal;
1534 +exports.isProfiler = isProfiler;
1535 +exports.isStrictMode = isStrictMode;
1536 +exports.isSuspense = isSuspense;
1537 +exports.isValidElementType = isValidElementType;
1538 +exports.typeOf = typeOf;
1539 + })();
1540 +}
1541 +
1542 +
1543 +/***/ }),
1544 +
1545 +/***/ "../node_modules/prop-types/node_modules/react-is/index.js":
1546 +/*!*****************************************************************!*\
1547 + !*** ../node_modules/prop-types/node_modules/react-is/index.js ***!
1548 + \*****************************************************************/
1549 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1550 +
1551 +"use strict";
1552 +
1553 +
1554 +if (false) {} else {
1555 + module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js");
1556 +}
1557 +
1558 +
1559 +/***/ }),
1560 +
1561 +/***/ "react":
1562 +/*!************************!*\
1563 + !*** external "React" ***!
1564 + \************************/
1565 +/***/ ((module) => {
1566 +
1567 +"use strict";
1568 +module.exports = React;
1569 +
1570 +/***/ }),
1571 +
1572 +/***/ "react-dom":
1573 +/*!***************************!*\
1574 + !*** external "ReactDOM" ***!
1575 + \***************************/
1576 +/***/ ((module) => {
1577 +
1578 +"use strict";
1579 +module.exports = ReactDOM;
1580 +
1581 +/***/ }),
1582 +
1583 +/***/ "@wordpress/i18n":
1584 +/*!**************************!*\
1585 + !*** external "wp.i18n" ***!
1586 + \**************************/
1587 +/***/ ((module) => {
1588 +
1589 +"use strict";
1590 +module.exports = wp.i18n;
1591 +
1592 +/***/ }),
1593 +
1594 +/***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
1595 +/*!******************************************************************!*\
1596 + !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
1597 + \******************************************************************/
1598 +/***/ ((module) => {
1599 +
1600 +function _arrayLikeToArray(arr, len) {
1601 + if (len == null || len > arr.length) len = arr.length;
1602 + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1603 + return arr2;
1604 +}
1605 +module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1606 +
1607 +/***/ }),
1608 +
1609 +/***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js":
1610 +/*!****************************************************************!*\
1611 + !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
1612 + \****************************************************************/
1613 +/***/ ((module) => {
1614 +
1615 +function _arrayWithHoles(arr) {
1616 + if (Array.isArray(arr)) return arr;
1617 +}
1618 +module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
1619 +
1620 +/***/ }),
1621 +
1622 +/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js":
1623 +/*!***********************************************************************!*\
1624 + !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
1625 + \***********************************************************************/
1626 +/***/ ((module) => {
1627 +
1628 +function _assertThisInitialized(self) {
1629 + if (self === void 0) {
1630 + throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1631 + }
1632 + return self;
1633 +}
1634 +module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
1635 +
1636 +/***/ }),
1637 +
1638 +/***/ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js":
1639 +/*!******************************************************************!*\
1640 + !*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
1641 + \******************************************************************/
1642 +/***/ ((module) => {
1643 +
1644 +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
1645 + try {
1646 + var info = gen[key](arg);
1647 + var value = info.value;
1648 + } catch (error) {
1649 + reject(error);
1650 + return;
1651 + }
1652 + if (info.done) {
1653 + resolve(value);
1654 + } else {
1655 + Promise.resolve(value).then(_next, _throw);
1656 + }
1657 +}
1658 +function _asyncToGenerator(fn) {
1659 + return function () {
1660 + var self = this,
1661 + args = arguments;
1662 + return new Promise(function (resolve, reject) {
1663 + var gen = fn.apply(self, args);
1664 + function _next(value) {
1665 + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
1666 + }
1667 + function _throw(err) {
1668 + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
1669 + }
1670 + _next(undefined);
1671 + });
1672 + };
1673 +}
1674 +module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
1675 +
1676 +/***/ }),
1677 +
1678 +/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js":
1679 +/*!****************************************************************!*\
1680 + !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***!
1681 + \****************************************************************/
1682 +/***/ ((module) => {
1683 +
1684 +function _classCallCheck(instance, Constructor) {
1685 + if (!(instance instanceof Constructor)) {
1686 + throw new TypeError("Cannot call a class as a function");
1687 + }
1688 +}
1689 +module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
1690 +
1691 +/***/ }),
1692 +
1693 +/***/ "../node_modules/@babel/runtime/helpers/createClass.js":
1694 +/*!*************************************************************!*\
1695 + !*** ../node_modules/@babel/runtime/helpers/createClass.js ***!
1696 + \*************************************************************/
1697 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1698 +
1699 +var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js");
1700 +function _defineProperties(target, props) {
1701 + for (var i = 0; i < props.length; i++) {
1702 + var descriptor = props[i];
1703 + descriptor.enumerable = descriptor.enumerable || false;
1704 + descriptor.configurable = true;
1705 + if ("value" in descriptor) descriptor.writable = true;
1706 + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
1707 + }
1708 +}
1709 +function _createClass(Constructor, protoProps, staticProps) {
1710 + if (protoProps) _defineProperties(Constructor.prototype, protoProps);
1711 + if (staticProps) _defineProperties(Constructor, staticProps);
1712 + Object.defineProperty(Constructor, "prototype", {
1713 + writable: false
1714 + });
1715 + return Constructor;
1716 +}
1717 +module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
1718 +
1719 +/***/ }),
1720 +
1721 +/***/ "../node_modules/@babel/runtime/helpers/defineProperty.js":
1722 +/*!****************************************************************!*\
1723 + !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***!
1724 + \****************************************************************/
1725 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1726 +
1727 +var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js");
1728 +function _defineProperty(obj, key, value) {
1729 + key = toPropertyKey(key);
1730 + if (key in obj) {
1731 + Object.defineProperty(obj, key, {
1732 + value: value,
1733 + enumerable: true,
1734 + configurable: true,
1735 + writable: true
1736 + });
1737 + } else {
1738 + obj[key] = value;
1739 + }
1740 + return obj;
1741 +}
1742 +module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
1743 +
1744 +/***/ }),
1745 +
1746 +/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js":
1747 +/*!****************************************************************!*\
1748 + !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
1749 + \****************************************************************/
1750 +/***/ ((module) => {
1751 +
1752 +function _getPrototypeOf(o) {
1753 + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
1754 + return o.__proto__ || Object.getPrototypeOf(o);
1755 + }, module.exports.__esModule = true, module.exports["default"] = module.exports;
1756 + return _getPrototypeOf(o);
1757 +}
1758 +module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
1759 +
1760 +/***/ }),
1761 +
1762 +/***/ "../node_modules/@babel/runtime/helpers/inherits.js":
1763 +/*!**********************************************************!*\
1764 + !*** ../node_modules/@babel/runtime/helpers/inherits.js ***!
1765 + \**********************************************************/
1766 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1767 +
1768 +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js");
1769 +function _inherits(subClass, superClass) {
1770 + if (typeof superClass !== "function" && superClass !== null) {
1771 + throw new TypeError("Super expression must either be null or a function");
1772 + }
1773 + subClass.prototype = Object.create(superClass && superClass.prototype, {
1774 + constructor: {
1775 + value: subClass,
1776 + writable: true,
1777 + configurable: true
1778 + }
1779 + });
1780 + Object.defineProperty(subClass, "prototype", {
1781 + writable: false
1782 + });
1783 + if (superClass) setPrototypeOf(subClass, superClass);
1784 +}
1785 +module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
1786 +
1787 +/***/ }),
1788 +
1789 +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js":
1790 +/*!***********************************************************************!*\
1791 + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
1792 + \***********************************************************************/
1793 +/***/ ((module) => {
1794 +
1795 +function _interopRequireDefault(obj) {
1796 + return obj && obj.__esModule ? obj : {
1797 + "default": obj
1798 + };
1799 +}
1800 +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
1801 +
1802 +/***/ }),
1803 +
1804 +/***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":
1805 +/*!**********************************************************************!*\
1806 + !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
1807 + \**********************************************************************/
1808 +/***/ ((module) => {
1809 +
1810 +function _iterableToArrayLimit(r, l) {
1811 + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
1812 + if (null != t) {
1813 + var e,
1814 + n,
1815 + i,
1816 + u,
1817 + a = [],
1818 + f = !0,
1819 + o = !1;
1820 + try {
1821 + if (i = (t = t.call(r)).next, 0 === l) {
1822 + if (Object(t) !== t) return;
1823 + f = !1;
1824 + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
1825 + } catch (r) {
1826 + o = !0, n = r;
1827 + } finally {
1828 + try {
1829 + if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
1830 + } finally {
1831 + if (o) throw n;
1832 + }
1833 + }
1834 + return a;
1835 + }
1836 +}
1837 +module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
1838 +
1839 +/***/ }),
1840 +
1841 +/***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js":
1842 +/*!*****************************************************************!*\
1843 + !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
1844 + \*****************************************************************/
1845 +/***/ ((module) => {
1846 +
1847 +function _nonIterableRest() {
1848 + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1849 +}
1850 +module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
1851 +
1852 +/***/ }),
1853 +
1854 +/***/ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js":
1855 +/*!*************************************************************************!*\
1856 + !*** ../node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***!
1857 + \*************************************************************************/
1858 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1859 +
1860 +var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");
1861 +function _objectWithoutProperties(source, excluded) {
1862 + if (source == null) return {};
1863 + var target = objectWithoutPropertiesLoose(source, excluded);
1864 + var key, i;
1865 + if (Object.getOwnPropertySymbols) {
1866 + var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1867 + for (i = 0; i < sourceSymbolKeys.length; i++) {
1868 + key = sourceSymbolKeys[i];
1869 + if (excluded.indexOf(key) >= 0) continue;
1870 + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
1871 + target[key] = source[key];
1872 + }
1873 + }
1874 + return target;
1875 +}
1876 +module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
1877 +
1878 +/***/ }),
1879 +
1880 +/***/ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":
1881 +/*!******************************************************************************!*\
1882 + !*** ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***!
1883 + \******************************************************************************/
1884 +/***/ ((module) => {
1885 +
1886 +function _objectWithoutPropertiesLoose(source, excluded) {
1887 + if (source == null) return {};
1888 + var target = {};
1889 + var sourceKeys = Object.keys(source);
1890 + var key, i;
1891 + for (i = 0; i < sourceKeys.length; i++) {
1892 + key = sourceKeys[i];
1893 + if (excluded.indexOf(key) >= 0) continue;
1894 + target[key] = source[key];
1895 + }
1896 + return target;
1897 +}
1898 +module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
1899 +
1900 +/***/ }),
1901 +
1902 +/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
1903 +/*!***************************************************************************!*\
1904 + !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
1905 + \***************************************************************************/
1906 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1907 +
1908 +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
1909 +var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js");
1910 +function _possibleConstructorReturn(self, call) {
1911 + if (call && (_typeof(call) === "object" || typeof call === "function")) {
1912 + return call;
1913 + } else if (call !== void 0) {
1914 + throw new TypeError("Derived constructors may only return object or undefined");
1915 + }
1916 + return assertThisInitialized(self);
1917 +}
1918 +module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
1919 +
1920 +/***/ }),
1921 +
1922 +/***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js":
1923 +/*!********************************************************************!*\
1924 + !*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
1925 + \********************************************************************/
1926 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1927 +
1928 +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
1929 +function _regeneratorRuntime() {
1930 + "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
1931 + module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
1932 + return e;
1933 + }, module.exports.__esModule = true, module.exports["default"] = module.exports;
1934 + var t,
1935 + e = {},
1936 + r = Object.prototype,
1937 + n = r.hasOwnProperty,
1938 + o = Object.defineProperty || function (t, e, r) {
1939 + t[e] = r.value;
1940 + },
1941 + i = "function" == typeof Symbol ? Symbol : {},
1942 + a = i.iterator || "@@iterator",
1943 + c = i.asyncIterator || "@@asyncIterator",
1944 + u = i.toStringTag || "@@toStringTag";
1945 + function define(t, e, r) {
1946 + return Object.defineProperty(t, e, {
1947 + value: r,
1948 + enumerable: !0,
1949 + configurable: !0,
1950 + writable: !0
1951 + }), t[e];
1952 + }
1953 + try {
1954 + define({}, "");
1955 + } catch (t) {
1956 + define = function define(t, e, r) {
1957 + return t[e] = r;
1958 + };
1959 + }
1960 + function wrap(t, e, r, n) {
1961 + var i = e && e.prototype instanceof Generator ? e : Generator,
1962 + a = Object.create(i.prototype),
1963 + c = new Context(n || []);
1964 + return o(a, "_invoke", {
1965 + value: makeInvokeMethod(t, r, c)
1966 + }), a;
1967 + }
1968 + function tryCatch(t, e, r) {
1969 + try {
1970 + return {
1971 + type: "normal",
1972 + arg: t.call(e, r)
1973 + };
1974 + } catch (t) {
1975 + return {
1976 + type: "throw",
1977 + arg: t
1978 + };
1979 + }
1980 + }
1981 + e.wrap = wrap;
1982 + var h = "suspendedStart",
1983 + l = "suspendedYield",
1984 + f = "executing",
1985 + s = "completed",
1986 + y = {};
1987 + function Generator() {}
1988 + function GeneratorFunction() {}
1989 + function GeneratorFunctionPrototype() {}
1990 + var p = {};
1991 + define(p, a, function () {
1992 + return this;
1993 + });
1994 + var d = Object.getPrototypeOf,
1995 + v = d && d(d(values([])));
1996 + v && v !== r && n.call(v, a) && (p = v);
1997 + var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
1998 + function defineIteratorMethods(t) {
1999 + ["next", "throw", "return"].forEach(function (e) {
2000 + define(t, e, function (t) {
2001 + return this._invoke(e, t);
2002 + });
2003 + });
2004 + }
2005 + function AsyncIterator(t, e) {
2006 + function invoke(r, o, i, a) {
2007 + var c = tryCatch(t[r], t, o);
2008 + if ("throw" !== c.type) {
2009 + var u = c.arg,
2010 + h = u.value;
2011 + return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
2012 + invoke("next", t, i, a);
2013 + }, function (t) {
2014 + invoke("throw", t, i, a);
2015 + }) : e.resolve(h).then(function (t) {
2016 + u.value = t, i(u);
2017 + }, function (t) {
2018 + return invoke("throw", t, i, a);
2019 + });
2020 + }
2021 + a(c.arg);
2022 + }
2023 + var r;
2024 + o(this, "_invoke", {
2025 + value: function value(t, n) {
2026 + function callInvokeWithMethodAndArg() {
2027 + return new e(function (e, r) {
2028 + invoke(t, n, e, r);
2029 + });
2030 + }
2031 + return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
2032 + }
2033 + });
2034 + }
2035 + function makeInvokeMethod(e, r, n) {
2036 + var o = h;
2037 + return function (i, a) {
2038 + if (o === f) throw new Error("Generator is already running");
2039 + if (o === s) {
2040 + if ("throw" === i) throw a;
2041 + return {
2042 + value: t,
2043 + done: !0
2044 + };
2045 + }
2046 + for (n.method = i, n.arg = a;;) {
2047 + var c = n.delegate;
2048 + if (c) {
2049 + var u = maybeInvokeDelegate(c, n);
2050 + if (u) {
2051 + if (u === y) continue;
2052 + return u;
2053 + }
2054 + }
2055 + if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
2056 + if (o === h) throw o = s, n.arg;
2057 + n.dispatchException(n.arg);
2058 + } else "return" === n.method && n.abrupt("return", n.arg);
2059 + o = f;
2060 + var p = tryCatch(e, r, n);
2061 + if ("normal" === p.type) {
2062 + if (o = n.done ? s : l, p.arg === y) continue;
2063 + return {
2064 + value: p.arg,
2065 + done: n.done
2066 + };
2067 + }
2068 + "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
2069 + }
2070 + };
2071 + }
2072 + function maybeInvokeDelegate(e, r) {
2073 + var n = r.method,
2074 + o = e.iterator[n];
2075 + if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
2076 + var i = tryCatch(o, e.iterator, r.arg);
2077 + if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
2078 + var a = i.arg;
2079 + return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
2080 + }
2081 + function pushTryEntry(t) {
2082 + var e = {
2083 + tryLoc: t[0]
2084 + };
2085 + 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
2086 + }
2087 + function resetTryEntry(t) {
2088 + var e = t.completion || {};
2089 + e.type = "normal", delete e.arg, t.completion = e;
2090 + }
2091 + function Context(t) {
2092 + this.tryEntries = [{
2093 + tryLoc: "root"
2094 + }], t.forEach(pushTryEntry, this), this.reset(!0);
2095 + }
2096 + function values(e) {
2097 + if (e || "" === e) {
2098 + var r = e[a];
2099 + if (r) return r.call(e);
2100 + if ("function" == typeof e.next) return e;
2101 + if (!isNaN(e.length)) {
2102 + var o = -1,
2103 + i = function next() {
2104 + for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
2105 + return next.value = t, next.done = !0, next;
2106 + };
2107 + return i.next = i;
2108 + }
2109 + }
2110 + throw new TypeError(_typeof(e) + " is not iterable");
2111 + }
2112 + return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
2113 + value: GeneratorFunctionPrototype,
2114 + configurable: !0
2115 + }), o(GeneratorFunctionPrototype, "constructor", {
2116 + value: GeneratorFunction,
2117 + configurable: !0
2118 + }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
2119 + var e = "function" == typeof t && t.constructor;
2120 + return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
2121 + }, e.mark = function (t) {
2122 + return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
2123 + }, e.awrap = function (t) {
2124 + return {
2125 + __await: t
2126 + };
2127 + }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
2128 + return this;
2129 + }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
2130 + void 0 === i && (i = Promise);
2131 + var a = new AsyncIterator(wrap(t, r, n, o), i);
2132 + return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
2133 + return t.done ? t.value : a.next();
2134 + });
2135 + }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
2136 + return this;
2137 + }), define(g, "toString", function () {
2138 + return "[object Generator]";
2139 + }), e.keys = function (t) {
2140 + var e = Object(t),
2141 + r = [];
2142 + for (var n in e) r.push(n);
2143 + return r.reverse(), function next() {
2144 + for (; r.length;) {
2145 + var t = r.pop();
2146 + if (t in e) return next.value = t, next.done = !1, next;
2147 + }
2148 + return next.done = !0, next;
2149 + };
2150 + }, e.values = values, Context.prototype = {
2151 + constructor: Context,
2152 + reset: function reset(e) {
2153 + if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
2154 + },
2155 + stop: function stop() {
2156 + this.done = !0;
2157 + var t = this.tryEntries[0].completion;
2158 + if ("throw" === t.type) throw t.arg;
2159 + return this.rval;
2160 + },
2161 + dispatchException: function dispatchException(e) {
2162 + if (this.done) throw e;
2163 + var r = this;
2164 + function handle(n, o) {
2165 + return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
2166 + }
2167 + for (var o = this.tryEntries.length - 1; o >= 0; --o) {
2168 + var i = this.tryEntries[o],
2169 + a = i.completion;
2170 + if ("root" === i.tryLoc) return handle("end");
2171 + if (i.tryLoc <= this.prev) {
2172 + var c = n.call(i, "catchLoc"),
2173 + u = n.call(i, "finallyLoc");
2174 + if (c && u) {
2175 + if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
2176 + if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
2177 + } else if (c) {
2178 + if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
2179 + } else {
2180 + if (!u) throw new Error("try statement without catch or finally");
2181 + if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
2182 + }
2183 + }
2184 + }
2185 + },
2186 + abrupt: function abrupt(t, e) {
2187 + for (var r = this.tryEntries.length - 1; r >= 0; --r) {
2188 + var o = this.tryEntries[r];
2189 + if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
2190 + var i = o;
2191 + break;
2192 + }
2193 + }
2194 + i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
2195 + var a = i ? i.completion : {};
2196 + return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
2197 + },
2198 + complete: function complete(t, e) {
2199 + if ("throw" === t.type) throw t.arg;
2200 + return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
2201 + },
2202 + finish: function finish(t) {
2203 + for (var e = this.tryEntries.length - 1; e >= 0; --e) {
2204 + var r = this.tryEntries[e];
2205 + if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
2206 + }
2207 + },
2208 + "catch": function _catch(t) {
2209 + for (var e = this.tryEntries.length - 1; e >= 0; --e) {
2210 + var r = this.tryEntries[e];
2211 + if (r.tryLoc === t) {
2212 + var n = r.completion;
2213 + if ("throw" === n.type) {
2214 + var o = n.arg;
2215 + resetTryEntry(r);
2216 + }
2217 + return o;
2218 + }
2219 + }
2220 + throw new Error("illegal catch attempt");
2221 + },
2222 + delegateYield: function delegateYield(e, r, n) {
2223 + return this.delegate = {
2224 + iterator: values(e),
2225 + resultName: r,
2226 + nextLoc: n
2227 + }, "next" === this.method && (this.arg = t), y;
2228 + }
2229 + }, e;
2230 +}
2231 +module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
2232 +
2233 +/***/ }),
2234 +
2235 +/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js":
2236 +/*!****************************************************************!*\
2237 + !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
2238 + \****************************************************************/
2239 +/***/ ((module) => {
2240 +
2241 +function _setPrototypeOf(o, p) {
2242 + module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
2243 + o.__proto__ = p;
2244 + return o;
2245 + }, module.exports.__esModule = true, module.exports["default"] = module.exports;
2246 + return _setPrototypeOf(o, p);
2247 +}
2248 +module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
2249 +
2250 +/***/ }),
2251 +
2252 +/***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js":
2253 +/*!***************************************************************!*\
2254 + !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***!
2255 + \***************************************************************/
2256 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2257 +
2258 +var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js");
2259 +var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js");
2260 +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
2261 +var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js");
2262 +function _slicedToArray(arr, i) {
2263 + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
2264 +}
2265 +module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
2266 +
2267 +/***/ }),
2268 +
2269 +/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js":
2270 +/*!*************************************************************!*\
2271 + !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***!
2272 + \*************************************************************/
2273 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2274 +
2275 +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
2276 +function _toPrimitive(input, hint) {
2277 + if (_typeof(input) !== "object" || input === null) return input;
2278 + var prim = input[Symbol.toPrimitive];
2279 + if (prim !== undefined) {
2280 + var res = prim.call(input, hint || "default");
2281 + if (_typeof(res) !== "object") return res;
2282 + throw new TypeError("@@toPrimitive must return a primitive value.");
2283 + }
2284 + return (hint === "string" ? String : Number)(input);
2285 +}
2286 +module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
2287 +
2288 +/***/ }),
2289 +
2290 +/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js":
2291 +/*!***************************************************************!*\
2292 + !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
2293 + \***************************************************************/
2294 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2295 +
2296 +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
2297 +var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js");
2298 +function _toPropertyKey(arg) {
2299 + var key = toPrimitive(arg, "string");
2300 + return _typeof(key) === "symbol" ? key : String(key);
2301 +}
2302 +module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
2303 +
2304 +/***/ }),
2305 +
2306 +/***/ "../node_modules/@babel/runtime/helpers/typeof.js":
2307 +/*!********************************************************!*\
2308 + !*** ../node_modules/@babel/runtime/helpers/typeof.js ***!
2309 + \********************************************************/
2310 +/***/ ((module) => {
2311 +
2312 +function _typeof(o) {
2313 + "@babel/helpers - typeof";
2314 +
2315 + return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
2316 + return typeof o;
2317 + } : function (o) {
2318 + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2319 + }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
2320 +}
2321 +module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
2322 +
2323 +/***/ }),
2324 +
2325 +/***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
2326 +/*!****************************************************************************!*\
2327 + !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
2328 + \****************************************************************************/
2329 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2330 +
2331 +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
2332 +function _unsupportedIterableToArray(o, minLen) {
2333 + if (!o) return;
2334 + if (typeof o === "string") return arrayLikeToArray(o, minLen);
2335 + var n = Object.prototype.toString.call(o).slice(8, -1);
2336 + if (n === "Object" && o.constructor) n = o.constructor.name;
2337 + if (n === "Map" || n === "Set") return Array.from(o);
2338 + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
2339 +}
2340 +module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
2341 +
2342 +/***/ }),
2343 +
2344 +/***/ "../node_modules/@babel/runtime/regenerator/index.js":
2345 +/*!***********************************************************!*\
2346 + !*** ../node_modules/@babel/runtime/regenerator/index.js ***!
2347 + \***********************************************************/
2348 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2349 +
2350 +// TODO(Babel 8): Remove this file.
2351 +
2352 +var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();
2353 +module.exports = runtime;
2354 +
2355 +// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
2356 +try {
2357 + regeneratorRuntime = runtime;
2358 +} catch (accidentalStrictMode) {
2359 + if (typeof globalThis === "object") {
2360 + globalThis.regeneratorRuntime = runtime;
2361 + } else {
2362 + Function("r", "regeneratorRuntime = r")(runtime);
2363 + }
2364 +}
2365 +
2366 +
2367 +/***/ })
2368 +
2369 +/******/ });
2370 +/************************************************************************/
2371 +/******/ // The module cache
2372 +/******/ var __webpack_module_cache__ = {};
2373 +/******/
2374 +/******/ // The require function
2375 +/******/ function __webpack_require__(moduleId) {
2376 +/******/ // Check if module is in cache
2377 +/******/ var cachedModule = __webpack_module_cache__[moduleId];
2378 +/******/ if (cachedModule !== undefined) {
2379 +/******/ return cachedModule.exports;
2380 +/******/ }
2381 +/******/ // Create a new module (and put it into the cache)
2382 +/******/ var module = __webpack_module_cache__[moduleId] = {
2383 +/******/ // no module.id needed
2384 +/******/ // no module.loaded needed
2385 +/******/ exports: {}
2386 +/******/ };
2387 +/******/
2388 +/******/ // Execute the module function
2389 +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
2390 +/******/
2391 +/******/ // Return the exports of the module
2392 +/******/ return module.exports;
2393 +/******/ }
2394 +/******/
2395 +/************************************************************************/
2396 +var __webpack_exports__ = {};
2397 +// This entry need to be wrapped in an IIFE because it need to be in strict mode.
2398 +(() => {
2399 +"use strict";
2400 +var exports = __webpack_exports__;
2401 +/*!***************************************************!*\
2402 + !*** ../modules/announcements/assets/js/index.js ***!
2403 + \***************************************************/
2404 +/* provided dependency */ var ReactDOM = __webpack_require__(/*! react-dom */ "react-dom");
2405 +
2406 +
2407 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
2408 +Object.defineProperty(exports, "__esModule", ({
2409 + value: true
2410 +}));
2411 +exports["default"] = void 0;
2412 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
2413 +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "../node_modules/@babel/runtime/regenerator/index.js"));
2414 +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js"));
2415 +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
2416 +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
2417 +var _components = __webpack_require__(/*! ./components */ "../modules/announcements/assets/js/components/index.js");
2418 +var _eComponent = _interopRequireDefault(__webpack_require__(/*! ./e-component */ "../modules/announcements/assets/js/e-component.js"));
2419 +var AnnouncementIndex = /*#__PURE__*/function () {
2420 + function AnnouncementIndex() {
2421 + (0, _classCallCheck2.default)(this, AnnouncementIndex);
2422 + this.initAnnouncement();
2423 + }
2424 + (0, _createClass2.default)(AnnouncementIndex, [{
2425 + key: "initAnnouncement",
2426 + value: function () {
2427 + var _initAnnouncement = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
2428 + var _window$elementorAnno;
2429 + var container, announcements, unMount;
2430 + return _regenerator.default.wrap(function _callee$(_context) {
2431 + while (1) switch (_context.prev = _context.next) {
2432 + case 0:
2433 + container = document.getElementById('e-announcements-root');
2434 + announcements = (_window$elementorAnno = window.elementorAnnouncementsConfig) === null || _window$elementorAnno === void 0 ? void 0 : _window$elementorAnno.announcements;
2435 + if (!(!announcements || !container)) {
2436 + _context.next = 4;
2437 + break;
2438 + }
2439 + return _context.abrupt("return");
2440 + case 4:
2441 + unMount = function unMount() {
2442 + ReactDOM.unmountComponentAtNode(container);
2443 + document.getElementById('e-announcements-root').remove();
2444 + };
2445 + _context.next = 7;
2446 + return $e.components.register(new _eComponent.default());
2447 + case 7:
2448 + ReactDOM.render( /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_components.Overlay, null), /*#__PURE__*/_react.default.createElement(_components.Announcements, {
2449 + announcements: announcements,
2450 + unMount: unMount
2451 + })), container);
2452 + case 8:
2453 + case "end":
2454 + return _context.stop();
2455 + }
2456 + }, _callee);
2457 + }));
2458 + function initAnnouncement() {
2459 + return _initAnnouncement.apply(this, arguments);
2460 + }
2461 + return initAnnouncement;
2462 + }()
2463 + }]);
2464 + return AnnouncementIndex;
2465 +}();
2466 +exports["default"] = AnnouncementIndex;
2467 +new AnnouncementIndex();
2468 +})();
2469 +
2470 +/******/ })()
2471 +;
1734 2472 //# sourceMappingURL=announcements-app.js.map