PluginProbe
Elementor Website Builder – more than just a page builder / 3.27.4
Elementor Website Builder – more than just a page builder v3.27.4
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 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
elementor / assets / js / admin-top-bar.js

admin-top-bar.js in Elementor Website Builder – more than just a page builder 3.27.4, at assets/js/admin-top-bar.js

1,736 lines 67.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! elementor - v3.27.0 - 13-02-2025 */
2 /******/ (() => { // webpackBootstrap
3 /******/ var __webpack_modules__ = ({
4
5 /***/ "../assets/dev/js/utils/react.js":
6 /*!***************************************!*\
7 !*** ../assets/dev/js/utils/react.js ***!
8 \***************************************/
9 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
10
11 "use strict";
12
13
14 var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
15 Object.defineProperty(exports, "__esModule", ({
16 value: true
17 }));
18 exports["default"] = void 0;
19 var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
20 var ReactDOM = _interopRequireWildcard(__webpack_require__(/*! react-dom */ "react-dom"));
21 var _client = __webpack_require__(/*! react-dom/client */ "../node_modules/react-dom/client.js");
22 function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
23 function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
24 /**
25 * Support conditional rendering of a React App to the DOM, based on the React version.
26 * We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions.
27 *
28 * @param { React.ReactElement } app The app to render.
29 * @param { HTMLElement } domElement The DOM element to render the app into.
30 *
31 * @return {{ unmount: () => void }} The unmount function.
32 */
33 function render(app, domElement) {
34 var unmountFunction;
35 try {
36 var root = (0, _client.createRoot)(domElement);
37 root.render(app);
38 unmountFunction = function unmountFunction() {
39 root.unmount();
40 };
41 } catch (e) {
42 // eslint-disable-next-line react/no-deprecated
43 ReactDOM.render(app, domElement);
44 unmountFunction = function unmountFunction() {
45 // eslint-disable-next-line react/no-deprecated
46 ReactDOM.unmountComponentAtNode(domElement);
47 };
48 }
49 return {
50 unmount: unmountFunction
51 };
52 }
53 var _default = exports["default"] = {
54 render: render
55 };
56
57 /***/ }),
58
59 /***/ "../core/common/assets/js/utils/environment.js":
60 /*!*****************************************************!*\
61 !*** ../core/common/assets/js/utils/environment.js ***!
62 \*****************************************************/
63 /***/ ((__unused_webpack_module, exports) => {
64
65 "use strict";
66
67
68 Object.defineProperty(exports, "__esModule", ({
69 value: true
70 }));
71 exports["default"] = void 0;
72 var matchUserAgent = function matchUserAgent(UserAgentStr) {
73 return userAgent.indexOf(UserAgentStr) >= 0;
74 },
75 userAgent = navigator.userAgent,
76 // Solution influenced by https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser
77
78 // Opera 8.0+
79 isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(' OPR/'),
80 // Firefox 1.0+
81 isFirefox = matchUserAgent('Firefox'),
82 // Safari 3.0+ "[object HTMLElementConstructor]"
83 isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || function (p) {
84 return '[object SafariRemoteNotification]' === p.toString();
85 }(!window.safari || typeof safari !== 'undefined' && safari.pushNotification),
86 // Internet Explorer 6-11
87 isIE = /Trident|MSIE/.test(userAgent) && (/* @cc_on!@*/ false || !!document.documentMode),
88 // Edge 20+
89 isEdge = !isIE && !!window.StyleMedia || matchUserAgent('Edg'),
90 // Google Chrome (Not accurate)
91 isChrome = !!window.chrome && matchUserAgent('Chrome') && !(isEdge || isOpera),
92 // Blink engine
93 isBlink = matchUserAgent('Chrome') && !!window.CSS,
94 // Apple Webkit engine
95 isAppleWebkit = matchUserAgent('AppleWebKit') && !isBlink,
96 isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0,
97 environment = {
98 isTouchDevice: isTouchDevice,
99 appleWebkit: isAppleWebkit,
100 blink: isBlink,
101 chrome: isChrome,
102 edge: isEdge,
103 firefox: isFirefox,
104 ie: isIE,
105 mac: matchUserAgent('Macintosh'),
106 opera: isOpera,
107 safari: isSafari,
108 webkit: matchUserAgent('AppleWebKit')
109 };
110 var _default = exports["default"] = environment;
111
112 /***/ }),
113
114 /***/ "../modules/admin-top-bar/assets/js/admin-top-bar.js":
115 /*!***********************************************************!*\
116 !*** ../modules/admin-top-bar/assets/js/admin-top-bar.js ***!
117 \***********************************************************/
118 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
119
120 "use strict";
121 /* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
122
123
124 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
125 var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
126 Object.defineProperty(exports, "__esModule", ({
127 value: true
128 }));
129 exports["default"] = AdminTopBar;
130 var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
131 var _barButton = _interopRequireDefault(__webpack_require__(/*! ./components/bar-button/bar-button */ "../modules/admin-top-bar/assets/js/components/bar-button/bar-button.js"));
132 var _barHeading = _interopRequireDefault(__webpack_require__(/*! ./components/bar-heading/bar-heading */ "../modules/admin-top-bar/assets/js/components/bar-heading/bar-heading.js"));
133 var _connectionButton = _interopRequireDefault(__webpack_require__(/*! ./components/connection-button/connection-button */ "../modules/admin-top-bar/assets/js/components/connection-button/connection-button.js"));
134 var _usePageTitle = __webpack_require__(/*! ./hooks/use-page-title/use-page-title */ "../modules/admin-top-bar/assets/js/hooks/use-page-title/use-page-title.js");
135 var _environment = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/environment */ "../core/common/assets/js/utils/environment.js"));
136 function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
137 function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
138 function AdminTopBar() {
139 var _window, _elementorNotificatio;
140 var actionButtonsRef = (0, _react.useRef)(),
141 promotion = window.elementorAdminTopBarConfig.promotion;
142
143 // Handle Top Bar visibility on initiation: Indicate that the admin top bar is visible and the page content needs to push down below the admin top bar for visibility.
144 (0, _react.useEffect)(function () {
145 var adminTopBarElement = document.querySelector('#e-admin-top-bar-root');
146 adminTopBarElement.classList.add('e-admin-top-bar--active');
147 }, []);
148
149 // Handle the page title visibility in admin top bar.
150 var pageTitleText = (0, _usePageTitle.usePageTitle)();
151
152 // Handle the action buttons visibility in admin top bar on initiation.
153 (0, _react.useEffect)(function () {
154 var actionButtonElements = document.querySelectorAll('.page-title-action');
155 actionButtonElements.forEach(function (actionButtonElement) {
156 actionButtonsRef.current.appendChild(actionButtonElement);
157 });
158 }, []);
159 var finderAction = function finderAction() {
160 $e.route('finder');
161 };
162 var controlSign = _environment.default.mac ? "\u2318" : '^';
163 var finderTooltipText = __('Search or do anything in Elementor', 'elementor') + " ".concat(controlSign, "+E");
164 var BarButtonNotification = (_window = window) === null || _window === void 0 || (_window = _window.elementorNotificationCenter) === null || _window === void 0 ? void 0 : _window.BarButtonNotification;
165 return /*#__PURE__*/_react.default.createElement("div", {
166 className: "e-admin-top-bar"
167 }, /*#__PURE__*/_react.default.createElement("div", {
168 className: "e-admin-top-bar__main-area"
169 }, /*#__PURE__*/_react.default.createElement(_barHeading.default, null, pageTitleText), /*#__PURE__*/_react.default.createElement("div", {
170 className: "e-admin-top-bar__main-area-buttons",
171 ref: actionButtonsRef
172 })), /*#__PURE__*/_react.default.createElement("div", {
173 className: "e-admin-top-bar__secondary-area"
174 }, /*#__PURE__*/_react.default.createElement("div", {
175 className: "e-admin-top-bar__secondary-area-buttons"
176 }, !elementorAppConfig.hasPro && /*#__PURE__*/_react.default.createElement(_barButton.default, {
177 additionalClasses: "accent",
178 href: promotion.url,
179 target: "__blank",
180 icon: "eicon-upgrade-crown",
181 iconAdditionalClasses: "crown-icon"
182 }, promotion.text), /*#__PURE__*/_react.default.createElement(_barButton.default, {
183 href: window.elementorAdminTopBarConfig.apps_url,
184 icon: "eicon-integration"
185 }, __('Add-ons', 'elementor')), window.elementorAdminTopBarConfig.is_administrator ? /*#__PURE__*/_react.default.createElement(_barButton.default, {
186 onClick: finderAction,
187 dataInfo: finderTooltipText,
188 icon: "eicon-search-bold"
189 }, __('Finder', 'elementor')) : '', window.elementorCloudAdmin ? window.elementorCloudAdmin() : '', BarButtonNotification ? /*#__PURE__*/_react.default.createElement(BarButtonNotification, {
190 defaultIsRead: !((_elementorNotificatio = elementorNotifications) !== null && _elementorNotificatio !== void 0 && _elementorNotificatio.is_unread)
191 }, __('What\'s New', 'elementor')) : ''), /*#__PURE__*/_react.default.createElement(_connectionButton.default, null)));
192 }
193
194 /***/ }),
195
196 /***/ "../modules/admin-top-bar/assets/js/components/bar-button/bar-button.js":
197 /*!******************************************************************************!*\
198 !*** ../modules/admin-top-bar/assets/js/components/bar-button/bar-button.js ***!
199 \******************************************************************************/
200 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
201
202 "use strict";
203 /* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
204
205
206 var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
207 Object.defineProperty(exports, "__esModule", ({
208 value: true
209 }));
210 exports["default"] = BarButton;
211 var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
212 function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
213 function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
214 function BarButton(props) {
215 (0, _react.useEffect)(function () {
216 if (props.dataInfo) {
217 jQuery('.e-admin-top-bar__bar-button[data-info]').tipsy({
218 title: function title() {
219 return this.getAttribute('data-info');
220 },
221 gravity: function gravity() {
222 return 'n';
223 },
224 delayIn: 400,
225 offset: 1
226 });
227 }
228 }, []);
229 return /*#__PURE__*/_react.default.createElement("a", {
230 className: "e-admin-top-bar__bar-button ".concat(props.additionalClasses),
231 ref: props.buttonRef,
232 onClick: props.onClick,
233 "data-info": props.dataInfo,
234 href: props.href,
235 target: props.target
236 }, /*#__PURE__*/_react.default.createElement("i", {
237 className: "e-admin-top-bar__bar-button-icon ".concat(props.icon, " ").concat(props.iconAdditionalClasses)
238 }), /*#__PURE__*/_react.default.createElement("span", {
239 className: "e-admin-top-bar__bar-button-title"
240 }, props.children));
241 }
242 BarButton.propTypes = {
243 children: PropTypes.any,
244 dataInfo: PropTypes.string,
245 icon: PropTypes.any,
246 onClick: PropTypes.func,
247 buttonRef: PropTypes.object,
248 href: PropTypes.string,
249 target: PropTypes.string,
250 additionalClasses: PropTypes.string,
251 iconAdditionalClasses: PropTypes.string
252 };
253
254 /***/ }),
255
256 /***/ "../modules/admin-top-bar/assets/js/components/bar-heading/bar-heading.js":
257 /*!********************************************************************************!*\
258 !*** ../modules/admin-top-bar/assets/js/components/bar-heading/bar-heading.js ***!
259 \********************************************************************************/
260 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
261
262 "use strict";
263 /* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
264
265
266 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
267 Object.defineProperty(exports, "__esModule", ({
268 value: true
269 }));
270 exports["default"] = BarHeading;
271 var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
272 function BarHeading(props) {
273 return /*#__PURE__*/_react.default.createElement("div", {
274 className: "e-admin-top-bar__heading"
275 }, /*#__PURE__*/_react.default.createElement("div", {
276 className: "e-logo-wrapper"
277 }, /*#__PURE__*/_react.default.createElement("i", {
278 className: "eicon-elementor",
279 "aria-hidden": "true"
280 })), /*#__PURE__*/_react.default.createElement("span", {
281 className: "e-admin-top-bar__heading-title"
282 }, props.children));
283 }
284 BarHeading.propTypes = {
285 children: PropTypes.any
286 };
287
288 /***/ }),
289
290 /***/ "../modules/admin-top-bar/assets/js/components/connection-button/connection-button.js":
291 /*!********************************************************************************************!*\
292 !*** ../modules/admin-top-bar/assets/js/components/connection-button/connection-button.js ***!
293 \********************************************************************************************/
294 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
295
296 "use strict";
297 /* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
298
299
300 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
301 var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
302 Object.defineProperty(exports, "__esModule", ({
303 value: true
304 }));
305 exports["default"] = ConnectionButton;
306 var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
307 var _barButton = _interopRequireDefault(__webpack_require__(/*! ../bar-button/bar-button */ "../modules/admin-top-bar/assets/js/components/bar-button/bar-button.js"));
308 function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
309 function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
310 function ConnectionButton() {
311 var buttonRef = (0, _react.useRef)();
312 var isUserConnected = elementorAdminTopBarConfig.is_user_connected;
313 (0, _react.useEffect)(function () {
314 if (!buttonRef.current || isUserConnected) {
315 return;
316 }
317 jQuery(buttonRef.current).elementorConnect();
318 }, []);
319 var tooltipText = __('Connect your account to get access to Elementor\'s Template Library & more.', 'elementor'),
320 connectUrl = elementorAdminTopBarConfig.connect_url,
321 buttonText = __('Connect Account', 'elementor'),
322 targetUrl = '_self';
323 if (isUserConnected) {
324 tooltipText = '';
325 connectUrl = 'https://go.elementor.com/wp-dash-admin-bar-account/';
326 buttonText = __('My Elementor', 'elementor');
327 targetUrl = '_blank';
328 }
329 return /*#__PURE__*/_react.default.createElement(_barButton.default, {
330 icon: "eicon-user-circle-o",
331 buttonRef: buttonRef,
332 dataInfo: tooltipText,
333 href: connectUrl,
334 target: targetUrl
335 }, buttonText);
336 }
337
338 /***/ }),
339
340 /***/ "../modules/admin-top-bar/assets/js/hooks/use-page-title/use-page-title.js":
341 /*!*********************************************************************************!*\
342 !*** ../modules/admin-top-bar/assets/js/hooks/use-page-title/use-page-title.js ***!
343 \*********************************************************************************/
344 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
345
346 "use strict";
347
348
349 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
350 Object.defineProperty(exports, "__esModule", ({
351 value: true
352 }));
353 exports.usePageTitle = void 0;
354 var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js"));
355 var _react = __webpack_require__(/*! react */ "react");
356 var usePageTitle = exports.usePageTitle = function usePageTitle() {
357 var _useState = (0, _react.useState)('Elementor'),
358 _useState2 = (0, _slicedToArray2.default)(_useState, 2),
359 pageTitle = _useState2[0],
360 setPageTitle = _useState2[1];
361 (0, _react.useEffect)(function () {
362 var pageTitleElement = document.querySelector('.wp-heading-inline');
363 if (!pageTitleElement) {
364 return;
365 }
366 setPageTitle(pageTitleElement.innerText);
367 }, []);
368 return pageTitle;
369 };
370
371 /***/ }),
372
373 /***/ "../node_modules/object-assign/index.js":
374 /*!**********************************************!*\
375 !*** ../node_modules/object-assign/index.js ***!
376 \**********************************************/
377 /***/ ((module) => {
378
379 "use strict";
380 /*
381 object-assign
382 (c) Sindre Sorhus
383 @license MIT
384 */
385
386
387 /* eslint-disable no-unused-vars */
388 var getOwnPropertySymbols = Object.getOwnPropertySymbols;
389 var hasOwnProperty = Object.prototype.hasOwnProperty;
390 var propIsEnumerable = Object.prototype.propertyIsEnumerable;
391
392 function toObject(val) {
393 if (val === null || val === undefined) {
394 throw new TypeError('Object.assign cannot be called with null or undefined');
395 }
396
397 return Object(val);
398 }
399
400 function shouldUseNative() {
401 try {
402 if (!Object.assign) {
403 return false;
404 }
405
406 // Detect buggy property enumeration order in older V8 versions.
407
408 // https://bugs.chromium.org/p/v8/issues/detail?id=4118
409 var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
410 test1[5] = 'de';
411 if (Object.getOwnPropertyNames(test1)[0] === '5') {
412 return false;
413 }
414
415 // https://bugs.chromium.org/p/v8/issues/detail?id=3056
416 var test2 = {};
417 for (var i = 0; i < 10; i++) {
418 test2['_' + String.fromCharCode(i)] = i;
419 }
420 var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
421 return test2[n];
422 });
423 if (order2.join('') !== '0123456789') {
424 return false;
425 }
426
427 // https://bugs.chromium.org/p/v8/issues/detail?id=3056
428 var test3 = {};
429 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
430 test3[letter] = letter;
431 });
432 if (Object.keys(Object.assign({}, test3)).join('') !==
433 'abcdefghijklmnopqrst') {
434 return false;
435 }
436
437 return true;
438 } catch (err) {
439 // We don't expect any of the above to throw, but better to be safe.
440 return false;
441 }
442 }
443
444 module.exports = shouldUseNative() ? Object.assign : function (target, source) {
445 var from;
446 var to = toObject(target);
447 var symbols;
448
449 for (var s = 1; s < arguments.length; s++) {
450 from = Object(arguments[s]);
451
452 for (var key in from) {
453 if (hasOwnProperty.call(from, key)) {
454 to[key] = from[key];
455 }
456 }
457
458 if (getOwnPropertySymbols) {
459 symbols = getOwnPropertySymbols(from);
460 for (var i = 0; i < symbols.length; i++) {
461 if (propIsEnumerable.call(from, symbols[i])) {
462 to[symbols[i]] = from[symbols[i]];
463 }
464 }
465 }
466 }
467
468 return to;
469 };
470
471
472 /***/ }),
473
474 /***/ "../node_modules/prop-types/checkPropTypes.js":
475 /*!****************************************************!*\
476 !*** ../node_modules/prop-types/checkPropTypes.js ***!
477 \****************************************************/
478 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
479
480 "use strict";
481 /**
482 * Copyright (c) 2013-present, Facebook, Inc.
483 *
484 * This source code is licensed under the MIT license found in the
485 * LICENSE file in the root directory of this source tree.
486 */
487
488
489
490 var printWarning = function() {};
491
492 if (true) {
493 var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
494 var loggedTypeFailures = {};
495 var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
496
497 printWarning = function(text) {
498 var message = 'Warning: ' + text;
499 if (typeof console !== 'undefined') {
500 console.error(message);
501 }
502 try {
503 // --- Welcome to debugging React ---
504 // This error was thrown as a convenience so that you can use this stack
505 // to find the callsite that caused this warning to fire.
506 throw new Error(message);
507 } catch (x) { /**/ }
508 };
509 }
510
511 /**
512 * Assert that the values match with the type specs.
513 * Error messages are memorized and will only be shown once.
514 *
515 * @param {object} typeSpecs Map of name to a ReactPropType
516 * @param {object} values Runtime values that need to be type-checked
517 * @param {string} location e.g. "prop", "context", "child context"
518 * @param {string} componentName Name of the component for error messages.
519 * @param {?Function} getStack Returns the component stack.
520 * @private
521 */
522 function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
523 if (true) {
524 for (var typeSpecName in typeSpecs) {
525 if (has(typeSpecs, typeSpecName)) {
526 var error;
527 // Prop type validation may throw. In case they do, we don't want to
528 // fail the render phase where it didn't fail before. So we log it.
529 // After these have been cleaned up, we'll let them throw.
530 try {
531 // This is intentionally an invariant that gets caught. It's the same
532 // behavior as without this statement except with a better message.
533 if (typeof typeSpecs[typeSpecName] !== 'function') {
534 var err = Error(
535 (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
536 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
537 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
538 );
539 err.name = 'Invariant Violation';
540 throw err;
541 }
542 error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
543 } catch (ex) {
544 error = ex;
545 }
546 if (error && !(error instanceof Error)) {
547 printWarning(
548 (componentName || 'React class') + ': type specification of ' +
549 location + ' `' + typeSpecName + '` is invalid; the type checker ' +
550 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
551 'You may have forgotten to pass an argument to the type checker ' +
552 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
553 'shape all require an argument).'
554 );
555 }
556 if (error instanceof Error && !(error.message in loggedTypeFailures)) {
557 // Only monitor this failure once because there tends to be a lot of the
558 // same error.
559 loggedTypeFailures[error.message] = true;
560
561 var stack = getStack ? getStack() : '';
562
563 printWarning(
564 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
565 );
566 }
567 }
568 }
569 }
570 }
571
572 /**
573 * Resets warning cache when testing.
574 *
575 * @private
576 */
577 checkPropTypes.resetWarningCache = function() {
578 if (true) {
579 loggedTypeFailures = {};
580 }
581 }
582
583 module.exports = checkPropTypes;
584
585
586 /***/ }),
587
588 /***/ "../node_modules/prop-types/factoryWithTypeCheckers.js":
589 /*!*************************************************************!*\
590 !*** ../node_modules/prop-types/factoryWithTypeCheckers.js ***!
591 \*************************************************************/
592 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
593
594 "use strict";
595 /**
596 * Copyright (c) 2013-present, Facebook, Inc.
597 *
598 * This source code is licensed under the MIT license found in the
599 * LICENSE file in the root directory of this source tree.
600 */
601
602
603
604 var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js");
605 var assign = __webpack_require__(/*! object-assign */ "../node_modules/object-assign/index.js");
606
607 var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
608 var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
609 var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../node_modules/prop-types/checkPropTypes.js");
610
611 var printWarning = function() {};
612
613 if (true) {
614 printWarning = function(text) {
615 var message = 'Warning: ' + text;
616 if (typeof console !== 'undefined') {
617 console.error(message);
618 }
619 try {
620 // --- Welcome to debugging React ---
621 // This error was thrown as a convenience so that you can use this stack
622 // to find the callsite that caused this warning to fire.
623 throw new Error(message);
624 } catch (x) {}
625 };
626 }
627
628 function emptyFunctionThatReturnsNull() {
629 return null;
630 }
631
632 module.exports = function(isValidElement, throwOnDirectAccess) {
633 /* global Symbol */
634 var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
635 var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
636
637 /**
638 * Returns the iterator method function contained on the iterable object.
639 *
640 * Be sure to invoke the function with the iterable as context:
641 *
642 * var iteratorFn = getIteratorFn(myIterable);
643 * if (iteratorFn) {
644 * var iterator = iteratorFn.call(myIterable);
645 * ...
646 * }
647 *
648 * @param {?object} maybeIterable
649 * @return {?function}
650 */
651 function getIteratorFn(maybeIterable) {
652 var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
653 if (typeof iteratorFn === 'function') {
654 return iteratorFn;
655 }
656 }
657
658 /**
659 * Collection of methods that allow declaration and validation of props that are
660 * supplied to React components. Example usage:
661 *
662 * var Props = require('ReactPropTypes');
663 * var MyArticle = React.createClass({
664 * propTypes: {
665 * // An optional string prop named "description".
666 * description: Props.string,
667 *
668 * // A required enum prop named "category".
669 * category: Props.oneOf(['News','Photos']).isRequired,
670 *
671 * // A prop named "dialog" that requires an instance of Dialog.
672 * dialog: Props.instanceOf(Dialog).isRequired
673 * },
674 * render: function() { ... }
675 * });
676 *
677 * A more formal specification of how these methods are used:
678 *
679 * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
680 * decl := ReactPropTypes.{type}(.isRequired)?
681 *
682 * Each and every declaration produces a function with the same signature. This
683 * allows the creation of custom validation functions. For example:
684 *
685 * var MyLink = React.createClass({
686 * propTypes: {
687 * // An optional string or URI prop named "href".
688 * href: function(props, propName, componentName) {
689 * var propValue = props[propName];
690 * if (propValue != null && typeof propValue !== 'string' &&
691 * !(propValue instanceof URI)) {
692 * return new Error(
693 * 'Expected a string or an URI for ' + propName + ' in ' +
694 * componentName
695 * );
696 * }
697 * }
698 * },
699 * render: function() {...}
700 * });
701 *
702 * @internal
703 */
704
705 var ANONYMOUS = '<<anonymous>>';
706
707 // Important!
708 // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
709 var ReactPropTypes = {
710 array: createPrimitiveTypeChecker('array'),
711 bigint: createPrimitiveTypeChecker('bigint'),
712 bool: createPrimitiveTypeChecker('boolean'),
713 func: createPrimitiveTypeChecker('function'),
714 number: createPrimitiveTypeChecker('number'),
715 object: createPrimitiveTypeChecker('object'),
716 string: createPrimitiveTypeChecker('string'),
717 symbol: createPrimitiveTypeChecker('symbol'),
718
719 any: createAnyTypeChecker(),
720 arrayOf: createArrayOfTypeChecker,
721 element: createElementTypeChecker(),
722 elementType: createElementTypeTypeChecker(),
723 instanceOf: createInstanceTypeChecker,
724 node: createNodeChecker(),
725 objectOf: createObjectOfTypeChecker,
726 oneOf: createEnumTypeChecker,
727 oneOfType: createUnionTypeChecker,
728 shape: createShapeTypeChecker,
729 exact: createStrictShapeTypeChecker,
730 };
731
732 /**
733 * inlined Object.is polyfill to avoid requiring consumers ship their own
734 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
735 */
736 /*eslint-disable no-self-compare*/
737 function is(x, y) {
738 // SameValue algorithm
739 if (x === y) {
740 // Steps 1-5, 7-10
741 // Steps 6.b-6.e: +0 != -0
742 return x !== 0 || 1 / x === 1 / y;
743 } else {
744 // Step 6.a: NaN == NaN
745 return x !== x && y !== y;
746 }
747 }
748 /*eslint-enable no-self-compare*/
749
750 /**
751 * We use an Error-like object for backward compatibility as people may call
752 * PropTypes directly and inspect their output. However, we don't use real
753 * Errors anymore. We don't inspect their stack anyway, and creating them
754 * is prohibitively expensive if they are created too often, such as what
755 * happens in oneOfType() for any type before the one that matched.
756 */
757 function PropTypeError(message, data) {
758 this.message = message;
759 this.data = data && typeof data === 'object' ? data: {};
760 this.stack = '';
761 }
762 // Make `instanceof Error` still work for returned errors.
763 PropTypeError.prototype = Error.prototype;
764
765 function createChainableTypeChecker(validate) {
766 if (true) {
767 var manualPropTypeCallCache = {};
768 var manualPropTypeWarningCount = 0;
769 }
770 function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
771 componentName = componentName || ANONYMOUS;
772 propFullName = propFullName || propName;
773
774 if (secret !== ReactPropTypesSecret) {
775 if (throwOnDirectAccess) {
776 // New behavior only for users of `prop-types` package
777 var err = new Error(
778 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
779 'Use `PropTypes.checkPropTypes()` to call them. ' +
780 'Read more at http://fb.me/use-check-prop-types'
781 );
782 err.name = 'Invariant Violation';
783 throw err;
784 } else if ( true && typeof console !== 'undefined') {
785 // Old behavior for people using React.PropTypes
786 var cacheKey = componentName + ':' + propName;
787 if (
788 !manualPropTypeCallCache[cacheKey] &&
789 // Avoid spamming the console because they are often not actionable except for lib authors
790 manualPropTypeWarningCount < 3
791 ) {
792 printWarning(
793 'You are manually calling a React.PropTypes validation ' +
794 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
795 'and will throw in the standalone `prop-types` package. ' +
796 'You may be seeing this warning due to a third-party PropTypes ' +
797 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
798 );
799 manualPropTypeCallCache[cacheKey] = true;
800 manualPropTypeWarningCount++;
801 }
802 }
803 }
804 if (props[propName] == null) {
805 if (isRequired) {
806 if (props[propName] === null) {
807 return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
808 }
809 return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
810 }
811 return null;
812 } else {
813 return validate(props, propName, componentName, location, propFullName);
814 }
815 }
816
817 var chainedCheckType = checkType.bind(null, false);
818 chainedCheckType.isRequired = checkType.bind(null, true);
819
820 return chainedCheckType;
821 }
822
823 function createPrimitiveTypeChecker(expectedType) {
824 function validate(props, propName, componentName, location, propFullName, secret) {
825 var propValue = props[propName];
826 var propType = getPropType(propValue);
827 if (propType !== expectedType) {
828 // `propValue` being instance of, say, date/regexp, pass the 'object'
829 // check, but we can offer a more precise error message here rather than
830 // 'of type `object`'.
831 var preciseType = getPreciseType(propValue);
832
833 return new PropTypeError(
834 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
835 {expectedType: expectedType}
836 );
837 }
838 return null;
839 }
840 return createChainableTypeChecker(validate);
841 }
842
843 function createAnyTypeChecker() {
844 return createChainableTypeChecker(emptyFunctionThatReturnsNull);
845 }
846
847 function createArrayOfTypeChecker(typeChecker) {
848 function validate(props, propName, componentName, location, propFullName) {
849 if (typeof typeChecker !== 'function') {
850 return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
851 }
852 var propValue = props[propName];
853 if (!Array.isArray(propValue)) {
854 var propType = getPropType(propValue);
855 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
856 }
857 for (var i = 0; i < propValue.length; i++) {
858 var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
859 if (error instanceof Error) {
860 return error;
861 }
862 }
863 return null;
864 }
865 return createChainableTypeChecker(validate);
866 }
867
868 function createElementTypeChecker() {
869 function validate(props, propName, componentName, location, propFullName) {
870 var propValue = props[propName];
871 if (!isValidElement(propValue)) {
872 var propType = getPropType(propValue);
873 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
874 }
875 return null;
876 }
877 return createChainableTypeChecker(validate);
878 }
879
880 function createElementTypeTypeChecker() {
881 function validate(props, propName, componentName, location, propFullName) {
882 var propValue = props[propName];
883 if (!ReactIs.isValidElementType(propValue)) {
884 var propType = getPropType(propValue);
885 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
886 }
887 return null;
888 }
889 return createChainableTypeChecker(validate);
890 }
891
892 function createInstanceTypeChecker(expectedClass) {
893 function validate(props, propName, componentName, location, propFullName) {
894 if (!(props[propName] instanceof expectedClass)) {
895 var expectedClassName = expectedClass.name || ANONYMOUS;
896 var actualClassName = getClassName(props[propName]);
897 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
898 }
899 return null;
900 }
901 return createChainableTypeChecker(validate);
902 }
903
904 function createEnumTypeChecker(expectedValues) {
905 if (!Array.isArray(expectedValues)) {
906 if (true) {
907 if (arguments.length > 1) {
908 printWarning(
909 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
910 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
911 );
912 } else {
913 printWarning('Invalid argument supplied to oneOf, expected an array.');
914 }
915 }
916 return emptyFunctionThatReturnsNull;
917 }
918
919 function validate(props, propName, componentName, location, propFullName) {
920 var propValue = props[propName];
921 for (var i = 0; i < expectedValues.length; i++) {
922 if (is(propValue, expectedValues[i])) {
923 return null;
924 }
925 }
926
927 var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
928 var type = getPreciseType(value);
929 if (type === 'symbol') {
930 return String(value);
931 }
932 return value;
933 });
934 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
935 }
936 return createChainableTypeChecker(validate);
937 }
938
939 function createObjectOfTypeChecker(typeChecker) {
940 function validate(props, propName, componentName, location, propFullName) {
941 if (typeof typeChecker !== 'function') {
942 return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
943 }
944 var propValue = props[propName];
945 var propType = getPropType(propValue);
946 if (propType !== 'object') {
947 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
948 }
949 for (var key in propValue) {
950 if (has(propValue, key)) {
951 var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
952 if (error instanceof Error) {
953 return error;
954 }
955 }
956 }
957 return null;
958 }
959 return createChainableTypeChecker(validate);
960 }
961
962 function createUnionTypeChecker(arrayOfTypeCheckers) {
963 if (!Array.isArray(arrayOfTypeCheckers)) {
964 true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0;
965 return emptyFunctionThatReturnsNull;
966 }
967
968 for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
969 var checker = arrayOfTypeCheckers[i];
970 if (typeof checker !== 'function') {
971 printWarning(
972 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
973 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
974 );
975 return emptyFunctionThatReturnsNull;
976 }
977 }
978
979 function validate(props, propName, componentName, location, propFullName) {
980 var expectedTypes = [];
981 for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
982 var checker = arrayOfTypeCheckers[i];
983 var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
984 if (checkerResult == null) {
985 return null;
986 }
987 if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
988 expectedTypes.push(checkerResult.data.expectedType);
989 }
990 }
991 var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
992 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
993 }
994 return createChainableTypeChecker(validate);
995 }
996
997 function createNodeChecker() {
998 function validate(props, propName, componentName, location, propFullName) {
999 if (!isNode(props[propName])) {
1000 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
1001 }
1002 return null;
1003 }
1004 return createChainableTypeChecker(validate);
1005 }
1006
1007 function invalidValidatorError(componentName, location, propFullName, key, type) {
1008 return new PropTypeError(
1009 (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
1010 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
1011 );
1012 }
1013
1014 function createShapeTypeChecker(shapeTypes) {
1015 function validate(props, propName, componentName, location, propFullName) {
1016 var propValue = props[propName];
1017 var propType = getPropType(propValue);
1018 if (propType !== 'object') {
1019 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
1020 }
1021 for (var key in shapeTypes) {
1022 var checker = shapeTypes[key];
1023 if (typeof checker !== 'function') {
1024 return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1025 }
1026 var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1027 if (error) {
1028 return error;
1029 }
1030 }
1031 return null;
1032 }
1033 return createChainableTypeChecker(validate);
1034 }
1035
1036 function createStrictShapeTypeChecker(shapeTypes) {
1037 function validate(props, propName, componentName, location, propFullName) {
1038 var propValue = props[propName];
1039 var propType = getPropType(propValue);
1040 if (propType !== 'object') {
1041 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
1042 }
1043 // We need to check all keys in case some are required but missing from props.
1044 var allKeys = assign({}, props[propName], shapeTypes);
1045 for (var key in allKeys) {
1046 var checker = shapeTypes[key];
1047 if (has(shapeTypes, key) && typeof checker !== 'function') {
1048 return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1049 }
1050 if (!checker) {
1051 return new PropTypeError(
1052 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
1053 '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
1054 '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
1055 );
1056 }
1057 var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1058 if (error) {
1059 return error;
1060 }
1061 }
1062 return null;
1063 }
1064
1065 return createChainableTypeChecker(validate);
1066 }
1067
1068 function isNode(propValue) {
1069 switch (typeof propValue) {
1070 case 'number':
1071 case 'string':
1072 case 'undefined':
1073 return true;
1074 case 'boolean':
1075 return !propValue;
1076 case 'object':
1077 if (Array.isArray(propValue)) {
1078 return propValue.every(isNode);
1079 }
1080 if (propValue === null || isValidElement(propValue)) {
1081 return true;
1082 }
1083
1084 var iteratorFn = getIteratorFn(propValue);
1085 if (iteratorFn) {
1086 var iterator = iteratorFn.call(propValue);
1087 var step;
1088 if (iteratorFn !== propValue.entries) {
1089 while (!(step = iterator.next()).done) {
1090 if (!isNode(step.value)) {
1091 return false;
1092 }
1093 }
1094 } else {
1095 // Iterator will provide entry [k,v] tuples rather than values.
1096 while (!(step = iterator.next()).done) {
1097 var entry = step.value;
1098 if (entry) {
1099 if (!isNode(entry[1])) {
1100 return false;
1101 }
1102 }
1103 }
1104 }
1105 } else {
1106 return false;
1107 }
1108
1109 return true;
1110 default:
1111 return false;
1112 }
1113 }
1114
1115 function isSymbol(propType, propValue) {
1116 // Native Symbol.
1117 if (propType === 'symbol') {
1118 return true;
1119 }
1120
1121 // falsy value can't be a Symbol
1122 if (!propValue) {
1123 return false;
1124 }
1125
1126 // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
1127 if (propValue['@@toStringTag'] === 'Symbol') {
1128 return true;
1129 }
1130
1131 // Fallback for non-spec compliant Symbols which are polyfilled.
1132 if (typeof Symbol === 'function' && propValue instanceof Symbol) {
1133 return true;
1134 }
1135
1136 return false;
1137 }
1138
1139 // Equivalent of `typeof` but with special handling for array and regexp.
1140 function getPropType(propValue) {
1141 var propType = typeof propValue;
1142 if (Array.isArray(propValue)) {
1143 return 'array';
1144 }
1145 if (propValue instanceof RegExp) {
1146 // Old webkits (at least until Android 4.0) return 'function' rather than
1147 // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
1148 // passes PropTypes.object.
1149 return 'object';
1150 }
1151 if (isSymbol(propType, propValue)) {
1152 return 'symbol';
1153 }
1154 return propType;
1155 }
1156
1157 // This handles more types than `getPropType`. Only used for error messages.
1158 // See `createPrimitiveTypeChecker`.
1159 function getPreciseType(propValue) {
1160 if (typeof propValue === 'undefined' || propValue === null) {
1161 return '' + propValue;
1162 }
1163 var propType = getPropType(propValue);
1164 if (propType === 'object') {
1165 if (propValue instanceof Date) {
1166 return 'date';
1167 } else if (propValue instanceof RegExp) {
1168 return 'regexp';
1169 }
1170 }
1171 return propType;
1172 }
1173
1174 // Returns a string that is postfixed to a warning about an invalid type.
1175 // For example, "undefined" or "of type array"
1176 function getPostfixForTypeWarning(value) {
1177 var type = getPreciseType(value);
1178 switch (type) {
1179 case 'array':
1180 case 'object':
1181 return 'an ' + type;
1182 case 'boolean':
1183 case 'date':
1184 case 'regexp':
1185 return 'a ' + type;
1186 default:
1187 return type;
1188 }
1189 }
1190
1191 // Returns class name of the object, if any.
1192 function getClassName(propValue) {
1193 if (!propValue.constructor || !propValue.constructor.name) {
1194 return ANONYMOUS;
1195 }
1196 return propValue.constructor.name;
1197 }
1198
1199 ReactPropTypes.checkPropTypes = checkPropTypes;
1200 ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1201 ReactPropTypes.PropTypes = ReactPropTypes;
1202
1203 return ReactPropTypes;
1204 };
1205
1206
1207 /***/ }),
1208
1209 /***/ "../node_modules/prop-types/index.js":
1210 /*!*******************************************!*\
1211 !*** ../node_modules/prop-types/index.js ***!
1212 \*******************************************/
1213 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1214
1215 /**
1216 * Copyright (c) 2013-present, Facebook, Inc.
1217 *
1218 * This source code is licensed under the MIT license found in the
1219 * LICENSE file in the root directory of this source tree.
1220 */
1221
1222 if (true) {
1223 var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js");
1224
1225 // By explicitly using `prop-types` you are opting into new development behavior.
1226 // http://fb.me/prop-types-in-prod
1227 var throwOnDirectAccess = true;
1228 module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "../node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
1229 } else {}
1230
1231
1232 /***/ }),
1233
1234 /***/ "../node_modules/prop-types/lib/ReactPropTypesSecret.js":
1235 /*!**************************************************************!*\
1236 !*** ../node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
1237 \**************************************************************/
1238 /***/ ((module) => {
1239
1240 "use strict";
1241 /**
1242 * Copyright (c) 2013-present, Facebook, Inc.
1243 *
1244 * This source code is licensed under the MIT license found in the
1245 * LICENSE file in the root directory of this source tree.
1246 */
1247
1248
1249
1250 var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
1251
1252 module.exports = ReactPropTypesSecret;
1253
1254
1255 /***/ }),
1256
1257 /***/ "../node_modules/prop-types/lib/has.js":
1258 /*!*********************************************!*\
1259 !*** ../node_modules/prop-types/lib/has.js ***!
1260 \*********************************************/
1261 /***/ ((module) => {
1262
1263 module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
1264
1265
1266 /***/ }),
1267
1268 /***/ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js":
1269 /*!************************************************************************************!*\
1270 !*** ../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js ***!
1271 \************************************************************************************/
1272 /***/ ((__unused_webpack_module, exports) => {
1273
1274 "use strict";
1275 /** @license React v16.13.1
1276 * react-is.development.js
1277 *
1278 * Copyright (c) Facebook, Inc. and its affiliates.
1279 *
1280 * This source code is licensed under the MIT license found in the
1281 * LICENSE file in the root directory of this source tree.
1282 */
1283
1284
1285
1286
1287
1288 if (true) {
1289 (function() {
1290 'use strict';
1291
1292 // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1293 // nor polyfill, then a plain number is used for performance.
1294 var hasSymbol = typeof Symbol === 'function' && Symbol.for;
1295 var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
1296 var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
1297 var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
1298 var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
1299 var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
1300 var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
1301 var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
1302 // (unstable) APIs that have been removed. Can we remove the symbols?
1303
1304 var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
1305 var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
1306 var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
1307 var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
1308 var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
1309 var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
1310 var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
1311 var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
1312 var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
1313 var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
1314 var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
1315
1316 function isValidElementType(type) {
1317 return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1318 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);
1319 }
1320
1321 function typeOf(object) {
1322 if (typeof object === 'object' && object !== null) {
1323 var $$typeof = object.$$typeof;
1324
1325 switch ($$typeof) {
1326 case REACT_ELEMENT_TYPE:
1327 var type = object.type;
1328
1329 switch (type) {
1330 case REACT_ASYNC_MODE_TYPE:
1331 case REACT_CONCURRENT_MODE_TYPE:
1332 case REACT_FRAGMENT_TYPE:
1333 case REACT_PROFILER_TYPE:
1334 case REACT_STRICT_MODE_TYPE:
1335 case REACT_SUSPENSE_TYPE:
1336 return type;
1337
1338 default:
1339 var $$typeofType = type && type.$$typeof;
1340
1341 switch ($$typeofType) {
1342 case REACT_CONTEXT_TYPE:
1343 case REACT_FORWARD_REF_TYPE:
1344 case REACT_LAZY_TYPE:
1345 case REACT_MEMO_TYPE:
1346 case REACT_PROVIDER_TYPE:
1347 return $$typeofType;
1348
1349 default:
1350 return $$typeof;
1351 }
1352
1353 }
1354
1355 case REACT_PORTAL_TYPE:
1356 return $$typeof;
1357 }
1358 }
1359
1360 return undefined;
1361 } // AsyncMode is deprecated along with isAsyncMode
1362
1363 var AsyncMode = REACT_ASYNC_MODE_TYPE;
1364 var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
1365 var ContextConsumer = REACT_CONTEXT_TYPE;
1366 var ContextProvider = REACT_PROVIDER_TYPE;
1367 var Element = REACT_ELEMENT_TYPE;
1368 var ForwardRef = REACT_FORWARD_REF_TYPE;
1369 var Fragment = REACT_FRAGMENT_TYPE;
1370 var Lazy = REACT_LAZY_TYPE;
1371 var Memo = REACT_MEMO_TYPE;
1372 var Portal = REACT_PORTAL_TYPE;
1373 var Profiler = REACT_PROFILER_TYPE;
1374 var StrictMode = REACT_STRICT_MODE_TYPE;
1375 var Suspense = REACT_SUSPENSE_TYPE;
1376 var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
1377
1378 function isAsyncMode(object) {
1379 {
1380 if (!hasWarnedAboutDeprecatedIsAsyncMode) {
1381 hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
1382
1383 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.');
1384 }
1385 }
1386
1387 return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
1388 }
1389 function isConcurrentMode(object) {
1390 return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
1391 }
1392 function isContextConsumer(object) {
1393 return typeOf(object) === REACT_CONTEXT_TYPE;
1394 }
1395 function isContextProvider(object) {
1396 return typeOf(object) === REACT_PROVIDER_TYPE;
1397 }
1398 function isElement(object) {
1399 return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1400 }
1401 function isForwardRef(object) {
1402 return typeOf(object) === REACT_FORWARD_REF_TYPE;
1403 }
1404 function isFragment(object) {
1405 return typeOf(object) === REACT_FRAGMENT_TYPE;
1406 }
1407 function isLazy(object) {
1408 return typeOf(object) === REACT_LAZY_TYPE;
1409 }
1410 function isMemo(object) {
1411 return typeOf(object) === REACT_MEMO_TYPE;
1412 }
1413 function isPortal(object) {
1414 return typeOf(object) === REACT_PORTAL_TYPE;
1415 }
1416 function isProfiler(object) {
1417 return typeOf(object) === REACT_PROFILER_TYPE;
1418 }
1419 function isStrictMode(object) {
1420 return typeOf(object) === REACT_STRICT_MODE_TYPE;
1421 }
1422 function isSuspense(object) {
1423 return typeOf(object) === REACT_SUSPENSE_TYPE;
1424 }
1425
1426 exports.AsyncMode = AsyncMode;
1427 exports.ConcurrentMode = ConcurrentMode;
1428 exports.ContextConsumer = ContextConsumer;
1429 exports.ContextProvider = ContextProvider;
1430 exports.Element = Element;
1431 exports.ForwardRef = ForwardRef;
1432 exports.Fragment = Fragment;
1433 exports.Lazy = Lazy;
1434 exports.Memo = Memo;
1435 exports.Portal = Portal;
1436 exports.Profiler = Profiler;
1437 exports.StrictMode = StrictMode;
1438 exports.Suspense = Suspense;
1439 exports.isAsyncMode = isAsyncMode;
1440 exports.isConcurrentMode = isConcurrentMode;
1441 exports.isContextConsumer = isContextConsumer;
1442 exports.isContextProvider = isContextProvider;
1443 exports.isElement = isElement;
1444 exports.isForwardRef = isForwardRef;
1445 exports.isFragment = isFragment;
1446 exports.isLazy = isLazy;
1447 exports.isMemo = isMemo;
1448 exports.isPortal = isPortal;
1449 exports.isProfiler = isProfiler;
1450 exports.isStrictMode = isStrictMode;
1451 exports.isSuspense = isSuspense;
1452 exports.isValidElementType = isValidElementType;
1453 exports.typeOf = typeOf;
1454 })();
1455 }
1456
1457
1458 /***/ }),
1459
1460 /***/ "../node_modules/prop-types/node_modules/react-is/index.js":
1461 /*!*****************************************************************!*\
1462 !*** ../node_modules/prop-types/node_modules/react-is/index.js ***!
1463 \*****************************************************************/
1464 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1465
1466 "use strict";
1467
1468
1469 if (false) {} else {
1470 module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js");
1471 }
1472
1473
1474 /***/ }),
1475
1476 /***/ "../node_modules/react-dom/client.js":
1477 /*!*******************************************!*\
1478 !*** ../node_modules/react-dom/client.js ***!
1479 \*******************************************/
1480 /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1481
1482 "use strict";
1483
1484
1485 var m = __webpack_require__(/*! react-dom */ "react-dom");
1486 if (false) {} else {
1487 var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1488 exports.createRoot = function(c, o) {
1489 i.usingClientEntryPoint = true;
1490 try {
1491 return m.createRoot(c, o);
1492 } finally {
1493 i.usingClientEntryPoint = false;
1494 }
1495 };
1496 exports.hydrateRoot = function(c, h, o) {
1497 i.usingClientEntryPoint = true;
1498 try {
1499 return m.hydrateRoot(c, h, o);
1500 } finally {
1501 i.usingClientEntryPoint = false;
1502 }
1503 };
1504 }
1505
1506
1507 /***/ }),
1508
1509 /***/ "react":
1510 /*!************************!*\
1511 !*** external "React" ***!
1512 \************************/
1513 /***/ ((module) => {
1514
1515 "use strict";
1516 module.exports = React;
1517
1518 /***/ }),
1519
1520 /***/ "react-dom":
1521 /*!***************************!*\
1522 !*** external "ReactDOM" ***!
1523 \***************************/
1524 /***/ ((module) => {
1525
1526 "use strict";
1527 module.exports = ReactDOM;
1528
1529 /***/ }),
1530
1531 /***/ "@wordpress/i18n":
1532 /*!**************************!*\
1533 !*** external "wp.i18n" ***!
1534 \**************************/
1535 /***/ ((module) => {
1536
1537 "use strict";
1538 module.exports = wp.i18n;
1539
1540 /***/ }),
1541
1542 /***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
1543 /*!******************************************************************!*\
1544 !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
1545 \******************************************************************/
1546 /***/ ((module) => {
1547
1548 function _arrayLikeToArray(r, a) {
1549 (null == a || a > r.length) && (a = r.length);
1550 for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
1551 return n;
1552 }
1553 module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1554
1555 /***/ }),
1556
1557 /***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js":
1558 /*!****************************************************************!*\
1559 !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
1560 \****************************************************************/
1561 /***/ ((module) => {
1562
1563 function _arrayWithHoles(r) {
1564 if (Array.isArray(r)) return r;
1565 }
1566 module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
1567
1568 /***/ }),
1569
1570 /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js":
1571 /*!***********************************************************************!*\
1572 !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
1573 \***********************************************************************/
1574 /***/ ((module) => {
1575
1576 function _interopRequireDefault(e) {
1577 return e && e.__esModule ? e : {
1578 "default": e
1579 };
1580 }
1581 module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
1582
1583 /***/ }),
1584
1585 /***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":
1586 /*!**********************************************************************!*\
1587 !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
1588 \**********************************************************************/
1589 /***/ ((module) => {
1590
1591 function _iterableToArrayLimit(r, l) {
1592 var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
1593 if (null != t) {
1594 var e,
1595 n,
1596 i,
1597 u,
1598 a = [],
1599 f = !0,
1600 o = !1;
1601 try {
1602 if (i = (t = t.call(r)).next, 0 === l) {
1603 if (Object(t) !== t) return;
1604 f = !1;
1605 } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
1606 } catch (r) {
1607 o = !0, n = r;
1608 } finally {
1609 try {
1610 if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
1611 } finally {
1612 if (o) throw n;
1613 }
1614 }
1615 return a;
1616 }
1617 }
1618 module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
1619
1620 /***/ }),
1621
1622 /***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js":
1623 /*!*****************************************************************!*\
1624 !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
1625 \*****************************************************************/
1626 /***/ ((module) => {
1627
1628 function _nonIterableRest() {
1629 throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1630 }
1631 module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
1632
1633 /***/ }),
1634
1635 /***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js":
1636 /*!***************************************************************!*\
1637 !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***!
1638 \***************************************************************/
1639 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1640
1641 var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js");
1642 var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js");
1643 var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
1644 var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js");
1645 function _slicedToArray(r, e) {
1646 return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();
1647 }
1648 module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1649
1650 /***/ }),
1651
1652 /***/ "../node_modules/@babel/runtime/helpers/typeof.js":
1653 /*!********************************************************!*\
1654 !*** ../node_modules/@babel/runtime/helpers/typeof.js ***!
1655 \********************************************************/
1656 /***/ ((module) => {
1657
1658 function _typeof(o) {
1659 "@babel/helpers - typeof";
1660
1661 return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1662 return typeof o;
1663 } : function (o) {
1664 return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1665 }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
1666 }
1667 module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
1668
1669 /***/ }),
1670
1671 /***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
1672 /*!****************************************************************************!*\
1673 !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
1674 \****************************************************************************/
1675 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1676
1677 var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
1678 function _unsupportedIterableToArray(r, a) {
1679 if (r) {
1680 if ("string" == typeof r) return arrayLikeToArray(r, a);
1681 var t = {}.toString.call(r).slice(8, -1);
1682 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;
1683 }
1684 }
1685 module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1686
1687 /***/ })
1688
1689 /******/ });
1690 /************************************************************************/
1691 /******/ // The module cache
1692 /******/ var __webpack_module_cache__ = {};
1693 /******/
1694 /******/ // The require function
1695 /******/ function __webpack_require__(moduleId) {
1696 /******/ // Check if module is in cache
1697 /******/ var cachedModule = __webpack_module_cache__[moduleId];
1698 /******/ if (cachedModule !== undefined) {
1699 /******/ return cachedModule.exports;
1700 /******/ }
1701 /******/ // Create a new module (and put it into the cache)
1702 /******/ var module = __webpack_module_cache__[moduleId] = {
1703 /******/ // no module.id needed
1704 /******/ // no module.loaded needed
1705 /******/ exports: {}
1706 /******/ };
1707 /******/
1708 /******/ // Execute the module function
1709 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1710 /******/
1711 /******/ // Return the exports of the module
1712 /******/ return module.exports;
1713 /******/ }
1714 /******/
1715 /************************************************************************/
1716 var __webpack_exports__ = {};
1717 // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
1718 (() => {
1719 "use strict";
1720 /*!***************************************************!*\
1721 !*** ../modules/admin-top-bar/assets/js/admin.js ***!
1722 \***************************************************/
1723
1724
1725 var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1726 var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
1727 var _react2 = _interopRequireDefault(__webpack_require__(/*! elementor-utils/react */ "../assets/dev/js/utils/react.js"));
1728 var _adminTopBar = _interopRequireDefault(__webpack_require__(/*! ./admin-top-bar */ "../modules/admin-top-bar/assets/js/admin-top-bar.js"));
1729 var AppWrapper = elementorCommon.config.isDebug ? _react.default.StrictMode : _react.default.Fragment;
1730 var adminTopBarElement = document.getElementById('e-admin-top-bar-root');
1731 _react2.default.render(/*#__PURE__*/_react.default.createElement(AppWrapper, null, /*#__PURE__*/_react.default.createElement(_adminTopBar.default, null)), adminTopBarElement);
1732 })();
1733
1734 /******/ })()
1735 ;
1736 //# sourceMappingURL=admin-top-bar.js.map