| @@ -1,306 +1,540 @@ | ||
| 1 | -(function(_wordpress_i18n) { | |
| 1 | +/*! elementor - v3.23.0 - 01-07-2024 */ | |
| 2 | +/******/ (() => { // webpackBootstrap | |
| 3 | +/******/ var __webpack_modules__ = ({ | |
| 2 | 4 | |
| 3 | -//#region \0rolldown/runtime.js | |
| 4 | - var __defProp = Object.defineProperty; | |
| 5 | - var __name = (target, value) => __defProp(target, "name", { | |
| 6 | - value, | |
| 7 | - configurable: true | |
| 8 | - }); | |
| 9 | - var __exportAll = (all, no_symbols) => { | |
| 10 | - let target = {}; | |
| 11 | - for (var name in all) { | |
| 12 | - __defProp(target, name, { | |
| 13 | - get: all[name], | |
| 14 | - enumerable: true | |
| 15 | - }); | |
| 16 | - } | |
| 17 | - if (!no_symbols) { | |
| 18 | - __defProp(target, Symbol.toStringTag, { value: "Module" }); | |
| 19 | - } | |
| 20 | - return target; | |
| 21 | - }; | |
| 5 | +/***/ "../modules/notes/assets/js/e-component.js": | |
| 6 | +/*!*************************************************!*\ | |
| 7 | + !*** ../modules/notes/assets/js/e-component.js ***! | |
| 8 | + \*************************************************/ | |
| 9 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 22 | 10 | |
| 23 | -//#endregion | |
| 11 | +"use strict"; | |
| 24 | 12 | |
| 25 | -//#region node_modules/@babel/runtime/helpers/esm/classCallCheck.js | |
| 26 | - function _classCallCheck(a, n) { | |
| 27 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 28 | - } | |
| 29 | 13 | |
| 30 | -//#endregion | |
| 31 | -//#region node_modules/@babel/runtime/helpers/esm/typeof.js | |
| 32 | - function _typeof(o) { | |
| 33 | - "@babel/helpers - typeof"; | |
| 34 | - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 35 | - return typeof o; | |
| 36 | - } : function(o) { | |
| 37 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 38 | - }, _typeof(o); | |
| 39 | - } | |
| 14 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 15 | +var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"); | |
| 16 | +Object.defineProperty(exports, "__esModule", ({ | |
| 17 | + value: true | |
| 18 | +})); | |
| 19 | +exports["default"] = void 0; | |
| 20 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 21 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 22 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 23 | +var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 24 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 25 | +var modules = _interopRequireWildcard(__webpack_require__(/*! ./modules/ */ "../modules/notes/assets/js/modules/index.js")); | |
| 26 | +var hooks = _interopRequireWildcard(__webpack_require__(/*! ./hooks/ */ "../modules/notes/assets/js/hooks/index.js")); | |
| 27 | +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); } | |
| 28 | +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; } | |
| 29 | +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); }; } | |
| 30 | +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; } } | |
| 31 | +var EComponent = /*#__PURE__*/function (_$e$modules$Component) { | |
| 32 | + (0, _inherits2.default)(EComponent, _$e$modules$Component); | |
| 33 | + var _super = _createSuper(EComponent); | |
| 34 | + function EComponent(args) { | |
| 35 | + var _this; | |
| 36 | + (0, _classCallCheck2.default)(this, EComponent); | |
| 37 | + _this = _super.call(this, args); | |
| 38 | + _this.loadModules(); | |
| 39 | + return _this; | |
| 40 | + } | |
| 40 | 41 | |
| 41 | -//#endregion | |
| 42 | -//#region node_modules/@babel/runtime/helpers/esm/toPrimitive.js | |
| 43 | - function toPrimitive(t, r) { | |
| 44 | - if ("object" != _typeof(t) || !t) return t; | |
| 45 | - var e = t[Symbol.toPrimitive]; | |
| 46 | - if (void 0 !== e) { | |
| 47 | - var i = e.call(t, r || "default"); | |
| 48 | - if ("object" != _typeof(i)) return i; | |
| 49 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 50 | - } | |
| 51 | - return ("string" === r ? String : Number)(t); | |
| 52 | - } | |
| 42 | + /** | |
| 43 | + * @return {string} The namespace of the component | |
| 44 | + */ | |
| 45 | + (0, _createClass2.default)(EComponent, [{ | |
| 46 | + key: "getNamespace", | |
| 47 | + value: function getNamespace() { | |
| 48 | + return 'notes'; | |
| 49 | + } | |
| 53 | 50 | |
| 54 | -//#endregion | |
| 55 | -//#region node_modules/@babel/runtime/helpers/esm/toPropertyKey.js | |
| 56 | - function toPropertyKey(t) { | |
| 57 | - var i = toPrimitive(t, "string"); | |
| 58 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 59 | - } | |
| 51 | + /** | |
| 52 | + * @return {*} All the hooks | |
| 53 | + */ | |
| 54 | + }, { | |
| 55 | + key: "defaultHooks", | |
| 56 | + value: function defaultHooks() { | |
| 57 | + return this.importHooks(hooks); | |
| 58 | + } | |
| 59 | + }, { | |
| 60 | + key: "loadModules", | |
| 61 | + value: function loadModules() { | |
| 62 | + for (var key in modules) { | |
| 63 | + new modules[key](); | |
| 64 | + } | |
| 65 | + } | |
| 66 | + }]); | |
| 67 | + return EComponent; | |
| 68 | +}($e.modules.ComponentBase); | |
| 69 | +exports["default"] = EComponent; | |
| 60 | 70 | |
| 61 | -//#endregion | |
| 62 | -//#region node_modules/@babel/runtime/helpers/esm/createClass.js | |
| 63 | - function _defineProperties(e, r) { | |
| 64 | - for (var t = 0; t < r.length; t++) { | |
| 65 | - var o = r[t]; | |
| 66 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 67 | - } | |
| 68 | - } | |
| 69 | - function _createClass(e, r, t) { | |
| 70 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; | |
| 71 | - } | |
| 71 | +/***/ }), | |
| 72 | 72 | |
| 73 | -//#endregion | |
| 74 | -//#region node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js | |
| 75 | - function _assertThisInitialized(e) { | |
| 76 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 77 | - return e; | |
| 78 | - } | |
| 73 | +/***/ "../modules/notes/assets/js/hooks/index.js": | |
| 74 | +/*!*************************************************!*\ | |
| 75 | + !*** ../modules/notes/assets/js/hooks/index.js ***! | |
| 76 | + \*************************************************/ | |
| 77 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 79 | 78 | |
| 80 | -//#endregion | |
| 81 | -//#region node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js | |
| 82 | - function _possibleConstructorReturn(t, e) { | |
| 83 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 84 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 85 | - return _assertThisInitialized(t); | |
| 86 | - } | |
| 79 | +"use strict"; | |
| 87 | 80 | |
| 88 | -//#endregion | |
| 89 | -//#region node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js | |
| 90 | - function _getPrototypeOf(t) { | |
| 91 | - return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) { | |
| 92 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 93 | - }, _getPrototypeOf(t); | |
| 94 | - } | |
| 95 | 81 | |
| 96 | -//#endregion | |
| 97 | -//#region node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js | |
| 98 | - function _setPrototypeOf(t, e) { | |
| 99 | - return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) { | |
| 100 | - return t.__proto__ = e, t; | |
| 101 | - }, _setPrototypeOf(t, e); | |
| 102 | - } | |
| 82 | +Object.defineProperty(exports, "__esModule", ({ | |
| 83 | + value: true | |
| 84 | +})); | |
| 85 | +Object.defineProperty(exports, "NotesAddPanelMenuItem", ({ | |
| 86 | + enumerable: true, | |
| 87 | + get: function get() { | |
| 88 | + return _notesAddPanelMenuItem.NotesAddPanelMenuItem; | |
| 89 | + } | |
| 90 | +})); | |
| 91 | +var _notesAddPanelMenuItem = __webpack_require__(/*! ./ui/panel/state-ready/notes-add-panel-menu-item */ "../modules/notes/assets/js/hooks/ui/panel/state-ready/notes-add-panel-menu-item.js"); | |
| 103 | 92 | |
| 104 | -//#endregion | |
| 105 | -//#region node_modules/@babel/runtime/helpers/esm/inherits.js | |
| 106 | - function _inherits(t, e) { | |
| 107 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 108 | - t.prototype = Object.create(e && e.prototype, { constructor: { | |
| 109 | - value: t, | |
| 110 | - writable: !0, | |
| 111 | - configurable: !0 | |
| 112 | - } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); | |
| 113 | - } | |
| 93 | +/***/ }), | |
| 114 | 94 | |
| 115 | -//#endregion | |
| 116 | -//#region modules/notes/assets/js/modules/context-menu/notes-context-menu.js | |
| 117 | - function _callSuper$2(t, o, e) { | |
| 118 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$2() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 119 | - } | |
| 120 | - __name(_callSuper$2, "_callSuper"); | |
| 121 | - function _isNativeReflectConstruct$2() { | |
| 122 | - try { | |
| 123 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 124 | - } catch (t) {} | |
| 125 | - return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { | |
| 126 | - return !!t; | |
| 127 | - })(); | |
| 128 | - } | |
| 129 | - __name(_isNativeReflectConstruct$2, "_isNativeReflectConstruct"); | |
| 130 | - var NotesContextMenu = /*#__PURE__*/ function(_elementorModules$edi) { | |
| 131 | - function NotesContextMenu() { | |
| 132 | - _classCallCheck(this, NotesContextMenu); | |
| 133 | - return _callSuper$2(this, NotesContextMenu, arguments); | |
| 134 | - } | |
| 135 | - _inherits(NotesContextMenu, _elementorModules$edi); | |
| 136 | - return _createClass(NotesContextMenu, [ | |
| 137 | - { | |
| 138 | - key: "onInit", | |
| 139 | - value: function onInit() { | |
| 140 | - this.contextMenuNotesGroup(); | |
| 141 | - } | |
| 142 | - }, | |
| 143 | - { | |
| 144 | - key: "contextMenuNotesGroup", | |
| 145 | - value: function contextMenuNotesGroup() { | |
| 146 | - var _this = this; | |
| 147 | - [ | |
| 148 | - "widget", | |
| 149 | - "section", | |
| 150 | - "column", | |
| 151 | - "container" | |
| 152 | - ].forEach(function(type) { | |
| 153 | - elementor.hooks.addFilter("elements/".concat(type, "/contextMenuGroups"), _this.contextMenuAddGroup); | |
| 154 | - }); | |
| 155 | - } | |
| 156 | - }, | |
| 157 | - { | |
| 158 | - key: "contextMenuAddGroup", | |
| 159 | - value: function contextMenuAddGroup(groups) { | |
| 160 | - var deleteGroup = _.findWhere(groups, { name: "delete" }); | |
| 161 | - var deleteGroupIndex = groups.indexOf(deleteGroup); | |
| 162 | - if (-1 === deleteGroupIndex) deleteGroupIndex = groups.length; | |
| 163 | - groups.splice(deleteGroupIndex, 0, { | |
| 164 | - name: "notes", | |
| 165 | - actions: [{ | |
| 166 | - name: "open_notes", | |
| 167 | - title: (0, _wordpress_i18n.__)("Notes", "elementor"), | |
| 168 | - shortcut: "<i class=\"eicon-pro-icon\"></i>", | |
| 169 | - promotionURL: "https://go.elementor.com/go-pro-notes-context-menu/", | |
| 170 | - isEnabled: function isEnabled() { | |
| 171 | - return false; | |
| 172 | - }, | |
| 173 | - callback: function callback() {} | |
| 174 | - }] | |
| 175 | - }); | |
| 176 | - return groups; | |
| 177 | - } | |
| 178 | - } | |
| 179 | - ]); | |
| 180 | - }(elementorModules.editor.utils.Module); | |
| 95 | +/***/ "../modules/notes/assets/js/hooks/ui/panel/state-ready/notes-add-panel-menu-item.js": | |
| 96 | +/*!******************************************************************************************!*\ | |
| 97 | + !*** ../modules/notes/assets/js/hooks/ui/panel/state-ready/notes-add-panel-menu-item.js ***! | |
| 98 | + \******************************************************************************************/ | |
| 99 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 181 | 100 | |
| 182 | -//#endregion | |
| 183 | -//#region modules/notes/assets/js/modules/index.js | |
| 184 | - var modules_exports = /* @__PURE__ */ __exportAll({ NotesContextMenu: () => NotesContextMenu }); | |
| 101 | +"use strict"; | |
| 102 | +/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; | |
| 185 | 103 | |
| 186 | -//#endregion | |
| 187 | -//#region modules/notes/assets/js/hooks/ui/panel/state-ready/notes-add-panel-menu-item.js | |
| 188 | - function _callSuper$1(t, o, e) { | |
| 189 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$1() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 190 | - } | |
| 191 | - __name(_callSuper$1, "_callSuper"); | |
| 192 | - function _isNativeReflectConstruct$1() { | |
| 193 | - try { | |
| 194 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 195 | - } catch (t) {} | |
| 196 | - return (_isNativeReflectConstruct$1 = function _isNativeReflectConstruct() { | |
| 197 | - return !!t; | |
| 198 | - })(); | |
| 199 | - } | |
| 200 | - __name(_isNativeReflectConstruct$1, "_isNativeReflectConstruct"); | |
| 201 | - var NotesAddPanelMenuItem = /*#__PURE__*/ function(_$e$modules$hookUI$Af) { | |
| 202 | - function NotesAddPanelMenuItem() { | |
| 203 | - _classCallCheck(this, NotesAddPanelMenuItem); | |
| 204 | - return _callSuper$1(this, NotesAddPanelMenuItem, arguments); | |
| 205 | - } | |
| 206 | - _inherits(NotesAddPanelMenuItem, _$e$modules$hookUI$Af); | |
| 207 | - return _createClass(NotesAddPanelMenuItem, [ | |
| 208 | - { | |
| 209 | - key: "getCommand", | |
| 210 | - value: function getCommand() { | |
| 211 | - return "panel/state-ready"; | |
| 212 | - } | |
| 213 | - }, | |
| 214 | - { | |
| 215 | - key: "getId", | |
| 216 | - value: function getId() { | |
| 217 | - return "notes-add-panel-menu-item"; | |
| 218 | - } | |
| 219 | - }, | |
| 220 | - { | |
| 221 | - key: "apply", | |
| 222 | - value: function apply() { | |
| 223 | - elementor.modules.layouts.panel.pages.menu.Menu.addItem({ | |
| 224 | - name: "notes", | |
| 225 | - icon: "eicon-commenting-o", | |
| 226 | - title: (0, _wordpress_i18n.__)("Notes", "elementor") + "<i class=\"elementor-panel-menu-item-title-badge eicon-pro-icon\"></i>", | |
| 227 | - callback: function callback() { | |
| 228 | - var hasProAndNotConnected = elementor.helpers.hasProAndNotConnected(); | |
| 229 | - elementor.promotion.showDialog({ | |
| 230 | - title: (0, _wordpress_i18n.__)("Notes", "elementor"), | |
| 231 | - content: (0, _wordpress_i18n.__)("With Notes, teamwork gets even better. Stay in sync with comments, feedback & more on your website.", "elementor"), | |
| 232 | - position: { | |
| 233 | - blockStart: "-3", | |
| 234 | - inlineStart: "+10" | |
| 235 | - }, | |
| 236 | - targetElement: this.$el, | |
| 237 | - actionButton: { | |
| 238 | - url: hasProAndNotConnected ? elementorProEditorConfig.urls.connect : elementor.config.promotions.notes.upgrade_url || "https://go.elementor.com/go-pro-notes/", | |
| 239 | - text: hasProAndNotConnected ? (0, _wordpress_i18n.__)("Connect & Activate", "elementor") : (0, _wordpress_i18n.__)("Upgrade", "elementor") | |
| 240 | - } | |
| 241 | - }); | |
| 242 | - } | |
| 243 | - }, "navigate_from_page", "finder"); | |
| 244 | - } | |
| 245 | - } | |
| 246 | - ]); | |
| 247 | - }($e.modules.hookUI.After); | |
| 248 | 104 | |
| 249 | -//#endregion | |
| 250 | -//#region modules/notes/assets/js/hooks/index.js | |
| 251 | - var hooks_exports = /* @__PURE__ */ __exportAll({ NotesAddPanelMenuItem: () => NotesAddPanelMenuItem }); | |
| 105 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 106 | +Object.defineProperty(exports, "__esModule", ({ | |
| 107 | + value: true | |
| 108 | +})); | |
| 109 | +exports["default"] = exports.NotesAddPanelMenuItem = void 0; | |
| 110 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 111 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 112 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 113 | +var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 114 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 115 | +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); }; } | |
| 116 | +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; } } | |
| 117 | +var NotesAddPanelMenuItem = /*#__PURE__*/function (_$e$modules$hookUI$Af) { | |
| 118 | + (0, _inherits2.default)(NotesAddPanelMenuItem, _$e$modules$hookUI$Af); | |
| 119 | + var _super = _createSuper(NotesAddPanelMenuItem); | |
| 120 | + function NotesAddPanelMenuItem() { | |
| 121 | + (0, _classCallCheck2.default)(this, NotesAddPanelMenuItem); | |
| 122 | + return _super.apply(this, arguments); | |
| 123 | + } | |
| 124 | + (0, _createClass2.default)(NotesAddPanelMenuItem, [{ | |
| 125 | + key: "getCommand", | |
| 126 | + value: function getCommand() { | |
| 127 | + return 'panel/state-ready'; | |
| 128 | + } | |
| 129 | + }, { | |
| 130 | + key: "getId", | |
| 131 | + value: function getId() { | |
| 132 | + return 'notes-add-panel-menu-item'; | |
| 133 | + } | |
| 134 | + }, { | |
| 135 | + key: "apply", | |
| 136 | + value: function apply() { | |
| 137 | + elementor.modules.layouts.panel.pages.menu.Menu.addItem({ | |
| 138 | + name: 'notes', | |
| 139 | + icon: 'eicon-commenting-o', | |
| 140 | + title: __('Notes', 'elementor') + '<i class="elementor-panel-menu-item-title-badge eicon-pro-icon"></i>', | |
| 141 | + callback: function callback() { | |
| 142 | + var hasProAndNotConnected = elementor.helpers.hasProAndNotConnected(); | |
| 143 | + elementor.promotion.showDialog({ | |
| 144 | + title: __('Notes', 'elementor'), | |
| 145 | + content: __('With Notes, teamwork gets even better. Stay in sync with comments, feedback & more on your website.', 'elementor'), | |
| 146 | + position: { | |
| 147 | + blockStart: '-3', | |
| 148 | + inlineStart: '+10' | |
| 149 | + }, | |
| 150 | + targetElement: this.$el, | |
| 151 | + actionButton: { | |
| 152 | + url: hasProAndNotConnected ? elementorProEditorConfig.urls.connect : elementor.config.promotions.notes.upgrade_url || 'https://go.elementor.com/go-pro-notes/', | |
| 153 | + text: hasProAndNotConnected ? __('Connect & Activate', 'elementor') : __('Upgrade', 'elementor') | |
| 154 | + } | |
| 155 | + }); | |
| 156 | + } | |
| 157 | + }, 'navigate_from_page', 'finder'); | |
| 158 | + } | |
| 159 | + }]); | |
| 160 | + return NotesAddPanelMenuItem; | |
| 161 | +}($e.modules.hookUI.After); | |
| 162 | +exports.NotesAddPanelMenuItem = NotesAddPanelMenuItem; | |
| 163 | +var _default = NotesAddPanelMenuItem; | |
| 164 | +exports["default"] = _default; | |
| 252 | 165 | |
| 253 | -//#endregion | |
| 254 | -//#region modules/notes/assets/js/e-component.js | |
| 255 | - function _callSuper(t, o, e) { | |
| 256 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 257 | - } | |
| 258 | - function _isNativeReflectConstruct() { | |
| 259 | - try { | |
| 260 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 261 | - } catch (t) {} | |
| 262 | - return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { | |
| 263 | - return !!t; | |
| 264 | - })(); | |
| 265 | - } | |
| 266 | - var EComponent = /*#__PURE__*/ function(_$e$modules$Component) { | |
| 267 | - function EComponent(args) { | |
| 268 | - var _this; | |
| 269 | - _classCallCheck(this, EComponent); | |
| 270 | - _this = _callSuper(this, EComponent, [args]); | |
| 271 | - _this.loadModules(); | |
| 272 | - return _this; | |
| 273 | - } | |
| 274 | - /** | |
| 275 | - * @return {string} The namespace of the component | |
| 276 | - */ | |
| 277 | - _inherits(EComponent, _$e$modules$Component); | |
| 278 | - return _createClass(EComponent, [ | |
| 279 | - { | |
| 280 | - key: "getNamespace", | |
| 281 | - value: function getNamespace() { | |
| 282 | - return "notes"; | |
| 283 | - } | |
| 284 | - }, | |
| 285 | - { | |
| 286 | - key: "defaultHooks", | |
| 287 | - value: function defaultHooks() { | |
| 288 | - return this.importHooks(hooks_exports); | |
| 289 | - } | |
| 290 | - }, | |
| 291 | - { | |
| 292 | - key: "loadModules", | |
| 293 | - value: function loadModules() { | |
| 294 | - for (var key in modules_exports) new modules_exports[key](); | |
| 295 | - } | |
| 296 | - } | |
| 297 | - ]); | |
| 298 | - }($e.modules.ComponentBase); | |
| 166 | +/***/ }), | |
| 299 | 167 | |
| 300 | -//#endregion | |
| 301 | -//#region modules/notes/assets/js/notes.js | |
| 302 | - window.top.$e.components.register(new EComponent()); | |
| 168 | +/***/ "../modules/notes/assets/js/modules/context-menu/notes-context-menu.js": | |
| 169 | +/*!*****************************************************************************!*\ | |
| 170 | + !*** ../modules/notes/assets/js/modules/context-menu/notes-context-menu.js ***! | |
| 171 | + \*****************************************************************************/ | |
| 172 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 303 | 173 | |
| 304 | -//#endregion | |
| 305 | -})(wp.i18n); | |
| 174 | +"use strict"; | |
| 175 | +/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; | |
| 176 | + | |
| 177 | + | |
| 178 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 179 | +Object.defineProperty(exports, "__esModule", ({ | |
| 180 | + value: true | |
| 181 | +})); | |
| 182 | +exports["default"] = exports.NotesContextMenu = void 0; | |
| 183 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 184 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 185 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 186 | +var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 187 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 188 | +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); }; } | |
| 189 | +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; } } | |
| 190 | +var NotesContextMenu = /*#__PURE__*/function (_elementorModules$edi) { | |
| 191 | + (0, _inherits2.default)(NotesContextMenu, _elementorModules$edi); | |
| 192 | + var _super = _createSuper(NotesContextMenu); | |
| 193 | + function NotesContextMenu() { | |
| 194 | + (0, _classCallCheck2.default)(this, NotesContextMenu); | |
| 195 | + return _super.apply(this, arguments); | |
| 196 | + } | |
| 197 | + (0, _createClass2.default)(NotesContextMenu, [{ | |
| 198 | + key: "onInit", | |
| 199 | + value: function onInit() { | |
| 200 | + this.contextMenuNotesGroup(); | |
| 201 | + } | |
| 202 | + }, { | |
| 203 | + key: "contextMenuNotesGroup", | |
| 204 | + value: function contextMenuNotesGroup() { | |
| 205 | + var _this = this; | |
| 206 | + var elTypes = ['widget', 'section', 'column', 'container']; | |
| 207 | + elTypes.forEach(function (type) { | |
| 208 | + elementor.hooks.addFilter("elements/".concat(type, "/contextMenuGroups"), _this.contextMenuAddGroup); | |
| 209 | + }); | |
| 210 | + } | |
| 211 | + | |
| 212 | + /** | |
| 213 | + * Append the 'Notes' context menu group | |
| 214 | + * | |
| 215 | + * @since 3.8.0 | |
| 216 | + * | |
| 217 | + * @param {Array} groups | |
| 218 | + * @return {Array} The updated groups. | |
| 219 | + */ | |
| 220 | + }, { | |
| 221 | + key: "contextMenuAddGroup", | |
| 222 | + value: function contextMenuAddGroup(groups) { | |
| 223 | + var deleteGroup = _.findWhere(groups, { | |
| 224 | + name: 'delete' | |
| 225 | + }); | |
| 226 | + var deleteGroupIndex = groups.indexOf(deleteGroup); | |
| 227 | + if (-1 === deleteGroupIndex) { | |
| 228 | + deleteGroupIndex = groups.length; | |
| 229 | + } | |
| 230 | + groups.splice(deleteGroupIndex, 0, { | |
| 231 | + name: 'notes', | |
| 232 | + actions: [{ | |
| 233 | + name: 'open_notes', | |
| 234 | + title: __('Notes', 'elementor'), | |
| 235 | + shortcut: '<i class="eicon-pro-icon"></i>', | |
| 236 | + promotionURL: 'https://go.elementor.com/go-pro-notes-context-menu/', | |
| 237 | + isEnabled: function isEnabled() { | |
| 238 | + return false; | |
| 239 | + }, | |
| 240 | + callback: function callback() {} | |
| 241 | + }] | |
| 242 | + }); | |
| 243 | + return groups; | |
| 244 | + } | |
| 245 | + }]); | |
| 246 | + return NotesContextMenu; | |
| 247 | +}(elementorModules.editor.utils.Module); | |
| 248 | +exports.NotesContextMenu = NotesContextMenu; | |
| 249 | +var _default = NotesContextMenu; | |
| 250 | +exports["default"] = _default; | |
| 251 | + | |
| 252 | +/***/ }), | |
| 253 | + | |
| 254 | +/***/ "../modules/notes/assets/js/modules/index.js": | |
| 255 | +/*!***************************************************!*\ | |
| 256 | + !*** ../modules/notes/assets/js/modules/index.js ***! | |
| 257 | + \***************************************************/ | |
| 258 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 259 | + | |
| 260 | +"use strict"; | |
| 261 | + | |
| 262 | + | |
| 263 | +Object.defineProperty(exports, "__esModule", ({ | |
| 264 | + value: true | |
| 265 | +})); | |
| 266 | +Object.defineProperty(exports, "NotesContextMenu", ({ | |
| 267 | + enumerable: true, | |
| 268 | + get: function get() { | |
| 269 | + return _notesContextMenu.NotesContextMenu; | |
| 270 | + } | |
| 271 | +})); | |
| 272 | +var _notesContextMenu = __webpack_require__(/*! ./context-menu/notes-context-menu */ "../modules/notes/assets/js/modules/context-menu/notes-context-menu.js"); | |
| 273 | + | |
| 274 | +/***/ }), | |
| 275 | + | |
| 276 | +/***/ "@wordpress/i18n": | |
| 277 | +/*!**************************!*\ | |
| 278 | + !*** external "wp.i18n" ***! | |
| 279 | + \**************************/ | |
| 280 | +/***/ ((module) => { | |
| 281 | + | |
| 282 | +"use strict"; | |
| 283 | +module.exports = wp.i18n; | |
| 284 | + | |
| 285 | +/***/ }), | |
| 286 | + | |
| 287 | +/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": | |
| 288 | +/*!***********************************************************************!*\ | |
| 289 | + !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! | |
| 290 | + \***********************************************************************/ | |
| 291 | +/***/ ((module) => { | |
| 292 | + | |
| 293 | +function _assertThisInitialized(self) { | |
| 294 | + if (self === void 0) { | |
| 295 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 296 | + } | |
| 297 | + return self; | |
| 298 | +} | |
| 299 | +module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 300 | + | |
| 301 | +/***/ }), | |
| 302 | + | |
| 303 | +/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": | |
| 304 | +/*!****************************************************************!*\ | |
| 305 | + !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! | |
| 306 | + \****************************************************************/ | |
| 307 | +/***/ ((module) => { | |
| 308 | + | |
| 309 | +function _classCallCheck(instance, Constructor) { | |
| 310 | + if (!(instance instanceof Constructor)) { | |
| 311 | + throw new TypeError("Cannot call a class as a function"); | |
| 312 | + } | |
| 313 | +} | |
| 314 | +module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 315 | + | |
| 316 | +/***/ }), | |
| 317 | + | |
| 318 | +/***/ "../node_modules/@babel/runtime/helpers/createClass.js": | |
| 319 | +/*!*************************************************************!*\ | |
| 320 | + !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! | |
| 321 | + \*************************************************************/ | |
| 322 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 323 | + | |
| 324 | +var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 325 | +function _defineProperties(target, props) { | |
| 326 | + for (var i = 0; i < props.length; i++) { | |
| 327 | + var descriptor = props[i]; | |
| 328 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 329 | + descriptor.configurable = true; | |
| 330 | + if ("value" in descriptor) descriptor.writable = true; | |
| 331 | + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); | |
| 332 | + } | |
| 333 | +} | |
| 334 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 335 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 336 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 337 | + Object.defineProperty(Constructor, "prototype", { | |
| 338 | + writable: false | |
| 339 | + }); | |
| 340 | + return Constructor; | |
| 341 | +} | |
| 342 | +module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 343 | + | |
| 344 | +/***/ }), | |
| 345 | + | |
| 346 | +/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js": | |
| 347 | +/*!****************************************************************!*\ | |
| 348 | + !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! | |
| 349 | + \****************************************************************/ | |
| 350 | +/***/ ((module) => { | |
| 351 | + | |
| 352 | +function _getPrototypeOf(o) { | |
| 353 | + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | |
| 354 | + return o.__proto__ || Object.getPrototypeOf(o); | |
| 355 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 356 | + return _getPrototypeOf(o); | |
| 357 | +} | |
| 358 | +module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 359 | + | |
| 360 | +/***/ }), | |
| 361 | + | |
| 362 | +/***/ "../node_modules/@babel/runtime/helpers/inherits.js": | |
| 363 | +/*!**********************************************************!*\ | |
| 364 | + !*** ../node_modules/@babel/runtime/helpers/inherits.js ***! | |
| 365 | + \**********************************************************/ | |
| 366 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 367 | + | |
| 368 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 369 | +function _inherits(subClass, superClass) { | |
| 370 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 371 | + throw new TypeError("Super expression must either be null or a function"); | |
| 372 | + } | |
| 373 | + subClass.prototype = Object.create(superClass && superClass.prototype, { | |
| 374 | + constructor: { | |
| 375 | + value: subClass, | |
| 376 | + writable: true, | |
| 377 | + configurable: true | |
| 378 | + } | |
| 379 | + }); | |
| 380 | + Object.defineProperty(subClass, "prototype", { | |
| 381 | + writable: false | |
| 382 | + }); | |
| 383 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 384 | +} | |
| 385 | +module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 386 | + | |
| 387 | +/***/ }), | |
| 388 | + | |
| 389 | +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 390 | +/*!***********************************************************************!*\ | |
| 391 | + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 392 | + \***********************************************************************/ | |
| 393 | +/***/ ((module) => { | |
| 394 | + | |
| 395 | +function _interopRequireDefault(obj) { | |
| 396 | + return obj && obj.__esModule ? obj : { | |
| 397 | + "default": obj | |
| 398 | + }; | |
| 399 | +} | |
| 400 | +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 401 | + | |
| 402 | +/***/ }), | |
| 403 | + | |
| 404 | +/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": | |
| 405 | +/*!***************************************************************************!*\ | |
| 406 | + !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! | |
| 407 | + \***************************************************************************/ | |
| 408 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 409 | + | |
| 410 | +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 411 | +var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); | |
| 412 | +function _possibleConstructorReturn(self, call) { | |
| 413 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 414 | + return call; | |
| 415 | + } else if (call !== void 0) { | |
| 416 | + throw new TypeError("Derived constructors may only return object or undefined"); | |
| 417 | + } | |
| 418 | + return assertThisInitialized(self); | |
| 419 | +} | |
| 420 | +module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 421 | + | |
| 422 | +/***/ }), | |
| 423 | + | |
| 424 | +/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": | |
| 425 | +/*!****************************************************************!*\ | |
| 426 | + !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! | |
| 427 | + \****************************************************************/ | |
| 428 | +/***/ ((module) => { | |
| 429 | + | |
| 430 | +function _setPrototypeOf(o, p) { | |
| 431 | + module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | |
| 432 | + o.__proto__ = p; | |
| 433 | + return o; | |
| 434 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 435 | + return _setPrototypeOf(o, p); | |
| 436 | +} | |
| 437 | +module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 438 | + | |
| 439 | +/***/ }), | |
| 440 | + | |
| 441 | +/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": | |
| 442 | +/*!*************************************************************!*\ | |
| 443 | + !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! | |
| 444 | + \*************************************************************/ | |
| 445 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 446 | + | |
| 447 | +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 448 | +function toPrimitive(t, r) { | |
| 449 | + if ("object" != _typeof(t) || !t) return t; | |
| 450 | + var e = t[Symbol.toPrimitive]; | |
| 451 | + if (void 0 !== e) { | |
| 452 | + var i = e.call(t, r || "default"); | |
| 453 | + if ("object" != _typeof(i)) return i; | |
| 454 | + throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 455 | + } | |
| 456 | + return ("string" === r ? String : Number)(t); | |
| 457 | +} | |
| 458 | +module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 459 | + | |
| 460 | +/***/ }), | |
| 461 | + | |
| 462 | +/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": | |
| 463 | +/*!***************************************************************!*\ | |
| 464 | + !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! | |
| 465 | + \***************************************************************/ | |
| 466 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 467 | + | |
| 468 | +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 469 | +var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); | |
| 470 | +function toPropertyKey(t) { | |
| 471 | + var i = toPrimitive(t, "string"); | |
| 472 | + return "symbol" == _typeof(i) ? i : String(i); | |
| 473 | +} | |
| 474 | +module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 475 | + | |
| 476 | +/***/ }), | |
| 477 | + | |
| 478 | +/***/ "../node_modules/@babel/runtime/helpers/typeof.js": | |
| 479 | +/*!********************************************************!*\ | |
| 480 | + !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! | |
| 481 | + \********************************************************/ | |
| 482 | +/***/ ((module) => { | |
| 483 | + | |
| 484 | +function _typeof(o) { | |
| 485 | + "@babel/helpers - typeof"; | |
| 486 | + | |
| 487 | + return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 488 | + return typeof o; | |
| 489 | + } : function (o) { | |
| 490 | + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 491 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o); | |
| 492 | +} | |
| 493 | +module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 494 | + | |
| 495 | +/***/ }) | |
| 496 | + | |
| 497 | +/******/ }); | |
| 498 | +/************************************************************************/ | |
| 499 | +/******/ // The module cache | |
| 500 | +/******/ var __webpack_module_cache__ = {}; | |
| 501 | +/******/ | |
| 502 | +/******/ // The require function | |
| 503 | +/******/ function __webpack_require__(moduleId) { | |
| 504 | +/******/ // Check if module is in cache | |
| 505 | +/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 506 | +/******/ if (cachedModule !== undefined) { | |
| 507 | +/******/ return cachedModule.exports; | |
| 508 | +/******/ } | |
| 509 | +/******/ // Create a new module (and put it into the cache) | |
| 510 | +/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 511 | +/******/ // no module.id needed | |
| 512 | +/******/ // no module.loaded needed | |
| 513 | +/******/ exports: {} | |
| 514 | +/******/ }; | |
| 515 | +/******/ | |
| 516 | +/******/ // Execute the module function | |
| 517 | +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); | |
| 518 | +/******/ | |
| 519 | +/******/ // Return the exports of the module | |
| 520 | +/******/ return module.exports; | |
| 521 | +/******/ } | |
| 522 | +/******/ | |
| 523 | +/************************************************************************/ | |
| 524 | +var __webpack_exports__ = {}; | |
| 525 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 526 | +(() => { | |
| 527 | +"use strict"; | |
| 528 | +/*!*******************************************!*\ | |
| 529 | + !*** ../modules/notes/assets/js/notes.js ***! | |
| 530 | + \*******************************************/ | |
| 531 | + | |
| 532 | + | |
| 533 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 534 | +var _eComponent = _interopRequireDefault(__webpack_require__(/*! ./e-component */ "../modules/notes/assets/js/e-component.js")); | |
| 535 | +window.top.$e.components.register(new _eComponent.default()); | |
| 536 | +})(); | |
| 537 | + | |
| 538 | +/******/ })() | |
| 539 | +; | |
| 306 | 540 | //# sourceMappingURL=notes.js.map |