diff --git a/build/jodit.css b/build/jodit.css index eabe18dda..d78fb17d9 100644 --- a/build/jodit.css +++ b/build/jodit.css @@ -1,14 +1,14 @@ /*! * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser * Author: Chupurnov (https://xdsoft.net/) - * Version: v3.19.4 + * Version: v3.19.5 * Url: https://xdsoft.net/jodit/ * License(s): MIT */ /*! * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser * Author: Chupurnov (https://xdsoft.net/) - * Version: v3.19.4 + * Version: v3.19.5 * Url: https://xdsoft.net/jodit/ * License(s): MIT */ diff --git a/build/jodit.es2018.css b/build/jodit.es2018.css index f3dcfe084..acf7e0612 100644 --- a/build/jodit.es2018.css +++ b/build/jodit.es2018.css @@ -1,7 +1,7 @@ /*! * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser * Author: Chupurnov (https://xdsoft.net/) - * Version: v3.19.4 + * Version: v3.19.5 * Url: https://xdsoft.net/jodit/ * License(s): MIT */ diff --git a/build/jodit.es2018.en.css b/build/jodit.es2018.en.css index f3dcfe084..acf7e0612 100644 --- a/build/jodit.es2018.en.css +++ b/build/jodit.es2018.en.css @@ -1,7 +1,7 @@ /*! * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser * Author: Chupurnov (https://xdsoft.net/) - * Version: v3.19.4 + * Version: v3.19.5 * Url: https://xdsoft.net/jodit/ * License(s): MIT */ diff --git a/build/jodit.es2018.en.js b/build/jodit.es2018.en.js index c315d30bc..5d3979122 100644 --- a/build/jodit.es2018.en.js +++ b/build/jodit.es2018.en.js @@ -1,7 +1,7 @@ /*! * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser * Author: Chupurnov (https://xdsoft.net/) - * Version: v3.19.4 + * Version: v3.19.5 * Url: https://xdsoft.net/jodit/ * License(s): MIT */ @@ -281,7 +281,7 @@ module.exports = " " +module.exports = " " /***/ }), @@ -1464,6 +1464,7 @@ var Config = (function () { 'dots', 'selectall' ]; + this.allowCommandsInReadOnly = ['selectall', 'preview', 'print']; this.toolbarButtonSize = 'middle'; this.allowTabNavigation = false; this.inline = false; @@ -3113,7 +3114,7 @@ var Dom = (function () { tag.appendChild(elm.firstChild); } } - if (withAttributes) { + if (withAttributes && Dom.isElement(elm) && Dom.isElement(tag)) { (0, helpers_1.toArray)(elm.attributes).forEach(function (attr) { tag.setAttribute(attr.name, attr.value); }); @@ -3381,8 +3382,8 @@ var Dom = (function () { } return sibling && cond(sibling) ? sibling : null; }; - Dom.findNotEmptySibling = function (node, backspace) { - return Dom.findSibling(node, backspace, function (n) { + Dom.findNotEmptySibling = function (node, left) { + return Dom.findSibling(node, left, function (n) { var _a; return (!Dom.isEmptyTextNode(n) && Boolean(!Dom.isText(n) || (((_a = n.nodeValue) === null || _a === void 0 ? void 0 : _a.length) && (0, helpers_1.trim)(n.nodeValue)))); @@ -3517,6 +3518,11 @@ var Dom = (function () { node.parentNode.removeChild(node); }); }; + Dom.safeInsertNode = function (range, node) { + range.collapsed || range.deleteContents(); + range.insertNode(node); + [node.nextSibling, node.previousSibling].forEach(function (n) { return Dom.isText(n) && !n.nodeValue && Dom.safeRemove(n); }); + }; Dom.hide = function (node) { if (!node) { return; @@ -9275,8 +9281,7 @@ var Select = (function () { (_a = range.startContainer.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(node, range.startContainer); } else { - range.deleteContents(); - range.insertNode(node); + dom_1.Dom.safeInsertNode(range, node); } } else { @@ -9514,7 +9519,7 @@ var Select = (function () { fakeNode = this.j.createInside.text(consts.INVISIBLE_SPACE); inStart ? range.setStartBefore(node) : range.setEndAfter(node); range.collapse(inStart); - range.insertNode(fakeNode); + dom_1.Dom.safeInsertNode(range, fakeNode); range.selectNode(fakeNode); } else { @@ -9750,7 +9755,7 @@ var Select = (function () { var br = this.j.createInside.element('br'), prevFake = this.j.createInside.text(constants_1.INVISIBLE_SPACE), nextFake = prevFake.cloneNode(); try { if (cursorOnTheRight || cursorOnTheLeft) { - range.insertNode(br); + dom_1.Dom.safeInsertNode(range, br); var clearBR = function (start, getNext) { var next = getNext(start); while (next) { @@ -9782,8 +9787,13 @@ var Select = (function () { leftRange.setEnd(range.startContainer, range.startOffset); } var fragment = leftRange.extractContents(); + var clearEmpties = function (node) { + return dom_1.Dom.each(node, function (node) { return dom_1.Dom.isEmptyTextNode(node) && dom_1.Dom.safeRemove(node); }); + }; if (currentBox.parentNode) { try { + clearEmpties(fragment); + clearEmpties(currentBox); currentBox.parentNode.insertBefore(fragment, currentBox); if (cursorOnTheRight && (br === null || br === void 0 ? void 0 : br.parentNode)) { var range_2 = this.createRange(); @@ -9823,7 +9833,7 @@ var Select = (function () { var fake = _this.j.createInside.fake(); var r = range.cloneRange(); r.collapse(start); - r.insertNode(fake); + dom_1.Dom.safeInsertNode(r, fake); (0, helpers_2.moveTheNodeAlongTheEdgeOutward)(fake, start, _this.j.editor); return fake; }; @@ -10591,7 +10601,7 @@ function wrapUnwrappedText(style, elm, jodit, getRange) { var fragment = range.extractContents(); var wrapper = ci.element(style.element); wrapper.appendChild(fragment); - range.insertNode(wrapper); + dom_1.Dom.safeInsertNode(range, wrapper); if (style.elementIsBlock) { if (dom_1.Dom.isEmpty(wrapper) && !dom_1.Dom.isTag(wrapper.firstElementChild, 'br')) { @@ -13344,7 +13354,7 @@ var Panel = (function (_super) { return _super !== null && _super.apply(this, arguments) || this; } Panel.prototype.dialog = function (options) { - var dialog = new dialog_1.Dialog(tslib_1.__assign({ language: this.o.language, shadowRoot: this.o.shadowRoot, ownerWindow: this.o.ownerWindow, defaultTimeout: this.o.defaultTimeout, theme: this.o.theme }, options)); + var dialog = new dialog_1.Dialog(tslib_1.__assign({ language: this.o.language, shadowRoot: this.o.shadowRoot, ownerWindow: this.o.ownerWindow, defaultTimeout: this.o.defaultTimeout, theme: this.o.theme, globalFullSize: this.o.globalFullSize }, options)); (0, helpers_1.markOwner)(this, dialog.container); return dialog.bindDestruct(this); }; @@ -13555,7 +13565,7 @@ class View extends _modules__WEBPACK_IMPORTED_MODULE_3__.Component { this.isView = true; this.mods = {}; this.components = new Set(); - this.version = "3.19.4"; + this.version = "3.19.5"; this.buffer = _storage__WEBPACK_IMPORTED_MODULE_0__.Storage.makeStorage(); this.storage = _storage__WEBPACK_IMPORTED_MODULE_0__.Storage.makeStorage(true, this.componentName); this.OPTIONS = View.defaultOptions; @@ -13627,9 +13637,7 @@ class View extends _modules__WEBPACK_IMPORTED_MODULE_3__.Component { return; } this.__isFullSize = isFullSize; - if (this.events) { - this.e.fire('toggleFullSize', isFullSize); - } + this.e.fire('toggleFullSize', isFullSize); } get isLocked() { return this.__whoLocked !== ''; @@ -13652,10 +13660,10 @@ class View extends _modules__WEBPACK_IMPORTED_MODULE_3__.Component { return this.__isFullSize; } getVersion() { - return "3.19.4"; + return "3.19.5"; } static getVersion() { - return "3.19.4"; + return "3.19.5"; } initOptions(options) { this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(this.options || {}, View.defaultOptions)); @@ -14221,7 +14229,8 @@ var Jodit = (function (_super) { if (!this.s.isFocused()) { this.s.focus(); } - if (this.o.readonly && command !== 'selectall') { + if (this.o.readonly && + !this.o.allowCommandsInReadOnly.includes(command)) { return; } var result; @@ -14926,7 +14935,6 @@ config_1.Config.prototype.controls.dialog = { icon: 'cancel', exec: function (dialog) { dialog.close(); - dialog.toggleFullSizeBox(false); } } }; @@ -14936,7 +14944,6 @@ var Dialog = (function (_super) { var _this = _super.call(this, options) || this; _this.destroyAfterClose = false; _this.moved = false; - _this.iSetMaximization = false; _this.resizable = false; _this.draggable = false; _this.startX = 0; @@ -14984,12 +14991,12 @@ var Dialog = (function (_super) { (0, helpers_1.assert)(dialogbox_footer != null, 'Footer element does not exist'); var dialogbox_toolbar = self.getElm('header-toolbar'); (0, helpers_1.assert)(dialogbox_toolbar != null, 'header-toolbar element does not exist'); - self.dialog = dialog; - self.resizer = resizer; - self.dialogbox_header = dialogbox_header; - self.dialogbox_content = dialogbox_content; - self.dialogbox_footer = dialogbox_footer; - self.dialogbox_toolbar = dialogbox_toolbar; + _this.dialog = dialog; + _this.resizer = resizer; + _this.dialogbox_header = dialogbox_header; + _this.dialogbox_content = dialogbox_content; + _this.dialogbox_footer = dialogbox_footer; + _this.dialogbox_toolbar = dialogbox_toolbar; (0, helpers_1.css)(self.dialog, { maxWidth: self.options.maxWidth, minHeight: self.options.minHeight, @@ -15204,21 +15211,12 @@ var Dialog = (function (_super) { }); this.container.style.zIndex = (maxZIndex + 1).toString(); }; - Dialog.prototype.maximization = function (condition) { - if ((0, helpers_1.isVoid)(condition)) { - condition = !this.getMod('fullsize'); + Dialog.prototype.toggleFullSize = function (isFullSize) { + if ((0, helpers_1.isVoid)(isFullSize)) { + isFullSize = !this.getMod('fullsize'); } - this.setMod('fullsize', condition); - this.toggleFullSizeBox(condition); - this.iSetMaximization = condition; - return condition; - }; - Dialog.prototype.toggleFullSizeBox = function (condition) { - [this.destination, this.destination.parentNode].forEach(function (box) { - box && - box.classList && - box.classList.toggle('jodit_fullsize-box_true', condition); - }); + this.setMod('fullsize', isFullSize); + _super.prototype.toggleFullSize.call(this, isFullSize); }; Dialog.prototype.open = function (contentOrClose, titleOrModal, destroyAfterClose, modal) { global_1.eventEmitter.fire('closeAllPopups hideHelpers'); @@ -15247,7 +15245,7 @@ var Dialog = (function (_super) { this.setPosition(this.offsetX, this.offsetY); this.setMaxZIndex(); if (this.o.fullsize) { - this.maximization(true); + this.toggleFullSize(true); } this.e.fire('afterOpen', this); return this; @@ -15257,33 +15255,27 @@ var Dialog = (function (_super) { this.setMod('modal', this.isModal); return this; }; - Dialog.prototype.close = function (e) { - var _a, _b; + Dialog.prototype.close = function () { if (this.isDestructed || !this.isOpened || this.getMod('static') === true) { return this; } - if (e) { - e.stopImmediatePropagation(); - e.preventDefault(); - } - if (this.e && this.e.fire('beforeClose', this) === false) { + if (this.e.fire('beforeClose', this) === false) { return this; } this.setMod('active', false); this.isOpened = false; - this.e.fire('toggleFullSize', false); - if (this.iSetMaximization) { - this.maximization(false); + if (this.isFullSize) { + this.toggleFullSize(false); } dom_1.Dom.safeRemove(this.container); this.removeGlobalResizeListeners(); if (this.destroyAfterClose) { this.destruct(); } - (_a = this.e) === null || _a === void 0 ? void 0 : _a.fire(this, 'afterClose'); - (_b = this.e) === null || _b === void 0 ? void 0 : _b.fire(this.ow, 'joditCloseDialog'); + this.e.fire(this, 'afterClose'); + this.e.fire(this.ow, 'joditCloseDialog'); return this; }; Dialog.prototype.buildToolbar = function () { @@ -17565,7 +17557,7 @@ var Snapshot = (function (_super) { endOffset: 0 } }; - snapshot.html = this.j.getNativeEditorValue(); + snapshot.html = this.removeJoditSelection(this.j.getNativeEditorValue()); var sel = this.j.s.sel; if (sel && sel.rangeCount) { var range = sel.getRangeAt(0), startContainer = this.calcHierarchyLadder(range.startContainer), endContainer = this.calcHierarchyLadder(range.endContainer); @@ -17624,6 +17616,9 @@ var Snapshot = (function (_super) { this.isBlocked = false; _super.prototype.destruct.call(this); }; + Snapshot.prototype.removeJoditSelection = function (nativeEditorValue) { + return nativeEditorValue.replace(/]*jodit-selection_marker[^>]*><\/span>/g, ''); + }; return Snapshot; }(component_1.ViewComponent)); exports.Snapshot = Snapshot; @@ -21169,14 +21164,17 @@ var backspace = (function (_super) { var range = sel.range; var fakeNode = jodit.createInside.text(constants_1.INVISIBLE_SPACE); try { - range.insertNode(fakeNode); + dom_1.Dom.safeInsertNode(range, fakeNode); if (!dom_1.Dom.isOrContains(jodit.editor, fakeNode)) { return; } (0, helpers_2.moveNodeInsideStart)(jodit, fakeNode, backspace); if (cases_1.cases.some(function (func) { - return (0, helpers_1.isFunction)(func) && - func(jodit, fakeNode, backspace, mode); + if ((0, helpers_1.isFunction)(func) && + func(jodit, fakeNode, backspace, mode)) { + if (false) {} + return true; + } })) { return false; } @@ -21373,6 +21371,18 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) { var anotherSibling = dom_1.Dom.sibling(fakeNode, !backspace); var sibling = dom_1.Dom.sibling(fakeNode, backspace), removeNeighbor = null; var charRemoved = false, removed; + var getNextInlineSibling = function (sibling) { + var nextSibling = dom_1.Dom.sibling(sibling, backspace); + if (!nextSibling && + sibling.parentNode && + sibling.parentNode !== jodit.editor) { + nextSibling = (0, helpers_2.findMostNestedNeighbor)(sibling, !backspace, jodit.editor, true); + } + return nextSibling; + }; + if (!sibling) { + sibling = getNextInlineSibling(fakeNode); + } while (sibling && (dom_1.Dom.isText(sibling) || dom_1.Dom.isInlineBlock(sibling))) { while (dom_1.Dom.isInlineBlock(sibling)) { sibling = (backspace ? sibling === null || sibling === void 0 ? void 0 : sibling.lastChild : sibling === null || sibling === void 0 ? void 0 : sibling.firstChild); @@ -21430,22 +21440,25 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) { } break; } - var nextSibling = dom_1.Dom.sibling(sibling, backspace); - if (!nextSibling && - sibling.parentNode && - sibling.parentNode !== jodit.editor) { - nextSibling = (0, helpers_2.findMostNestedNeighbor)(sibling, !backspace, jodit.editor, true); - } + var nextSibling = getNextInlineSibling(sibling); if (removeNeighbor) { dom_1.Dom.safeRemove(removeNeighbor); removeNeighbor = null; } sibling = nextSibling; } + if (removeNeighbor) { + dom_1.Dom.safeRemove(removeNeighbor); + removeNeighbor = null; + } if (charRemoved) { removeEmptyInlineParent(fakeNode); addBRInsideEmptyBlock(jodit, fakeNode); jodit.s.setCursorBefore(fakeNode); + if (dom_1.Dom.isTag(fakeNode.previousSibling, 'br') && + !dom_1.Dom.findNotEmptySibling(fakeNode, false)) { + dom_1.Dom.after(fakeNode, jodit.createInside.element('br')); + } } return charRemoved; } @@ -21613,6 +21626,10 @@ function checkRemoveUnbreakableElement(jodit, fakeNode, backspace) { if (dom_1.Dom.isElement(neighbor) && (dom_1.Dom.isTag(neighbor, constants_1.INSEPARABLE_TAGS) || dom_1.Dom.isEmpty(neighbor))) { dom_1.Dom.safeRemove(neighbor); + if (dom_1.Dom.isTag(neighbor, 'br') && + !dom_1.Dom.findNotEmptySibling(fakeNode, false)) { + dom_1.Dom.after(fakeNode, jodit.createInside.element('br')); + } jodit.s.setCursorBefore(fakeNode); if (dom_1.Dom.isTag(neighbor, 'br')) { (0, check_remove_empty_parent_1.checkRemoveEmptyParent)(jodit, fakeNode, backspace); @@ -22144,7 +22161,8 @@ config_1.Config.prototype.cleanHTML = { denyTags: false, useIframeSandbox: false, removeOnError: true, - safeJavaScriptLink: true + safeJavaScriptLink: true, + disableCleanFilter: null }; config_1.Config.prototype.controls.eraser = { command: 'removeFormat', @@ -22251,8 +22269,9 @@ function removeFormatForCollapsedSelection(jodit, fake) { var fakeNode = fake; if (!fakeNode) { fakeNode = jodit.createInside.fake(); - s.range.insertNode(fakeNode); - s.range.collapse(); + var range = s.range; + dom_1.Dom.safeInsertNode(range, fakeNode); + range.collapse(); } var mainInline = dom_1.Dom.furthest(fakeNode, isInlineBlock, jodit.editor); if (mainInline) { @@ -22300,8 +22319,8 @@ function removeFormatForSelection(jodit) { var s = jodit.s, editor = jodit.editor, createInside = jodit.createInside, range = s.range, left = range.cloneRange(), right = range.cloneRange(), fakeLeft = createInside.fake(), fakeRight = createInside.fake(); left.collapse(true); right.collapse(false); - left.insertNode(fakeLeft); - right.insertNode(fakeRight); + dom_1.Dom.safeInsertNode(left, fakeLeft); + dom_1.Dom.safeInsertNode(right, fakeRight); range.setStartBefore(fakeLeft); range.collapse(true); s.selectRange(range); @@ -22425,10 +22444,39 @@ tslib_1.__exportStar(__webpack_require__(20544), exports); tslib_1.__exportStar(__webpack_require__(47913), exports); tslib_1.__exportStar(__webpack_require__(42954), exports); tslib_1.__exportStar(__webpack_require__(19070), exports); +tslib_1.__exportStar(__webpack_require__(4609), exports); tslib_1.__exportStar(__webpack_require__(58909), exports); tslib_1.__exportStar(__webpack_require__(39196), exports); +/***/ }), + +/***/ 4609: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +/*! + * Jodit Editor (https://xdsoft.net/jodit/) + * Released under MIT see LICENSE.txt in the project root for license information. + * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.removeEmptyTextNode = void 0; +var dom_1 = __webpack_require__(43887); +function removeEmptyTextNode(jodit, node, hadEffect, arg, argi, currentNode) { + if (dom_1.Dom.isText(node) && !node.nodeValue) { + if (node === currentNode && jodit.s.isCollapsed()) { + jodit.s.setCursorAfter(node); + } + dom_1.Dom.safeRemove(node); + return true; + } + return hadEffect; +} +exports.removeEmptyTextNode = removeEmptyTextNode; + + /***/ }), /***/ 58909: @@ -22446,14 +22494,10 @@ exports.removeInvTextNodes = void 0; var constants_1 = __webpack_require__(10063); var dom_1 = __webpack_require__(43887); function removeInvTextNodes(jodit, node, hadEffect, arg, argi, currentNode) { - if (!currentNode) { - return hadEffect; - } if (!dom_1.Dom.isText(node) || node.nodeValue == null) { return hadEffect; } - if ((0, constants_1.INVISIBLE_SPACE_REG_EXP)().test(node.nodeValue) && - node.nodeValue.replace((0, constants_1.INVISIBLE_SPACE_REG_EXP)(), '').length !== 0) { + if ((0, constants_1.INVISIBLE_SPACE_REG_EXP)().test(node.nodeValue)) { node.nodeValue = node.nodeValue.replace((0, constants_1.INVISIBLE_SPACE_REG_EXP)(), ''); if (node === currentNode && jodit.s.isCollapsed()) { jodit.s.setCursorAfter(node); @@ -22592,9 +22636,13 @@ var keys = Object.keys(filters); function visitNodeWalker(jodit, nodeElm, allowTags, denyTags, currentSelectionNode) { var e_1, _a; var hadEffect = false; + var dcf = jodit.o.cleanHTML.disableCleanFilter; try { for (var keys_1 = tslib_1.__values(keys), keys_1_1 = keys_1.next(); !keys_1_1.done; keys_1_1 = keys_1.next()) { var key = keys_1_1.value; + if (dcf && dcf.has(key)) { + continue; + } var filter = filters[key]; var tmp = hadEffect; hadEffect = filter(jodit, nodeElm, hadEffect, allowTags, denyTags, currentSelectionNode); @@ -23587,7 +23635,14 @@ function checkBR(jodit, current, shiftKeyPressed) { (shiftKeyPressed && !isMultiLineBlock) || (!shiftKeyPressed && isMultiLineBlock)) { var br = jodit.createInside.element('br'); - jodit.s.insertNode(br, true, false); + jodit.s.insertNode(br, false, false); + if (!dom_1.Dom.findNotEmptySibling(br, false)) { + dom_1.Dom.after(br, br.cloneNode()); + } + var range = jodit.s.range; + range.setStartAfter(br); + range.collapse(true); + jodit.s.selectRange(range); (0, scroll_into_view_1.scrollIntoViewIfNeeded)(br, jodit.editor, jodit.ed); return false; } @@ -24386,6 +24441,7 @@ var css_1 = __webpack_require__(56672); var is_jodit_object_1 = __webpack_require__(47442); var global_1 = __webpack_require__(58299); __webpack_require__(53022); +var fullsizeStack = new Set(); function fullsize(editor) { editor.registerButton({ name: 'fullsize' @@ -24427,7 +24483,13 @@ function fullsize(editor) { editor.toolbarContainer.appendChild(editor.toolbar.container); (0, css_1.css)(editor.toolbar.container, 'width', 'auto'); } - if (editor.o.globalFullSize) { + enable + ? fullsizeStack.add(container) + : fullsizeStack.delete(container); + var shouldToggleGlobalFullsize = editor.o.globalFullSize && + ((fullsizeStack.size === 1 && enable) || + (fullsizeStack.size === 0 && !enable)); + if (shouldToggleGlobalFullsize) { var node = container.parentNode; while (node && node.nodeType !== Node.DOCUMENT_NODE && @@ -30332,7 +30394,7 @@ var search = (function (_super) { rng.setEnd(bound.endContainer, bound.endOffset); rng.deleteContents(); textNode = this.j.createInside.text(this.ui.replace); - rng.insertNode(textNode); + dom_1.Dom.safeInsertNode(rng, textNode); this.j.s.select(textNode); this.tryScrollToElement(textNode); this.cache = {}; @@ -31162,7 +31224,7 @@ global_1.pluginSystem.add('selectCells', selectCells); Object.defineProperty(exports, "__esModule", ({ value: true })); var config_1 = __webpack_require__(27537); config_1.Config.prototype.select = { - normalizeSelectionBeforeCutAndCopy: true + normalizeSelectionBeforeCutAndCopy: false }; @@ -33767,7 +33829,7 @@ var wrapNodes = (function (_super) { } var child = jodit.editor.firstChild, isChanged = false; while (child) { - this.checkAloneListLeaf(child, jodit); + child = this.checkAloneListLeaf(child, jodit); if (this.isSuitableStart(child)) { if (!isChanged) { jodit.s.save(); @@ -33781,6 +33843,7 @@ var wrapNodes = (function (_super) { child = next; } box.normalize(); + child = box; } child = child && child.nextSibling; } @@ -33792,11 +33855,26 @@ var wrapNodes = (function (_super) { } }; wrapNodes.prototype.checkAloneListLeaf = function (child, jodit) { - if (dom_1.Dom.isElement(child) && - dom_1.Dom.isTag(child, 'li') && - !dom_1.Dom.isTag(child.parentElement, ['ul', 'ol'])) { - dom_1.Dom.wrap(child, 'ul', jodit.createInside); - } + var result = child; + var next = child; + do { + if (dom_1.Dom.isElement(next) && + dom_1.Dom.isTag(next, 'li') && + !dom_1.Dom.isTag(next.parentElement, ['ul', 'ol'])) { + var nextChild = dom_1.Dom.findNotEmptySibling(next, false); + if (dom_1.Dom.isTag(result, 'ul')) { + result.appendChild(next); + } + else { + result = dom_1.Dom.wrap(next, 'ul', jodit.createInside); + } + next = nextChild; + } + else { + break; + } + } while (next); + return result; }; tslib_1.__decorate([ decorators_1.autobind diff --git a/build/jodit.es2018.en.min.js b/build/jodit.es2018.en.min.js index 9a8bf56c6..5eea67a47 100644 --- a/build/jodit.es2018.en.min.js +++ b/build/jodit.es2018.en.min.js @@ -1 +1 @@ -((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}})(self,(function(){return function(){var e,t={51048(e){e.exports.default=["Type something","About Jodit","Jodit Editor","Free Non-commercial Version","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open editor in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Clean","Insert as Text","Insert only Text","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Browse","Upload","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Eye","pencil","Update"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Chars: %d","Words: %d","All","Select %s","Select all","Vertical align","Split","Split vertical","Split horizontal","Merge","Add column","Add row","Delete","Border","License: %s","Strike through","Underline","superscript","subscript","Cut selection","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","Insert className","Press Alt for custom resizing"]},3610(e){e.exports=' '},56170(e){e.exports=' '},95331(e){e.exports=' '},84279(e){e.exports=' '},11257(e){e.exports=' '},25141(e){e.exports=' '},24557(e){e.exports=' '},10859(e){e.exports=' '},9813(e){e.exports=' '},93395(e){e.exports=' '},98213(e){e.exports=' '},20026(e){e.exports=' '},66911(e){e.exports=' '},50018(e){e.exports=' '},99738(e){e.exports=' '},9185(e){e.exports=' '},8619(e){e.exports=' '},73894(e){e.exports=' '},83301(e){e.exports=' '},84142(e){e.exports=' '},57292(e){e.exports=' '},18019(e){e.exports=''},45146(e){e.exports=' '},53576(e){e.exports=' '},14655(e){e.exports=' '},53477(e){e.exports=' '},90053(e){e.exports=' '},72230(e){e.exports=' '},78321(e){e.exports=' '},77654(e){e.exports=' '},43371(e){e.exports=' '},44563(e){e.exports=' '},53183(e){e.exports=' '},6102(e){e.exports=' '},52242(e){e.exports=' '},87498(e){e.exports=' '},7986(e){e.exports=' '},23075(e){e.exports=' '},10655(e){e.exports=' '},15476(e){e.exports=' '},59403(e){e.exports=' '},22860(e){e.exports=' '},95600(e){e.exports=' '},76214(e){e.exports=' '},41197(e){e.exports=' '},9342(e){e.exports=' '},69546(e){e.exports=' '},43158(e){e.exports=' '},51716(e){e.exports=' '},49222(e){e.exports=' '},1755(e){e.exports=' '},74911(e){e.exports=' '},8805(e){e.exports=' '},16547(e){e.exports=' '},10856(e){e.exports=' '},98441(e){e.exports=' '},52488(e){e.exports=' '},9370(e){e.exports=' '},66543(e){e.exports=' '},608(e){e.exports=' '},42840(e){e.exports=' '},79096(e){e.exports=' '},33014(e){e.exports=' '},91677(e){e.exports=' '},8259(e){e.exports=' '},64467(e){e.exports=''},86934(e){e.exports=' '},76133(e){e.exports=''},45519(e){e.exports=''},90265(e){e.exports=' '},81279(e){e.exports=' '},68899(e){e.exports=' '},70744(e){e.exports=' '},19201(e){e.exports=' '},84930(e){e.exports=' '},99704(e){e.exports=' '},2304(e){e.exports=' '},93330(e,t,o){"use strict";o.r(t)},45066(e,t,o){"use strict";o.r(t)},87682(e,t,o){"use strict";o.r(t)},50905(e,t,o){"use strict";o.r(t)},70446(e,t,o){"use strict";o.r(t)},18984(e,t,o){"use strict";o.r(t)},4591(e,t,o){"use strict";o.r(t)},64194(e,t,o){"use strict";o.r(t)},70375(e,t,o){"use strict";o.r(t)},90235(e,t,o){"use strict";o.r(t)},88477(e,t,o){"use strict";o.r(t)},50197(e,t,o){"use strict";o.r(t)},39008(e,t,o){"use strict";o.r(t)},47086(e,t,o){"use strict";o.r(t)},16462(e,t,o){"use strict";o.r(t)},40692(e,t,o){"use strict";o.r(t)},27452(e,t,o){"use strict";o.r(t)},51422(e,t,o){"use strict";o.r(t)},62820(e,t,o){"use strict";o.r(t)},32115(e,t,o){"use strict";o.r(t)},53362(e,t,o){"use strict";o.r(t)},48904(e,t,o){"use strict";o.r(t)},85796(e,t,o){"use strict";o.r(t)},60819(e,t,o){"use strict";o.r(t)},96410(e,t,o){"use strict";o.r(t)},33126(e,t,o){"use strict";o.r(t)},30724(e,t,o){"use strict";o.r(t)},32417(e,t,o){"use strict";o.r(t)},14320(e,t,o){"use strict";o.r(t)},9947(e,t,o){"use strict";o.r(t)},45109(e,t,o){"use strict";o.r(t)},71708(e,t,o){"use strict";o.r(t)},51629(e,t,o){"use strict";o.r(t)},54860(e,t,o){"use strict";o.r(t)},47818(e,t,o){"use strict";o.r(t)},88582(e,t,o){"use strict";o.r(t)},30962(e,t,o){"use strict";o.r(t)},68197(e,t,o){"use strict";o.r(t)},33393(e,t,o){"use strict";o.r(t)},51057(e,t,o){"use strict";o.r(t)},14351(e,t,o){"use strict";o.r(t)},89310(e,t,o){"use strict";o.r(t)},70631(e,t){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e=>typeof e:e=>e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e,o(e)}function r(e,t,r){var i=r.value;if("function"!=typeof i)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(i)));var n=!1;return{configurable:!0,get(){if(n||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof i)return i;var o=i.bind(this);return n=!0,Object.defineProperty(this,t,{configurable:!0,get:()=>o,set(e){i=e,delete this[t]}}),n=!1,o},set(e){i=e}}}function i(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((t=>{if("constructor"!==t){var o=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof o.value&&Object.defineProperty(e.prototype,t,r(e,t,o))}})),e}Object.defineProperty(t,"__esModule",{value:!0}),t.boundClass=t.boundMethod=void 0,t.boundMethod=r,t.boundClass=i,t.default=function(){return 1===arguments.length?i.apply(void 0,arguments):r.apply(void 0,arguments)}},20255(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__classPrivateFieldIn=t.__classPrivateFieldSet=t.__classPrivateFieldGet=t.__importDefault=t.__importStar=t.__makeTemplateObject=t.__asyncValues=t.__asyncDelegator=t.__asyncGenerator=t.__await=t.__spreadArray=t.__spreadArrays=t.__spread=t.__read=t.__values=t.__exportStar=t.__createBinding=t.__generator=t.__awaiter=t.__metadata=t.__param=t.__decorate=t.__rest=t.__assign=t.__extends=void 0;var o=(e,t)=>(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&((e,t)=>{e.__proto__=t})||((e,t)=>{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}),o(e,t));function r(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],r=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:()=>(e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e})};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var r,i,n=o.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return s}function n(e){return this instanceof n?(this.v=e,this):new n(e)}t.__extends=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,o=1,r=arguments.length;r>o;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.__assign.apply(this,arguments)},t.__rest=(e,t)=>{var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);r.length>i;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(o[r[i]]=e[r[i]])}return o},t.__decorate=function(e,t,o,r){var i,n=arguments.length,s=3>n?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>n?i(s):n>3?i(t,o,s):i(t,o))||s);return n>3&&s&&Object.defineProperty(t,o,s),s},t.__param=(e,t)=>(o,r)=>{t(o,r,e)},t.__metadata=(e,t)=>{if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},t.__awaiter=(e,t,o,r)=>new(o||(o=Promise))(((i,n)=>{function s(e){try{l(r.next(e))}catch(e){n(e)}}function a(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((e=>{e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())})),t.__generator=function(e,t){var o,r,i,n,s={label:0,sent(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return a=>(n=>{if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,r=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&i[3]>n[1])){s.label=n[1];break}if(6===n[0]&&i[1]>s.label){s.label=i[1],i=n;break}if(i&&i[2]>s.label){s.label=i[2],s.ops.push(n);break}i[2]&&s.ops.pop(),s.trys.pop();continue}n=t.call(e,s)}catch(e){n=[6,e],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}})([n,a])}},t.__createBinding=Object.create?(e,t,o,r)=>{void 0===r&&(r=o);var i=Object.getOwnPropertyDescriptor(t,o);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:()=>t[o]}),Object.defineProperty(e,r,i)}:(e,t,o,r)=>{void 0===r&&(r=o),e[r]=t[o]},t.__exportStar=(e,o)=>{for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(o,r)||(0,t.__createBinding)(o,e,r)},t.__values=r,t.__read=i,t.__spread=function(){for(var e=[],t=0;arguments.length>t;t++)e=e.concat(i(arguments[t]));return e},t.__spreadArrays=function(){for(var e=0,t=0,o=arguments.length;o>t;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;o>t;t++)for(var n=arguments[t],s=0,a=n.length;a>s;s++,i++)r[i]=n[s];return r},t.__spreadArray=function(e,t,o){if(o||2===arguments.length)for(var r,i=0,n=t.length;n>i;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},t.__await=n,t.__asyncGenerator=function(e,t,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=o.apply(e,t||[]),s=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=t=>new Promise(((o,r)=>{s.push([e,t,o,r])>1||l(e,t)})))}function l(e,t){try{(o=i[e](t)).value instanceof n?Promise.resolve(o.value.v).then(c,d):u(s[0][2],o)}catch(e){u(s[0][3],e)}var o}function c(e){l("next",e)}function d(e){l("throw",e)}function u(e,t){e(t),s.shift(),s.length&&l(s[0][0],s[0][1])}},t.__asyncDelegator=function(e){var t,o;return t={},r("next"),r("throw",(e=>{throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?t=>(o=!o)?{value:n(e[r](t)),done:"return"===r}:i?i(t):t:i}},t.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=e[Symbol.asyncIterator];return o?o.call(e):(e=r(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&(t=>new Promise(((r,i)=>{((e,t,o,r)=>{Promise.resolve(r).then((t=>{e({value:t,done:o})}),t)})(r,i,(t=e[o](t)).done,t.value)})))}},t.__makeTemplateObject=(e,t)=>(Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e);var s=Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t};t.__importStar=e=>{if(e&&e.__esModule)return e;var o={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&(0,t.__createBinding)(o,e,r);return s(o,e),o},t.__importDefault=e=>e&&e.__esModule?e:{default:e},t.__classPrivateFieldGet=(e,t,o,r)=>{if("a"===o&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?r:"a"===o?r.call(e):r?r.value:t.get(e)},t.__classPrivateFieldSet=(e,t,o,r,i)=>{if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,o):i?i.value=o:t.set(e,o),o},t.__classPrivateFieldIn=(e,t)=>{if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},27537(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var r=o(10063),i=o(10063),n=function(){function e(){this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.styleValues={},this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorCssClass=!1,this.style=!1,this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=1e3,this.useNativeTooltip=!1,this.defaultActionOnPaste=i.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","---","image","table","|","link","\n","brush","paragraph","align","|","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","|","fontsize","---","image","\n","align","undo","redo","|","link","table","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}return Object.defineProperty(e,"defaultOptions",{get:()=>(e.__defaultOptions||(e.__defaultOptions=new e),e.__defaultOptions),enumerable:!1,configurable:!0}),e}();t.Config=n,n.prototype.controls={}},14722(e,t,o){"use strict";o.r(t),o.d(t,{Async:()=>c});var r=o(97336),i=o(84121),n=o(77184),s=o(30317),a=o(40607),l=o(93860);class c{constructor(){var e,t,o,r;this.timers=new Map,this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=null!==(t=null===(e=window.requestIdleCallback)||void 0===e?void 0:e.bind(window))&&void 0!==t?t:(e,t)=>{var o;const r=Date.now();return this.setTimeout((()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-r))})}),null!==(o=null==t?void 0:t.timeout)&&void 0!==o?o:1)},this.cancelIdleCallbackNative=null!==(r=null===(o=window.cancelIdleCallback)||void 0===o?void 0:o.bind(window))&&void 0!==r?r:e=>{this.clearTimeout(e)},this.isDestructed=!1}delay(e){return this.promise((t=>this.setTimeout(t,e)))}setTimeout(e,t,...o){if(this.isDestructed)return 0;let i={};(0,l.isNumber)(t)||(i=t,t=i.timeout||0),i.label&&this.clearLabel(i.label);const n=(0,r.setTimeout)(e,t,...o);return this.timers.set(i.label||n,n),n}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e))}clearTimeout(e){if((0,a.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e)}debounce(e,t,o=!1){let a=0,l=!1;const c=[],d=(...t)=>{if(!l){a=0;const o=e(...t);if(l=!0,c.length){const e=()=>{c.forEach((e=>e())),c.length=0};(0,s.isPromise)(o)?o.finally(e):e()}}},u=(...n)=>{l=!1,t?(!a&&o&&d(...n),(0,r.clearTimeout)(a),a=this.setTimeout((()=>d(...n)),(0,i.isFunction)(t)?t():t),this.timers.set(e,a)):d(...n)};return(0,n.isPlainObject)(t)&&t.promisify?(...e)=>{const t=this.promise((e=>{c.push(e)}));return u(...e),t}:u}throttle(e,t,o=!1){let r,n,s,a=null;return(...o)=>{r=!0,s=o,t?a||(n=()=>{r?(e(...s),r=!1,a=this.setTimeout(n,(0,i.isFunction)(t)?t():t),this.timers.set(n,a)):a=null},n()):e(...s)}}promise(e){let t=()=>{};const o=new Promise(((o,r)=>(this.promisesRejections.add(r),t=r,e(o,r))));return o.finally((()=>{this.promisesRejections.delete(t)})).catch((()=>null)),o.rejectCallback=t,o}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise((t=>{e.then((e=>(t("fulfilled"),e)),(e=>{throw t("rejected"),e})),this.setTimeout((()=>{t("pending")}),100)}));const t={};return Promise.race([e,t]).then((e=>e===t?"pending":"fulfilled"),(()=>"rejected"))}requestIdleCallback(e,t){const o=this.requestIdleCallbackNative(e,t);return this.requestsIdle.add(o),o}requestIdlePromise(e){return this.promise((t=>{const o=this.requestIdleCallback((()=>t(o)),e)}))}cancelIdleCallback(e){return this.requestsIdle.delete(e),this.cancelIdleCallbackNative(e)}requestAnimationFrame(e){const t=requestAnimationFrame(e);return this.requestsRaf.add(t),t}cancelAnimationFrame(e){this.requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.requestsIdle.forEach((e=>this.cancelIdleCallback(e))),this.requestsRaf.forEach((e=>this.cancelAnimationFrame(e))),this.timers.forEach((e=>(0,r.clearTimeout)(this.timers.get(e)))),this.timers.clear(),this.promisesRejections.forEach((e=>e())),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}}},60588(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(14722),t)},12614(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var r=o(92654),i=o(58299),n=o(10799),s=o(60588),a=new Map,l=function(){function e(){this.async=new s.Async,this.ownerWindow=window,this.__componentStatus=n.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,i.uniqueUid)()}return Object.defineProperty(e.prototype,"componentName",{get(){return this.__componentName||(this.__componentName="jodit-"+(0,r.kebabCase)(((0,r.isFunction)(this.className)?this.className():"")||(0,r.getClassName)(this))),this.__componentName},enumerable:!1,configurable:!0}),e.prototype.getFullElName=function(e,t,o){var i=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),i.push("__".concat(e))),t&&(i.push("_",t),i.push("_",(0,r.isVoid)(o)?"true":""+o)),i.join("")},Object.defineProperty(e.prototype,"ownerDocument",{get(){return this.ow.document},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"od",{get(){return this.ownerDocument},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ow",{get(){return this.ownerWindow},enumerable:!1,configurable:!0}),e.prototype.get=function(e,t){return(0,r.get)(e,t||this)},Object.defineProperty(e.prototype,"isReady",{get(){return this.componentStatus===n.STATUSES.ready},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDestructed",{get(){return this.componentStatus===n.STATUSES.destructed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInDestruct",{get(){return n.STATUSES.beforeDestruct===this.componentStatus||n.STATUSES.destructed===this.componentStatus},enumerable:!1,configurable:!0}),e.prototype.bindDestruct=function(e){var t=this;return e.hookStatus(n.STATUSES.beforeDestruct,(()=>!t.isInDestruct&&t.destruct())),this},e.prototype.destruct=function(){this.setStatus(n.STATUSES.destructed),this.async.destruct(),a.get(this)&&a.delete(this)},Object.defineProperty(e.prototype,"componentStatus",{get(){return this.__componentStatus},set(e){this.setStatus(e)},enumerable:!1,configurable:!0}),e.prototype.setStatus=function(e){return this.setStatusComponent(e,this)},e.prototype.setStatusComponent=function(e,t){if(e!==this.__componentStatus){t===this&&(this.__componentStatus=e);var o=Object.getPrototypeOf(this);o&&(0,r.isFunction)(o.setStatusComponent)&&o.setStatusComponent(e,t);var i=a.get(this),n=null==i?void 0:i[e];n&&n.length&&n.forEach((e=>e(t)))}},e.prototype.hookStatus=function(e,t){var o=a.get(this);o||a.set(this,o={}),o[e]||(o[e]=[]),o[e].push(t)},e.isInstanceOf=(e,t)=>e instanceof t,e.STATUSES=n.STATUSES,e}();t.Component=l},34543(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(10799),t),r.__exportStar(o(12614),t),r.__exportStar(o(34230),t)},10799(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STATUSES=void 0,t.STATUSES={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},34230(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewComponent=void 0;var r=o(20255),i=function(e){function t(t){var o=e.call(this)||this;return o.setParentView(t),o}return r.__extends(t,e),Object.defineProperty(t.prototype,"j",{get(){return this.jodit},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get(){return this.j.defaultTimeout},enumerable:!1,configurable:!0}),t.prototype.i18n=function(e){for(var t,o=[],i=1;arguments.length>i;i++)o[i-1]=arguments[i];return(t=this.j).i18n.apply(t,r.__spreadArray([e],r.__read(o),!1))},t.prototype.setParentView=function(e){return this.jodit=e,e.components.add(this),this},t.prototype.destruct=function(){return this.j.components.delete(this),e.prototype.destruct.call(this)},t}(o(12614).Component);t.ViewComponent=i},10063(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SOURCE_CONSUMER=t.CLIPBOARD_ID=t.lang=t.TEMP_ATTR=t.BASE_PATH=t.KEY_ALIASES=t.IS_MAC=t.SAFE_COUNT_CHANGE_CALL=t.INSERT_ONLY_TEXT=t.INSERT_AS_TEXT=t.INSERT_CLEAR_HTML=t.INSERT_AS_HTML=t.EMULATE_DBLCLICK_TIMEOUT=t.MARKER_CLASS=t.TEXT_RTF=t.TEXT_HTML=t.TEXT_PLAIN=t.IS_IE=t.MODE_SPLIT=t.MODE_SOURCE=t.MODE_WYSIWYG=t.PARAGRAPH=t.BR=t.COMMAND_KEYS=t.ACCURACY=t.NEARBY=t.KEY_F3=t.KEY_DELETE=t.KEY_SPACE=t.KEY_DOWN=t.KEY_RIGHT=t.KEY_UP=t.KEY_LEFT=t.KEY_ALT=t.KEY_ESC=t.KEY_ENTER=t.KEY_TAB=t.KEY_BACKSPACE=t.MAY_BE_REMOVED_WITH_KEY=t.INSEPARABLE_TAGS=t.IS_INLINE=t.IS_BLOCK=t.SPACE_REG_EXP_END=t.SPACE_REG_EXP_START=t.SPACE_REG_EXP=t.INVISIBLE_SPACE_REG_EXP_START=t.INVISIBLE_SPACE_REG_EXP_END=t.INVISIBLE_SPACE_REG_EXP=t.NBSP_SPACE=t.INVISIBLE_SPACE=void 0,t.INVISIBLE_SPACE="\ufeff",t.NBSP_SPACE=" ",t.INVISIBLE_SPACE_REG_EXP=()=>/[\uFEFF]/g,t.INVISIBLE_SPACE_REG_EXP_END=()=>/[\uFEFF]+$/g,t.INVISIBLE_SPACE_REG_EXP_START=()=>/^[\uFEFF]+/g,t.SPACE_REG_EXP=()=>/[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_START=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_END=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,t.IS_BLOCK=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,t.INSEPARABLE_TAGS=["img","br","video","iframe","script","input","textarea","hr","link","jodit","jodit-media"],t.MAY_BE_REMOVED_WITH_KEY=RegExp("^".concat(t.INSEPARABLE_TAGS.join("|"),"$"),"i"),t.KEY_BACKSPACE="Backspace",t.KEY_TAB="Tab",t.KEY_ENTER="Enter",t.KEY_ESC="Escape",t.KEY_ALT="Alt",t.KEY_LEFT="ArrowLeft",t.KEY_UP="ArrowUp",t.KEY_RIGHT="ArrowRight",t.KEY_DOWN="ArrowDown",t.KEY_SPACE="Space",t.KEY_DELETE="Delete",t.KEY_F3="F3",t.NEARBY=5,t.ACCURACY=10,t.COMMAND_KEYS=[t.KEY_BACKSPACE,t.KEY_DELETE,t.KEY_UP,t.KEY_DOWN,t.KEY_RIGHT,t.KEY_LEFT,t.KEY_ENTER,t.KEY_ESC,t.KEY_F3,t.KEY_TAB],t.BR="br",t.PARAGRAPH="p",t.MODE_WYSIWYG=1,t.MODE_SOURCE=2,t.MODE_SPLIT=3,t.IS_IE="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),t.TEXT_PLAIN=t.IS_IE?"text":"text/plain",t.TEXT_HTML=t.IS_IE?"html":"text/html",t.TEXT_RTF=t.IS_IE?"rtf":"text/rtf",t.MARKER_CLASS="jodit-selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.INSERT_AS_HTML="insert_as_html",t.INSERT_CLEAR_HTML="insert_clear_html",t.INSERT_AS_TEXT="insert_as_text",t.INSERT_ONLY_TEXT="insert_only_text",t.SAFE_COUNT_CHANGE_CALL=10,t.IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),t.KEY_ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t.IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},t.BASE_PATH=(()=>{if("undefined"==typeof document)return"";var e=document.currentScript,t=e=>{var t=e.split("/");return/\.js/.test(t[t.length-1])?t.slice(0,t.length-1).join("/")+"/":e};if(e)return t(e.src);var o=document.querySelectorAll("script[src]");return o&&o.length?t(o[o.length-1].src):window.location.href})(),t.TEMP_ATTR="data-jodit-temp",t.lang={},t.CLIPBOARD_ID="clipboard",t.SOURCE_CONSUMER="source-consumer"},53089(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Create=void 0;var r=o(92654),i=o(94522),n=o(10063),s=function(){function e(e,t){this.document=e,this.createAttributes=t}return Object.defineProperty(e.prototype,"doc",{get(){return(0,r.isFunction)(this.document)?this.document():this.document},enumerable:!1,configurable:!0}),e.prototype.element=function(e,t,o){var i=this,n=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(n),t&&((0,r.isPlainObject)(t)?(0,r.attr)(n,t):o=t),o&&(0,r.asArray)(o).forEach((e=>n.appendChild((0,r.isString)(e)?i.fromHTML(e):e))),n},e.prototype.div=function(e,t,o){var r=this.element("div",t,o);return e&&(r.className=e),r},e.prototype.sandbox=function(){var e,t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);var o=null===(e=t.contentWindow)||void 0===e?void 0:e.document;return(0,r.assert)(o,"iframe.contentWindow.document"),o.open(),o.write(""),o.close(),o.body},e.prototype.span=function(e,t,o){var r=this.element("span",t,o);return e&&(r.className=e),r},e.prototype.a=function(e,t,o){var r=this.element("a",t,o);return e&&(r.className=e),r},e.prototype.text=function(e){return this.doc.createTextNode(e)},e.prototype.fake=function(){return this.text(n.INVISIBLE_SPACE)},e.prototype.fragment=function(){return this.doc.createDocumentFragment()},e.prototype.fromHTML=function(e,t){var o=this.div();o.innerHTML=""+e;var n=o.firstChild===o.lastChild&&o.firstChild?o.firstChild:o;if(i.Dom.safeRemove(n),t){var s=(0,r.refs)(n);Object.keys(t).forEach((e=>{var o=s[e];o&&!1===t[e]&&i.Dom.hide(o)}))}return n},e.prototype.applyCreateAttributes=function(e){if(this.createAttributes){var t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){var o=t[e.tagName.toLowerCase()];(0,r.isFunction)(o)?o(e):(0,r.isPlainObject)(o)&&(0,r.attr)(e,o)}}},e}();t.Create=s},14487(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(53089),t)},79004(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cache=void 0;var r=o(92654);t.cache=function(e,t,o){var i=o.get;if(!i)throw(0,r.error)("Getter property descriptor expected");o.get=function(){var e=i.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:o.configurable,enumerable:o.enumerable,writable:!1,value:e}),e}}},99205(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.component=void 0;var r=o(20255);t.component=function(e){var t=function(e){function t(){for(var o=[],i=0;arguments.length>i;i++)o[i]=arguments[i];var n=e.apply(this,r.__spreadArray([],r.__read(o),!1))||this,s=n.constructor===t;return s&&(n instanceof t||Object.setPrototypeOf(n,t.prototype),n.setStatus("ready")),n}return r.__extends(t,e),t}(e);return t}},1509(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.debounce=void 0;var r=o(37379),i=o(34543),n=o(80163),s=o(92654);function a(e,t,o){return void 0===t&&(t=!1),void 0===o&&(o="debounce"),function(a,l){var c=a[l];if(!(0,r.isFunction)(c))throw(0,n.error)("Handler must be a Function");return a.hookStatus(i.STATUSES.ready,(i=>{var n=i.async;(0,s.assert)(null!=n,"Component ".concat(i.componentName||i.constructor.name,' should have "async:IAsync" field'));var a=(0,r.isFunction)(e)?e(i):e;Object.defineProperty(i,l,{configurable:!0,value:n[o](i[l].bind(i),(0,r.isNumber)(a)||(0,r.isPlainObject)(a)?a:i.defaultTimeout,t)})})),{configurable:!0,get(){return c.bind(this)}}}}t.debounce=a,t.throttle=(e,t)=>(void 0===t&&(t=!1),a(e,t,"throttle"))},46169(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hook=void 0;var r=o(37379),i=o(80163);t.hook=e=>(t,o)=>{if(!(0,r.isFunction)(t[o]))throw(0,i.error)("Handler must be a Function");t.hookStatus(e,(e=>{e[o].call(e)}))}},1656(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idle=void 0;var r=o(20255),i=o(34543),n=o(92654);t.idle=()=>(e,t)=>{if(!(0,n.isFunction)(e[t]))throw(0,n.error)("Handler must be a Function");e.hookStatus(i.STATUSES.ready,(e=>{var o=e.async,i=e[t];e[t]=function(){for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return o.requestIdleCallback(i.bind.apply(i,r.__spreadArray([e],r.__read(t),!1)))}}))}},9901(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autobind=void 0;var r=o(20255);r.__exportStar(o(79004),t),r.__exportStar(o(99205),t),r.__exportStar(o(1509),t),r.__exportStar(o(1656),t),r.__exportStar(o(46169),t),r.__exportStar(o(86358),t),r.__exportStar(o(44801),t),r.__exportStar(o(69770),t),r.__exportStar(o(44101),t);var i=o(70631);Object.defineProperty(t,"autobind",{enumerable:!0,get:()=>i.default})},86358(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonenumerable=void 0,t.nonenumerable=function(e,t){!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},44801(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.persistent=void 0;var r=o(34543),i=o(51813);t.persistent=(e,t)=>{e.hookStatus(r.STATUSES.ready,(e=>{var o=(0,i.isViewObject)(e)?e:e.jodit,r="".concat(o.options.namespace).concat(e.componentName,"_prop_").concat(t),n=e[t];Object.defineProperty(e,t,{get(){var e;return null!==(e=o.storage.get(r))&&void 0!==e?e:n},set(e){o.storage.set(r,e)}})}))}},69770(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wait=void 0;var r=o(20255),i=o(92654),n=o(34543);t.wait=e=>(t,o)=>{if(!(0,i.isFunction)(t[o]))throw(0,i.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,(t=>{var i=t.async,n=t[o],s=0;Object.defineProperty(t,o,{configurable:!0,value:function o(){for(var a=[],l=0;arguments.length>l;l++)a[l]=arguments[l];i.clearTimeout(s),e(t)?n.apply(t,a):s=i.setTimeout((()=>o.apply(void 0,r.__spreadArray([],r.__read(a),!1))),10)}})}))}},44101(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watch=t.getPropertyDescriptor=void 0;var r=o(20255),i=o(84121),n=o(77184),s=o(51813),a=o(80475),l=o(10799),c=o(62541),d=o(80163);function u(e,t){var o;do{o=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!o&&e);return o}function p(e,t){return(o,p)=>{if(!(0,i.isFunction)(o[p]))throw(0,d.error)("Handler must be a Function");var h=l=>{var d=function(e){for(var t,o=[],i=1;arguments.length>i;i++)o[i-1]=arguments[i];if(!l.isInDestruct)return(t=l)[p].apply(t,r.__spreadArray([e],r.__read(o),!1))};(0,c.splitArray)(e).forEach((e=>{if(/:/.test(e)){var c=r.__read(e.split(":"),2),p=c[0],h=c[1],f=t,m=(0,s.isViewObject)(l)?l:l.jodit;return p.length&&(f=l.get(p)),(0,i.isFunction)(f)&&(f=f(l)),m.events.on(f||l,h,d),f||m.events.on(h,d),void l.hookStatus("beforeDestruct",(()=>{m.events.off(f||l,h,d).off(h,d)}))}var v=e.split("."),g=r.__read(v,1)[0],y=v.slice(1),_=l[g];(0,n.isPlainObject)(_)&&(0,a.observable)(_).on("change.".concat(y.join(".")),d);var b=u(o,g);Object.defineProperty(l,g,{configurable:!0,set(e){var t=_;t!==e&&(_=e,b&&b.set&&b.set.call(l,e),(0,n.isPlainObject)(_)&&(_=(0,a.observable)(_)).on("change.".concat(y.join(".")),d),d(g,t,_))},get:()=>b&&b.get?b.get.call(l):_})}))};(0,i.isFunction)(o.hookStatus)?o.hookStatus(l.STATUSES.ready,h):h(o)}}t.getPropertyDescriptor=u,t.watch=p,t.default=p},43887(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dom=void 0;var r=o(20255),i=o(10063),n=o(92654),s=o(36047),a=o(10063),l=function(){function e(){}return e.detach=e=>{for(;e.firstChild;)e.removeChild(e.firstChild)},e.wrapInline=(t,o,r)=>{var i,s=t,a=t;r.s.save();var l=!1;do{l=!1,(i=s.previousSibling)&&!e.isBlock(i)&&(l=!0,s=i)}while(l);do{l=!1,(i=a.nextSibling)&&!e.isBlock(i)&&(l=!0,a=i)}while(l);var c=(0,n.isString)(o)?r.createInside.element(o):o;s.parentNode&&s.parentNode.insertBefore(c,s);for(var d=s;d&&(d=s.nextSibling,c.appendChild(s),s!==a&&d);)s=d;return r.s.restore(),c},e.wrap=(t,o,r)=>{var i=(0,n.isString)(o)?r.element(o):o;if(e.isNode(t)){if(!t.parentNode)throw(0,n.error)("Element should be in DOM");t.parentNode.insertBefore(i,t),i.appendChild(t)}else{var s=t.extractContents();t.insertNode(i),i.appendChild(s)}return i},e.unwrap=t=>{var o=t.parentNode;if(o){for(;t.firstChild;)o.insertBefore(t.firstChild,t);e.safeRemove(t)}},e.between=(e,t,o)=>{for(var r=e;r&&r!==t&&(e===r||!o(r));){var i=r.firstChild||r.nextSibling;if(!i){for(;r&&!r.nextSibling;)r=r.parentNode;i=null==r?void 0:r.nextSibling}r=i}},e.replace=(e,t,o,r,i)=>{void 0===r&&(r=!1),void 0===i&&(i=!1),(0,n.isHTML)(t)&&(t=o.fromHTML(t));var s=(0,n.isString)(t)?o.element(t):t;if(!i)for(;e.firstChild;)s.appendChild(e.firstChild);return r&&(0,n.toArray)(e.attributes).forEach((e=>{s.setAttribute(e.name,e.value)})),e.parentNode&&e.parentNode.replaceChild(s,e),s},e.isEmptyTextNode=t=>e.isText(t)&&(!t.nodeValue||0===t.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP(),"").trim().length),e.isEmptyContent=t=>e.each(t,(t=>e.isEmptyTextNode(t))),e.isContentEditable=(t,o)=>e.isNode(t)&&!e.closest(t,(t=>e.isElement(t)&&"false"===t.getAttribute("contenteditable")),o),e.isEmpty=(t,o)=>(void 0===o&&(o=/^(img|svg|canvas|input|textarea|form)$/),!t||(e.isText(t)?null==t.nodeValue||0===(0,n.trim)(t.nodeValue).length:!o.test(t.nodeName.toLowerCase())&&e.each(t,(t=>{if(e.isText(t)&&null!=t.nodeValue&&0!==(0,n.trim)(t.nodeValue).length||e.isElement(t)&&o.test(t.nodeName.toLowerCase()))return!1})))),e.isNode=e=>!!(e&&(0,n.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,n.isFunction)(e.appendChild)),e.isCell=t=>e.isNode(t)&&/^(td|th)$/i.test(t.nodeName),e.isImage=t=>e.isNode(t)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName),e.isBlock=t=>!(0,n.isVoid)(t)&&"object"==typeof t&&e.isNode(t)&&i.IS_BLOCK.test(t.nodeName),e.isText=e=>!(!e||e.nodeType!==Node.TEXT_NODE),e.isElement=t=>{var o;return!!e.isNode(t)&&!(!(null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView)||t.nodeType!==Node.ELEMENT_NODE)},e.isFragment=t=>{var o;return!!e.isNode(t)&&!(!(null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView)||t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)},e.isHTMLElement=t=>{var o;if(!e.isNode(t))return!1;var r=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return!!(r&&t instanceof r.HTMLElement)},e.isInlineBlock=t=>e.isElement(t)&&!/^(BR|HR)$/i.test(t.tagName)&&-1!==["inline","inline-block"].indexOf(""+(0,n.css)(t,"display")),e.canSplitBlock=t=>!(0,n.isVoid)(t)&&e.isHTMLElement(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&void 0!==t.style&&!/^(fixed|absolute)/i.test(t.style.position),e.last=(e,t)=>{var o=null==e?void 0:e.lastChild;if(!o)return null;do{if(t(o))return o;var r=o.lastChild;if(r||(r=o.previousSibling),!r&&o.parentNode!==e){do{o=o.parentNode}while(o&&!(null==o?void 0:o.previousSibling)&&o.parentNode!==e);r=null==o?void 0:o.previousSibling}o=r}while(o);return null},e.prev=(t,o,r,i)=>(void 0===i&&(i=!0),e.find(t,o,r,!1,i)),e.next=(t,o,r,i)=>(void 0===i&&(i=!0),e.find(t,o,r,!0,i)),e.prevWithClass=(t,o)=>e.prev(t,(t=>e.isElement(t)&&t.classList.contains(o)),t.parentNode),e.nextWithClass=(t,o)=>e.next(t,(t=>e.isElement(t)&&t.classList.contains(o)),t.parentNode),e.find=function(e,t,o,r,i){void 0===r&&(r=!0),void 0===i&&(i=!0);for(var n=this.nextGen(e,o,r,i),s=n.next();!s.done;){if(t(s.value))return s.value;s=n.next()}return null},e.nextGen=function(e,t,o,i){var n,s,a;return void 0===o&&(o=!0),void 0===i&&(i=!0),r.__generator(this,(function(l){switch(l.label){case 0:n=[],s=e,l.label=1;case 1:for(a=o?s.nextSibling:s.previousSibling;a;)n.unshift(a),a=o?a.nextSibling:a.previousSibling;return[5,r.__values(this.runInStack(e,n,o,i))];case 2:l.sent(),s=s.parentNode,l.label=3;case 3:if(s&&s!==t)return[3,1];l.label=4;case 4:return[2,null]}}))},e.each=function(e,t,o){void 0===o&&(o=!0);for(var r=this.eachGen(e,o),i=r.next();!i.done;){if(!1===t(i.value))return!1;i=r.next()}return!0},e.eachGen=function(e,t){return void 0===t&&(t=!0),this.runInStack(e,[e],t)},e.runInStack=function(e,t,o,i){var n,s;return void 0===i&&(i=!0),r.__generator(this,(r=>{switch(r.label){case 0:if(!t.length)return[3,3];if(n=t.pop(),i)for(s=o?n.lastChild:n.firstChild;s;)t.push(s),s=o?s.previousSibling:s.nextSibling;return e===n?[3,2]:[4,n];case 1:r.sent(),r.label=2;case 2:return[3,0];case 3:return[2]}}))},e.findWithCurrent=(t,o,r,i,n)=>{void 0===i&&(i="nextSibling"),void 0===n&&(n="firstChild");var s=t;do{if(o(s))return s||null;if(n&&s&&s[n]){var a=e.findWithCurrent(s[n],o,s,i,n);if(a)return a}for(;s&&!s[i]&&s!==r;)s=s.parentNode;s&&s[i]&&s!==r&&(s=s[i])}while(s&&s!==r);return null},e.findSibling=(t,o,r)=>{void 0===o&&(o=!0),void 0===r&&(r=t=>!e.isEmptyTextNode(t));for(var i=e.sibling(t,o);i&&!r(i);)i=e.sibling(i,o);return i&&r(i)?i:null},e.findNotEmptySibling=(t,o)=>e.findSibling(t,o,(t=>{var o;return!e.isEmptyTextNode(t)&&!!(!e.isText(t)||(null===(o=t.nodeValue)||void 0===o?void 0:o.length)&&(0,n.trim)(t.nodeValue))})),e.findNotEmptyNeighbor=(t,o,r)=>(0,n.call)(o?e.prev:e.next,t,(t=>!(!t||e.isText(t)&&!(0,n.trim)((null==t?void 0:t.nodeValue)||"").length)),r),e.sibling=(e,t)=>t?e.previousSibling:e.nextSibling,e.up=(e,t,o,r)=>{void 0===r&&(r=!1);var i=e;if(!i)return null;do{if(t(i))return i;if(i===o||!i.parentNode)break;i=i.parentNode}while(i&&i!==o);return i===o&&r&&t(i)?i:null},e.closest=(t,o,r)=>{var i;return i=(0,n.isFunction)(o)?o:(0,n.isArray)(o)?e=>!(!e||!o.includes(e.nodeName.toLowerCase())):e=>!(!e||o!==e.nodeName.toLowerCase()),e.up(t,i,r)},e.furthest=(e,t,o)=>{for(var r=null,i=null==e?void 0:e.parentElement;i&&i!==o&&t(i);)r=i,i=null==i?void 0:i.parentElement;return r},e.appendChildFirst=(e,t)=>{var o=e.firstChild;o?o!==t&&e.insertBefore(t,o):e.appendChild(t)},e.after=(e,t)=>{var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))},e.before=(e,t)=>{var o=e.parentNode;o&&o.insertBefore(t,e)},e.prepend=(e,t)=>{e.insertBefore(t,e.firstChild)},e.append=function(e,t){var o=this;(0,n.isArray)(t)?t.forEach((t=>{o.append(e,t)})):e.appendChild(t)},e.moveContent=(e,t,o)=>{void 0===o&&(o=!1);var r=(e.ownerDocument||document).createDocumentFragment();(0,n.toArray)(e.childNodes).forEach((e=>{r.appendChild(e)})),o&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)},e.isOrContains=function(e,t,o){return void 0===o&&(o=!1),e===t?!o:!!(t&&e&&this.up(t,(t=>t===e),e,!0))},e.safeRemove=function(){for(var t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];t.forEach((t=>e.isNode(t)&&t.parentNode&&t.parentNode.removeChild(t)))},e.hide=e=>{e&&((0,n.dataBind)(e,"__old_display",e.style.display),e.style.display="none")},e.show=e=>{if(e){var t=(0,n.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}},e.isTag=function(e,t){for(var o=(0,n.asArray)(t).map(String),r=0;o.length>r;r+=1)if(this.isElement(e)&&e.tagName.toLowerCase()===o[r].toLowerCase())return!0;return!1},e.markTemporary=(e,t)=>(t&&(0,n.attr)(e,t),(0,n.attr)(e,a.TEMP_ATTR,!0),e),e.isTemporary=t=>!!e.isElement(t)&&(s.Select.isMarker(t)||"true"===(0,n.attr)(t,a.TEMP_ATTR)),e.replaceTemporaryFromString=e=>e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2"),e.temporaryList=e=>(0,n.$$)("[".concat(a.TEMP_ATTR,"]"),e),e}();t.Dom=l},94522(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(43887),t),r.__exportStar(o(74601),t)},74601(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyWalker=void 0;var r=o(20255),i=o(99437),n=o(9901),s=o(43887),a=function(e){function t(t,o){void 0===o&&(o={});var r=e.call(this)||this;return r.async=t,r.options=o,r.workNodes=null,r.hadAffect=!1,r.isWorked=!1,r.isFinished=!1,r.idleId=0,r}return r.__extends(t,e),t.prototype.setWork=function(e){return this.isWorked&&this.break(),this.workNodes=s.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this},t.prototype.startIdleRequest=function(){var e;this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:null!==(e=this.options.timeout)&&void 0!==e?e:10})},t.prototype.break=function(e){this.isWorked&&(this.stop(),this.emit("break",e))},t.prototype.end=function(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)},t.prototype.stop=function(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)},t.prototype.destruct=function(){e.prototype.destruct.call(this),this.stop()},t.prototype.workPerform=function(e){var t;if(this.workNodes){this.isWorked=!0;for(var o=0,r=null!==(t=this.options.timeoutChunkSize)&&void 0!==t?t:50;!this.isFinished&&(e.timeRemaining()>0||e.didTimeout&&r>=o);){var i=this.workNodes.next();if(o+=1,this.visitNode(i.value)&&(this.hadAffect=!0),i.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()},t.prototype.visitNode=function(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t},r.__decorate([n.autobind],t.prototype,"workPerform",null),t}(i.Eventify);t.LazyWalker=a},34970(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventEmitter=void 0;var r=o(20255),i=o(15094),n=o(40607),s=o(84121),a=o(2555),l=o(80163),c=o(62541),d=function(){function e(e){var t=this;this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=e=>{e.cancelBubble||(e.composed&&(0,s.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})})),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&t.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>t.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}return e.prototype.mute=function(e){return this.__mutedEvents.add(null!=e?e:"*"),this},e.prototype.isMuted=function(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")},e.prototype.unmute=function(e){return this.__mutedEvents.delete(null!=e?e:"*"),this},e.prototype.__eachEvent=function(e,t){var o=this;(0,c.splitArray)(e).map((e=>e.trim())).forEach((e=>{var r=e.split(".");t.call(o,r[0],r[1]||i.defaultNameSpace)}))},e.prototype.__getStore=function(e){if(!e)throw(0,l.error)("Need subject");if(void 0===e[this.__key]){var t=new i.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]},e.prototype.__removeStoreFromSubject=function(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})},e.prototype.__triggerNativeEvent=function(e,t){var o=this.__doc.createEvent("HTMLEvents");(0,n.isString)(t)?o.initEvent(t,!0,!0):(o.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((e=>{Object.defineProperty(o,e,{value:t[e],enumerable:!0})})),Object.defineProperty(o,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(o)},Object.defineProperty(e.prototype,"current",{get(){return this.currents[this.currents.length-1]},enumerable:!1,configurable:!0}),e.prototype.on=function(e,t,o,i){var c,d,u,p,h=this;if((0,n.isString)(e)||(0,n.isStringArray)(e)?(c=this,d=e,u=t,p=o):(c=e,d=t,u=o,p=i),!(0,n.isString)(d)&&!(0,n.isStringArray)(d)||0===d.length)throw(0,l.error)("Need events names");if(!(0,s.isFunction)(u))throw(0,l.error)("Need event handler");if((0,a.isArray)(c))return c.forEach((e=>{h.on(e,d,u,p)})),this;var f=c,m=this.__getStore(f),v=(0,s.isFunction)(f.addEventListener),g=this,y=function(e){for(var t=[],o=1;arguments.length>o;o++)t[o-1]=arguments[o];if(!g.isMuted(e))return u&&u.call.apply(u,r.__spreadArray([this],r.__read(t),!1))};return v&&(y=function(e){if(!g.isMuted(e.type))return g.__prepareEvent(e),u&&!1===u.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(d,((e,t)=>{if(0===e.length)throw(0,l.error)("Need event name");if(!1===m.indexOf(e,t,u)&&(m.set(e,t,{event:e,originalCallback:u,syntheticCallback:y},null==p?void 0:p.top),v)){var o=!!["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"].includes(e)&&{passive:!0};f.addEventListener(e,y,o)}})),this},e.prototype.one=function(e,t,o,i){var s,a,l,c,d=this;(0,n.isString)(e)||(0,n.isStringArray)(e)?(s=this,a=e,l=t,c=o):(s=e,a=t,l=o,c=i);var u=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return d.off(s,a,u),l.apply(void 0,r.__spreadArray([],r.__read(e),!1))};return this.on(s,a,u,c),this},e.prototype.off=function(e,t,o){var r,l,c,d=this;if((0,n.isString)(e)||(0,n.isStringArray)(e)?(r=this,l=e,c=t):(r=e,l=t,c=o),(0,a.isArray)(r))return r.forEach((e=>{d.off(e,l,c)})),this;var u=r,p=this.__getStore(u);if(!(0,n.isString)(l)&&!(0,n.isStringArray)(l)||0===l.length)return p.namespaces().forEach((e=>{d.off(u,"."+e)})),this.__removeStoreFromSubject(u),this;var h=(0,s.isFunction)(u.removeEventListener),f=e=>{h&&u.removeEventListener(e.event,e.syntheticCallback,!1)},m=(e,t)=>{if(""!==e){var o=p.get(e,t);if(o&&o.length)if((0,s.isFunction)(c)){var r=p.indexOf(e,t,c);!1!==r&&(f(o[r]),o.splice(r,1),o.length||p.clearEvents(t,e))}else o.forEach(f),o.length=0,p.clearEvents(t,e)}else p.events(t).forEach((e=>{""!==e&&m(e,t)}))};return this.__eachEvent(l,((e,t)=>{t===i.defaultNameSpace?p.namespaces().forEach((t=>{m(e,t)})):m(e,t)})),p.isEmpty()&&this.__removeStoreFromSubject(u),this},e.prototype.stopPropagation=function(e,t){var o=this,r=(0,n.isString)(e)?this:e,s=(0,n.isString)(e)?e:t;if("string"!=typeof s)throw(0,l.error)("Need event names");var a=this.__getStore(r);this.__eachEvent(s,((e,t)=>{var n=a.get(e,t);n&&o.__stopped.push(n),t===i.defaultNameSpace&&a.namespaces(!0).forEach((t=>o.stopPropagation(r,e+"."+t)))}))},e.prototype.__removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}},e.prototype.__isStopped=function(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)},e.prototype.fire=function(e,t){for(var o,a,c=this,d=[],u=2;arguments.length>u;u++)d[u-2]=arguments[u];var p=(0,n.isString)(e)?this:e,h=(0,n.isString)(e)?e:t,f=(0,n.isString)(e)?r.__spreadArray([t],r.__read(d),!1):d,m=(0,s.isFunction)(p.dispatchEvent);if(!m&&!(0,n.isString)(h))throw(0,l.error)("Need events names");var v=this.__getStore(p);return!(0,n.isString)(h)&&m?this.__triggerNativeEvent(p,t):this.__eachEvent(h,((e,t)=>{if(m)c.__triggerNativeEvent(p,e);else{var n=v.get(e,t);if(n)try{r.__spreadArray([],r.__read(n),!1).every((t=>{var i;return!c.__isStopped(n)&&(c.currents.push(e),a=(i=t.syntheticCallback).call.apply(i,r.__spreadArray([p,e],r.__read(f),!1)),c.currents.pop(),void 0!==a&&(o=a),!0)}))}finally{c.__removeStop(n)}t!==i.defaultNameSpace||m||v.namespaces().filter((e=>e!==t)).forEach((t=>{var i=c.fire.apply(c,r.__spreadArray([p,e+"."+t],r.__read(f),!1));void 0!==i&&(o=i)}))}})),o},e.prototype.destruct=function(){this.__isDestructed&&(this.__isDestructed=!0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))},e}();t.EventEmitter=d},99437(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eventify=void 0;var r=o(20255),i=function(){function e(){this.__map=new Map}return e.prototype.on=function(e,t){var o;return this.__map.has(e)||this.__map.set(e,new Set),null===(o=this.__map.get(e))||void 0===o||o.add(t),this},e.prototype.off=function(e,t){var o;return this.__map.has(e)&&(null===(o=this.__map.get(e))||void 0===o||o.delete(t)),this},e.prototype.destruct=function(){this.__map.clear()},e.prototype.emit=function(e){for(var t,o,i=[],n=1;arguments.length>n;n++)i[n-1]=arguments[n];return this.__map.has(e)&&(null===(t=this.__map.get(e))||void 0===t||t.forEach((e=>{o=e.apply(void 0,r.__spreadArray([],r.__read(i),!1))}))),o},e}();t.Eventify=i},42293(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(34970),t),r.__exportStar(o(99437),t),r.__exportStar(o(80475),t),r.__exportStar(o(15094),t)},80475(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0;var r=o(20255),i=o(2555),n=o(16716),s=o(77184),a=o(44101),l=Symbol("observable-object");function c(e){return void 0!==e[l]}t.observable=e=>{if(c(e))return e;var t={},o={},d=(t,r)=>(0,i.isArray)(t)?(t.map((e=>d(e,r))),e):(o[t]||(o[t]=[]),o[t].push(r),e),u=function(n){for(var s=[],a=1;arguments.length>a;a++)s[a-1]=arguments[a];if((0,i.isArray)(n))n.map((e=>u.apply(void 0,r.__spreadArray([e],r.__read(s),!1))));else try{!t[n]&&o[n]&&(t[n]=!0,o[n].forEach((t=>t.call.apply(t,r.__spreadArray([e],r.__read(s),!1)))))}finally{t[n]=!1}},p=(t,o)=>{void 0===o&&(o=[]);var i={};c(t)||(Object.defineProperty(t,l,{enumerable:!1,value:!0}),Object.keys(t).forEach((l=>{var c=l,d=o.concat(c).filter((e=>e.length));i[c]=t[c];var h=(0,a.getPropertyDescriptor)(t,c);Object.defineProperty(t,c,{set(t){var o=i[c];if(!(0,n.isFastEqual)(i[c],t)){u(["beforeChange","beforeChange.".concat(d.join("."))],c,t),(0,s.isPlainObject)(t)&&p(t,d),h&&h.set?h.set.call(e,t):i[c]=t;var a=[];u(r.__spreadArray(["change"],r.__read(d.reduce(((e,t)=>(a.push(t),e.push("change.".concat(a.join("."))),e)),[])),!1),d.join("."),o,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:()=>h&&h.get?h.get.call(e):i[c],enumerable:!0,configurable:!0}),(0,s.isPlainObject)(i[c])&&p(i[c],d)})),Object.defineProperty(e,"on",{value:d}))};return p(e),e}},15094(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlersStore=t.defaultNameSpace=void 0;var r=o(39665),i=o(42464);t.defaultNameSpace="JoditEventDefaultNamespace";var n=function(){function e(){this.__store=new Map}return e.prototype.get=function(e,t){if(this.__store.has(t)){var o=this.__store.get(t);return(0,r.assert)(o,"-"),o[e]}},e.prototype.indexOf=function(e,t,o){var r=this.get(e,t);if(r)for(var i=0;r.length>i;i+=1)if(r[i].originalCallback===o)return i;return!1},e.prototype.namespaces=function(e){void 0===e&&(e=!1);var o=(0,i.toArray)(this.__store.keys());return e?o.filter((e=>e!==t.defaultNameSpace)):o},e.prototype.events=function(e){var t=this.__store.get(e);return t?Object.keys(t):[]},e.prototype.set=function(e,t,o,r){void 0===r&&(r=!1);var i=this.__store.get(t);i||this.__store.set(t,i={}),void 0===i[e]&&(i[e]=[]),r?i[e].unshift(o):i[e].push(o)},e.prototype.clear=function(){this.__store.clear()},e.prototype.clearEvents=function(e,t){var o=this.__store.get(e);o&&o[t]&&(delete o[t],Object.keys(o).length||this.__store.delete(e))},e.prototype.isEmpty=function(){return 0===this.__store.size},e}();t.EventHandlersStore=n},58299(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventEmitter=t.getContainer=t.extendLang=t.modules=t.pluginSystem=t.uniqueUid=t.instances=void 0;var r=o(58153),i=o(94522),n=o(42293),s=o(47442),a=o(51813),l=o(28693),c=o(90237),d=o(10063);t.instances={};var u=1,p=new Set;t.uniqueUid=()=>{function e(){return u+=10*(Math.random()+1),Math.round(u).toString(16)}for(var t=e();p.has(t);)t=e();return p.add(t),t},t.pluginSystem=new r.PluginSystem,t.modules={},t.extendLang=e=>{Object.keys(e).forEach((t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]}))};var h=new WeakMap;t.getContainer=(e,t,o,r)=>{void 0===o&&(o="div"),void 0===r&&(r=!1);var n=t?(0,l.getClassName)(t.prototype):"jodit-utils",d=h.get(e)||{},u=n+o,p=(0,a.isViewObject)(e)?e:e.j;if(!d[u]){var f=p.c,m=(0,s.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:e.od.body;if(r&&(0,s.isJoditObject)(e)&&e.od!==e.ed){f=e.createInside;var v="style"===o?e.ed.head:e.ed.body;m=(0,s.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:v}var g=f.element(o,{className:"jodit jodit-".concat((0,c.kebabCase)(n),"-container jodit-box")});g.classList.add("jodit_theme_".concat(p.o.theme||"default")),m.appendChild(g),d[u]=g,e.hookStatus("beforeDestruct",(()=>{i.Dom.safeRemove(g),delete d[u],Object.keys(d).length&&h.delete(e)})),h.set(e,d)}return d[u].classList.remove("jodit_theme_default","jodit_theme_dark"),d[u].classList.add("jodit_theme_".concat(p.o.theme||"default")),d[u]},t.eventEmitter=new n.EventEmitter},7796(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=void 0;var r=o(2555);t.asArray=e=>(0,r.isArray)(e)?e:[e]},3005(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=t.splitArray=t.asArray=void 0;var r=o(7796);Object.defineProperty(t,"asArray",{enumerable:!0,get:()=>r.asArray});var i=o(62541);Object.defineProperty(t,"splitArray",{enumerable:!0,get:()=>i.splitArray});var n=o(42464);Object.defineProperty(t,"toArray",{enumerable:!0,get:()=>n.toArray})},62541(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitArray=void 0,t.splitArray=e=>Array.isArray(e)?e:e.split(/[,\s]+/)},42464(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var r=o(33872),i=o(76994);t.toArray=function(){for(var e,t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];var n=(0,i.isNativeFunction)(Array.from)?Array.from:null!==(e=(0,r.reset)("Array.from"))&&void 0!==e?e:Array.from;return n.apply(Array,t)}},97336(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(60232),t)},60232(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearTimeout=t.setTimeout=void 0;var r=o(20255);t.setTimeout=function(e,t){for(var o=[],i=2;arguments.length>i;i++)o[i-2]=arguments[i];return t?window.setTimeout.apply(window,r.__spreadArray([e,t],r.__read(o),!1)):(e.call.apply(e,r.__spreadArray([null],r.__read(o),!1)),0)},t.clearTimeout=e=>{window.clearTimeout(e)}},85740(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserColorPicker=void 0,t.hasBrowserColorPicker=()=>{var e=!0;try{var t=document.createElement("input");t.type="color",e="color"===t.type&&"number"!=typeof t.selectionStart}catch(t){e=!1}return e}},37379(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(85740),t),r.__exportStar(o(2555),t),r.__exportStar(o(65131),t),r.__exportStar(o(16716),t),r.__exportStar(o(84121),t),r.__exportStar(o(24775),t),r.__exportStar(o(68278),t),r.__exportStar(o(19747),t),r.__exportStar(o(84153),t),r.__exportStar(o(47442),t),r.__exportStar(o(51813),t),r.__exportStar(o(33656),t),r.__exportStar(o(76994),t),r.__exportStar(o(93860),t),r.__exportStar(o(57587),t),r.__exportStar(o(77184),t),r.__exportStar(o(30317),t),r.__exportStar(o(40607),t),r.__exportStar(o(56521),t),r.__exportStar(o(76245),t),r.__exportStar(o(13859),t),r.__exportStar(o(99562),t)},2555(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=e=>Array.isArray(e)},65131(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBoolean=void 0,t.isBoolean=e=>"boolean"==typeof e},16716(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFastEqual=t.isEqual=void 0;var r=o(27561);t.isEqual=(e,t)=>e===t||(0,r.stringify)(e)===(0,r.stringify)(t),t.isFastEqual=(e,t)=>e===t},84121(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=e=>"function"==typeof e},68278(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHtmlFromWord=void 0,t.isHtmlFromWord=e=>-1!==e.search(//)||-1!==e.search(//)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/(0,r.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},19747(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasContainer=t.isDestructable=t.isInitable=void 0;var r=o(84121),i=o(43887),n=o(13859);t.isInitable=e=>!(0,n.isVoid)(e)&&(0,r.isFunction)(e.init),t.isDestructable=e=>!(0,n.isVoid)(e)&&(0,r.isFunction)(e.destruct),t.hasContainer=e=>!(0,n.isVoid)(e)&&i.Dom.isElement(e.container)},84153(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInt=void 0;var r=o(57587),i=o(40607);t.isInt=e=>((0,i.isString)(e)&&(0,r.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1))},47442(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoditObject=void 0;var r=o(84121);t.isJoditObject=e=>!!(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))},33656(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLicense=void 0;var r=o(40607);t.isLicense=e=>(0,r.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},76994(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNativeFunction=void 0,t.isNativeFunction=e=>!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(e+""))},93860(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isNumber=e=>"number"==typeof e&&!isNaN(e)&&isFinite(e)},57587(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=void 0;var r=o(40607);t.isNumeric=e=>{if((0,r.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},77184(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=void 0;var r=o(99562);t.isPlainObject=e=>!(!e||"object"!=typeof e||e.nodeType||(0,r.isWindow)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},30317(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0,t.isPromise=e=>e&&"function"==typeof e.then},40607(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isStringArray=t.isString=void 0;var r=o(2555);function i(e){return"string"==typeof e}t.isString=i,t.isStringArray=e=>(0,r.isArray)(e)&&i(e[0])},56521(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=void 0,t.isURL=e=>{if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{var t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}var o=document.createElement("a");return o.href=e,!!o.hostname}},76245(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidName=void 0,t.isValidName=e=>!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_.]/.test(e)},51813(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isViewObject=void 0;var r=o(84121);t.isViewObject=e=>!!(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&e.isView)},13859(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVoid=void 0,t.isVoid=e=>null==e},99562(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindow=void 0,t.isWindow=e=>null!=e&&e===e.window},76588(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorToHex=void 0,t.colorToHex=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";for(var o=parseInt(t[2],10),r=parseInt(t[3],10),i=(parseInt(t[4],10)|r<<8|o<<16).toString(16).toUpperCase();6>i.length;)i="0"+i;return t[1]+"#"+i}},50213(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(76588),t)},40360(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyStyles=void 0;var r=o(43887),i=o(73344),n=o(50106);function s(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,((e,t,o)=>{switch(o.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e}))}t.applyStyles=e=>{if(-1===e.indexOf("")+7);var t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);var o="";try{var a=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(a){a.open(),a.write(e),a.close();try{for(var l=e=>{for(var t=a.styleSheets[e].cssRules,o=e=>{if(""===t[e].selectorText)return"continue";(0,i.$$)(t[e].selectorText,a.body).forEach((o=>{o.style.cssText=s(t[e].style.cssText+";"+o.style.cssText)}))},r=0;t.length>r;r+=1)o(r)},c=0;a.styleSheets.length>c;c+=1)l(c)}catch(e){}r.Dom.each(a.body,(e=>{if(r.Dom.isElement(e)){var t=e,o=t.getAttribute("style");o&&(t.style.cssText=s(o)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}})),o=a.firstChild?(0,n.trim)(a.body.innerHTML):""}}catch(e){}finally{r.Dom.safeRemove(t)}return o&&(e=o),(0,n.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(//i);-1!==t&&(e=e.substring(t+20));var o=e.search(//i);return-1!==o&&(e=e.substring(0,o)),e})(o)),t.s.insertHTML(o)}},t.getAllTypes=e=>{var t=e.types,o="";if((0,i.isArray)(t)||"[object DOMStringList]"==={}.toString.call(t))for(var r=0;t.length>r;r+=1)o+=t[r]+";";else o=(t||s.TEXT_PLAIN)+";";return o},t.askInsertTypeDialog=(e,t,o,i,n)=>{if(!1!==e.e.fire("beforeOpenPasteDialog",t,o,i,n)){var s=e.confirm('
'.concat(e.i18n(t),"
"),e.i18n(o)),l=n.map((t=>{var o=t.text,r=t.value;return(0,a.Button)(e,{text:o,name:o.toLowerCase(),tabIndex:0}).onAction((()=>{s.close(),i(r)}))}));s.e.one(s,"afterClose",(()=>{e.s.isFocused()||e.s.focus()}));var c=(0,a.Button)(e,{text:"Cancel",tabIndex:0}).onAction((()=>{s.close()}));return s.setFooter(r.__spreadArray(r.__spreadArray([],r.__read(l),!1),[c],!1)),l[0].focus(),l[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",s,t,o,i,n),s}}},78053(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paste=void 0;var r=o(20255),i=o(73177),n=o(10063),s=o(43887),a=o(9901),l=o(92654),c=o(58299),d=o(23063);o(12814);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pasteStack=new l.LimitedStack(20),t._isDialogOpened=!1,t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(e=>t.pasteStack.push(e))),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)},t.prototype.beforeDestruct=function(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")},t.prototype.onPaste=function(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}},t.prototype.customPasteProcess=function(e){if(this.j.o.processPasteHTML){var t,o=(0,l.getDataTransfer)(e),r={html:null==o?void 0:o.getData(n.TEXT_HTML),plain:null==o?void 0:o.getData(n.TEXT_PLAIN),rtf:null==o?void 0:o.getData(n.TEXT_RTF)};for(t in r){var i=r[t];if((0,l.isHTML)(i)&&(this.j.e.fire("processHTML",e,i,r)||this.processHTML(e,i)))return!1}}},t.prototype.defaultPasteProcess=function(e){var t=(0,l.getDataTransfer)(e),o=(null==t?void 0:t.getData(n.TEXT_HTML))||(null==t?void 0:t.getData(n.TEXT_PLAIN));if(t&&o&&""!==(0,l.trim)(o)){var r=this.j.e.fire("processPaste",e,o,(0,d.getAllTypes)(t));void 0!==r&&(o=r),((0,l.isString)(o)||s.Dom.isNode(o))&&this.insertByType(e,o,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}},t.prototype.processHTML=function(e,t){var o=this;if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){var r=this.pasteStack.find((e=>e.html===t));if(r)return this.insertByType(e,t,r.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;var i=(0,d.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(r=>{o._isDialogOpened=!1,o.insertByType(e,t,r)}),this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",(()=>{o._isDialogOpened=!1}))),!0}return!1},t.prototype.insertByType=function(e,t,o){if(this.pasteStack.push({html:t,action:o}),(0,l.isString)(t))switch(this.j.buffer.set(n.CLIPBOARD_ID,t),o){case n.INSERT_CLEAR_HTML:t=(0,l.cleanFromWord)(t);break;case n.INSERT_ONLY_TEXT:t=(0,l.stripTags)(t);break;case n.INSERT_AS_TEXT:t=(0,l.htmlspecialchars)(t)}(0,d.pasteInsertHtml)(e,this.j,t)},t.prototype.onProcessPasteReplaceNl2Br=(e,t,o)=>{if(o===n.TEXT_PLAIN+";"&&!(0,l.isHTML)(t))return(0,l.nl2br)(t)},r.__decorate([a.autobind],t.prototype,"onPaste",null),r.__decorate([a.autobind],t.prototype,"onProcessPasteReplaceNl2Br",null),t}(i.Plugin);t.paste=u,c.pluginSystem.add("paste",u)},90566(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.showPlaceholder=!0,r.Config.prototype.placeholder="Type something",r.Config.prototype.useInputsPlaceholder=!0},82199(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholder=t.isEditorEmpty=void 0;var r=o(20255);o(51629);var i=o(10063),n=o(92654),s=o(94522),a=o(73177),l=o(10063),c=o(9901),d=o(36047),u=o(58299);function p(e){if(!e.firstChild)return!0;var t=e.firstChild;if(l.MAY_BE_REMOVED_WITH_KEY.test(t.nodeName)||/^(TABLE)$/i.test(t.nodeName))return!1;var o=s.Dom.next(t,(e=>e&&!s.Dom.isEmptyTextNode(e)),e);return s.Dom.isText(t)&&!o?s.Dom.isEmptyTextNode(t):!o&&s.Dom.each(t,(e=>!s.Dom.isTag(e,["ul","li","ol"])&&(s.Dom.isEmpty(e)||s.Dom.isTag(e,"br"))))}o(90566),t.isEditorEmpty=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.addNativeListeners=()=>{t.j.e.off(t.j.editor,"input.placeholder keydown.placeholder").on(t.j.editor,"input.placeholder keydown.placeholder",t.toggle)},t.addEvents=()=>{var e=t.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(t.placeholderElm.innerHTML=(0,n.attr)(e.element,"placeholder")||""),e.e.fire("placeholder",t.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",t.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",t.toggle).on(window,"load",t.toggle),t.addNativeListeners(),t.toggle()},t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML('")),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",(e=>{e?t.hide():t.toggle()})).on("changePlace",this.addEvents),this.addEvents())},t.prototype.show=function(){var e=this.j;if(!e.o.readonly){var t=0,o=0,r=e.s.current(),i=r&&s.Dom.closest(r,s.Dom.isBlock,e.editor)||e.editor,a=e.ew.getComputedStyle(i);e.workplace.appendChild(this.placeholderElm);var l=e.editor.firstChild;if(s.Dom.isElement(l)&&!d.Select.isMarker(l)){var c=e.ew.getComputedStyle(l);t=parseInt(c.getPropertyValue("margin-top"),10),o=parseInt(c.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(c.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=c.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(a.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=a.getPropertyValue("line-height");(0,n.css)(this.placeholderElm,{display:"block",textAlign:a.getPropertyValue("text-align"),marginTop:Math.max(parseInt(a.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(a.getPropertyValue("margin-left"),10),o)})}},t.prototype.hide=function(){s.Dom.safeRemove(this.placeholderElm)},t.prototype.toggle=function(){var e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===i.MODE_WYSIWYG&&p(e.editor)?this.show():this.hide())},t.prototype.beforeDestruct=function(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)},r.__decorate([(0,c.debounce)((e=>e.defaultTimeout/10),!0)],t.prototype,"toggle",null),t}(a.Plugin);t.placeholder=h,u.pluginSystem.add("placeholder",h)},16459(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poweredByJodit=void 0;var r=o(58299);function i(e){var t=e.o;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",(()=>{e.statusbar.append(e.create.fromHTML('\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t'),!0)}))}t.poweredByJodit=i,r.pluginSystem.add("poweredByJodit",i)},72802(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preview=void 0,o(54860);var r=o(27537),i=o(10063),n=o(79775),s=o(58299);function a(e){e.registerButton({name:"preview"}),e.registerCommand("preview",((t,o,r)=>{var i=e.dialog();i.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0),(0,n.previewBox)(e,r,"px",i.getElm("content"))}))}r.Config.prototype.controls.preview={icon:"eye",command:"preview",mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Preview"},t.preview=a,s.pluginSystem.add("preview",a)},28895(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCriticalCSS=void 0;var r=o(20255),i=o(42464);t.generateCriticalCSS=function(e){var t=(e,t)=>(void 0===t&&(t=e.ownerDocument.styleSheets),(0,i.toArray)(t).map((e=>{try{return(0,i.toArray)(e.cssRules)}catch(e){}return[]})).flat().filter((t=>{try{return!(!t||!e.matches(t.selectorText))}catch(e){}return!1}))),o=function(){function o(o,i,n){var s=this;this.css={};var a=n||{},l=t=>{var o=t.selectorText.split(",").map((e=>e.trim())).sort().join(",");0==!!s.css[o]&&(s.css[o]={});for(var i=t.style.cssText.split(/;(?![A-Za-z0-9])/),n=0;i.length>n;n++)if(i[n]){var a=i[n].split(":");a[0]=a[0].trim(),a[1]=a[1].trim(),s.css[o][a[0]]=a[1].replace(/var\(([^)]+)\)/g,((t,o)=>{var i=r.__read(o.split(","),2),n=i[0],s=i[1];return(e.ew.getComputedStyle(e.editor).getPropertyValue(n.trim())||s||t).trim()}))}};(()=>{for(var r=o.innerHeight,n=i.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,(()=>NodeFilter.FILTER_ACCEPT));n.nextNode();){var s=n.currentNode;if(r>s.getBoundingClientRect().top||a.scanFullPage){var c=t(s);if(c)for(var d=0;c.length>d;d++)l(c[d])}}})()}return o.prototype.generateCSS=function(){var e="";for(var t in this.css)if(!/:not\(/.test(t)){for(var o in e+=t+" { ",this.css[t])e+=o+": "+this.css[t][o]+"; ";e+="}\n"}return e},o}();try{return new o(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},16214(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=void 0;var r=o(27537),i=o(58299),n=o(94522),s=o(3588),a=o(10063),l=o(58299),c=o(76381),d=o(28895),u=o(79775);function p(e){e.registerButton({name:"print"})}c.Icon.set("print",o(22860)),r.Config.prototype.controls.print={exec(e){var t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,i.getContainer)(e,r.Config).appendChild(t);var o=()=>{e.e.off(e.ow,"mousemove",o),n.Dom.safeRemove(t)},a=t.contentWindow;if(a){e.e.on(a,"onbeforeunload onafterprint",o).on(e.ow,"mousemove",o),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",a.document,e),a.document.body.innerHTML=e.value):(a.document.write('"),a.document.close(),(0,u.previewBox)(e,void 0,"px",a.document.body));var l=a.document.createElement("style");l.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",a.document.head.appendChild(l),a.focus(),a.print()}},mode:a.MODE_SOURCE+a.MODE_WYSIWYG,tooltip:"Print"},t.print=p,l.pluginSystem.add("print",p)},68551(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redoUndo=void 0;var r=o(20255),i=o(27537),n=o(10063),s=o(73177),a=o(58299);o(76381).Icon.set("redo",o(95600)).set("undo",o(76214)),i.Config.prototype.controls.redo={mode:n.MODE_SPLIT,isDisabled:e=>!e.history.canRedo(),tooltip:"Redo"},i.Config.prototype.controls.undo={mode:n.MODE_SPLIT,isDisabled:e=>!e.history.canUndo(),tooltip:"Undo"};var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}],t}return r.__extends(t,e),t.prototype.beforeDestruct=()=>{},t.prototype.afterInit=e=>{var t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})},t}(s.Plugin);t.redoUndo=l,a.pluginSystem.add("redoUndo",l)},35477(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tableAllowCellResize=!0},1951(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeCells=void 0;var r=o(20255);o(47818);var i=o(10063),n=o(46701),s=o(92654),a=o(9901),l=o(43887),c=o(58299);o(35477);var d="table_processor_observer-resize",u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectMode=!1,t.resizeDelta=0,t.createResizeHandle=()=>{t.resizeHandler||(t.resizeHandler=t.j.c.div("jodit-table-resizer"),t.j.e.on(t.resizeHandler,"mousedown.table touchstart.table",t.onHandleMouseDown).on(t.resizeHandler,"mouseenter.table",(()=>{t.j.async.clearTimeout(t.hideTimeout)})))},t.hideTimeout=0,t.drag=!1,t.minX=0,t.maxX=0,t.startX=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRTL",{get(){return"rtl"===this.j.o.direction},enumerable:!1,configurable:!0}),t.prototype.showResizeHandle=function(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)},t.prototype.hideResizeHandle=function(){var e=this;this.hideTimeout=this.j.async.setTimeout((()=>{l.Dom.safeRemove(e.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})},t.prototype.onHandleMouseDown=function(e){var t=this;if(!this.j.isLocked){this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(d),this.resizeHandler.classList.add("jodit-table-resizer_moved");var o,r=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)r=this.workTable.parentNode.getBoundingClientRect(),this.minX=r.left,this.maxX=this.minX+r.width;else{var s=n.Table.formalCoordinate(this.workTable,this.workCell,!0);n.Table.formalMatrix(this.workTable,((e,r,n)=>{s[1]===n&&(o=e.getBoundingClientRect(),t.minX=Math.max(o.left+i.NEARBY/2,t.minX)),s[1]+(t.isRTL?-1:1)===n&&(o=e.getBoundingClientRect(),t.maxX=Math.min(o.left+o.width-i.NEARBY/2,t.maxX))}))}return!1}},t.prototype.onMouseMove=function(e){if(this.drag){this.j.e.fire("closeAllPopups");var t=e.clientX,o=(0,s.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?o.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:o.left)+"px";var r=this.j.s.sel;r&&r.removeAllRanges()}},t.prototype.onMouseUp=function(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())},t.prototype.resizeColumns=function(){var e=this.resizeDelta,t=[];n.Table.setColumnWidthByDelta(this.workTable,n.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);var o=(0,s.call)(this.isRTL?l.Dom.prev:l.Dom.next,this.workCell,l.Dom.isCell,this.workCell.parentNode);n.Table.setColumnWidthByDelta(this.workTable,n.Table.formalCoordinate(this.workTable,o)[1],-e,!1,t)},t.prototype.resizeTable=function(){var e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,o=(0,s.getContentWidth)(this.workTable.parentNode,this.j.ew),r=!this.wholeTable;if(this.isRTL?!r:r)this.workTable.style.width=(t+e)/o*100+"%";else{var i=this.isRTL?"marginRight":"marginLeft",n=parseInt(this.j.ew.getComputedStyle(this.workTable)[i]||"0",10);this.workTable.style.width=(t-e)/o*100+"%",this.workTable.style[i]=(n+e)/o*100+"%"}},t.prototype.setWorkCell=function(e,t){void 0===t&&(t=null),this.wholeTable=t,this.workCell=e,this.workTable=l.Dom.up(e,(e=>l.Dom.isTag(e,"table")),this.j.editor)},t.prototype.calcHandlePosition=function(e,t,o,r){void 0===o&&(o=0),void 0===r&&(r=0);var n=(0,s.offset)(t,this.j,this.j.ed);if(o>i.NEARBY&&n.width-i.NEARBY>o)this.hideResizeHandle();else{var a=(0,s.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,s.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(o>i.NEARBY?n.left+n.width:n.left)-a.left+r+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-a.top+"px"}),this.showResizeHandle(),o>i.NEARBY){var d=(0,s.call)(this.isRTL?l.Dom.prev:l.Dom.next,t,l.Dom.isCell,t.parentNode);this.setWorkCell(t,!!d&&null)}else{var u=(0,s.call)(this.isRTL?l.Dom.next:l.Dom.prev,t,l.Dom.isCell,t.parentNode);this.setWorkCell(u||t,!u||null)}}},t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(()=>{(0,s.$$)("table",e.editor).forEach(t.observe)})).on(this.j.ow,"scroll.resize-cells",(()=>{if(t.drag){var o=l.Dom.up(t.workCell,(e=>l.Dom.isTag(e,"table")),e.editor);if(o){var r=o.getBoundingClientRect();t.resizeHandler.style.top=r.top+"px"}}})).on("beforeSetMode.resize-cells",(()=>{t.module.getAllSelectedCells().forEach((o=>{t.module.removeSelection(o),n.Table.normalizeTable(l.Dom.closest(o,"table",e.editor))}))}))},t.prototype.observe=function(e){var t=this;(0,s.dataBind)(e,d)||((0,s.dataBind)(e,d,!0),this.j.e.on(e,"mouseleave.resize-cells",(e=>{t.resizeHandler&&t.resizeHandler!==e.relatedTarget&&t.hideResizeHandle()})).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((o=>{if(!t.j.isLocked){var r=l.Dom.up(o.target,l.Dom.isCell,e);r&&t.calcHandlePosition(e,r,o.offsetX)}}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())},t.prototype.beforeDestruct=function(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))},r.__decorate([a.autobind],t.prototype,"onHandleMouseDown",null),r.__decorate([a.autobind],t.prototype,"onMouseMove",null),r.__decorate([a.autobind],t.prototype,"onMouseUp",null),r.__decorate([a.autobind],t.prototype,"observe",null),t}(n.Plugin);t.resizeCells=u,c.pluginSystem.add("resizeCells",u)},60991(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.allowResizeX=!1,r.Config.prototype.allowResizeY=!0},67757(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandler=void 0;var r=o(20255),i=o(35570),n=o(94522),s=o(9901),a=o(14153),l=o(58299);o(60991);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isResized=!1,t.start={x:0,y:0,w:0,h:0},t.handle=t.j.c.div("jodit-editor__resize",a.Icon.get("resize_handler")),t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this,o=e.o,r=o.height,i=o.width,n=e.o.allowResizeY;"auto"===r&&"auto"!==i&&(n=!1),"auto"===r&&"auto"===i||!o.allowResizeX&&!n||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",(()=>{t.handle.style.display=e.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))},t.prototype.onHandleResizeStart=function(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()},t.prototype.onHandleResize=function(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))},t.prototype.onHandleResizeEnd=function(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())},t.prototype.beforeDestruct=function(){n.Dom.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)},t.requires=["size"],r.__decorate([s.autobind],t)}(i.Plugin);t.resizeHandler=c,l.pluginSystem.add("resizeHandler",c)},43087(e,t,o){"use strict";var r=o(27537);r.Config.prototype.allowResizeTags=["img","iframe","table","jodit"],r.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:["img"]}},35196(e,t,o){"use strict";o.r(t),o.d(t,{resizer:()=>u});var r=o(20255),i=o(10063),n=o(43887),s=o(92654),a=o(73177),l=o(58299),c=o(9901);o(43087);const d="__jodit-resizer_binded";class u extends a.Plugin{constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t100x100\n\t\t\t
`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=e=>{this.isResizeMode||this.element===e&&this.isShown||(this.element=e,this.show(),n.Dom.isTag(this.element,"img")&&!this.element.complete&&this.j.e.one(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const e=this.getWorkplacePosition(),t=(0,s.offset)(this.element,this.j,this.j.ed),o=parseInt(this.rect.style.left||"0",10),r=this.rect.offsetWidth,i=this.rect.offsetHeight,n=t.top-e.top,a=t.left-e.left;parseInt(this.rect.style.top||"0",10)===n&&o===a&&r===this.element.offsetWidth&&i===this.element.offsetHeight||((0,s.css)(this.rect,{top:n,left:a,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(o)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}afterInit(e){(0,s.$$)("div",this.rect).forEach((t=>{e.e.on(t,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,t))})),l.eventEmitter.on("hideHelpers",this.hide),e.e.on("readonly",(e=>{e&&this.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(e=>{const t=/]+data-jodit_iframe_wrapper[^>]+>(.*?]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()}onEditorClick(e){let t=e.target;const{editor:o,options:{allowResizeTags:r}}=this.j;for(;t&&t!==o;){if(n.Dom.isTag(t,r))return this.bind(t),void this.onClickElement(t);t=t.parentNode}}addEventListeners(){const e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",(e=>{this.isShown&&e.key===i.KEY_DELETE&&this.element&&!n.Dom.isTag(this.element,"table")&&this.onDelete(e)})).on(e.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([e.ow,e.editor],"scroll.resizer",(()=>{this.isShown&&!this.isResizeMode&&this.hide()})).on(e.ow,"keydown.resizer",this.onKeyDown).on(e.ow,"keyup.resizer",this.onKeyUp).on(e.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;const{j:o}=this;o.e.fire("hidePopup"),o.lock(this.LOCK_KEY),o.e.on(o.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){const{j:e}=this;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(e){if(this.isResizeMode){if(!this.element)return;let t,o;if(this.pointerX=e.clientX,this.pointerY=e.clientY,this.j.options.iframe){const r=this.getWorkplacePosition();t=e.clientX+r.left-this.startX,o=e.clientY+r.top-this.startY}else t=this.pointerX-this.startX,o=this.pointerY-this.startY;const r=this.handle.className;let i=0,a=0;const l=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===l||Array.isArray(l)&&n.Dom.isTag(this.element,l))?(t?(i=this.width+(r.match(/left/)?-1:1)*t,a=Math.round(i/this.ratio)):(a=this.height+(r.match(/top/)?-1:1)*o,i=Math.round(a*this.ratio)),i>(0,s.innerWidth)(this.j.editor,this.j.ow)&&(i=(0,s.innerWidth)(this.j.editor,this.j.ow),a=Math.round(i/this.ratio))):(i=this.width+(r.match(/left/)?-1:1)*t,a=this.height+(r.match(/top/)?-1:1)*o),i>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>i?i:"100%"),a>this.j.o.resizer.min_height&&this.applySize(this.element,"height",a),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}}onKeyDown(e){this.isAltMode=e.key===i.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,s.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(e,t,o){const r=n.Dom.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,s.attr)(e,t,o),r&&!e.style[t]||(0,s.css)(e,t,o)}onDelete(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(n.Dom.safeRemove(this.element),this.hide(),e.preventDefault()))}onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,s.$$)("iframe",this.j.editor).forEach(this.bind)}bind(e){if(!n.Dom.isHTMLElement(e)||!this.j.o.allowResizeTags.includes(e.tagName.toLowerCase())||(0,s.dataBind)(e,d))return;let t;if((0,s.dataBind)(e,d,!0),n.Dom.isTag(e,"iframe")){const o=e;n.Dom.isHTMLElement(e.parentNode)&&(0,s.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(t=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,s.attr)(t,"style",(0,s.attr)(e,"style")),(0,s.css)(t,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),this.j.e.on(t,"click",(()=>{(0,s.attr)(t,"data-jodit-wrapper_active",!0)})),e=t),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",(()=>{this.j.s.select(e)})).off(e,"changesize").on(e,"changesize",(()=>{o.setAttribute("width",e.offsetWidth+"px"),o.setAttribute("height",e.offsetHeight+"px")}))}this.j.e.on(e,"dragstart",this.hide)}showSizeViewer(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${e} x ${t}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,s.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=""+(0,s.css)(this.j.container,"zIndex")),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,n.Dom.safeRemove(this.rect),(0,s.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((e=>(0,s.attr)(e,"data-jodit-wrapper_active",!1))))}beforeDestruct(e){this.hide(),l.eventEmitter.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}}(0,r.__decorate)([(0,c.watch)(":click")],u.prototype,"onEditorClick",null),(0,r.__decorate)([c.autobind],u.prototype,"onStartResizing",null),(0,r.__decorate)([c.autobind],u.prototype,"onEndResizing",null),(0,r.__decorate)([c.autobind],u.prototype,"onResize",null),(0,r.__decorate)([c.autobind],u.prototype,"onKeyDown",null),(0,r.__decorate)([c.autobind],u.prototype,"onKeyUp",null),(0,r.__decorate)([c.autobind],u.prototype,"onClickOutside",null),(0,r.__decorate)([(0,c.debounce)()],u.prototype,"onChangeEditor",null),(0,r.__decorate)([c.autobind],u.prototype,"bind",null),(0,r.__decorate)([c.autobind],u.prototype,"hide",null),l.pluginSystem.add("resizer",u)},65623(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.useSearch=!0,r.Config.prototype.search={lazyIdleTimeout:0},i.Icon.set("search",o(41197)),r.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec(e,t,o){var r=o.control;switch(r.args&&r.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(e,t,o)=>o}},81023(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(52400),t),r.__exportStar(o(21959),t)},52400(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SentenceFinder=void 0;var r=o(20255),i=o(9470),n=function(){function e(e){void 0===e&&(e=i.fuzzySearchIndex),this.searchIndex=e,this.queue=[],this.value=""}return e.prototype.add=function(e){var t,o=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(o.length){var r=this.value.length;this.queue.push({startIndex:r,endIndex:r+o.length,node:e}),this.value+=o}},e.prototype.ranges=function(e,t){var o;void 0===t&&(t=0);var i=[],n=t,s=0,a=0;do{if(s=(o=r.__read(this.searchIndex(e,this.value,n),2))[1],-1!==(n=o[0])){for(var l=void 0,c=0,d=void 0,u=0,p=a;this.queue.length>p;p+=1)if(!l&&this.queue[p].endIndex>n&&(l=this.queue[p].node,c=n-this.queue[p].startIndex),l&&this.queue[p].endIndex>=n+s){d=this.queue[p].node,u=n+s-this.queue[p].startIndex,a=p;break}l&&d&&i.push({startContainer:l,startOffset:c,endContainer:d,endOffset:u}),n+=s}}while(-1!==n);return 0===i.length?null:i},e}();t.SentenceFinder=n},21959(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSelectionWrapper=t.clearSelectionWrappersFromHTML=t.clearSelectionWrappers=t.getSelectionWrappers=t.wrapRangesTextsInTmpSpan=void 0;var r=o(20255),i=o(94522),n=o(78191),s="jd-tmp-selection";function a(e){return(0,n.$$)("[jd-tmp-selection]",e)}function l(e){return i.Dom.isElement(e)&&e.hasAttribute(s)}t.wrapRangesTextsInTmpSpan=(e,t,o,n)=>{var a,c,d;if(null!=e.startContainer.nodeValue&&null!=e.endContainer.nodeValue){var u=o.element("span",((a={})[s]=!0,a)),p=e.startContainer.nodeValue,h=0;if(0!==e.startOffset){var f=o.text(p.substring(0,e.startOffset));e.startContainer.nodeValue=p.substring(e.startOffset),i.Dom.before(e.startContainer,f),e.startContainer===e.endContainer&&(e.endOffset-=h=e.startOffset),e.startOffset=0}var m=e.endContainer.nodeValue;if(e.endOffset!==m.length){f=o.text(m.substring(e.endOffset)),e.endContainer.nodeValue=m.substring(0,e.endOffset),i.Dom.after(e.endContainer,f);try{for(var v=r.__values(t),g=v.next();!g.done;g=v.next()){var y=g.value;if(y.startContainer!==e.endContainer)break;y.startContainer=f,y.startOffset=y.startOffset-e.endOffset-h,y.endContainer===e.endContainer&&(y.endContainer=f,y.endOffset=y.endOffset-e.endOffset-h)}}catch(e){c={error:e}}finally{try{g&&!g.done&&(d=v.return)&&d.call(v)}finally{if(c)throw c.error}}e.endOffset=e.endContainer.nodeValue.length}var _=e.startContainer;do{if(!_)break;if(i.Dom.isText(_)&&!l(_.parentNode)&&i.Dom.wrap(_,u.cloneNode(),o),_===e.endContainer)break;var b=_.firstChild||_.nextSibling;if(!b){for(;_&&!_.nextSibling&&_!==n;)_=_.parentNode;b=null==_?void 0:_.nextSibling}_=b}while(_&&_!==n)}},t.getSelectionWrappers=a,t.clearSelectionWrappers=e=>{a(e).forEach((e=>i.Dom.unwrap(e)))},t.clearSelectionWrappersFromHTML=e=>e.replace(RegExp("]+jd-tmp-selection[^>]+>(.*?)","g"),"$1"),t.isSelectionWrapper=l},93825(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.search=void 0;var r=o(20255),i=o(94522),n=o(35570),s=o(9901),a=o(21292),l=o(92654),c=o(58299),d=o(81023);o(65623);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"find",group:"search"}],t.previousQuery="",t.drawPromise=null,t.walker=null,t.walkerCount=null,t.cache={},t.wrapFrameRequest=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"ui",{get(){return new a.UISearch(this.j)},enumerable:!1,configurable:!0}),t.prototype.updateCounters=function(){return r.__awaiter(this,void 0,Promise,(function(){var e;return r.__generator(this,(function(t){switch(t.label){case 0:return this.ui.isOpened?(e=this.ui,[4,this.calcCounts(this.ui.query)]):[2];case 1:return e.count=t.sent(),[2]}}))}))},t.prototype.onPressReplaceButton=function(){this.findAndReplace(this.ui.query),this.updateCounters()},t.prototype.tryScrollToElement=function(e){var t=i.Dom.closest(e,i.Dom.isElement,this.j.editor);t||(t=i.Dom.prev(e,i.Dom.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,l.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)},t.prototype.calcCounts=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return this.walkerCount&&this.walkerCount.break(),this.walkerCount=new i.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),[4,this.find(this.walkerCount,e).catch((()=>[]))];case 1:return[2,t.sent().length]}}))}))},t.prototype.findAndReplace=function(e){return r.__awaiter(this,void 0,Promise,(function(){var t,o,n,s,a,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new i.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),t=this.j.s.range,[4,this.find(this.walker,e).catch((()=>[]))];case 1:if(o=r.sent(),-1===(n=this.findCurrentIndexInRanges(o,t))&&(n=0),s=o[n]){try{(a=this.j.ed.createRange()).setStart(s.startContainer,s.startOffset),a.setEnd(s.endContainer,s.endOffset),a.deleteContents(),l=this.j.createInside.text(this.ui.replace),a.insertNode(l),this.j.s.select(l),this.tryScrollToElement(l),this.cache={},this.j.synchronizeValues()}catch(e){}return this.j.e.fire("afterFindAndReplace"),[2,!0]}return[2,!1]}}))}))},t.prototype.findAndSelect=function(e,t){var o;return r.__awaiter(this,void 0,Promise,(function(){var n,s,a,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new i.LazyWalker(this.j.async,{timeout:this.j.defaultTimeout}),[4,this.find(this.walker,e)];case 1:if(!(n=r.sent()).length)return[2,!1];if(this.previousQuery===e&&(0,d.getSelectionWrappers)(this.j.editor).length||(null===(o=this.drawPromise)||void 0===o||o.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,d.clearSelectionWrappers)(this.j.editor),this.drawPromise=this.drawSelectionRanges(n)),this.previousQuery=e,this.ui.currentIndex=(s=-1==(s=this.ui.currentIndex-1)?0:t?s===n.length-1?0:s+1:0===s?n.length-1:s-1)+1,!(a=n[s]))return[3,4];l=this.j.ed.createRange();try{l.setStart(a.startContainer,a.startOffset),l.setEnd(a.endContainer,a.endOffset),this.j.s.selectRange(l)}catch(e){}return this.tryScrollToElement(a.startContainer),[4,this.updateCounters()];case 2:return r.sent(),[4,this.drawPromise];case 3:return r.sent(),this.j.e.fire("afterFindAndSelect"),[2,!0];case 4:return[2,!1]}}))}))},t.prototype.findCurrentIndexInRanges=(e,t)=>e.findIndex((e=>e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset)),t.prototype.isValidCache=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(t=>{switch(t.label){case 0:return[4,e];case 1:return[2,t.sent().every((e=>{var t,o,r,i;return e.startContainer.isConnected&&e.startOffset<=(null!==(o=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==o?o:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(i=null===(r=e.endContainer.nodeValue)||void 0===r?void 0:r.length)&&void 0!==i?i:0)}))]}}))}))},t.prototype.find=function(e,t){return r.__awaiter(this,void 0,Promise,(function(){var o,n,s,a=this;return r.__generator(this,(function(r){switch(r.label){case 0:return t.length?(n=o=this.cache[t])?[4,this.isValidCache(o)]:[3,2]:[2,[]];case 1:n=r.sent(),r.label=2;case 2:return n?[2,o]:(s=new d.SentenceFinder(this.j.o.search.fuzzySearch),this.cache[t]=this.j.async.promise((o=>{e.on("break",(()=>{o([])})).on("visit",(e=>(i.Dom.isText(e)&&s.add(e),!1))).on("end",(()=>{var e;o(null!==(e=s.ranges(t))&&void 0!==e?e:[])})).setWork(a.j.editor)})),[2,this.cache[t]])}}))}))},t.prototype.drawSelectionRanges=function(e){var t=this,o=this.j,i=o.async,n=o.createInside,s=o.editor;i.cancelAnimationFrame(this.wrapFrameRequest);var a,l=r.__spreadArray([],r.__read(e),!1),c=0;return i.promise((e=>{var o=()=>{do{(a=l.shift())&&(0,d.wrapRangesTextsInTmpSpan)(a,l,n,s),c+=1}while(a&&5>=c);l.length?t.wrapFrameRequest=i.requestAnimationFrame(o):e()};o()}))},t.prototype.onAfterGetValueFromEditor=e=>{e.value=(0,d.clearSelectionWrappersFromHTML)(e.value)},t.prototype.afterInit=function(e){var t=this;if(e.o.useSearch){var o=this;e.e.on("beforeSetMode.search",(()=>{t.ui.close()})).on(this.ui,"afterClose",(()=>{(0,d.clearSelectionWrappers)(e.editor),t.ui.currentIndex=0,t.ui.count=0,t.cache={}})).on("click",(()=>{t.ui.currentIndex=0,(0,d.clearSelectionWrappers)(e.editor)})).on("change.search",(()=>{t.cache={}})).on("keydown.search mousedown.search",e.async.debounce((()=>{t.ui.selInfo&&(e.s.removeMarkers(),t.ui.selInfo=null),t.ui.isOpened&&t.updateCounters()}),e.defaultTimeout)).on("searchNext.search searchPrevious.search",(()=>(t.ui.isOpened||t.ui.open(),o.findAndSelect(o.ui.query,"searchNext"===e.e.current).catch((()=>{}))))).on("search.search",((e,r)=>(void 0===r&&(r=!0),t.ui.currentIndex=0,o.findAndSelect(e||"",r).catch((()=>{}))))),e.registerCommand("search",{exec:(e,t,r)=>(void 0===r&&(r=!0),t&&o.findAndSelect(t,r).catch((()=>{})),!1)}).registerCommand("openSearchDialog",{exec:()=>(o.ui.open(),!1),hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:()=>(e.o.readonly||o.ui.open(!0),!1),hotkeys:["ctrl+h","cmd+h"]})}},t.prototype.beforeDestruct=function(e){this.ui.destruct(),e.e.off(".search")},r.__decorate([s.cache],t.prototype,"ui",null),r.__decorate([(0,s.watch)("ui:needUpdateCounters")],t.prototype,"updateCounters",null),r.__decorate([(0,s.watch)("ui:pressReplaceButton")],t.prototype,"onPressReplaceButton",null),r.__decorate([s.autobind],t.prototype,"findAndReplace",null),r.__decorate([s.autobind],t.prototype,"findAndSelect",null),r.__decorate([s.autobind],t.prototype,"find",null),r.__decorate([(0,s.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),t}(n.Plugin);t.search=u,c.pluginSystem.add("search",u)},21292(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISearch=void 0;var r=o(20255);o(88582);var i=o(14153),n=o(92654),s=o(10063),a=o(10063),l=o(9901),c=o(94522),d=function(e){function t(t){var o=e.call(this,t)||this;o.selInfo=null,o._currentIndex=0,o.isOpened=!1;var r=(0,n.refs)(o.container),i=r.replace,s=r.cancel,l=r.next,c=r.prev,d=r.replaceBtn,u=r.current,p=r.count;return o.queryInput=r.query,o.replaceInput=i,o.closeButton=s,o.replaceButton=d,o.currentBox=u,o.countBox=p,t.e.on(o.closeButton,"pointerdown",(()=>(o.close(),!1))).on(o.queryInput,"input",(()=>{o.currentIndex=0})).on(o.queryInput,"pointerdown",(()=>{t.s.isFocused()&&(t.s.removeMarkers(),o.selInfo=t.s.save())})).on(o.replaceButton,"pointerdown",(()=>(t.e.fire(o,"pressReplaceButton"),!1))).on(l,"pointerdown",(()=>(t.e.fire("searchNext"),!1))).on(c,"pointerdown",(()=>(t.e.fire("searchPrevious"),!1))).on(o.queryInput,"input",(()=>{o.setMod("empty-query",!(0,n.trim)(o.queryInput.value).length)})).on(o.queryInput,"keydown",o.j.async.debounce((e=>{e.key===a.KEY_ENTER?(e.preventDefault(),e.stopImmediatePropagation(),t.e.fire("searchNext")&&o.close()):t.e.fire(o,"needUpdateCounters")}),o.j.defaultTimeout)),o}return r.__extends(t,e),t.prototype.className=()=>"UISearch",t.prototype.render=()=>'
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t0/0\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
'),Object.defineProperty(t.prototype,"currentIndex",{get(){return this._currentIndex},set(e){this._currentIndex=e,this.currentBox.innerText=""+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{set(e){this.countBox.innerText=""+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"query",{get(){return this.queryInput.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"replace",{get(){return this.replaceInput.value},enumerable:!1,configurable:!0}),t.prototype.onEditorKeyDown=function(e){if(this.isOpened){var t=this.j;if(t.getRealMode()===s.MODE_WYSIWYG)switch(e.key){case a.KEY_ESC:this.close();break;case a.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}},t.prototype.open=function(e){void 0===e&&(e=!1),this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",e);var t=""+(this.j.s.sel||"");t&&(this.queryInput.value=t),this.setMod("empty-query",!t.length),this.j.e.fire(this,"needUpdateCounters"),t?this.queryInput.select():this.queryInput.focus()},t.prototype.close=function(){this.isOpened&&(this.j.s.restore(),c.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))},t.prototype.calcSticky=function(e){if(this.isOpened)if(this.setMod("sticky",e),e){var t=(0,n.position)(this.j.toolbarContainer);(0,n.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,n.css)(this.container,{top:null,left:null})},r.__decorate([(0,l.watch)([":keydown","queryInput:keydown"])],t.prototype,"onEditorKeyDown",null),r.__decorate([l.autobind],t.prototype,"open",null),r.__decorate([l.autobind],t.prototype,"close",null),r.__decorate([(0,l.watch)(":toggleSticky")],t.prototype,"calcSticky",null),r.__decorate([l.component],t)}(i.UIElement);t.UISearch=d},62388(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tableAllowCellSelection=!0},95571(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectCells=void 0;var r=o(20255),i=o(35570),n=o(46701),s=o(43887),a=o(92654),l=o(10063),c=o(9901),d=o(58299);o(62388);var u="table_processor_observer",p="onMoveTableSelectCell",h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["select"],t.selectedCell=null,t.isSelectionMode=!1,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",(e=>{e.key===l.KEY_TAB&&t.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((e=>e+".select-cells")).join(" "),this.onStartSelection).on("clickTr clickTbody",(()=>{var e,o=t.module.getAllSelectedCells().length;if(o)return o>1&&(null===(e=t.j.s.sel)||void 0===e||e.removeAllRanges()),!1}))},t.prototype.onStartSelection=function(e){if(!this.j.o.readonly&&(this.unselectCells(),e!==this.j.editor)){var t=s.Dom.closest(e,"table",this.j.editor);if(e&&t)return e.firstChild||e.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=e,this.module.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,t),{label:p,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,t)),!1}},t.prototype.onOutsideClick=function(){this.selectedCell=null,this.onRemoveSelection()},t.prototype.onChange=function(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()},t.prototype.onMove=function(e,t){var o,r=this;if((!this.j.o.readonly||this.j.isLocked)&&!this.j.isLockedNotBy(u)){var i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(i){var a=s.Dom.closest(i,["td","th"],e);if(a&&this.selectedCell){a!==this.selectedCell&&this.j.lock(u),this.unselectCells();for(var l=n.Table.getSelectedBound(e,[a,this.selectedCell]),c=n.Table.formalMatrix(e),d=l[0][0];l[1][0]>=d;d+=1)for(var p=l[0][1];l[1][1]>=p;p+=1)this.module.addSelection(c[d][p]);var h;this.module.getAllSelectedCells().length>1&&(null===(o=this.j.s.sel)||void 0===o||o.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),h=r.j.createInside.fromHTML('
 
'),a.appendChild(h),r.j.async.setTimeout((()=>{var e;null===(e=h.parentNode)||void 0===e||e.removeChild(h)}),r.j.defaultTimeout/5)}}}},t.prototype.onRemoveSelection=function(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null},t.prototype.onStopSelection=function(e,t){var o=this;if(this.selectedCell){this.isSelectionMode=!1,this.j.unlock();var r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(r){var i=s.Dom.closest(r,["td","th"],e);if(i){var l=s.Dom.closest(i,"table",e);if(!l||l===e){var c=n.Table.getSelectedBound(e,[i,this.selectedCell]),d=n.Table.formalMatrix(e),u=d[c[1][0]][c[1][1]],h=d[c[0][0]][c[0][1]];this.j.e.fire("showPopup",e,(()=>{var e=(0,a.position)(h,o.j),t=(0,a.position)(u,o.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),"cells"),(0,a.$$)("table",this.j.editor).forEach((e=>{o.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(p)}}}}},t.prototype.unselectCells=function(e){var t=this.module,o=t.getAllSelectedCells();o.length&&o.forEach((o=>{e&&e===o||t.removeSelection(o)}))},t.prototype.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var t=this.module.getAllSelectedCells();if(t.length){var o=r.__read(t,1)[0];if(!o)return;var i=s.Dom.closest(o,"table",this.j.editor);if(!i)return;switch(e){case"splitv":n.Table.splitVertical(i,this.j);break;case"splitg":n.Table.splitHorizontal(i,this.j);break;case"merge":n.Table.mergeSelected(i,this.j);break;case"empty":t.forEach((e=>s.Dom.detach(e)));break;case"bin":s.Dom.safeRemove(i);break;case"binrow":new Set(t.map((e=>e.parentNode))).forEach((e=>{n.Table.removeRow(i,e.rowIndex)}));break;case"bincolumn":var a=new Set;t.reduce(((e,t)=>(a.has(t.cellIndex)||(e.push(t),a.add(t.cellIndex)),e)),[]).forEach((e=>{n.Table.removeColumn(i,e.cellIndex)}));break;case"addcolumnafter":case"addcolumnbefore":n.Table.appendColumn(i,o.cellIndex,"addcolumnafter"===e,this.j.createInside);break;case"addrowafter":case"addrowbefore":n.Table.appendRow(i,o.parentNode,"addrowafter"===e,this.j.createInside)}}return!1}},t.prototype.onAfterCommand=function(e){/^justify/.test(e)&&this.module.getAllSelectedCells().forEach((t=>(0,a.alignElement)(e,t)))},t.prototype.beforeDestruct=function(e){this.onRemoveSelection(),e.e.off(".select-cells")},r.__decorate([c.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,c.watch)(":outsideClick")],t.prototype,"onOutsideClick",null),r.__decorate([(0,c.watch)(":change")],t.prototype,"onChange",null),r.__decorate([c.autobind],t.prototype,"onRemoveSelection",null),r.__decorate([c.autobind],t.prototype,"onStopSelection",null),r.__decorate([c.autobind],t.prototype,"onExecCommand",null),r.__decorate([c.autobind],t.prototype,"onAfterCommand",null),t}(i.Plugin);t.selectCells=h,d.pluginSystem.add("selectCells",h)},83128(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!0}},68396(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.select=void 0;var r=o(20255),i=o(35570),n=o(9901),s=o(23912),a=o(43887),l=o(14153),c=o(58299);o(83128);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"],t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;this.proxyEventsList.forEach((o=>{e.e.on(o+".select",t.onStartSelection)}))},t.prototype.beforeDestruct=function(e){var t=this;this.proxyEventsList.forEach((o=>{e.e.on(o+".select",t.onStartSelection)}))},t.prototype.onStartSelection=function(e){for(var t,o=this.j,r=e.target;void 0===t&&r&&r!==o.editor;)t=o.e.fire((0,s.camelCase)(e.type+"_"+r.nodeName.toLowerCase()),r,e),r=r.parentElement;"click"===e.type&&void 0===t&&r===o.editor&&o.e.fire(e.type+"Editor",r,e)},t.prototype.onOutsideClick=function(e){var t=this,o=e.target;a.Dom.up(o,(e=>e===t.j.editor))||l.UIElement.closestElement(o,l.Popup)||this.j.e.fire("outsideClick",e)},t.prototype.beforeCommandCut=function(e){var t=this.j.s;if("cut"===e&&!t.isCollapsed()){var o=t.current();o&&a.Dom.isOrContains(this.j.editor,o)&&this.onCopyNormalizeSelectionBound()}},t.prototype.onCopyNormalizeSelectionBound=function(e){var t=this.j,o=t.editor;t.o.select.normalizeSelectionBeforeCutAndCopy&&!t.s.isCollapsed()&&(!e||e.isTrusted&&a.Dom.isNode(e.target)&&a.Dom.isOrContains(o,e.target))&&this.jodit.s.expandSelection()},r.__decorate([n.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,n.watch)("ow:click")],t.prototype,"onOutsideClick",null),r.__decorate([(0,n.watch)([":beforeCommand"])],t.prototype,"beforeCommandCut",null),r.__decorate([(0,n.watch)([":copy",":cut"])],t.prototype,"onCopyNormalizeSelectionBound",null),t}(i.Plugin);t.select=d,c.pluginSystem.add("select",d)},73893(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.minWidth=200,r.Config.prototype.maxWidth="100%",r.Config.prototype.minHeight=200,r.Config.prototype.maxHeight="auto",r.Config.prototype.saveHeightInStorage=!1},41014(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.size=void 0;var r=o(20255);o(30962);var i=o(92654),n=o(73177),s=o(9901),a=o(58299);o(73893);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizeWorkspaces=t.j.async.debounce(t.resizeWorkspaceImd,t.j.defaultTimeout,!0),t}return r.__extends(t,e),t.prototype.afterInit=function(e){e.e.on("setHeight.size",this.setHeight).on("setWidth.size",this.setWidth).on("afterInit.size changePlace.size",this.initialize,{top:!0}).on(e.ow,"load.size",this.resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.resizeWorkspaceImd),this.initialize()},t.prototype.initialize=function(){var e=this.j;if(!e.o.inline){var t=e.o.height;if(e.o.saveHeightInStorage&&"auto"!==t){var o=e.storage.get("height");o&&(t=o)}(0,i.css)(e.editor,{minHeight:"100%"}),(0,i.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),this.setHeight(t),this.setWidth(e.o.width)}},t.prototype.setHeight=function(e){if((0,i.isNumber)(e)){var t=this.j.o,o=t.minHeight,r=t.maxHeight;(0,i.isNumber)(o)&&o>e&&(e=o),(0,i.isNumber)(r)&&e>r&&(e=r)}(0,i.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.resizeWorkspaceImd()},t.prototype.setWidth=function(e){if((0,i.isNumber)(e)){var t=this.j.o,o=t.minWidth,r=t.maxWidth;(0,i.isNumber)(o)&&o>e&&(e=o),(0,i.isNumber)(r)&&e>r&&(e=r)}(0,i.css)(this.j.container,"width",e),this.resizeWorkspaceImd()},t.prototype.getNotWorkHeight=function(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2},t.prototype.resizeWorkspaceImd=function(){if(this.j&&!this.j.isDestructed&&this.j.o&&!this.j.o.inline&&this.j.container&&this.j.container.parentNode){var e=((0,i.css)(this.j.container,"minHeight")||0)-this.getNotWorkHeight();if((0,i.isNumber)(e)&&e>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,i.css)(t,"minHeight",e)})),this.j.e.fire("setMinHeight",e)),(0,i.isNumber)(this.j.o.maxHeight)){var t=this.j.o.maxHeight-this.getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((e=>{e&&(0,i.css)(e,"maxHeight",t)})),this.j.e.fire("setMaxHeight",t)}this.j.container&&(0,i.css)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.getNotWorkHeight():"auto")}},t.prototype.beforeDestruct=function(e){e.e.off(e.ow,"load.size",this.resizeWorkspaces).off(".size")},r.__decorate([s.autobind],t.prototype,"resizeWorkspaceImd",null),r.__decorate([s.autobind],t)}(n.Plugin);t.size=l,a.pluginSystem.add("size",l)},24090(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(10063),n=o(76381);r.Config.prototype.beautifyHTML=!i.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],n.Icon.set("source",o(9342)),r.Config.prototype.controls.source={mode:i.MODE_SPLIT,exec(e){e.toggleMode()},isActive:e=>e.getRealMode()===i.MODE_SOURCE,tooltip:"Change mode"}},97969(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AceEditor=void 0;var r=o(20255),i=o(10063),n=o(92654),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.className="jodit_ace_editor",t.proxyOnBlur=e=>{t.j.e.fire("blur",e)},t.proxyOnFocus=e=>{t.j.e.fire("focus",e)},t.proxyOnMouseDown=e=>{t.j.e.fire("mousedown",e)},t}return r.__extends(t,e),t.prototype.aceExists=function(){return void 0!==this.j.ow.ace},t.prototype.getLastColumnIndex=function(e){return this.instance.session.getLine(e).length},t.prototype.getLastColumnIndices=function(){for(var e=this.instance.session.getLength(),t=[],o=0,r=0;e>r;r++)o+=this.getLastColumnIndex(r),r>0&&(o+=1),t[r]=o;return t},t.prototype.getRowColumnIndices=function(e){var t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};for(var o=1,r=1;t.length>r;r++)e>t[r]&&(o=r+1);return{row:o,column:e-t[o-1]-1}},t.prototype.setSelectionRangeIndices=function(e,t){var o=this.getRowColumnIndices(e),r=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:o,end:r})},t.prototype.getIndexByRowColumn=function(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t},t.prototype.init=function(e){var t=this,o=()=>{if(void 0===t.instance&&t.aceExists()){var o=t.j.c.div("jodit-source__mirror-fake");t.container.appendChild(o),t.instance=e.ow.ace.edit(o),t.instance.setTheme(e.o.sourceEditorNativeOptions.theme),t.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),t.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),t.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),t.instance.getSession().setUseWrapMode(!0),t.instance.setOption("indentedSoftWrap",!1),t.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),t.instance.getSession().setUseWorker(!1),t.instance.$blockScrolling=1/0,t.instance.on("change",t.toWYSIWYG),t.instance.on("focus",t.proxyOnFocus),t.instance.on("mousedown",t.proxyOnMouseDown),t.instance.on("blur",t.proxyOnBlur),e.getRealMode()!==i.MODE_WYSIWYG&&t.setValue(t.getValue());var r=t.j.async.debounce((()=>{e.isInDestruct||(t.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/t.instance.renderer.lineHeight:1/0),t.instance.resize())}),2*t.j.defaultTimeout);e.e.on("afterResize afterSetMode",r),r(),t.onReady()}};e.e.on("afterSetMode",(()=>{e.getRealMode()!==i.MODE_SOURCE&&e.getMode()!==i.MODE_SPLIT||(t.fromWYSIWYG(),o())})),o(),this.aceExists()||(0,n.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then((()=>{e.isInDestruct||o()})).catch((()=>null))},t.prototype.destruct=function(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")},t.prototype.setValue=function(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var t=this.j.e.fire("beautifyHTML",e);(0,n.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()},t.prototype.getValue=function(){return this.instance.getValue()},t.prototype.setReadOnly=function(e){this.instance.setReadOnly(e)},Object.defineProperty(t.prototype,"isFocused",{get(){return this.instance.isFocused()},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.getSelectionStart=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)},t.prototype.getSelectionEnd=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)},t.prototype.selectAll=function(){this.instance.selection.selectAll()},t.prototype.insertRaw=function(e){var t=this.instance.selection.getCursor(),o=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:o},!1)},t.prototype.setSelectionRange=function(e,t){this.setSelectionRangeIndices(e,t)},t.prototype.setPlaceHolder=e=>{},t.prototype.replaceUndoManager=function(){var e=this.jodit.history;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})},t}(o(73350).SourceEditor);t.AceEditor=s},26212(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextAreaEditor=void 0;var r=o(20255),i=o(56672),n=o(43887),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.autosize=t.j.async.debounce((()=>{t.instance.style.height="auto",t.instance.style.height=t.instance.scrollHeight+"px"}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.init=function(e){var t=this;this.instance=e.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",(e=>{(0,i.css)(t.instance,"minHeight",e)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(t=>{e.e.fire(t.type,t)})),this.autosize(),this.onReady()},t.prototype.destruct=function(){n.Dom.safeRemove(this.instance)},t.prototype.getValue=function(){return this.instance.value},t.prototype.setValue=function(e){this.instance.value=e},t.prototype.insertRaw=function(e){var t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{var o=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(t.substring(0,o)+e+t.substring(r,t.length))}},t.prototype.getSelectionStart=function(){return this.instance.selectionStart},t.prototype.getSelectionEnd=function(){return this.instance.selectionEnd},t.prototype.setSelectionRange=function(e,t){void 0===t&&(t=e),this.instance.setSelectionRange(e,t)},Object.defineProperty(t.prototype,"isFocused",{get(){return this.instance===this.j.od.activeElement},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.setPlaceHolder=function(e){this.instance.setAttribute("placeholder",e)},t.prototype.setReadOnly=function(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")},t.prototype.selectAll=function(){this.instance.select()},t.prototype.replaceUndoManager=function(){var e=this,t=this.jodit.history;this.j.e.on(this.instance,"keydown",(o=>{if((o.ctrlKey||o.metaKey)&&"z"===o.key)return o.shiftKey?t.redo():t.undo(),e.setSelectionRange(e.getValue().length),!1}))},t}(o(73350).SourceEditor);t.TextAreaEditor=s},85910(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(26212),t),r.__exportStar(o(97969),t)},65023(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSourceEditor=void 0;var r=o(92654),i=o(85910);t.createSourceEditor=(e,t,o,n,s)=>{var a;if((0,r.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new i.AceEditor(t,o,n,s);break}default:a=new i.TextAreaEditor(t,o,n,s)}return a.init(t),a.onReadyAlways((()=>{a.setReadOnly(t.o.readonly)})),a}},73350(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceEditor=void 0;var o=function(){function e(e,t,o,r){this.jodit=e,this.container=t,this.toWYSIWYG=o,this.fromWYSIWYG=r,this.className="",this.isReady=!1}return Object.defineProperty(e.prototype,"j",{get(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.onReady=function(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")},e.prototype.onReadyAlways=function(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)},e}();t.SourceEditor=o},35448(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.source=void 0;var r=o(20255);o(68197);var i=o(10063),n=o(10063),s=o(35570),a=o(43887),l=o(92654),c=o(9901),d=o(58299),u=o(65023);o(24090);var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"source",group:"source"}],t.__lock=!1,t.__oldMirrorValue="",t.tempMarkerStart="{start-jodit-selection}",t.tempMarkerStartReg=/{start-jodit-selection}/g,t.tempMarkerEnd="{end-jodit-selection}",t.tempMarkerEndReg=/{end-jodit-selection}/g,t.getSelectionStart=()=>{var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionStart())&&void 0!==o?o:0},t.getSelectionEnd=()=>{var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==o?o:0},t}return r.__extends(t,e),t.prototype.onInsertHTML=function(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1},t.prototype.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!this.__lock||!0===e){this.__lock=!0;var t=this.j.getEditorValue(!1,n.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}},t.prototype.toWYSIWYG=function(){if(!this.__lock){var e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}},t.prototype.getNormalPosition=(e,t)=>{for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(e=>{for(var t="",o=0;e.length>o;o+=1)t+=n.INVISIBLE_SPACE;return t}));e>0&&t[e]===n.INVISIBLE_SPACE;)e--;for(var o=e;o>0;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w/]+/i))return o;if(">"===t[o])return e}return e},t.prototype.clnInv=e=>e.replace(i.INVISIBLE_SPACE_REG_EXP(),""),t.prototype.onSelectAll=function(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===n.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1},t.prototype.getMirrorValue=function(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""},t.prototype.setMirrorValue=function(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)},t.prototype.setFocusToMirror=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()},t.prototype.saveSelection=function(){if(this.j.getRealMode()===i.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;var e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){var t=this.j.s.marker(!0),o=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substr(0,o)+this.clnInv(t.outerHTML)+e.substr(o))}else{var r=this.j.s.marker(!0),n=this.j.s.marker(!1),s=(o=this.getNormalPosition(this.getSelectionStart(),e),this.getNormalPosition(this.getSelectionEnd(),e));this.setMirrorValue(e.substr(0,o)+this.clnInv(r.outerHTML)+e.substr(o,s-o)+this.clnInv(n.outerHTML)+e.substr(s))}this.toWYSIWYG()}},t.prototype.removeSelection=function(){if(this.j.getRealMode()===i.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);var e=this.getMirrorValue(),t=0,o=0;try{if(e=e.replace(/]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var r=this.j.e.fire("beautifyHTML",e);(0,l.isString)(r)&&(e=r)}if(o=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){var n=e.indexOf(this.tempMarkerEnd);-1!==n&&(o=n)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,o),this.toWYSIWYG(),this.setFocusToMirror()},t.prototype.setMirrorSelectionRange=function(e,t){var o;null===(o=this.sourceEditor)||void 0===o||o.setSelectionRange(e,t)},t.prototype.onReadonlyReact=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)},t.prototype.afterInit=function(e){var t=this;if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",(()=>{e.workplace.appendChild(t.mirrorContainer)})),this.sourceEditor=(0,u.createSourceEditor)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",(e=>{var o;e.key===n.KEY_ESC&&(null===(o=t.sourceEditor)||void 0===o?void 0:o.isFocused)&&t.sourceEditor.blur()})),this.onReadonlyReact(),e.e.on("placeholder.source",(e=>{var o;null===(o=t.sourceEditor)||void 0===o||o.setPlaceHolder(e)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(e=>e)),e.o.beautifyHTML){var o=()=>{var t,o=e.ow.html_beautify;return!(!o||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",(e=>o(e))),0))};o()||(0,l.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(o)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)},t.prototype.syncValueFromWYSIWYG=function(e){void 0===e&&(e=!1);var t=this.j;t.getMode()!==n.MODE_SPLIT&&t.getMode()!==n.MODE_SOURCE||this.fromWYSIWYG(e)},t.prototype.initSourceEditor=function(e){var t,o=this;if("area"!==e.o.sourceEditor){var r=(0,u.createSourceEditor)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);r.onReadyAlways((()=>{var t,i;null===(t=o.sourceEditor)||void 0===t||t.destruct(),o.sourceEditor=r,o.syncValueFromWYSIWYG(!0),null===(i=e.events)||void 0===i||i.fire("sourceEditorReady",e)}))}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways((()=>{var t;o.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)}))},t.prototype.beforeDestruct=function(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),a.Dom.safeRemove(this.mirrorContainer)},r.__decorate([(0,c.watch)(":insertHTML.source")],t.prototype,"onInsertHTML",null),r.__decorate([c.autobind],t.prototype,"fromWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"toWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"getNormalPosition",null),r.__decorate([(0,c.watch)(":beforeCommand.source")],t.prototype,"onSelectAll",null),r.__decorate([(0,c.watch)(":beforeSetMode.source")],t.prototype,"saveSelection",null),r.__decorate([(0,c.watch)(":afterSetMode.source")],t.prototype,"removeSelection",null),r.__decorate([c.autobind],t.prototype,"setMirrorSelectionRange",null),r.__decorate([(0,c.watch)(":readonly.source")],t.prototype,"onReadonlyReact",null),r.__decorate([c.autobind],t.prototype,"syncValueFromWYSIWYG",null),t}(s.Plugin);t.source=p,d.pluginSystem.add("source",p)},24306(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.spellcheck=!1,i.Icon.set("spellcheck",o(69546)),r.Config.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:o(69546),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},48390(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=o(5586);t.ar=r;var i=o(66023);t.cs_cz=i;var n=o(65860);t.de=n;var s=o(86055);t.es=s;var a=o(50037);t.fa=a;var l=o(7118);t.fr=l;var c=o(30298);t.he=c;var d=o(52107);t.hu=d;var u=o(31240);t.id=u;var p=o(4101);t.it=p;var h=o(69286);t.ja=h;var f=o(13402);t.ko=f;var m=o(89574);t.nl=m;var v=o(63630);t.pl=v;var g=o(72212);t.pt_br=g;var y=o(82570);t.ru=y;var _=o(19323);t.tr=_;var b=o(50279);t.zh_cn=b;var w=o(98364);t.zh_tw=w},56830(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spellcheck=void 0;var r=o(20255),i=o(35570),n=o(51976),s=o(9901),a=o(58299);o(24306);var l=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{group:"state",name:"spellcheck"}],(0,a.extendLang)(o(48390)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",(()=>{t.jodit.o.spellcheck=!t.jodit.o.spellcheck,t.toggleSpellcheck(),t.j.e.fire("updateToolbar")}))},t.prototype.toggleSpellcheck=function(){(0,n.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)},t.prototype.beforeDestruct=e=>{},r.__decorate([s.autobind],t.prototype,"toggleSpellcheck",null),t}(i.Plugin);t.spellcheck=l,a.pluginSystem.add("spellcheck",l)},48692(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.showCharsCounter=!0,r.Config.prototype.countHTMLChars=!1,r.Config.prototype.showWordsCounter=!0},99525(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stat=void 0;var r=o(20255),i=o(10063),n=o(73177),s=o(43887),a=o(58299);o(48692);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.charCounter=null,t.wordCounter=null,t.reInit=()=>{t.j.o.showCharsCounter&&t.charCounter&&t.j.statusbar.append(t.charCounter,!0),t.j.o.showWordsCounter&&t.wordCounter&&t.j.statusbar.append(t.wordCounter,!0),t.j.e.off("change keyup",t.calc).on("change keyup",t.calc),t.calc()},t.calc=t.j.async.throttle((()=>{var e=t.j.text;if(t.j.o.showCharsCounter&&t.charCounter){var o=t.j.o.countHTMLChars?t.j.value:e.replace((0,i.SPACE_REG_EXP)(),"");t.charCounter.textContent=t.j.i18n("Chars: %d",o.length)}t.j.o.showWordsCounter&&t.wordCounter&&(t.wordCounter.textContent=t.j.i18n("Words: %d",e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter((e=>e.length)).length))}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()},t.prototype.beforeDestruct=function(){s.Dom.safeRemove(this.charCounter),s.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null},t}(n.Plugin);t.stat=l,a.pluginSystem.add("stat",l)},12577(e,t,o){"use strict";var r=o(27537);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0},52186(e,t,o){"use strict";o.r(t),o.d(t,{sticky:()=>d});var r=o(20255),i=o(10063),n=o(73177),s=o(43887),a=o(92654),l=o(9901),c=o(58299);o(12577);class d extends n.Plugin{constructor(){super(...arguments),this.isToolbarSticked=!1,this.createDummy=e=>{},this.addSticky=e=>{this.isToolbarSticked||(this.createDummy(e),this.j.container.classList.add("jodit_sticky"),this.isToolbarSticked=!0),(0,a.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2})},this.removeSticky=e=>{this.isToolbarSticked&&((0,a.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.isToolbarSticked=!1)}}afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",(()=>this.isToolbarSticked))}onScroll(){const{jodit:e}=this,t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,o=(0,a.offset)(e.container,e,e.od,!0),r=e.getMode()===i.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>o.top&&o.top+o.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.isMobile());if(e.o.toolbarSticky&&!0===e.o.toolbar&&this.isToolbarSticked!==r){const t=e.toolbarContainer;t&&(r?this.addSticky(t):this.removeSticky(t)),e.e.fire("toggleSticky",r)}}isMobile(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth}beforeDestruct(e){this.dummyBox&&s.Dom.safeRemove(this.dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")}}(0,r.__decorate)([(0,l.throttle)()],d.prototype,"onScroll",null),c.pluginSystem.add("sticky",d)},53012(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.usePopupForSpecialCharacters=!1,r.Config.prototype.specialCharacters=["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],i.Icon.set("symbols",o(43158)),r.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,o,r){var i=e.e.fire("generateSpecialCharactersTable.symbols");if(i){if(e.o.usePopupForSpecialCharacters){var n=e.c.div();return n.classList.add("jodit-symbols"),n.appendChild(i),e.e.on(i,"close_dialog",r),n}e.alert(i,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);var s=i.querySelector("a");s&&s.focus()}}}},74604(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=o(54261);t.ar=r;var i=o(60425);t.cs_cz=i;var n=o(7057);t.de=n;var s=o(48356);t.es=s;var a=o(11428);t.fa=a;var l=o(29084);t.fr=l;var c=o(22876);t.he=c;var d=o(20890);t.hu=d;var u=o(75987);t.id=u;var p=o(60379);t.it=p;var h=o(99950);t.ja=h;var f=o(60934);t.ko=f;var m=o(21994);t.nl=m;var v=o(38128);t.pl=v;var g=o(71515);t.pt_br=g;var y=o(58194);t.ru=y;var _=o(65802);t.tr=_;var b=o(86628);t.zh_cn=b;var w=o(32210);t.zh_tw=w},21112(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0;var r=o(20255);o(33393);var i=o(10063),n=o(73177),s=o(43887),a=o(73344),l=o(58299);o(53012);var c=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{name:"symbols",group:"insert"}],r.countInRow=17,(0,l.extendLang)(o(74604)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("generateSpecialCharactersTable.symbols",(function(){for(var o=e.c.fromHTML('
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
'),r=o.querySelector(".jodit-symbols__preview"),n=o.querySelector("table").tBodies[0],l=[],c=0;e.o.specialCharacters.length>c;){for(var d=e.c.element("tr"),u=0;t.countInRow>u&&e.o.specialCharacters.length>c;u+=1,c+=1){var p=e.c.element("td"),h=e.c.fromHTML('').concat(e.o.specialCharacters[c],""));l.push(h),p.appendChild(h),d.appendChild(p)}n.appendChild(d)}var f=t;return e.e.on(l,"focus",(function(){r.innerHTML=this.innerHTML})).on(l,"mousedown",(function(t){s.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(l,"mouseenter",(function(){s.Dom.isTag(this,"a")&&this.focus()})).on(l,"keydown",(t=>{var o=t.target;if(s.Dom.isTag(o,"a")){var r=parseInt((0,a.attr)(o,"-index")||"0",10),n=parseInt((0,a.attr)(o,"data-index-j")||"0",10),c=void 0;switch(t.key){case i.KEY_UP:case i.KEY_DOWN:void 0===l[c=t.key===i.KEY_UP?r-f.countInRow:r+f.countInRow]&&(c=t.key===i.KEY_UP?Math.floor(l.length/f.countInRow)*f.countInRow+n:n)>l.length-1&&(c-=f.countInRow),l[c]&&l[c].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:void 0===l[c=t.key===i.KEY_LEFT?r-1:r+1]&&(c=t.key===i.KEY_LEFT?l.length-1:0),l[c]&&l[c].focus();break;case i.KEY_ENTER:e.e.fire(o,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),o}))},t.prototype.beforeDestruct=e=>{e.e.off("generateSpecialCharactersTable.symbols")},t}(n.Plugin);t.symbols=c,l.pluginSystem.add("symbols",c)},66110(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(29228),t)},29228(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onTabInsideLi=void 0;var r=o(43887);t.onTabInsideLi=e=>{if(!e.o.tab.tabInsideLiInsertNewList||!e.s.isCollapsed())return!1;var t=e.createInside.fake();e.s.insertNode(t);var o=r.Dom.closest(t,"li",e.editor);if(o&&e.s.cursorOnTheLeft(o)&&r.Dom.isTag(o.previousElementSibling,"li")){var i=r.Dom.closest(o,["ol","ul"],e.editor);if(i){var n=e.createInside.element(i.tagName),s=o.previousElementSibling;return n.appendChild(o),s.appendChild(n),e.s.setCursorAfter(t),r.Dom.safeRemove(t),!0}}return r.Dom.safeRemove(t),!1}},56163(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tab={tabInsideLiInsertNewList:!0}},74212(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255),i=o(35570),n=o(9901),s=o(10063),a=o(58299),l=o(66110);o(56163);var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=e=>{},t.prototype.onTab=function(e){if(e.key===s.KEY_TAB&&(0,l.onTabInsideLi)(this.j))return!1},t.prototype.beforeDestruct=e=>{},r.__decorate([(0,n.watch)(":keydown.tab")],t.prototype,"onTab",null),t}(i.Plugin);a.pluginSystem.add("tab",c)},96154(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tableKeyboardNavigation=void 0;var r=o(10063),i=o(43887),n=o(28314),s=o(58299);function a(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(t=>{var o,s;if((t.key===r.KEY_TAB||t.key===r.KEY_LEFT||t.key===r.KEY_RIGHT||t.key===r.KEY_UP||t.key===r.KEY_DOWN)&&(o=e.s.current(),s=i.Dom.up(o,(e=>e&&e.nodeName&&/^td|th$/i.test(e.nodeName)),e.editor))){var a=e.s.range;if(t.key===r.KEY_TAB||o===s||(t.key!==r.KEY_LEFT&&t.key!==r.KEY_UP||!(i.Dom.prev(o,(e=>t.key===r.KEY_UP?i.Dom.isTag(e,"br"):!!e),s)||t.key!==r.KEY_UP&&i.Dom.isText(o)&&0!==a.startOffset))&&(t.key!==r.KEY_RIGHT&&t.key!==r.KEY_DOWN||!(i.Dom.next(o,(e=>t.key===r.KEY_DOWN?i.Dom.isTag(e,"br"):!!e),s)||t.key!==r.KEY_DOWN&&i.Dom.isText(o)&&o.nodeValue&&a.startOffset!==o.nodeValue.length))){var l=i.Dom.up(s,(e=>e&&/^table$/i.test(e.nodeName)),e.editor),c=null;switch(t.key){case r.KEY_TAB:case r.KEY_LEFT:var d=t.key===r.KEY_LEFT||t.shiftKey?"prev":"next";(c=i.Dom[d](s,(e=>e&&/^td|th$/i.test(e.tagName)),l))||(n.Table.appendRow(l,"next"!==d&&l.querySelector("tr"),"next"===d,e.createInside),c=i.Dom[d](s,i.Dom.isCell,l));break;case r.KEY_UP:case r.KEY_DOWN:var u=0,p=0,h=n.Table.formalMatrix(l,((e,t,o)=>{e===s&&(u=t,p=o)}));t.key===r.KEY_UP?void 0!==h[u-1]&&(c=h[u-1][p]):void 0!==h[u+1]&&(c=h[u+1][p])}if(c){if(c.firstChild)t.key===r.KEY_TAB?e.s.select(c,!0):e.s.setCursorIn(c,t.key===r.KEY_RIGHT||t.key===r.KEY_DOWN);else{var f=e.createInside.element("br");c.appendChild(f),e.s.setCursorBefore(f)}return!1}}}}))}t.tableKeyboardNavigation=a,s.pluginSystem.add("tableKeyboardNavigation",a)},62653(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(94522),n=o(73344),s=o(92654),a=o(76381);r.Config.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},a.Icon.set("table",o(51716)),r.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,o,r,a){for(var l=o.data&&o.data.rows?o.data.rows:10,c=o.data&&o.data.cols?o.data.cols:10,d=e.c.fromHTML('
'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";var t=[];if(o.data){var r=o.data.classList;Object.keys(r).forEach((e=>{t.push('"))}))}return t.join("")})()+'
'),u=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],h=d.querySelector(".jodit-form__container"),f=d.querySelector(".jodit-form__options"),m=[],v=l*c,g=0;v>g;g+=1)m[g]||m.push(e.c.element("span",{dataIndex:g}));if(e.e.on(h,"mousemove",((e,t)=>{var o=e.target;if(i.Dom.isTag(o,"span")){for(var r=void 0===t||isNaN(t)?parseInt((0,n.attr)(o,"-index")||"0",10):t||0,s=Math.ceil((r+1)/c),a=r%c+1,l=0;m.length>l;l+=1)m[l].className=l%c+1>a||Math.ceil((l+1)/c)>s?"":"jodit_hovered";p.textContent=""+a,u.textContent=""+s}})).on(h,"touchstart mousedown",(t=>{var o=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),i.Dom.isTag(o,"span")){var a=parseInt((0,n.attr)(o,"-index")||"0",10),l=Math.ceil((a+1)/c),d=a%c+1,u=e.createInside,p=u.element("tbody"),h=u.element("table");h.appendChild(p);for(var m,v,g=null,y=1;l>=y;y+=1){m=u.element("tr");for(var _=1;d>=_;_+=1)v=u.element("td"),g||(g=v),(0,s.css)(v,"width",(100/d).toFixed(4)+"%"),v.appendChild(u.element("br")),m.appendChild(u.text("\n")),m.appendChild(u.text("\t")),m.appendChild(v);p.appendChild(u.text("\n")),p.appendChild(m)}var b=e.s.current();if(b&&e.s.isCollapsed()){var w=i.Dom.closest(b,i.Dom.isBlock,e.editor);w&&w!==e.editor&&!w.nodeName.match(/^TD|TH|TBODY|TABLE|THEADER|TFOOTER$/)&&e.s.setCursorAfter(w)}(0,s.$$)("input[type=checkbox]:checked",f).forEach((e=>{e.value.split(/[\s]+/).forEach((e=>{h.classList.add(e)}))})),e.s.insertNode(u.text("\n")),e.s.insertNode(h,!1),g&&(e.s.setCursorIn(g),(0,s.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),r()}})),a&&a.parentElement){for(g=0;l>g;g+=1){for(var y=e.c.div(),_=0;c>_;_+=1)y.appendChild(m[g*c+_]);h.appendChild(y)}m[0]&&(m[0].className="hovered")}return d},tooltip:"Insert table"}},67122(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.table=void 0,o(51057);var r=o(58299);function i(e){e.registerButton({name:"table",group:"insert"})}o(62653),t.table=i,r.pluginSystem.add("table",i)},85098(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);o(14351);var i=o(92654),n=o(35570),s=o(94522),a=o(58299),l=o(9901),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isOpened=!1,t.delayShowTimeout=0,t}return r.__extends(t,e),t.prototype.afterInit=function(e){var o=this;this.container=e.c.div("jodit-tooltip"),(0,a.getContainer)(this.j,t).appendChild(this.container);var r=0;e.e.off(".tooltip").on("showTooltip.tooltip",((t,i)=>{e.async.clearTimeout(r),o.open(t,i)})).on("delayShowTooltip.tooltip",this.delayOpen).on("escape.tooltip",this.close).on("hideTooltip.tooltip change.tooltip scroll.tooltip changePlace.tooltip hidePopup.tooltip closeAllPopups.tooltip",(()=>{o.j.async.clearTimeout(o.delayShowTimeout),r=e.async.setTimeout(o.close,o.j.defaultTimeout)}))},t.prototype.delayOpen=function(e,t){var o=this,r=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.delayShowTimeout),this.delayShowTimeout=this.j.async.setTimeout((()=>o.open(e,t)),{timeout:r,label:"tooltip"})},t.prototype.open=function(e,t){this.container.classList.add("jodit-tooltip_visible"),this.container.innerHTML=t,this.isOpened=!0,this.setPosition(e)},t.prototype.setPosition=function(e){var t=e();(0,i.css)(this.container,{left:t.x,top:t.y})},t.prototype.close=function(){this.j.async.clearTimeout(this.delayShowTimeout),this.isOpened&&(this.isOpened=!1,this.container.classList.remove("jodit-tooltip_visible"),(0,i.css)(this.container,{left:-5e3}))},t.prototype.beforeDestruct=function(e){null==e||e.e.off(".tooltip"),this.close(),s.Dom.safeRemove(this.container)},r.__decorate([l.autobind],t.prototype,"delayOpen",null),r.__decorate([l.autobind],t.prototype,"close",null),t}(n.Plugin);a.pluginSystem.add("tooltip",c)},58991(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(4188),n=o(92654),s=o(18733),a=o(44632);o(76381).Icon.set("video",o(49222)),r.Config.prototype.controls.video={popup(e,t,o,r){var l=new s.UIForm(e,[new s.UIBlock(e,[new s.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new s.UIBlock(e,[(0,a.Button)(e,"","Insert","primary").onAction((()=>l.submit()))])]),c=new s.UIForm(e,[new s.UIBlock(e,[new s.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new s.UIBlock(e,[(0,a.Button)(e,"","Insert","primary").onAction((()=>c.submit()))])]),d=[],u=t=>{e.s.restore(),e.s.insertHTML(t),r()};return e.s.save(),d.push({icon:"link",name:"Link",content:l.container},{icon:"source",name:"Code",content:c.container}),l.onSubmit((e=>{u((0,n.convertMediaUrlToVideoEmbed)(e.url))})),c.onSubmit((e=>{u(e.code)})),(0,i.TabsWidget)(e,d)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},82887(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(58299);o(58991),r.pluginSystem.add("video",(e=>{e.registerButton({name:"video",group:"media"})}))},21189(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.wrapNodes={exclude:["hr","style","br"]}},37455(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255),i=o(35570),n=o(94522),s=o(40607),a=o(9901),l=o(58299);o(21189);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSuitableStart=e=>n.Dom.isText(e)&&(0,s.isString)(e.nodeValue)&&/[^\s]/.test(e.nodeValue)||t.isNotClosed(e)&&!n.Dom.isTemporary(e),t.isSuitable=e=>n.Dom.isText(e)||t.isNotClosed(e),t.isNotClosed=e=>n.Dom.isElement(e)&&!(n.Dom.isBlock(e)||n.Dom.isTag(e,t.j.o.wrapNodes.exclude)),t}return r.__extends(t,e),t.prototype.afterInit=function(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)},t.prototype.beforeDestruct=e=>{e.e.off(".wtn")},t.prototype.postProcessSetEditorValue=function(){var e=this.jodit;if(e.isEditorMode()){for(var t=e.editor.firstChild,o=!1;t;){if(this.checkAloneListLeaf(t,e),this.isSuitableStart(t)){o||e.s.save(),o=!0;var r=e.createInside.element(e.o.enter);for(n.Dom.before(t,r);t&&this.isSuitable(t);){var i=t.nextSibling;r.appendChild(t),t=i}r.normalize()}t=t&&t.nextSibling}o&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}},t.prototype.checkAloneListLeaf=(e,t)=>{n.Dom.isElement(e)&&n.Dom.isTag(e,"li")&&!n.Dom.isTag(e.parentElement,["ul","ol"])&&n.Dom.wrap(e,"ul",t.createInside)},r.__decorate([a.autobind],t.prototype,"postProcessSetEditorValue",null),t}(i.Plugin);l.pluginSystem.add("wrapNodes",c)},15855(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.showXPathInStatusbar=!0},84865(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);o(89310);var i=o(10063),n=o(73511),s=o(94522),a=o(92654),l=o(35570),c=o(42701),d=o(58299);o(15855);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onContext=(e,o)=>(t.menu||(t.menu=new n.ContextMenu(t.j)),t.menu.show(o.clientX,o.clientY,[{icon:"bin",title:e===t.j.editor?"Clear":"Remove",exec(){e!==t.j.editor?s.Dom.safeRemove(e):t.j.value="",t.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec(){t.j.s.select(e)}}]),!1),t.onSelectPath=(e,o)=>{t.j.s.focus();var r=(0,a.attr)(o.target,"-path")||"/";if("/"===r)return t.j.execCommand("selectall"),!1;try{var i=t.j.ed.evaluate(r,t.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(i)return t.j.s.select(i),!1}catch(e){}return t.j.s.select(e),!1},t.tpl=(e,o,r,i)=>{var n=t.j.c.fromHTML('').concat((0,a.trim)(r),"")),s=n.firstChild;return t.j.e.on(s,"click",t.onSelectPath.bind(t,e)).on(s,"contextmenu",t.onContext.bind(t,e)),n},t.removeSelectAll=()=>{t.selectAllButton&&(t.selectAllButton.destruct(),delete t.selectAllButton)},t.appendSelectAll=()=>{t.removeSelectAll(),t.selectAllButton=(0,c.makeButton)(t.j,r.__assign({name:"selectall"},t.j.o.controls.selectall)),t.selectAllButton.state.size="tiny",t.container&&t.container.insertBefore(t.selectAllButton.container,t.container.firstChild)},t.calcPathImd=()=>{if(!t.isDestructed){var e,o,r,n=t.j.s.current();t.container&&(t.container.innerHTML=i.INVISIBLE_SPACE),n&&s.Dom.up(n,(i=>{i&&t.j.editor!==i&&!s.Dom.isText(i)&&(e=i.nodeName.toLowerCase(),o=(0,a.getXPathByElement)(i,t.j.editor).replace(/^\//,""),r=t.tpl(i,o,e,t.j.i18n("Select %s",e)),t.container&&t.container.insertBefore(r,t.container.firstChild))}),t.j.editor),t.appendSelectAll()}},t.calcPath=t.j.async.debounce(t.calcPathImd,2*t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){var e=this;this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(()=>{e.j.o.showXPathInStatusbar&&e.container&&(e.j.statusbar.append(e.container),e.j.getRealMode()===i.MODE_WYSIWYG?e.calcPath():(e.container&&(e.container.innerHTML=i.INVISIBLE_SPACE),e.appendSelectAll()))})),this.calcPath())},t.prototype.beforeDestruct=function(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),s.Dom.safeRemove(this.container),delete this.menu,delete this.container},t}(l.Plugin);d.pluginSystem.add("xpath",u)},65178(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.valign=t.upload=t.update=t.unlock=t.settings=t.save=t.right=t.resize_handler=t.plus=t.pencil=t.ok=t.lock=t.left=t.info_circle=t.folder=t.file=t.eye=t.dots=t.chevron=t.check=t.center=t.cancel=t.bin=t.angle_up=t.angle_right=t.angle_left=t.angle_down=void 0;var r=o(1755);t.angle_down=r;var i=o(74911);t.angle_left=i;var n=o(8805);t.angle_right=n;var s=o(16547);t.angle_up=s;var a=o(10856);t.bin=a;var l=o(98441);t.cancel=l;var c=o(52488);t.center=c;var d=o(9370);t.check=d;var u=o(66543);t.chevron=u;var p=o(608);t.dots=p;var h=o(42840);t.eye=h;var f=o(79096);t.file=f;var m=o(33014);t.folder=m;var v=o(91677);t.info_circle=v;var g=o(8259);t.left=g;var y=o(64467);t.lock=y;var _=o(86934);t.ok=_;var b=o(76133);t.pencil=b;var w=o(45519);t.plus=w;var S=o(90265);t.resize_handler=S;var C=o(81279);t.right=C;var j=o(68899);t.save=j;var x=o(70744);t.settings=x;var E=o(19201);t.unlock=E;var I=o(84930);t.update=I;var P=o(99704);t.upload=P;var T=o(2304);t.valign=T},80078(e){e.exports={"copy-format":"نسخ التنسيق"}},16986(e){e.exports={"copy-format":"Kopírovat formát"}},59347(e){e.exports={"copy-format":"Format kopierenт"}},63640(e){e.exports={"copy-format":"Copiar formato"}},53434(e){e.exports={"copy-format":"کپی کردن قالب"}},85638(e){e.exports={"copy-format":"Format de copie"}},31743(e){e.exports={"copy-format":"העתק עיצוב"}},66219(e){e.exports={"copy-format":"Formátum másolás"}},50331(e){e.exports={"copy-format":"salin format"}},25582(e){e.exports={"copy-format":"Copia il formato"}},82066(e){e.exports={"copy-format":"copyformat"}},71925(e){e.exports={"copy-format":"복사 형식"}},65274(e){e.exports={"copy-format":"opmaak kopiëren"}},58548(e){e.exports={"copy-format":"format kopii"}},82958(e){e.exports={"copy-format":"Copiar formato"}},52315(e){e.exports={"copy-format":"Копировать формат"}},87727(e){e.exports={"copy-format":"Kopyalama Biçimi"}},9396(e){e.exports={"copy-format":"复制格式"}},28765(e){e.exports={"copy-format":"複製格式"}},47762(e){e.exports={"Line height":"ارتفاع الخط"}},97495(e){e.exports={"Line height":"Výška čáry"}},80131(e){e.exports={"Line height":"Zeilenhöhe"}},1201(e){e.exports={"Line height":"Altura de la línea"}},89912(e){e.exports={"Line height":"ارتفاع خط"}},3405(e){e.exports={"Line height":"Hauteur de ligne"}},14129(e){e.exports={"Line height":"גובה שורה"}},93729(e){e.exports={"Line height":"Vonal magassága"}},16106(e){e.exports={"Line height":"Tinggi baris"}},89690(e){e.exports={"Line height":"Altezza linea"}},33216(e){e.exports={"Line height":"ラインの高さ"}},17282(e){e.exports={"Line height":"선 높이"}},91761(e){e.exports={"Line height":"Lijnhoogte"}},61675(e){e.exports={"Line height":"Wysokość linii"}},69709(e){e.exports={"Line height":"Altura da linha"}},82591(e){e.exports={"Line height":"Высота линии"}},87649(e){e.exports={"Line height":"Çizgi yüksekliği"}},60268(e){e.exports={"Line height":"线高"}},58214(e){e.exports={"Line height":"ความสูงเส้น"}},5586(e){e.exports={Spellcheck:"التدقيق الإملائي"}},66023(e){e.exports={Spellcheck:"Kontrola pravopisu"}},65860(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},86055(e){e.exports={Spellcheck:"Corrección ortográfica"}},50037(e){e.exports={Spellcheck:"غلطیابی املایی"}},7118(e){e.exports={Spellcheck:"Vérification Orthographique"}},30298(e){e.exports={Spellcheck:"בדיקת איות"}},52107(e){e.exports={Spellcheck:"Helyesírás-ellenőrzés"}},31240(e){e.exports={Spellcheck:"Spellchecking"}},4101(e){e.exports={Spellcheck:"Controllo ortografico"}},69286(e){e.exports={Spellcheck:"スペルチェック"}},13402(e){e.exports={Spellcheck:"맞춤법 검사"}},89574(e){e.exports={Spellcheck:"Spellingcontrole"}},63630(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},72212(e){e.exports={Spellcheck:"Verificação ortográfica"}},82570(e){e.exports={Spellcheck:"Проверка орфографии"}},19323(e){e.exports={Spellcheck:"Yazım denetimi"}},50279(e){e.exports={Spellcheck:"拼写检查"}},98364(e){e.exports={Spellcheck:"สะกดคำ"}},54261(e){e.exports={symbols:"رمز"}},60425(e){e.exports={symbols:"symbol"}},7057(e){e.exports={symbols:"Symbol"}},48356(e){e.exports={symbols:"Símbolo"}},11428(e){e.exports={symbols:"سمبل"}},29084(e){e.exports={symbols:"caractère"}},22876(e){e.exports={symbols:"תו מיוחד"}},20890(e){e.exports={symbols:"Szimbólum"}},75987(e){e.exports={symbols:"simbol"}},60379(e){e.exports={symbols:"Simbolo"}},99950(e){e.exports={symbols:"symbol"}},60934(e){e.exports={symbols:"기호"}},21994(e){e.exports={symbols:"symbool"}},38128(e){e.exports={symbols:"symbol"}},71515(e){e.exports={symbols:"Símbolo"}},58194(e){e.exports={symbols:"символ"}},65802(e){e.exports={symbols:"Sembol"}},86628(e){e.exports={symbols:"符号"}},32210(e){e.exports={symbols:"符號"}}},o={};function r(e){var i=o[e];if(void 0!==i)return i.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,r),n.exports}r.m=t,e=[],r.O=(t,o,i,n)=>{if(!o){var s=1/0;for(d=0;e.length>d;d++){o=e[d][0],i=e[d][1],n=e[d][2];for(var a=!0,l=0;o.length>l;l++)(!1&n||s>=n)&&Object.keys(r.O).every((e=>r.O[e](o[l])))?o.splice(l--,1):(a=!1,s>n&&(s=n));if(a){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[o,i,n]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={670:0};r.O.j=t=>0===e[t];var t=(t,o)=>{var i,n,s=o[0],a=o[1],l=o[2],c=0;if(s.some((t=>0!==e[t]))){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(l)var d=l(r)}for(t&&t(o);s.length>c;c++)r.o(e,n=s[c])&&e[n]&&e[n][0](),e[n]=0;return r.O(d)},o=self.webpackChunkjodit=self.webpackChunkjodit||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i={};return(()=>{"use strict";r.r(i),r.d(i,{Jodit:()=>e.h});var e=r(68939),t=r(37379);let o={};const n=r(51048);o.en=n;const s=e=>e?e.default||e:{},a={};(0,t.isArray)(s(n))&&s(n).forEach(((e,t)=>{a[t]=e})),Object.keys(o).forEach((e=>{const r=s(o[e]);(0,t.isArray)(r)&&(o[e]={},r.forEach(((t,r)=>{o[e][a[r]]=t})))}));var l=o,c=r(9901),d=r(10063),u=r(46701),p=r(65178);r(20151),Object.keys(d).forEach((t=>{e.h[t]=d[t]}));const h=e=>"__esModule"!==e;Object.keys(p).filter(h).forEach((e=>{u.Icon.set(e.replace("_","-"),p[e])})),Object.keys(u).filter(h).forEach((t=>{e.h.modules[t]=u[t]})),Object.keys(c).filter(h).forEach((t=>{e.h.decorators[t]=c[t]})),["Confirm","Alert","Prompt"].forEach((t=>{e.h[t]=u[t]})),Object.keys(l).filter(h).forEach((t=>{e.h.lang[t]=l[t]}))})(),r.O(i)}()})); \ No newline at end of file +((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}})(self,(function(){return function(){var e,t={51048(e){e.exports.default=["Type something","About Jodit","Jodit Editor","Free Non-commercial Version","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open editor in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Clean","Insert as Text","Insert only Text","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Browse","Upload","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Eye","pencil","Update"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Chars: %d","Words: %d","All","Select %s","Select all","Vertical align","Split","Split vertical","Split horizontal","Merge","Add column","Add row","Delete","Border","License: %s","Strike through","Underline","superscript","subscript","Cut selection","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","Insert className","Press Alt for custom resizing"]},3610(e){e.exports=' '},56170(e){e.exports=' '},95331(e){e.exports=' '},84279(e){e.exports=' '},11257(e){e.exports=' '},25141(e){e.exports=' '},24557(e){e.exports=' '},10859(e){e.exports=' '},9813(e){e.exports=' '},93395(e){e.exports=' '},98213(e){e.exports=' '},20026(e){e.exports=' '},66911(e){e.exports=' '},50018(e){e.exports=' '},99738(e){e.exports=' '},9185(e){e.exports=' '},8619(e){e.exports=' '},73894(e){e.exports=' '},83301(e){e.exports=' '},84142(e){e.exports=' '},57292(e){e.exports=' '},18019(e){e.exports=''},45146(e){e.exports=' '},53576(e){e.exports=' '},14655(e){e.exports=' '},53477(e){e.exports=' '},90053(e){e.exports=' '},72230(e){e.exports=' '},78321(e){e.exports=' '},77654(e){e.exports=' '},43371(e){e.exports=' '},44563(e){e.exports=' '},53183(e){e.exports=' '},6102(e){e.exports=' '},52242(e){e.exports=' '},87498(e){e.exports=' '},7986(e){e.exports=' '},23075(e){e.exports=' '},10655(e){e.exports=' '},15476(e){e.exports=' '},59403(e){e.exports=' '},22860(e){e.exports=' '},95600(e){e.exports=' '},76214(e){e.exports=' '},41197(e){e.exports=' '},9342(e){e.exports=' '},69546(e){e.exports=' '},43158(e){e.exports=' '},51716(e){e.exports=' '},49222(e){e.exports=' '},1755(e){e.exports=' '},74911(e){e.exports=' '},8805(e){e.exports=' '},16547(e){e.exports=' '},10856(e){e.exports=' '},98441(e){e.exports=' '},52488(e){e.exports=' '},9370(e){e.exports=' '},66543(e){e.exports=' '},608(e){e.exports=' '},42840(e){e.exports=' '},79096(e){e.exports=' '},33014(e){e.exports=' '},91677(e){e.exports=' '},8259(e){e.exports=' '},64467(e){e.exports=''},86934(e){e.exports=' '},76133(e){e.exports=''},45519(e){e.exports=''},90265(e){e.exports=' '},81279(e){e.exports=' '},68899(e){e.exports=' '},70744(e){e.exports=' '},19201(e){e.exports=' '},84930(e){e.exports=' '},99704(e){e.exports=' '},2304(e){e.exports=' '},93330(e,t,o){"use strict";o.r(t)},45066(e,t,o){"use strict";o.r(t)},87682(e,t,o){"use strict";o.r(t)},50905(e,t,o){"use strict";o.r(t)},70446(e,t,o){"use strict";o.r(t)},18984(e,t,o){"use strict";o.r(t)},4591(e,t,o){"use strict";o.r(t)},64194(e,t,o){"use strict";o.r(t)},70375(e,t,o){"use strict";o.r(t)},90235(e,t,o){"use strict";o.r(t)},88477(e,t,o){"use strict";o.r(t)},50197(e,t,o){"use strict";o.r(t)},39008(e,t,o){"use strict";o.r(t)},47086(e,t,o){"use strict";o.r(t)},16462(e,t,o){"use strict";o.r(t)},40692(e,t,o){"use strict";o.r(t)},27452(e,t,o){"use strict";o.r(t)},51422(e,t,o){"use strict";o.r(t)},62820(e,t,o){"use strict";o.r(t)},32115(e,t,o){"use strict";o.r(t)},53362(e,t,o){"use strict";o.r(t)},48904(e,t,o){"use strict";o.r(t)},85796(e,t,o){"use strict";o.r(t)},60819(e,t,o){"use strict";o.r(t)},96410(e,t,o){"use strict";o.r(t)},33126(e,t,o){"use strict";o.r(t)},30724(e,t,o){"use strict";o.r(t)},32417(e,t,o){"use strict";o.r(t)},14320(e,t,o){"use strict";o.r(t)},9947(e,t,o){"use strict";o.r(t)},45109(e,t,o){"use strict";o.r(t)},71708(e,t,o){"use strict";o.r(t)},51629(e,t,o){"use strict";o.r(t)},54860(e,t,o){"use strict";o.r(t)},47818(e,t,o){"use strict";o.r(t)},88582(e,t,o){"use strict";o.r(t)},30962(e,t,o){"use strict";o.r(t)},68197(e,t,o){"use strict";o.r(t)},33393(e,t,o){"use strict";o.r(t)},51057(e,t,o){"use strict";o.r(t)},14351(e,t,o){"use strict";o.r(t)},89310(e,t,o){"use strict";o.r(t)},70631(e,t){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e=>typeof e:e=>e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e,o(e)}function r(e,t,r){var i=r.value;if("function"!=typeof i)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(i)));var n=!1;return{configurable:!0,get(){if(n||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof i)return i;var o=i.bind(this);return n=!0,Object.defineProperty(this,t,{configurable:!0,get:()=>o,set(e){i=e,delete this[t]}}),n=!1,o},set(e){i=e}}}function i(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((t=>{if("constructor"!==t){var o=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof o.value&&Object.defineProperty(e.prototype,t,r(e,t,o))}})),e}Object.defineProperty(t,"__esModule",{value:!0}),t.boundClass=t.boundMethod=void 0,t.boundMethod=r,t.boundClass=i,t.default=function(){return 1===arguments.length?i.apply(void 0,arguments):r.apply(void 0,arguments)}},20255(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__classPrivateFieldIn=t.__classPrivateFieldSet=t.__classPrivateFieldGet=t.__importDefault=t.__importStar=t.__makeTemplateObject=t.__asyncValues=t.__asyncDelegator=t.__asyncGenerator=t.__await=t.__spreadArray=t.__spreadArrays=t.__spread=t.__read=t.__values=t.__exportStar=t.__createBinding=t.__generator=t.__awaiter=t.__metadata=t.__param=t.__decorate=t.__rest=t.__assign=t.__extends=void 0;var o=(e,t)=>(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&((e,t)=>{e.__proto__=t})||((e,t)=>{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}),o(e,t));function r(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],r=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:()=>(e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e})};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var r,i,n=o.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return s}function n(e){return this instanceof n?(this.v=e,this):new n(e)}t.__extends=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,o=1,r=arguments.length;r>o;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.__assign.apply(this,arguments)},t.__rest=(e,t)=>{var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);r.length>i;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(o[r[i]]=e[r[i]])}return o},t.__decorate=function(e,t,o,r){var i,n=arguments.length,s=3>n?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>n?i(s):n>3?i(t,o,s):i(t,o))||s);return n>3&&s&&Object.defineProperty(t,o,s),s},t.__param=(e,t)=>(o,r)=>{t(o,r,e)},t.__metadata=(e,t)=>{if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},t.__awaiter=(e,t,o,r)=>new(o||(o=Promise))(((i,n)=>{function s(e){try{l(r.next(e))}catch(e){n(e)}}function a(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((e=>{e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())})),t.__generator=function(e,t){var o,r,i,n,s={label:0,sent(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return a=>(n=>{if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,r=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&i[3]>n[1])){s.label=n[1];break}if(6===n[0]&&i[1]>s.label){s.label=i[1],i=n;break}if(i&&i[2]>s.label){s.label=i[2],s.ops.push(n);break}i[2]&&s.ops.pop(),s.trys.pop();continue}n=t.call(e,s)}catch(e){n=[6,e],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}})([n,a])}},t.__createBinding=Object.create?(e,t,o,r)=>{void 0===r&&(r=o);var i=Object.getOwnPropertyDescriptor(t,o);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:()=>t[o]}),Object.defineProperty(e,r,i)}:(e,t,o,r)=>{void 0===r&&(r=o),e[r]=t[o]},t.__exportStar=(e,o)=>{for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(o,r)||(0,t.__createBinding)(o,e,r)},t.__values=r,t.__read=i,t.__spread=function(){for(var e=[],t=0;arguments.length>t;t++)e=e.concat(i(arguments[t]));return e},t.__spreadArrays=function(){for(var e=0,t=0,o=arguments.length;o>t;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;o>t;t++)for(var n=arguments[t],s=0,a=n.length;a>s;s++,i++)r[i]=n[s];return r},t.__spreadArray=function(e,t,o){if(o||2===arguments.length)for(var r,i=0,n=t.length;n>i;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},t.__await=n,t.__asyncGenerator=function(e,t,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=o.apply(e,t||[]),s=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=t=>new Promise(((o,r)=>{s.push([e,t,o,r])>1||l(e,t)})))}function l(e,t){try{(o=i[e](t)).value instanceof n?Promise.resolve(o.value.v).then(c,d):u(s[0][2],o)}catch(e){u(s[0][3],e)}var o}function c(e){l("next",e)}function d(e){l("throw",e)}function u(e,t){e(t),s.shift(),s.length&&l(s[0][0],s[0][1])}},t.__asyncDelegator=function(e){var t,o;return t={},r("next"),r("throw",(e=>{throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?t=>(o=!o)?{value:n(e[r](t)),done:"return"===r}:i?i(t):t:i}},t.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=e[Symbol.asyncIterator];return o?o.call(e):(e=r(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&(t=>new Promise(((r,i)=>{((e,t,o,r)=>{Promise.resolve(r).then((t=>{e({value:t,done:o})}),t)})(r,i,(t=e[o](t)).done,t.value)})))}},t.__makeTemplateObject=(e,t)=>(Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e);var s=Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t};t.__importStar=e=>{if(e&&e.__esModule)return e;var o={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&(0,t.__createBinding)(o,e,r);return s(o,e),o},t.__importDefault=e=>e&&e.__esModule?e:{default:e},t.__classPrivateFieldGet=(e,t,o,r)=>{if("a"===o&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?r:"a"===o?r.call(e):r?r.value:t.get(e)},t.__classPrivateFieldSet=(e,t,o,r,i)=>{if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,o):i?i.value=o:t.set(e,o),o},t.__classPrivateFieldIn=(e,t)=>{if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},27537(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var r=o(10063),i=o(10063),n=function(){function e(){this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.styleValues={},this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorCssClass=!1,this.style=!1,this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=1e3,this.useNativeTooltip=!1,this.defaultActionOnPaste=i.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","---","image","table","|","link","\n","brush","paragraph","align","|","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","|","fontsize","---","image","\n","align","undo","redo","|","link","table","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}return Object.defineProperty(e,"defaultOptions",{get:()=>(e.__defaultOptions||(e.__defaultOptions=new e),e.__defaultOptions),enumerable:!1,configurable:!0}),e}();t.Config=n,n.prototype.controls={}},14722(e,t,o){"use strict";o.r(t),o.d(t,{Async:()=>c});var r=o(97336),i=o(84121),n=o(77184),s=o(30317),a=o(40607),l=o(93860);class c{constructor(){var e,t,o,r;this.timers=new Map,this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=null!==(t=null===(e=window.requestIdleCallback)||void 0===e?void 0:e.bind(window))&&void 0!==t?t:(e,t)=>{var o;const r=Date.now();return this.setTimeout((()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-r))})}),null!==(o=null==t?void 0:t.timeout)&&void 0!==o?o:1)},this.cancelIdleCallbackNative=null!==(r=null===(o=window.cancelIdleCallback)||void 0===o?void 0:o.bind(window))&&void 0!==r?r:e=>{this.clearTimeout(e)},this.isDestructed=!1}delay(e){return this.promise((t=>this.setTimeout(t,e)))}setTimeout(e,t,...o){if(this.isDestructed)return 0;let i={};(0,l.isNumber)(t)||(i=t,t=i.timeout||0),i.label&&this.clearLabel(i.label);const n=(0,r.setTimeout)(e,t,...o);return this.timers.set(i.label||n,n),n}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e))}clearTimeout(e){if((0,a.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e)}debounce(e,t,o=!1){let a=0,l=!1;const c=[],d=(...t)=>{if(!l){a=0;const o=e(...t);if(l=!0,c.length){const e=()=>{c.forEach((e=>e())),c.length=0};(0,s.isPromise)(o)?o.finally(e):e()}}},u=(...n)=>{l=!1,t?(!a&&o&&d(...n),(0,r.clearTimeout)(a),a=this.setTimeout((()=>d(...n)),(0,i.isFunction)(t)?t():t),this.timers.set(e,a)):d(...n)};return(0,n.isPlainObject)(t)&&t.promisify?(...e)=>{const t=this.promise((e=>{c.push(e)}));return u(...e),t}:u}throttle(e,t,o=!1){let r,n,s,a=null;return(...o)=>{r=!0,s=o,t?a||(n=()=>{r?(e(...s),r=!1,a=this.setTimeout(n,(0,i.isFunction)(t)?t():t),this.timers.set(n,a)):a=null},n()):e(...s)}}promise(e){let t=()=>{};const o=new Promise(((o,r)=>(this.promisesRejections.add(r),t=r,e(o,r))));return o.finally((()=>{this.promisesRejections.delete(t)})).catch((()=>null)),o.rejectCallback=t,o}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise((t=>{e.then((e=>(t("fulfilled"),e)),(e=>{throw t("rejected"),e})),this.setTimeout((()=>{t("pending")}),100)}));const t={};return Promise.race([e,t]).then((e=>e===t?"pending":"fulfilled"),(()=>"rejected"))}requestIdleCallback(e,t){const o=this.requestIdleCallbackNative(e,t);return this.requestsIdle.add(o),o}requestIdlePromise(e){return this.promise((t=>{const o=this.requestIdleCallback((()=>t(o)),e)}))}cancelIdleCallback(e){return this.requestsIdle.delete(e),this.cancelIdleCallbackNative(e)}requestAnimationFrame(e){const t=requestAnimationFrame(e);return this.requestsRaf.add(t),t}cancelAnimationFrame(e){this.requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.requestsIdle.forEach((e=>this.cancelIdleCallback(e))),this.requestsRaf.forEach((e=>this.cancelAnimationFrame(e))),this.timers.forEach((e=>(0,r.clearTimeout)(this.timers.get(e)))),this.timers.clear(),this.promisesRejections.forEach((e=>e())),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}}},60588(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(14722),t)},12614(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var r=o(92654),i=o(58299),n=o(10799),s=o(60588),a=new Map,l=function(){function e(){this.async=new s.Async,this.ownerWindow=window,this.__componentStatus=n.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,i.uniqueUid)()}return Object.defineProperty(e.prototype,"componentName",{get(){return this.__componentName||(this.__componentName="jodit-"+(0,r.kebabCase)(((0,r.isFunction)(this.className)?this.className():"")||(0,r.getClassName)(this))),this.__componentName},enumerable:!1,configurable:!0}),e.prototype.getFullElName=function(e,t,o){var i=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),i.push("__".concat(e))),t&&(i.push("_",t),i.push("_",(0,r.isVoid)(o)?"true":""+o)),i.join("")},Object.defineProperty(e.prototype,"ownerDocument",{get(){return this.ow.document},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"od",{get(){return this.ownerDocument},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ow",{get(){return this.ownerWindow},enumerable:!1,configurable:!0}),e.prototype.get=function(e,t){return(0,r.get)(e,t||this)},Object.defineProperty(e.prototype,"isReady",{get(){return this.componentStatus===n.STATUSES.ready},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDestructed",{get(){return this.componentStatus===n.STATUSES.destructed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInDestruct",{get(){return n.STATUSES.beforeDestruct===this.componentStatus||n.STATUSES.destructed===this.componentStatus},enumerable:!1,configurable:!0}),e.prototype.bindDestruct=function(e){var t=this;return e.hookStatus(n.STATUSES.beforeDestruct,(()=>!t.isInDestruct&&t.destruct())),this},e.prototype.destruct=function(){this.setStatus(n.STATUSES.destructed),this.async.destruct(),a.get(this)&&a.delete(this)},Object.defineProperty(e.prototype,"componentStatus",{get(){return this.__componentStatus},set(e){this.setStatus(e)},enumerable:!1,configurable:!0}),e.prototype.setStatus=function(e){return this.setStatusComponent(e,this)},e.prototype.setStatusComponent=function(e,t){if(e!==this.__componentStatus){t===this&&(this.__componentStatus=e);var o=Object.getPrototypeOf(this);o&&(0,r.isFunction)(o.setStatusComponent)&&o.setStatusComponent(e,t);var i=a.get(this),n=null==i?void 0:i[e];n&&n.length&&n.forEach((e=>e(t)))}},e.prototype.hookStatus=function(e,t){var o=a.get(this);o||a.set(this,o={}),o[e]||(o[e]=[]),o[e].push(t)},e.isInstanceOf=(e,t)=>e instanceof t,e.STATUSES=n.STATUSES,e}();t.Component=l},34543(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(10799),t),r.__exportStar(o(12614),t),r.__exportStar(o(34230),t)},10799(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STATUSES=void 0,t.STATUSES={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},34230(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewComponent=void 0;var r=o(20255),i=function(e){function t(t){var o=e.call(this)||this;return o.setParentView(t),o}return r.__extends(t,e),Object.defineProperty(t.prototype,"j",{get(){return this.jodit},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get(){return this.j.defaultTimeout},enumerable:!1,configurable:!0}),t.prototype.i18n=function(e){for(var t,o=[],i=1;arguments.length>i;i++)o[i-1]=arguments[i];return(t=this.j).i18n.apply(t,r.__spreadArray([e],r.__read(o),!1))},t.prototype.setParentView=function(e){return this.jodit=e,e.components.add(this),this},t.prototype.destruct=function(){return this.j.components.delete(this),e.prototype.destruct.call(this)},t}(o(12614).Component);t.ViewComponent=i},10063(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SOURCE_CONSUMER=t.CLIPBOARD_ID=t.lang=t.TEMP_ATTR=t.BASE_PATH=t.KEY_ALIASES=t.IS_MAC=t.SAFE_COUNT_CHANGE_CALL=t.INSERT_ONLY_TEXT=t.INSERT_AS_TEXT=t.INSERT_CLEAR_HTML=t.INSERT_AS_HTML=t.EMULATE_DBLCLICK_TIMEOUT=t.MARKER_CLASS=t.TEXT_RTF=t.TEXT_HTML=t.TEXT_PLAIN=t.IS_IE=t.MODE_SPLIT=t.MODE_SOURCE=t.MODE_WYSIWYG=t.PARAGRAPH=t.BR=t.COMMAND_KEYS=t.ACCURACY=t.NEARBY=t.KEY_F3=t.KEY_DELETE=t.KEY_SPACE=t.KEY_DOWN=t.KEY_RIGHT=t.KEY_UP=t.KEY_LEFT=t.KEY_ALT=t.KEY_ESC=t.KEY_ENTER=t.KEY_TAB=t.KEY_BACKSPACE=t.MAY_BE_REMOVED_WITH_KEY=t.INSEPARABLE_TAGS=t.IS_INLINE=t.IS_BLOCK=t.SPACE_REG_EXP_END=t.SPACE_REG_EXP_START=t.SPACE_REG_EXP=t.INVISIBLE_SPACE_REG_EXP_START=t.INVISIBLE_SPACE_REG_EXP_END=t.INVISIBLE_SPACE_REG_EXP=t.NBSP_SPACE=t.INVISIBLE_SPACE=void 0,t.INVISIBLE_SPACE="\ufeff",t.NBSP_SPACE=" ",t.INVISIBLE_SPACE_REG_EXP=()=>/[\uFEFF]/g,t.INVISIBLE_SPACE_REG_EXP_END=()=>/[\uFEFF]+$/g,t.INVISIBLE_SPACE_REG_EXP_START=()=>/^[\uFEFF]+/g,t.SPACE_REG_EXP=()=>/[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_START=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_END=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,t.IS_BLOCK=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,t.INSEPARABLE_TAGS=["img","br","video","iframe","script","input","textarea","hr","link","jodit","jodit-media"],t.MAY_BE_REMOVED_WITH_KEY=RegExp("^".concat(t.INSEPARABLE_TAGS.join("|"),"$"),"i"),t.KEY_BACKSPACE="Backspace",t.KEY_TAB="Tab",t.KEY_ENTER="Enter",t.KEY_ESC="Escape",t.KEY_ALT="Alt",t.KEY_LEFT="ArrowLeft",t.KEY_UP="ArrowUp",t.KEY_RIGHT="ArrowRight",t.KEY_DOWN="ArrowDown",t.KEY_SPACE="Space",t.KEY_DELETE="Delete",t.KEY_F3="F3",t.NEARBY=5,t.ACCURACY=10,t.COMMAND_KEYS=[t.KEY_BACKSPACE,t.KEY_DELETE,t.KEY_UP,t.KEY_DOWN,t.KEY_RIGHT,t.KEY_LEFT,t.KEY_ENTER,t.KEY_ESC,t.KEY_F3,t.KEY_TAB],t.BR="br",t.PARAGRAPH="p",t.MODE_WYSIWYG=1,t.MODE_SOURCE=2,t.MODE_SPLIT=3,t.IS_IE="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),t.TEXT_PLAIN=t.IS_IE?"text":"text/plain",t.TEXT_HTML=t.IS_IE?"html":"text/html",t.TEXT_RTF=t.IS_IE?"rtf":"text/rtf",t.MARKER_CLASS="jodit-selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.INSERT_AS_HTML="insert_as_html",t.INSERT_CLEAR_HTML="insert_clear_html",t.INSERT_AS_TEXT="insert_as_text",t.INSERT_ONLY_TEXT="insert_only_text",t.SAFE_COUNT_CHANGE_CALL=10,t.IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),t.KEY_ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t.IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},t.BASE_PATH=(()=>{if("undefined"==typeof document)return"";var e=document.currentScript,t=e=>{var t=e.split("/");return/\.js/.test(t[t.length-1])?t.slice(0,t.length-1).join("/")+"/":e};if(e)return t(e.src);var o=document.querySelectorAll("script[src]");return o&&o.length?t(o[o.length-1].src):window.location.href})(),t.TEMP_ATTR="data-jodit-temp",t.lang={},t.CLIPBOARD_ID="clipboard",t.SOURCE_CONSUMER="source-consumer"},53089(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Create=void 0;var r=o(92654),i=o(94522),n=o(10063),s=function(){function e(e,t){this.document=e,this.createAttributes=t}return Object.defineProperty(e.prototype,"doc",{get(){return(0,r.isFunction)(this.document)?this.document():this.document},enumerable:!1,configurable:!0}),e.prototype.element=function(e,t,o){var i=this,n=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(n),t&&((0,r.isPlainObject)(t)?(0,r.attr)(n,t):o=t),o&&(0,r.asArray)(o).forEach((e=>n.appendChild((0,r.isString)(e)?i.fromHTML(e):e))),n},e.prototype.div=function(e,t,o){var r=this.element("div",t,o);return e&&(r.className=e),r},e.prototype.sandbox=function(){var e,t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);var o=null===(e=t.contentWindow)||void 0===e?void 0:e.document;return(0,r.assert)(o,"iframe.contentWindow.document"),o.open(),o.write(""),o.close(),o.body},e.prototype.span=function(e,t,o){var r=this.element("span",t,o);return e&&(r.className=e),r},e.prototype.a=function(e,t,o){var r=this.element("a",t,o);return e&&(r.className=e),r},e.prototype.text=function(e){return this.doc.createTextNode(e)},e.prototype.fake=function(){return this.text(n.INVISIBLE_SPACE)},e.prototype.fragment=function(){return this.doc.createDocumentFragment()},e.prototype.fromHTML=function(e,t){var o=this.div();o.innerHTML=""+e;var n=o.firstChild===o.lastChild&&o.firstChild?o.firstChild:o;if(i.Dom.safeRemove(n),t){var s=(0,r.refs)(n);Object.keys(t).forEach((e=>{var o=s[e];o&&!1===t[e]&&i.Dom.hide(o)}))}return n},e.prototype.applyCreateAttributes=function(e){if(this.createAttributes){var t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){var o=t[e.tagName.toLowerCase()];(0,r.isFunction)(o)?o(e):(0,r.isPlainObject)(o)&&(0,r.attr)(e,o)}}},e}();t.Create=s},14487(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(53089),t)},79004(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cache=void 0;var r=o(92654);t.cache=function(e,t,o){var i=o.get;if(!i)throw(0,r.error)("Getter property descriptor expected");o.get=function(){var e=i.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:o.configurable,enumerable:o.enumerable,writable:!1,value:e}),e}}},99205(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.component=void 0;var r=o(20255);t.component=function(e){var t=function(e){function t(){for(var o=[],i=0;arguments.length>i;i++)o[i]=arguments[i];var n=e.apply(this,r.__spreadArray([],r.__read(o),!1))||this,s=n.constructor===t;return s&&(n instanceof t||Object.setPrototypeOf(n,t.prototype),n.setStatus("ready")),n}return r.__extends(t,e),t}(e);return t}},1509(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.debounce=void 0;var r=o(37379),i=o(34543),n=o(80163),s=o(92654);function a(e,t,o){return void 0===t&&(t=!1),void 0===o&&(o="debounce"),function(a,l){var c=a[l];if(!(0,r.isFunction)(c))throw(0,n.error)("Handler must be a Function");return a.hookStatus(i.STATUSES.ready,(i=>{var n=i.async;(0,s.assert)(null!=n,"Component ".concat(i.componentName||i.constructor.name,' should have "async:IAsync" field'));var a=(0,r.isFunction)(e)?e(i):e;Object.defineProperty(i,l,{configurable:!0,value:n[o](i[l].bind(i),(0,r.isNumber)(a)||(0,r.isPlainObject)(a)?a:i.defaultTimeout,t)})})),{configurable:!0,get(){return c.bind(this)}}}}t.debounce=a,t.throttle=(e,t)=>(void 0===t&&(t=!1),a(e,t,"throttle"))},46169(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hook=void 0;var r=o(37379),i=o(80163);t.hook=e=>(t,o)=>{if(!(0,r.isFunction)(t[o]))throw(0,i.error)("Handler must be a Function");t.hookStatus(e,(e=>{e[o].call(e)}))}},1656(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idle=void 0;var r=o(20255),i=o(34543),n=o(92654);t.idle=()=>(e,t)=>{if(!(0,n.isFunction)(e[t]))throw(0,n.error)("Handler must be a Function");e.hookStatus(i.STATUSES.ready,(e=>{var o=e.async,i=e[t];e[t]=function(){for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return o.requestIdleCallback(i.bind.apply(i,r.__spreadArray([e],r.__read(t),!1)))}}))}},9901(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autobind=void 0;var r=o(20255);r.__exportStar(o(79004),t),r.__exportStar(o(99205),t),r.__exportStar(o(1509),t),r.__exportStar(o(1656),t),r.__exportStar(o(46169),t),r.__exportStar(o(86358),t),r.__exportStar(o(44801),t),r.__exportStar(o(69770),t),r.__exportStar(o(44101),t);var i=o(70631);Object.defineProperty(t,"autobind",{enumerable:!0,get:()=>i.default})},86358(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonenumerable=void 0,t.nonenumerable=function(e,t){!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},44801(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.persistent=void 0;var r=o(34543),i=o(51813);t.persistent=(e,t)=>{e.hookStatus(r.STATUSES.ready,(e=>{var o=(0,i.isViewObject)(e)?e:e.jodit,r="".concat(o.options.namespace).concat(e.componentName,"_prop_").concat(t),n=e[t];Object.defineProperty(e,t,{get(){var e;return null!==(e=o.storage.get(r))&&void 0!==e?e:n},set(e){o.storage.set(r,e)}})}))}},69770(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wait=void 0;var r=o(20255),i=o(92654),n=o(34543);t.wait=e=>(t,o)=>{if(!(0,i.isFunction)(t[o]))throw(0,i.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,(t=>{var i=t.async,n=t[o],s=0;Object.defineProperty(t,o,{configurable:!0,value:function o(){for(var a=[],l=0;arguments.length>l;l++)a[l]=arguments[l];i.clearTimeout(s),e(t)?n.apply(t,a):s=i.setTimeout((()=>o.apply(void 0,r.__spreadArray([],r.__read(a),!1))),10)}})}))}},44101(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watch=t.getPropertyDescriptor=void 0;var r=o(20255),i=o(84121),n=o(77184),s=o(51813),a=o(80475),l=o(10799),c=o(62541),d=o(80163);function u(e,t){var o;do{o=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!o&&e);return o}function p(e,t){return(o,p)=>{if(!(0,i.isFunction)(o[p]))throw(0,d.error)("Handler must be a Function");var h=l=>{var d=function(e){for(var t,o=[],i=1;arguments.length>i;i++)o[i-1]=arguments[i];if(!l.isInDestruct)return(t=l)[p].apply(t,r.__spreadArray([e],r.__read(o),!1))};(0,c.splitArray)(e).forEach((e=>{if(/:/.test(e)){var c=r.__read(e.split(":"),2),p=c[0],h=c[1],f=t,m=(0,s.isViewObject)(l)?l:l.jodit;return p.length&&(f=l.get(p)),(0,i.isFunction)(f)&&(f=f(l)),m.events.on(f||l,h,d),f||m.events.on(h,d),void l.hookStatus("beforeDestruct",(()=>{m.events.off(f||l,h,d).off(h,d)}))}var v=e.split("."),g=r.__read(v,1)[0],y=v.slice(1),_=l[g];(0,n.isPlainObject)(_)&&(0,a.observable)(_).on("change.".concat(y.join(".")),d);var b=u(o,g);Object.defineProperty(l,g,{configurable:!0,set(e){var t=_;t!==e&&(_=e,b&&b.set&&b.set.call(l,e),(0,n.isPlainObject)(_)&&(_=(0,a.observable)(_)).on("change.".concat(y.join(".")),d),d(g,t,_))},get:()=>b&&b.get?b.get.call(l):_})}))};(0,i.isFunction)(o.hookStatus)?o.hookStatus(l.STATUSES.ready,h):h(o)}}t.getPropertyDescriptor=u,t.watch=p,t.default=p},43887(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dom=void 0;var r=o(20255),i=o(10063),n=o(92654),s=o(36047),a=o(10063),l=function(){function e(){}return e.detach=e=>{for(;e.firstChild;)e.removeChild(e.firstChild)},e.wrapInline=(t,o,r)=>{var i,s=t,a=t;r.s.save();var l=!1;do{l=!1,(i=s.previousSibling)&&!e.isBlock(i)&&(l=!0,s=i)}while(l);do{l=!1,(i=a.nextSibling)&&!e.isBlock(i)&&(l=!0,a=i)}while(l);var c=(0,n.isString)(o)?r.createInside.element(o):o;s.parentNode&&s.parentNode.insertBefore(c,s);for(var d=s;d&&(d=s.nextSibling,c.appendChild(s),s!==a&&d);)s=d;return r.s.restore(),c},e.wrap=(t,o,r)=>{var i=(0,n.isString)(o)?r.element(o):o;if(e.isNode(t)){if(!t.parentNode)throw(0,n.error)("Element should be in DOM");t.parentNode.insertBefore(i,t),i.appendChild(t)}else{var s=t.extractContents();t.insertNode(i),i.appendChild(s)}return i},e.unwrap=t=>{var o=t.parentNode;if(o){for(;t.firstChild;)o.insertBefore(t.firstChild,t);e.safeRemove(t)}},e.between=(e,t,o)=>{for(var r=e;r&&r!==t&&(e===r||!o(r));){var i=r.firstChild||r.nextSibling;if(!i){for(;r&&!r.nextSibling;)r=r.parentNode;i=null==r?void 0:r.nextSibling}r=i}},e.replace=(t,o,r,i,s)=>{void 0===i&&(i=!1),void 0===s&&(s=!1),(0,n.isHTML)(o)&&(o=r.fromHTML(o));var a=(0,n.isString)(o)?r.element(o):o;if(!s)for(;t.firstChild;)a.appendChild(t.firstChild);return i&&e.isElement(t)&&e.isElement(a)&&(0,n.toArray)(t.attributes).forEach((e=>{a.setAttribute(e.name,e.value)})),t.parentNode&&t.parentNode.replaceChild(a,t),a},e.isEmptyTextNode=t=>e.isText(t)&&(!t.nodeValue||0===t.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP(),"").trim().length),e.isEmptyContent=t=>e.each(t,(t=>e.isEmptyTextNode(t))),e.isContentEditable=(t,o)=>e.isNode(t)&&!e.closest(t,(t=>e.isElement(t)&&"false"===t.getAttribute("contenteditable")),o),e.isEmpty=(t,o)=>(void 0===o&&(o=/^(img|svg|canvas|input|textarea|form)$/),!t||(e.isText(t)?null==t.nodeValue||0===(0,n.trim)(t.nodeValue).length:!o.test(t.nodeName.toLowerCase())&&e.each(t,(t=>{if(e.isText(t)&&null!=t.nodeValue&&0!==(0,n.trim)(t.nodeValue).length||e.isElement(t)&&o.test(t.nodeName.toLowerCase()))return!1})))),e.isNode=e=>!!(e&&(0,n.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,n.isFunction)(e.appendChild)),e.isCell=t=>e.isNode(t)&&/^(td|th)$/i.test(t.nodeName),e.isImage=t=>e.isNode(t)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName),e.isBlock=t=>!(0,n.isVoid)(t)&&"object"==typeof t&&e.isNode(t)&&i.IS_BLOCK.test(t.nodeName),e.isText=e=>!(!e||e.nodeType!==Node.TEXT_NODE),e.isElement=t=>{var o;return!!e.isNode(t)&&!(!(null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView)||t.nodeType!==Node.ELEMENT_NODE)},e.isFragment=t=>{var o;return!!e.isNode(t)&&!(!(null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView)||t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)},e.isHTMLElement=t=>{var o;if(!e.isNode(t))return!1;var r=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return!!(r&&t instanceof r.HTMLElement)},e.isInlineBlock=t=>e.isElement(t)&&!/^(BR|HR)$/i.test(t.tagName)&&-1!==["inline","inline-block"].indexOf(""+(0,n.css)(t,"display")),e.canSplitBlock=t=>!(0,n.isVoid)(t)&&e.isHTMLElement(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&void 0!==t.style&&!/^(fixed|absolute)/i.test(t.style.position),e.last=(e,t)=>{var o=null==e?void 0:e.lastChild;if(!o)return null;do{if(t(o))return o;var r=o.lastChild;if(r||(r=o.previousSibling),!r&&o.parentNode!==e){do{o=o.parentNode}while(o&&!(null==o?void 0:o.previousSibling)&&o.parentNode!==e);r=null==o?void 0:o.previousSibling}o=r}while(o);return null},e.prev=(t,o,r,i)=>(void 0===i&&(i=!0),e.find(t,o,r,!1,i)),e.next=(t,o,r,i)=>(void 0===i&&(i=!0),e.find(t,o,r,!0,i)),e.prevWithClass=(t,o)=>e.prev(t,(t=>e.isElement(t)&&t.classList.contains(o)),t.parentNode),e.nextWithClass=(t,o)=>e.next(t,(t=>e.isElement(t)&&t.classList.contains(o)),t.parentNode),e.find=function(e,t,o,r,i){void 0===r&&(r=!0),void 0===i&&(i=!0);for(var n=this.nextGen(e,o,r,i),s=n.next();!s.done;){if(t(s.value))return s.value;s=n.next()}return null},e.nextGen=function(e,t,o,i){var n,s,a;return void 0===o&&(o=!0),void 0===i&&(i=!0),r.__generator(this,(function(l){switch(l.label){case 0:n=[],s=e,l.label=1;case 1:for(a=o?s.nextSibling:s.previousSibling;a;)n.unshift(a),a=o?a.nextSibling:a.previousSibling;return[5,r.__values(this.runInStack(e,n,o,i))];case 2:l.sent(),s=s.parentNode,l.label=3;case 3:if(s&&s!==t)return[3,1];l.label=4;case 4:return[2,null]}}))},e.each=function(e,t,o){void 0===o&&(o=!0);for(var r=this.eachGen(e,o),i=r.next();!i.done;){if(!1===t(i.value))return!1;i=r.next()}return!0},e.eachGen=function(e,t){return void 0===t&&(t=!0),this.runInStack(e,[e],t)},e.runInStack=function(e,t,o,i){var n,s;return void 0===i&&(i=!0),r.__generator(this,(r=>{switch(r.label){case 0:if(!t.length)return[3,3];if(n=t.pop(),i)for(s=o?n.lastChild:n.firstChild;s;)t.push(s),s=o?s.previousSibling:s.nextSibling;return e===n?[3,2]:[4,n];case 1:r.sent(),r.label=2;case 2:return[3,0];case 3:return[2]}}))},e.findWithCurrent=(t,o,r,i,n)=>{void 0===i&&(i="nextSibling"),void 0===n&&(n="firstChild");var s=t;do{if(o(s))return s||null;if(n&&s&&s[n]){var a=e.findWithCurrent(s[n],o,s,i,n);if(a)return a}for(;s&&!s[i]&&s!==r;)s=s.parentNode;s&&s[i]&&s!==r&&(s=s[i])}while(s&&s!==r);return null},e.findSibling=(t,o,r)=>{void 0===o&&(o=!0),void 0===r&&(r=t=>!e.isEmptyTextNode(t));for(var i=e.sibling(t,o);i&&!r(i);)i=e.sibling(i,o);return i&&r(i)?i:null},e.findNotEmptySibling=(t,o)=>e.findSibling(t,o,(t=>{var o;return!e.isEmptyTextNode(t)&&!!(!e.isText(t)||(null===(o=t.nodeValue)||void 0===o?void 0:o.length)&&(0,n.trim)(t.nodeValue))})),e.findNotEmptyNeighbor=(t,o,r)=>(0,n.call)(o?e.prev:e.next,t,(t=>!(!t||e.isText(t)&&!(0,n.trim)((null==t?void 0:t.nodeValue)||"").length)),r),e.sibling=(e,t)=>t?e.previousSibling:e.nextSibling,e.up=(e,t,o,r)=>{void 0===r&&(r=!1);var i=e;if(!i)return null;do{if(t(i))return i;if(i===o||!i.parentNode)break;i=i.parentNode}while(i&&i!==o);return i===o&&r&&t(i)?i:null},e.closest=(t,o,r)=>{var i;return i=(0,n.isFunction)(o)?o:(0,n.isArray)(o)?e=>!(!e||!o.includes(e.nodeName.toLowerCase())):e=>!(!e||o!==e.nodeName.toLowerCase()),e.up(t,i,r)},e.furthest=(e,t,o)=>{for(var r=null,i=null==e?void 0:e.parentElement;i&&i!==o&&t(i);)r=i,i=null==i?void 0:i.parentElement;return r},e.appendChildFirst=(e,t)=>{var o=e.firstChild;o?o!==t&&e.insertBefore(t,o):e.appendChild(t)},e.after=(e,t)=>{var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))},e.before=(e,t)=>{var o=e.parentNode;o&&o.insertBefore(t,e)},e.prepend=(e,t)=>{e.insertBefore(t,e.firstChild)},e.append=function(e,t){var o=this;(0,n.isArray)(t)?t.forEach((t=>{o.append(e,t)})):e.appendChild(t)},e.moveContent=(e,t,o)=>{void 0===o&&(o=!1);var r=(e.ownerDocument||document).createDocumentFragment();(0,n.toArray)(e.childNodes).forEach((e=>{r.appendChild(e)})),o&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)},e.isOrContains=function(e,t,o){return void 0===o&&(o=!1),e===t?!o:!!(t&&e&&this.up(t,(t=>t===e),e,!0))},e.safeRemove=function(){for(var t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];t.forEach((t=>e.isNode(t)&&t.parentNode&&t.parentNode.removeChild(t)))},e.safeInsertNode=(t,o)=>{t.collapsed||t.deleteContents(),t.insertNode(o),[o.nextSibling,o.previousSibling].forEach((t=>e.isText(t)&&!t.nodeValue&&e.safeRemove(t)))},e.hide=e=>{e&&((0,n.dataBind)(e,"__old_display",e.style.display),e.style.display="none")},e.show=e=>{if(e){var t=(0,n.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}},e.isTag=function(e,t){for(var o=(0,n.asArray)(t).map(String),r=0;o.length>r;r+=1)if(this.isElement(e)&&e.tagName.toLowerCase()===o[r].toLowerCase())return!0;return!1},e.markTemporary=(e,t)=>(t&&(0,n.attr)(e,t),(0,n.attr)(e,a.TEMP_ATTR,!0),e),e.isTemporary=t=>!!e.isElement(t)&&(s.Select.isMarker(t)||"true"===(0,n.attr)(t,a.TEMP_ATTR)),e.replaceTemporaryFromString=e=>e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2"),e.temporaryList=e=>(0,n.$$)("[".concat(a.TEMP_ATTR,"]"),e),e}();t.Dom=l},94522(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(43887),t),r.__exportStar(o(74601),t)},74601(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyWalker=void 0;var r=o(20255),i=o(99437),n=o(9901),s=o(43887),a=function(e){function t(t,o){void 0===o&&(o={});var r=e.call(this)||this;return r.async=t,r.options=o,r.workNodes=null,r.hadAffect=!1,r.isWorked=!1,r.isFinished=!1,r.idleId=0,r}return r.__extends(t,e),t.prototype.setWork=function(e){return this.isWorked&&this.break(),this.workNodes=s.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this},t.prototype.startIdleRequest=function(){var e;this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:null!==(e=this.options.timeout)&&void 0!==e?e:10})},t.prototype.break=function(e){this.isWorked&&(this.stop(),this.emit("break",e))},t.prototype.end=function(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)},t.prototype.stop=function(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)},t.prototype.destruct=function(){e.prototype.destruct.call(this),this.stop()},t.prototype.workPerform=function(e){var t;if(this.workNodes){this.isWorked=!0;for(var o=0,r=null!==(t=this.options.timeoutChunkSize)&&void 0!==t?t:50;!this.isFinished&&(e.timeRemaining()>0||e.didTimeout&&r>=o);){var i=this.workNodes.next();if(o+=1,this.visitNode(i.value)&&(this.hadAffect=!0),i.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()},t.prototype.visitNode=function(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t},r.__decorate([n.autobind],t.prototype,"workPerform",null),t}(i.Eventify);t.LazyWalker=a},34970(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventEmitter=void 0;var r=o(20255),i=o(15094),n=o(40607),s=o(84121),a=o(2555),l=o(80163),c=o(62541),d=function(){function e(e){var t=this;this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=e=>{e.cancelBubble||(e.composed&&(0,s.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})})),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&t.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>t.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}return e.prototype.mute=function(e){return this.__mutedEvents.add(null!=e?e:"*"),this},e.prototype.isMuted=function(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")},e.prototype.unmute=function(e){return this.__mutedEvents.delete(null!=e?e:"*"),this},e.prototype.__eachEvent=function(e,t){var o=this;(0,c.splitArray)(e).map((e=>e.trim())).forEach((e=>{var r=e.split(".");t.call(o,r[0],r[1]||i.defaultNameSpace)}))},e.prototype.__getStore=function(e){if(!e)throw(0,l.error)("Need subject");if(void 0===e[this.__key]){var t=new i.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]},e.prototype.__removeStoreFromSubject=function(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})},e.prototype.__triggerNativeEvent=function(e,t){var o=this.__doc.createEvent("HTMLEvents");(0,n.isString)(t)?o.initEvent(t,!0,!0):(o.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((e=>{Object.defineProperty(o,e,{value:t[e],enumerable:!0})})),Object.defineProperty(o,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(o)},Object.defineProperty(e.prototype,"current",{get(){return this.currents[this.currents.length-1]},enumerable:!1,configurable:!0}),e.prototype.on=function(e,t,o,i){var c,d,u,p,h=this;if((0,n.isString)(e)||(0,n.isStringArray)(e)?(c=this,d=e,u=t,p=o):(c=e,d=t,u=o,p=i),!(0,n.isString)(d)&&!(0,n.isStringArray)(d)||0===d.length)throw(0,l.error)("Need events names");if(!(0,s.isFunction)(u))throw(0,l.error)("Need event handler");if((0,a.isArray)(c))return c.forEach((e=>{h.on(e,d,u,p)})),this;var f=c,m=this.__getStore(f),v=(0,s.isFunction)(f.addEventListener),g=this,y=function(e){for(var t=[],o=1;arguments.length>o;o++)t[o-1]=arguments[o];if(!g.isMuted(e))return u&&u.call.apply(u,r.__spreadArray([this],r.__read(t),!1))};return v&&(y=function(e){if(!g.isMuted(e.type))return g.__prepareEvent(e),u&&!1===u.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(d,((e,t)=>{if(0===e.length)throw(0,l.error)("Need event name");if(!1===m.indexOf(e,t,u)&&(m.set(e,t,{event:e,originalCallback:u,syntheticCallback:y},null==p?void 0:p.top),v)){var o=!!["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"].includes(e)&&{passive:!0};f.addEventListener(e,y,o)}})),this},e.prototype.one=function(e,t,o,i){var s,a,l,c,d=this;(0,n.isString)(e)||(0,n.isStringArray)(e)?(s=this,a=e,l=t,c=o):(s=e,a=t,l=o,c=i);var u=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return d.off(s,a,u),l.apply(void 0,r.__spreadArray([],r.__read(e),!1))};return this.on(s,a,u,c),this},e.prototype.off=function(e,t,o){var r,l,c,d=this;if((0,n.isString)(e)||(0,n.isStringArray)(e)?(r=this,l=e,c=t):(r=e,l=t,c=o),(0,a.isArray)(r))return r.forEach((e=>{d.off(e,l,c)})),this;var u=r,p=this.__getStore(u);if(!(0,n.isString)(l)&&!(0,n.isStringArray)(l)||0===l.length)return p.namespaces().forEach((e=>{d.off(u,"."+e)})),this.__removeStoreFromSubject(u),this;var h=(0,s.isFunction)(u.removeEventListener),f=e=>{h&&u.removeEventListener(e.event,e.syntheticCallback,!1)},m=(e,t)=>{if(""!==e){var o=p.get(e,t);if(o&&o.length)if((0,s.isFunction)(c)){var r=p.indexOf(e,t,c);!1!==r&&(f(o[r]),o.splice(r,1),o.length||p.clearEvents(t,e))}else o.forEach(f),o.length=0,p.clearEvents(t,e)}else p.events(t).forEach((e=>{""!==e&&m(e,t)}))};return this.__eachEvent(l,((e,t)=>{t===i.defaultNameSpace?p.namespaces().forEach((t=>{m(e,t)})):m(e,t)})),p.isEmpty()&&this.__removeStoreFromSubject(u),this},e.prototype.stopPropagation=function(e,t){var o=this,r=(0,n.isString)(e)?this:e,s=(0,n.isString)(e)?e:t;if("string"!=typeof s)throw(0,l.error)("Need event names");var a=this.__getStore(r);this.__eachEvent(s,((e,t)=>{var n=a.get(e,t);n&&o.__stopped.push(n),t===i.defaultNameSpace&&a.namespaces(!0).forEach((t=>o.stopPropagation(r,e+"."+t)))}))},e.prototype.__removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}},e.prototype.__isStopped=function(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)},e.prototype.fire=function(e,t){for(var o,a,c=this,d=[],u=2;arguments.length>u;u++)d[u-2]=arguments[u];var p=(0,n.isString)(e)?this:e,h=(0,n.isString)(e)?e:t,f=(0,n.isString)(e)?r.__spreadArray([t],r.__read(d),!1):d,m=(0,s.isFunction)(p.dispatchEvent);if(!m&&!(0,n.isString)(h))throw(0,l.error)("Need events names");var v=this.__getStore(p);return!(0,n.isString)(h)&&m?this.__triggerNativeEvent(p,t):this.__eachEvent(h,((e,t)=>{if(m)c.__triggerNativeEvent(p,e);else{var n=v.get(e,t);if(n)try{r.__spreadArray([],r.__read(n),!1).every((t=>{var i;return!c.__isStopped(n)&&(c.currents.push(e),a=(i=t.syntheticCallback).call.apply(i,r.__spreadArray([p,e],r.__read(f),!1)),c.currents.pop(),void 0!==a&&(o=a),!0)}))}finally{c.__removeStop(n)}t!==i.defaultNameSpace||m||v.namespaces().filter((e=>e!==t)).forEach((t=>{var i=c.fire.apply(c,r.__spreadArray([p,e+"."+t],r.__read(f),!1));void 0!==i&&(o=i)}))}})),o},e.prototype.destruct=function(){this.__isDestructed&&(this.__isDestructed=!0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))},e}();t.EventEmitter=d},99437(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eventify=void 0;var r=o(20255),i=function(){function e(){this.__map=new Map}return e.prototype.on=function(e,t){var o;return this.__map.has(e)||this.__map.set(e,new Set),null===(o=this.__map.get(e))||void 0===o||o.add(t),this},e.prototype.off=function(e,t){var o;return this.__map.has(e)&&(null===(o=this.__map.get(e))||void 0===o||o.delete(t)),this},e.prototype.destruct=function(){this.__map.clear()},e.prototype.emit=function(e){for(var t,o,i=[],n=1;arguments.length>n;n++)i[n-1]=arguments[n];return this.__map.has(e)&&(null===(t=this.__map.get(e))||void 0===t||t.forEach((e=>{o=e.apply(void 0,r.__spreadArray([],r.__read(i),!1))}))),o},e}();t.Eventify=i},42293(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(34970),t),r.__exportStar(o(99437),t),r.__exportStar(o(80475),t),r.__exportStar(o(15094),t)},80475(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0;var r=o(20255),i=o(2555),n=o(16716),s=o(77184),a=o(44101),l=Symbol("observable-object");function c(e){return void 0!==e[l]}t.observable=e=>{if(c(e))return e;var t={},o={},d=(t,r)=>(0,i.isArray)(t)?(t.map((e=>d(e,r))),e):(o[t]||(o[t]=[]),o[t].push(r),e),u=function(n){for(var s=[],a=1;arguments.length>a;a++)s[a-1]=arguments[a];if((0,i.isArray)(n))n.map((e=>u.apply(void 0,r.__spreadArray([e],r.__read(s),!1))));else try{!t[n]&&o[n]&&(t[n]=!0,o[n].forEach((t=>t.call.apply(t,r.__spreadArray([e],r.__read(s),!1)))))}finally{t[n]=!1}},p=(t,o)=>{void 0===o&&(o=[]);var i={};c(t)||(Object.defineProperty(t,l,{enumerable:!1,value:!0}),Object.keys(t).forEach((l=>{var c=l,d=o.concat(c).filter((e=>e.length));i[c]=t[c];var h=(0,a.getPropertyDescriptor)(t,c);Object.defineProperty(t,c,{set(t){var o=i[c];if(!(0,n.isFastEqual)(i[c],t)){u(["beforeChange","beforeChange.".concat(d.join("."))],c,t),(0,s.isPlainObject)(t)&&p(t,d),h&&h.set?h.set.call(e,t):i[c]=t;var a=[];u(r.__spreadArray(["change"],r.__read(d.reduce(((e,t)=>(a.push(t),e.push("change.".concat(a.join("."))),e)),[])),!1),d.join("."),o,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:()=>h&&h.get?h.get.call(e):i[c],enumerable:!0,configurable:!0}),(0,s.isPlainObject)(i[c])&&p(i[c],d)})),Object.defineProperty(e,"on",{value:d}))};return p(e),e}},15094(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlersStore=t.defaultNameSpace=void 0;var r=o(39665),i=o(42464);t.defaultNameSpace="JoditEventDefaultNamespace";var n=function(){function e(){this.__store=new Map}return e.prototype.get=function(e,t){if(this.__store.has(t)){var o=this.__store.get(t);return(0,r.assert)(o,"-"),o[e]}},e.prototype.indexOf=function(e,t,o){var r=this.get(e,t);if(r)for(var i=0;r.length>i;i+=1)if(r[i].originalCallback===o)return i;return!1},e.prototype.namespaces=function(e){void 0===e&&(e=!1);var o=(0,i.toArray)(this.__store.keys());return e?o.filter((e=>e!==t.defaultNameSpace)):o},e.prototype.events=function(e){var t=this.__store.get(e);return t?Object.keys(t):[]},e.prototype.set=function(e,t,o,r){void 0===r&&(r=!1);var i=this.__store.get(t);i||this.__store.set(t,i={}),void 0===i[e]&&(i[e]=[]),r?i[e].unshift(o):i[e].push(o)},e.prototype.clear=function(){this.__store.clear()},e.prototype.clearEvents=function(e,t){var o=this.__store.get(e);o&&o[t]&&(delete o[t],Object.keys(o).length||this.__store.delete(e))},e.prototype.isEmpty=function(){return 0===this.__store.size},e}();t.EventHandlersStore=n},58299(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventEmitter=t.getContainer=t.extendLang=t.modules=t.pluginSystem=t.uniqueUid=t.instances=void 0;var r=o(58153),i=o(94522),n=o(42293),s=o(47442),a=o(51813),l=o(28693),c=o(90237),d=o(10063);t.instances={};var u=1,p=new Set;t.uniqueUid=()=>{function e(){return u+=10*(Math.random()+1),Math.round(u).toString(16)}for(var t=e();p.has(t);)t=e();return p.add(t),t},t.pluginSystem=new r.PluginSystem,t.modules={},t.extendLang=e=>{Object.keys(e).forEach((t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]}))};var h=new WeakMap;t.getContainer=(e,t,o,r)=>{void 0===o&&(o="div"),void 0===r&&(r=!1);var n=t?(0,l.getClassName)(t.prototype):"jodit-utils",d=h.get(e)||{},u=n+o,p=(0,a.isViewObject)(e)?e:e.j;if(!d[u]){var f=p.c,m=(0,s.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:e.od.body;if(r&&(0,s.isJoditObject)(e)&&e.od!==e.ed){f=e.createInside;var v="style"===o?e.ed.head:e.ed.body;m=(0,s.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:v}var g=f.element(o,{className:"jodit jodit-".concat((0,c.kebabCase)(n),"-container jodit-box")});g.classList.add("jodit_theme_".concat(p.o.theme||"default")),m.appendChild(g),d[u]=g,e.hookStatus("beforeDestruct",(()=>{i.Dom.safeRemove(g),delete d[u],Object.keys(d).length&&h.delete(e)})),h.set(e,d)}return d[u].classList.remove("jodit_theme_default","jodit_theme_dark"),d[u].classList.add("jodit_theme_".concat(p.o.theme||"default")),d[u]},t.eventEmitter=new n.EventEmitter},7796(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=void 0;var r=o(2555);t.asArray=e=>(0,r.isArray)(e)?e:[e]},3005(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=t.splitArray=t.asArray=void 0;var r=o(7796);Object.defineProperty(t,"asArray",{enumerable:!0,get:()=>r.asArray});var i=o(62541);Object.defineProperty(t,"splitArray",{enumerable:!0,get:()=>i.splitArray});var n=o(42464);Object.defineProperty(t,"toArray",{enumerable:!0,get:()=>n.toArray})},62541(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitArray=void 0,t.splitArray=e=>Array.isArray(e)?e:e.split(/[,\s]+/)},42464(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var r=o(33872),i=o(76994);t.toArray=function(){for(var e,t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];var n=(0,i.isNativeFunction)(Array.from)?Array.from:null!==(e=(0,r.reset)("Array.from"))&&void 0!==e?e:Array.from;return n.apply(Array,t)}},97336(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(60232),t)},60232(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearTimeout=t.setTimeout=void 0;var r=o(20255);t.setTimeout=function(e,t){for(var o=[],i=2;arguments.length>i;i++)o[i-2]=arguments[i];return t?window.setTimeout.apply(window,r.__spreadArray([e,t],r.__read(o),!1)):(e.call.apply(e,r.__spreadArray([null],r.__read(o),!1)),0)},t.clearTimeout=e=>{window.clearTimeout(e)}},85740(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserColorPicker=void 0,t.hasBrowserColorPicker=()=>{var e=!0;try{var t=document.createElement("input");t.type="color",e="color"===t.type&&"number"!=typeof t.selectionStart}catch(t){e=!1}return e}},37379(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(85740),t),r.__exportStar(o(2555),t),r.__exportStar(o(65131),t),r.__exportStar(o(16716),t),r.__exportStar(o(84121),t),r.__exportStar(o(24775),t),r.__exportStar(o(68278),t),r.__exportStar(o(19747),t),r.__exportStar(o(84153),t),r.__exportStar(o(47442),t),r.__exportStar(o(51813),t),r.__exportStar(o(33656),t),r.__exportStar(o(76994),t),r.__exportStar(o(93860),t),r.__exportStar(o(57587),t),r.__exportStar(o(77184),t),r.__exportStar(o(30317),t),r.__exportStar(o(40607),t),r.__exportStar(o(56521),t),r.__exportStar(o(76245),t),r.__exportStar(o(13859),t),r.__exportStar(o(99562),t)},2555(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=e=>Array.isArray(e)},65131(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBoolean=void 0,t.isBoolean=e=>"boolean"==typeof e},16716(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFastEqual=t.isEqual=void 0;var r=o(27561);t.isEqual=(e,t)=>e===t||(0,r.stringify)(e)===(0,r.stringify)(t),t.isFastEqual=(e,t)=>e===t},84121(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=e=>"function"==typeof e},68278(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHtmlFromWord=void 0,t.isHtmlFromWord=e=>-1!==e.search(//)||-1!==e.search(//)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/(0,r.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},19747(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasContainer=t.isDestructable=t.isInitable=void 0;var r=o(84121),i=o(43887),n=o(13859);t.isInitable=e=>!(0,n.isVoid)(e)&&(0,r.isFunction)(e.init),t.isDestructable=e=>!(0,n.isVoid)(e)&&(0,r.isFunction)(e.destruct),t.hasContainer=e=>!(0,n.isVoid)(e)&&i.Dom.isElement(e.container)},84153(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInt=void 0;var r=o(57587),i=o(40607);t.isInt=e=>((0,i.isString)(e)&&(0,r.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1))},47442(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoditObject=void 0;var r=o(84121);t.isJoditObject=e=>!!(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))},33656(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLicense=void 0;var r=o(40607);t.isLicense=e=>(0,r.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},76994(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNativeFunction=void 0,t.isNativeFunction=e=>!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(e+""))},93860(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isNumber=e=>"number"==typeof e&&!isNaN(e)&&isFinite(e)},57587(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=void 0;var r=o(40607);t.isNumeric=e=>{if((0,r.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},77184(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=void 0;var r=o(99562);t.isPlainObject=e=>!(!e||"object"!=typeof e||e.nodeType||(0,r.isWindow)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},30317(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0,t.isPromise=e=>e&&"function"==typeof e.then},40607(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isStringArray=t.isString=void 0;var r=o(2555);function i(e){return"string"==typeof e}t.isString=i,t.isStringArray=e=>(0,r.isArray)(e)&&i(e[0])},56521(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=void 0,t.isURL=e=>{if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{var t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}var o=document.createElement("a");return o.href=e,!!o.hostname}},76245(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidName=void 0,t.isValidName=e=>!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_.]/.test(e)},51813(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isViewObject=void 0;var r=o(84121);t.isViewObject=e=>!!(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&e.isView)},13859(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVoid=void 0,t.isVoid=e=>null==e},99562(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindow=void 0,t.isWindow=e=>null!=e&&e===e.window},76588(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorToHex=void 0,t.colorToHex=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";for(var o=parseInt(t[2],10),r=parseInt(t[3],10),i=(parseInt(t[4],10)|r<<8|o<<16).toString(16).toUpperCase();6>i.length;)i="0"+i;return t[1]+"#"+i}},50213(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(76588),t)},40360(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyStyles=void 0;var r=o(43887),i=o(73344),n=o(50106);function s(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,((e,t,o)=>{switch(o.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e}))}t.applyStyles=e=>{if(-1===e.indexOf("")+7);var t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);var o="";try{var a=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(a){a.open(),a.write(e),a.close();try{for(var l=e=>{for(var t=a.styleSheets[e].cssRules,o=e=>{if(""===t[e].selectorText)return"continue";(0,i.$$)(t[e].selectorText,a.body).forEach((o=>{o.style.cssText=s(t[e].style.cssText+";"+o.style.cssText)}))},r=0;t.length>r;r+=1)o(r)},c=0;a.styleSheets.length>c;c+=1)l(c)}catch(e){}r.Dom.each(a.body,(e=>{if(r.Dom.isElement(e)){var t=e,o=t.getAttribute("style");o&&(t.style.cssText=s(o)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}})),o=a.firstChild?(0,n.trim)(a.body.innerHTML):""}}catch(e){}finally{r.Dom.safeRemove(t)}return o&&(e=o),(0,n.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(//i);-1!==t&&(e=e.substring(t+20));var o=e.search(//i);return-1!==o&&(e=e.substring(0,o)),e})(o)),t.s.insertHTML(o)}},t.getAllTypes=e=>{var t=e.types,o="";if((0,i.isArray)(t)||"[object DOMStringList]"==={}.toString.call(t))for(var r=0;t.length>r;r+=1)o+=t[r]+";";else o=(t||s.TEXT_PLAIN)+";";return o},t.askInsertTypeDialog=(e,t,o,i,n)=>{if(!1!==e.e.fire("beforeOpenPasteDialog",t,o,i,n)){var s=e.confirm('
'.concat(e.i18n(t),"
"),e.i18n(o)),l=n.map((t=>{var o=t.text,r=t.value;return(0,a.Button)(e,{text:o,name:o.toLowerCase(),tabIndex:0}).onAction((()=>{s.close(),i(r)}))}));s.e.one(s,"afterClose",(()=>{e.s.isFocused()||e.s.focus()}));var c=(0,a.Button)(e,{text:"Cancel",tabIndex:0}).onAction((()=>{s.close()}));return s.setFooter(r.__spreadArray(r.__spreadArray([],r.__read(l),!1),[c],!1)),l[0].focus(),l[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",s,t,o,i,n),s}}},78053(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paste=void 0;var r=o(20255),i=o(73177),n=o(10063),s=o(43887),a=o(9901),l=o(92654),c=o(58299),d=o(23063);o(12814);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pasteStack=new l.LimitedStack(20),t._isDialogOpened=!1,t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(e=>t.pasteStack.push(e))),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)},t.prototype.beforeDestruct=function(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")},t.prototype.onPaste=function(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}},t.prototype.customPasteProcess=function(e){if(this.j.o.processPasteHTML){var t,o=(0,l.getDataTransfer)(e),r={html:null==o?void 0:o.getData(n.TEXT_HTML),plain:null==o?void 0:o.getData(n.TEXT_PLAIN),rtf:null==o?void 0:o.getData(n.TEXT_RTF)};for(t in r){var i=r[t];if((0,l.isHTML)(i)&&(this.j.e.fire("processHTML",e,i,r)||this.processHTML(e,i)))return!1}}},t.prototype.defaultPasteProcess=function(e){var t=(0,l.getDataTransfer)(e),o=(null==t?void 0:t.getData(n.TEXT_HTML))||(null==t?void 0:t.getData(n.TEXT_PLAIN));if(t&&o&&""!==(0,l.trim)(o)){var r=this.j.e.fire("processPaste",e,o,(0,d.getAllTypes)(t));void 0!==r&&(o=r),((0,l.isString)(o)||s.Dom.isNode(o))&&this.insertByType(e,o,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}},t.prototype.processHTML=function(e,t){var o=this;if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){var r=this.pasteStack.find((e=>e.html===t));if(r)return this.insertByType(e,t,r.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;var i=(0,d.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(r=>{o._isDialogOpened=!1,o.insertByType(e,t,r)}),this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",(()=>{o._isDialogOpened=!1}))),!0}return!1},t.prototype.insertByType=function(e,t,o){if(this.pasteStack.push({html:t,action:o}),(0,l.isString)(t))switch(this.j.buffer.set(n.CLIPBOARD_ID,t),o){case n.INSERT_CLEAR_HTML:t=(0,l.cleanFromWord)(t);break;case n.INSERT_ONLY_TEXT:t=(0,l.stripTags)(t);break;case n.INSERT_AS_TEXT:t=(0,l.htmlspecialchars)(t)}(0,d.pasteInsertHtml)(e,this.j,t)},t.prototype.onProcessPasteReplaceNl2Br=(e,t,o)=>{if(o===n.TEXT_PLAIN+";"&&!(0,l.isHTML)(t))return(0,l.nl2br)(t)},r.__decorate([a.autobind],t.prototype,"onPaste",null),r.__decorate([a.autobind],t.prototype,"onProcessPasteReplaceNl2Br",null),t}(i.Plugin);t.paste=u,c.pluginSystem.add("paste",u)},90566(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.showPlaceholder=!0,r.Config.prototype.placeholder="Type something",r.Config.prototype.useInputsPlaceholder=!0},82199(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholder=t.isEditorEmpty=void 0;var r=o(20255);o(51629);var i=o(10063),n=o(92654),s=o(94522),a=o(73177),l=o(10063),c=o(9901),d=o(36047),u=o(58299);function p(e){if(!e.firstChild)return!0;var t=e.firstChild;if(l.MAY_BE_REMOVED_WITH_KEY.test(t.nodeName)||/^(TABLE)$/i.test(t.nodeName))return!1;var o=s.Dom.next(t,(e=>e&&!s.Dom.isEmptyTextNode(e)),e);return s.Dom.isText(t)&&!o?s.Dom.isEmptyTextNode(t):!o&&s.Dom.each(t,(e=>!s.Dom.isTag(e,["ul","li","ol"])&&(s.Dom.isEmpty(e)||s.Dom.isTag(e,"br"))))}o(90566),t.isEditorEmpty=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.addNativeListeners=()=>{t.j.e.off(t.j.editor,"input.placeholder keydown.placeholder").on(t.j.editor,"input.placeholder keydown.placeholder",t.toggle)},t.addEvents=()=>{var e=t.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(t.placeholderElm.innerHTML=(0,n.attr)(e.element,"placeholder")||""),e.e.fire("placeholder",t.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",t.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",t.toggle).on(window,"load",t.toggle),t.addNativeListeners(),t.toggle()},t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML('")),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",(e=>{e?t.hide():t.toggle()})).on("changePlace",this.addEvents),this.addEvents())},t.prototype.show=function(){var e=this.j;if(!e.o.readonly){var t=0,o=0,r=e.s.current(),i=r&&s.Dom.closest(r,s.Dom.isBlock,e.editor)||e.editor,a=e.ew.getComputedStyle(i);e.workplace.appendChild(this.placeholderElm);var l=e.editor.firstChild;if(s.Dom.isElement(l)&&!d.Select.isMarker(l)){var c=e.ew.getComputedStyle(l);t=parseInt(c.getPropertyValue("margin-top"),10),o=parseInt(c.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(c.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=c.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(a.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=a.getPropertyValue("line-height");(0,n.css)(this.placeholderElm,{display:"block",textAlign:a.getPropertyValue("text-align"),marginTop:Math.max(parseInt(a.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(a.getPropertyValue("margin-left"),10),o)})}},t.prototype.hide=function(){s.Dom.safeRemove(this.placeholderElm)},t.prototype.toggle=function(){var e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===i.MODE_WYSIWYG&&p(e.editor)?this.show():this.hide())},t.prototype.beforeDestruct=function(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)},r.__decorate([(0,c.debounce)((e=>e.defaultTimeout/10),!0)],t.prototype,"toggle",null),t}(a.Plugin);t.placeholder=h,u.pluginSystem.add("placeholder",h)},16459(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poweredByJodit=void 0;var r=o(58299);function i(e){var t=e.o;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",(()=>{e.statusbar.append(e.create.fromHTML('\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t'),!0)}))}t.poweredByJodit=i,r.pluginSystem.add("poweredByJodit",i)},72802(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preview=void 0,o(54860);var r=o(27537),i=o(10063),n=o(79775),s=o(58299);function a(e){e.registerButton({name:"preview"}),e.registerCommand("preview",((t,o,r)=>{var i=e.dialog();i.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0),(0,n.previewBox)(e,r,"px",i.getElm("content"))}))}r.Config.prototype.controls.preview={icon:"eye",command:"preview",mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Preview"},t.preview=a,s.pluginSystem.add("preview",a)},28895(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCriticalCSS=void 0;var r=o(20255),i=o(42464);t.generateCriticalCSS=function(e){var t=(e,t)=>(void 0===t&&(t=e.ownerDocument.styleSheets),(0,i.toArray)(t).map((e=>{try{return(0,i.toArray)(e.cssRules)}catch(e){}return[]})).flat().filter((t=>{try{return!(!t||!e.matches(t.selectorText))}catch(e){}return!1}))),o=function(){function o(o,i,n){var s=this;this.css={};var a=n||{},l=t=>{var o=t.selectorText.split(",").map((e=>e.trim())).sort().join(",");0==!!s.css[o]&&(s.css[o]={});for(var i=t.style.cssText.split(/;(?![A-Za-z0-9])/),n=0;i.length>n;n++)if(i[n]){var a=i[n].split(":");a[0]=a[0].trim(),a[1]=a[1].trim(),s.css[o][a[0]]=a[1].replace(/var\(([^)]+)\)/g,((t,o)=>{var i=r.__read(o.split(","),2),n=i[0],s=i[1];return(e.ew.getComputedStyle(e.editor).getPropertyValue(n.trim())||s||t).trim()}))}};(()=>{for(var r=o.innerHeight,n=i.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,(()=>NodeFilter.FILTER_ACCEPT));n.nextNode();){var s=n.currentNode;if(r>s.getBoundingClientRect().top||a.scanFullPage){var c=t(s);if(c)for(var d=0;c.length>d;d++)l(c[d])}}})()}return o.prototype.generateCSS=function(){var e="";for(var t in this.css)if(!/:not\(/.test(t)){for(var o in e+=t+" { ",this.css[t])e+=o+": "+this.css[t][o]+"; ";e+="}\n"}return e},o}();try{return new o(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},16214(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=void 0;var r=o(27537),i=o(58299),n=o(94522),s=o(3588),a=o(10063),l=o(58299),c=o(76381),d=o(28895),u=o(79775);function p(e){e.registerButton({name:"print"})}c.Icon.set("print",o(22860)),r.Config.prototype.controls.print={exec(e){var t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,i.getContainer)(e,r.Config).appendChild(t);var o=()=>{e.e.off(e.ow,"mousemove",o),n.Dom.safeRemove(t)},a=t.contentWindow;if(a){e.e.on(a,"onbeforeunload onafterprint",o).on(e.ow,"mousemove",o),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",a.document,e),a.document.body.innerHTML=e.value):(a.document.write('"),a.document.close(),(0,u.previewBox)(e,void 0,"px",a.document.body));var l=a.document.createElement("style");l.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",a.document.head.appendChild(l),a.focus(),a.print()}},mode:a.MODE_SOURCE+a.MODE_WYSIWYG,tooltip:"Print"},t.print=p,l.pluginSystem.add("print",p)},68551(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redoUndo=void 0;var r=o(20255),i=o(27537),n=o(10063),s=o(73177),a=o(58299);o(76381).Icon.set("redo",o(95600)).set("undo",o(76214)),i.Config.prototype.controls.redo={mode:n.MODE_SPLIT,isDisabled:e=>!e.history.canRedo(),tooltip:"Redo"},i.Config.prototype.controls.undo={mode:n.MODE_SPLIT,isDisabled:e=>!e.history.canUndo(),tooltip:"Undo"};var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}],t}return r.__extends(t,e),t.prototype.beforeDestruct=()=>{},t.prototype.afterInit=e=>{var t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})},t}(s.Plugin);t.redoUndo=l,a.pluginSystem.add("redoUndo",l)},35477(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tableAllowCellResize=!0},1951(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeCells=void 0;var r=o(20255);o(47818);var i=o(10063),n=o(46701),s=o(92654),a=o(9901),l=o(43887),c=o(58299);o(35477);var d="table_processor_observer-resize",u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectMode=!1,t.resizeDelta=0,t.createResizeHandle=()=>{t.resizeHandler||(t.resizeHandler=t.j.c.div("jodit-table-resizer"),t.j.e.on(t.resizeHandler,"mousedown.table touchstart.table",t.onHandleMouseDown).on(t.resizeHandler,"mouseenter.table",(()=>{t.j.async.clearTimeout(t.hideTimeout)})))},t.hideTimeout=0,t.drag=!1,t.minX=0,t.maxX=0,t.startX=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRTL",{get(){return"rtl"===this.j.o.direction},enumerable:!1,configurable:!0}),t.prototype.showResizeHandle=function(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)},t.prototype.hideResizeHandle=function(){var e=this;this.hideTimeout=this.j.async.setTimeout((()=>{l.Dom.safeRemove(e.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})},t.prototype.onHandleMouseDown=function(e){var t=this;if(!this.j.isLocked){this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(d),this.resizeHandler.classList.add("jodit-table-resizer_moved");var o,r=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)r=this.workTable.parentNode.getBoundingClientRect(),this.minX=r.left,this.maxX=this.minX+r.width;else{var s=n.Table.formalCoordinate(this.workTable,this.workCell,!0);n.Table.formalMatrix(this.workTable,((e,r,n)=>{s[1]===n&&(o=e.getBoundingClientRect(),t.minX=Math.max(o.left+i.NEARBY/2,t.minX)),s[1]+(t.isRTL?-1:1)===n&&(o=e.getBoundingClientRect(),t.maxX=Math.min(o.left+o.width-i.NEARBY/2,t.maxX))}))}return!1}},t.prototype.onMouseMove=function(e){if(this.drag){this.j.e.fire("closeAllPopups");var t=e.clientX,o=(0,s.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?o.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:o.left)+"px";var r=this.j.s.sel;r&&r.removeAllRanges()}},t.prototype.onMouseUp=function(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())},t.prototype.resizeColumns=function(){var e=this.resizeDelta,t=[];n.Table.setColumnWidthByDelta(this.workTable,n.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);var o=(0,s.call)(this.isRTL?l.Dom.prev:l.Dom.next,this.workCell,l.Dom.isCell,this.workCell.parentNode);n.Table.setColumnWidthByDelta(this.workTable,n.Table.formalCoordinate(this.workTable,o)[1],-e,!1,t)},t.prototype.resizeTable=function(){var e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,o=(0,s.getContentWidth)(this.workTable.parentNode,this.j.ew),r=!this.wholeTable;if(this.isRTL?!r:r)this.workTable.style.width=(t+e)/o*100+"%";else{var i=this.isRTL?"marginRight":"marginLeft",n=parseInt(this.j.ew.getComputedStyle(this.workTable)[i]||"0",10);this.workTable.style.width=(t-e)/o*100+"%",this.workTable.style[i]=(n+e)/o*100+"%"}},t.prototype.setWorkCell=function(e,t){void 0===t&&(t=null),this.wholeTable=t,this.workCell=e,this.workTable=l.Dom.up(e,(e=>l.Dom.isTag(e,"table")),this.j.editor)},t.prototype.calcHandlePosition=function(e,t,o,r){void 0===o&&(o=0),void 0===r&&(r=0);var n=(0,s.offset)(t,this.j,this.j.ed);if(o>i.NEARBY&&n.width-i.NEARBY>o)this.hideResizeHandle();else{var a=(0,s.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,s.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(o>i.NEARBY?n.left+n.width:n.left)-a.left+r+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-a.top+"px"}),this.showResizeHandle(),o>i.NEARBY){var d=(0,s.call)(this.isRTL?l.Dom.prev:l.Dom.next,t,l.Dom.isCell,t.parentNode);this.setWorkCell(t,!!d&&null)}else{var u=(0,s.call)(this.isRTL?l.Dom.next:l.Dom.prev,t,l.Dom.isCell,t.parentNode);this.setWorkCell(u||t,!u||null)}}},t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(()=>{(0,s.$$)("table",e.editor).forEach(t.observe)})).on(this.j.ow,"scroll.resize-cells",(()=>{if(t.drag){var o=l.Dom.up(t.workCell,(e=>l.Dom.isTag(e,"table")),e.editor);if(o){var r=o.getBoundingClientRect();t.resizeHandler.style.top=r.top+"px"}}})).on("beforeSetMode.resize-cells",(()=>{t.module.getAllSelectedCells().forEach((o=>{t.module.removeSelection(o),n.Table.normalizeTable(l.Dom.closest(o,"table",e.editor))}))}))},t.prototype.observe=function(e){var t=this;(0,s.dataBind)(e,d)||((0,s.dataBind)(e,d,!0),this.j.e.on(e,"mouseleave.resize-cells",(e=>{t.resizeHandler&&t.resizeHandler!==e.relatedTarget&&t.hideResizeHandle()})).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((o=>{if(!t.j.isLocked){var r=l.Dom.up(o.target,l.Dom.isCell,e);r&&t.calcHandlePosition(e,r,o.offsetX)}}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())},t.prototype.beforeDestruct=function(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))},r.__decorate([a.autobind],t.prototype,"onHandleMouseDown",null),r.__decorate([a.autobind],t.prototype,"onMouseMove",null),r.__decorate([a.autobind],t.prototype,"onMouseUp",null),r.__decorate([a.autobind],t.prototype,"observe",null),t}(n.Plugin);t.resizeCells=u,c.pluginSystem.add("resizeCells",u)},60991(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.allowResizeX=!1,r.Config.prototype.allowResizeY=!0},67757(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandler=void 0;var r=o(20255),i=o(35570),n=o(94522),s=o(9901),a=o(14153),l=o(58299);o(60991);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isResized=!1,t.start={x:0,y:0,w:0,h:0},t.handle=t.j.c.div("jodit-editor__resize",a.Icon.get("resize_handler")),t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this,o=e.o,r=o.height,i=o.width,n=e.o.allowResizeY;"auto"===r&&"auto"!==i&&(n=!1),"auto"===r&&"auto"===i||!o.allowResizeX&&!n||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",(()=>{t.handle.style.display=e.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))},t.prototype.onHandleResizeStart=function(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()},t.prototype.onHandleResize=function(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))},t.prototype.onHandleResizeEnd=function(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())},t.prototype.beforeDestruct=function(){n.Dom.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)},t.requires=["size"],r.__decorate([s.autobind],t)}(i.Plugin);t.resizeHandler=c,l.pluginSystem.add("resizeHandler",c)},43087(e,t,o){"use strict";var r=o(27537);r.Config.prototype.allowResizeTags=["img","iframe","table","jodit"],r.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:["img"]}},35196(e,t,o){"use strict";o.r(t),o.d(t,{resizer:()=>u});var r=o(20255),i=o(10063),n=o(43887),s=o(92654),a=o(73177),l=o(58299),c=o(9901);o(43087);const d="__jodit-resizer_binded";class u extends a.Plugin{constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t100x100\n\t\t\t
`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=e=>{this.isResizeMode||this.element===e&&this.isShown||(this.element=e,this.show(),n.Dom.isTag(this.element,"img")&&!this.element.complete&&this.j.e.one(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const e=this.getWorkplacePosition(),t=(0,s.offset)(this.element,this.j,this.j.ed),o=parseInt(this.rect.style.left||"0",10),r=this.rect.offsetWidth,i=this.rect.offsetHeight,n=t.top-e.top,a=t.left-e.left;parseInt(this.rect.style.top||"0",10)===n&&o===a&&r===this.element.offsetWidth&&i===this.element.offsetHeight||((0,s.css)(this.rect,{top:n,left:a,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(o)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}afterInit(e){(0,s.$$)("div",this.rect).forEach((t=>{e.e.on(t,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,t))})),l.eventEmitter.on("hideHelpers",this.hide),e.e.on("readonly",(e=>{e&&this.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(e=>{const t=/]+data-jodit_iframe_wrapper[^>]+>(.*?]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()}onEditorClick(e){let t=e.target;const{editor:o,options:{allowResizeTags:r}}=this.j;for(;t&&t!==o;){if(n.Dom.isTag(t,r))return this.bind(t),void this.onClickElement(t);t=t.parentNode}}addEventListeners(){const e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",(e=>{this.isShown&&e.key===i.KEY_DELETE&&this.element&&!n.Dom.isTag(this.element,"table")&&this.onDelete(e)})).on(e.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([e.ow,e.editor],"scroll.resizer",(()=>{this.isShown&&!this.isResizeMode&&this.hide()})).on(e.ow,"keydown.resizer",this.onKeyDown).on(e.ow,"keyup.resizer",this.onKeyUp).on(e.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;const{j:o}=this;o.e.fire("hidePopup"),o.lock(this.LOCK_KEY),o.e.on(o.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){const{j:e}=this;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(e){if(this.isResizeMode){if(!this.element)return;let t,o;if(this.pointerX=e.clientX,this.pointerY=e.clientY,this.j.options.iframe){const r=this.getWorkplacePosition();t=e.clientX+r.left-this.startX,o=e.clientY+r.top-this.startY}else t=this.pointerX-this.startX,o=this.pointerY-this.startY;const r=this.handle.className;let i=0,a=0;const l=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===l||Array.isArray(l)&&n.Dom.isTag(this.element,l))?(t?(i=this.width+(r.match(/left/)?-1:1)*t,a=Math.round(i/this.ratio)):(a=this.height+(r.match(/top/)?-1:1)*o,i=Math.round(a*this.ratio)),i>(0,s.innerWidth)(this.j.editor,this.j.ow)&&(i=(0,s.innerWidth)(this.j.editor,this.j.ow),a=Math.round(i/this.ratio))):(i=this.width+(r.match(/left/)?-1:1)*t,a=this.height+(r.match(/top/)?-1:1)*o),i>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>i?i:"100%"),a>this.j.o.resizer.min_height&&this.applySize(this.element,"height",a),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}}onKeyDown(e){this.isAltMode=e.key===i.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,s.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(e,t,o){const r=n.Dom.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,s.attr)(e,t,o),r&&!e.style[t]||(0,s.css)(e,t,o)}onDelete(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(n.Dom.safeRemove(this.element),this.hide(),e.preventDefault()))}onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,s.$$)("iframe",this.j.editor).forEach(this.bind)}bind(e){if(!n.Dom.isHTMLElement(e)||!this.j.o.allowResizeTags.includes(e.tagName.toLowerCase())||(0,s.dataBind)(e,d))return;let t;if((0,s.dataBind)(e,d,!0),n.Dom.isTag(e,"iframe")){const o=e;n.Dom.isHTMLElement(e.parentNode)&&(0,s.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(t=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,s.attr)(t,"style",(0,s.attr)(e,"style")),(0,s.css)(t,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),this.j.e.on(t,"click",(()=>{(0,s.attr)(t,"data-jodit-wrapper_active",!0)})),e=t),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",(()=>{this.j.s.select(e)})).off(e,"changesize").on(e,"changesize",(()=>{o.setAttribute("width",e.offsetWidth+"px"),o.setAttribute("height",e.offsetHeight+"px")}))}this.j.e.on(e,"dragstart",this.hide)}showSizeViewer(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${e} x ${t}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,s.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=""+(0,s.css)(this.j.container,"zIndex")),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,n.Dom.safeRemove(this.rect),(0,s.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((e=>(0,s.attr)(e,"data-jodit-wrapper_active",!1))))}beforeDestruct(e){this.hide(),l.eventEmitter.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}}(0,r.__decorate)([(0,c.watch)(":click")],u.prototype,"onEditorClick",null),(0,r.__decorate)([c.autobind],u.prototype,"onStartResizing",null),(0,r.__decorate)([c.autobind],u.prototype,"onEndResizing",null),(0,r.__decorate)([c.autobind],u.prototype,"onResize",null),(0,r.__decorate)([c.autobind],u.prototype,"onKeyDown",null),(0,r.__decorate)([c.autobind],u.prototype,"onKeyUp",null),(0,r.__decorate)([c.autobind],u.prototype,"onClickOutside",null),(0,r.__decorate)([(0,c.debounce)()],u.prototype,"onChangeEditor",null),(0,r.__decorate)([c.autobind],u.prototype,"bind",null),(0,r.__decorate)([c.autobind],u.prototype,"hide",null),l.pluginSystem.add("resizer",u)},65623(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.useSearch=!0,r.Config.prototype.search={lazyIdleTimeout:0},i.Icon.set("search",o(41197)),r.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec(e,t,o){var r=o.control;switch(r.args&&r.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(e,t,o)=>o}},81023(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(52400),t),r.__exportStar(o(21959),t)},52400(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SentenceFinder=void 0;var r=o(20255),i=o(9470),n=function(){function e(e){void 0===e&&(e=i.fuzzySearchIndex),this.searchIndex=e,this.queue=[],this.value=""}return e.prototype.add=function(e){var t,o=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(o.length){var r=this.value.length;this.queue.push({startIndex:r,endIndex:r+o.length,node:e}),this.value+=o}},e.prototype.ranges=function(e,t){var o;void 0===t&&(t=0);var i=[],n=t,s=0,a=0;do{if(s=(o=r.__read(this.searchIndex(e,this.value,n),2))[1],-1!==(n=o[0])){for(var l=void 0,c=0,d=void 0,u=0,p=a;this.queue.length>p;p+=1)if(!l&&this.queue[p].endIndex>n&&(l=this.queue[p].node,c=n-this.queue[p].startIndex),l&&this.queue[p].endIndex>=n+s){d=this.queue[p].node,u=n+s-this.queue[p].startIndex,a=p;break}l&&d&&i.push({startContainer:l,startOffset:c,endContainer:d,endOffset:u}),n+=s}}while(-1!==n);return 0===i.length?null:i},e}();t.SentenceFinder=n},21959(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSelectionWrapper=t.clearSelectionWrappersFromHTML=t.clearSelectionWrappers=t.getSelectionWrappers=t.wrapRangesTextsInTmpSpan=void 0;var r=o(20255),i=o(94522),n=o(78191),s="jd-tmp-selection";function a(e){return(0,n.$$)("[jd-tmp-selection]",e)}function l(e){return i.Dom.isElement(e)&&e.hasAttribute(s)}t.wrapRangesTextsInTmpSpan=(e,t,o,n)=>{var a,c,d;if(null!=e.startContainer.nodeValue&&null!=e.endContainer.nodeValue){var u=o.element("span",((a={})[s]=!0,a)),p=e.startContainer.nodeValue,h=0;if(0!==e.startOffset){var f=o.text(p.substring(0,e.startOffset));e.startContainer.nodeValue=p.substring(e.startOffset),i.Dom.before(e.startContainer,f),e.startContainer===e.endContainer&&(e.endOffset-=h=e.startOffset),e.startOffset=0}var m=e.endContainer.nodeValue;if(e.endOffset!==m.length){f=o.text(m.substring(e.endOffset)),e.endContainer.nodeValue=m.substring(0,e.endOffset),i.Dom.after(e.endContainer,f);try{for(var v=r.__values(t),g=v.next();!g.done;g=v.next()){var y=g.value;if(y.startContainer!==e.endContainer)break;y.startContainer=f,y.startOffset=y.startOffset-e.endOffset-h,y.endContainer===e.endContainer&&(y.endContainer=f,y.endOffset=y.endOffset-e.endOffset-h)}}catch(e){c={error:e}}finally{try{g&&!g.done&&(d=v.return)&&d.call(v)}finally{if(c)throw c.error}}e.endOffset=e.endContainer.nodeValue.length}var _=e.startContainer;do{if(!_)break;if(i.Dom.isText(_)&&!l(_.parentNode)&&i.Dom.wrap(_,u.cloneNode(),o),_===e.endContainer)break;var b=_.firstChild||_.nextSibling;if(!b){for(;_&&!_.nextSibling&&_!==n;)_=_.parentNode;b=null==_?void 0:_.nextSibling}_=b}while(_&&_!==n)}},t.getSelectionWrappers=a,t.clearSelectionWrappers=e=>{a(e).forEach((e=>i.Dom.unwrap(e)))},t.clearSelectionWrappersFromHTML=e=>e.replace(RegExp("]+jd-tmp-selection[^>]+>(.*?)","g"),"$1"),t.isSelectionWrapper=l},93825(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.search=void 0;var r=o(20255),i=o(94522),n=o(35570),s=o(9901),a=o(21292),l=o(92654),c=o(58299),d=o(81023);o(65623);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"find",group:"search"}],t.previousQuery="",t.drawPromise=null,t.walker=null,t.walkerCount=null,t.cache={},t.wrapFrameRequest=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"ui",{get(){return new a.UISearch(this.j)},enumerable:!1,configurable:!0}),t.prototype.updateCounters=function(){return r.__awaiter(this,void 0,Promise,(function(){var e;return r.__generator(this,(function(t){switch(t.label){case 0:return this.ui.isOpened?(e=this.ui,[4,this.calcCounts(this.ui.query)]):[2];case 1:return e.count=t.sent(),[2]}}))}))},t.prototype.onPressReplaceButton=function(){this.findAndReplace(this.ui.query),this.updateCounters()},t.prototype.tryScrollToElement=function(e){var t=i.Dom.closest(e,i.Dom.isElement,this.j.editor);t||(t=i.Dom.prev(e,i.Dom.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,l.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)},t.prototype.calcCounts=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return this.walkerCount&&this.walkerCount.break(),this.walkerCount=new i.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),[4,this.find(this.walkerCount,e).catch((()=>[]))];case 1:return[2,t.sent().length]}}))}))},t.prototype.findAndReplace=function(e){return r.__awaiter(this,void 0,Promise,(function(){var t,o,n,s,a,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new i.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),t=this.j.s.range,[4,this.find(this.walker,e).catch((()=>[]))];case 1:if(o=r.sent(),-1===(n=this.findCurrentIndexInRanges(o,t))&&(n=0),s=o[n]){try{(a=this.j.ed.createRange()).setStart(s.startContainer,s.startOffset),a.setEnd(s.endContainer,s.endOffset),a.deleteContents(),l=this.j.createInside.text(this.ui.replace),i.Dom.safeInsertNode(a,l),this.j.s.select(l),this.tryScrollToElement(l),this.cache={},this.j.synchronizeValues()}catch(e){}return this.j.e.fire("afterFindAndReplace"),[2,!0]}return[2,!1]}}))}))},t.prototype.findAndSelect=function(e,t){var o;return r.__awaiter(this,void 0,Promise,(function(){var n,s,a,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new i.LazyWalker(this.j.async,{timeout:this.j.defaultTimeout}),[4,this.find(this.walker,e)];case 1:if(!(n=r.sent()).length)return[2,!1];if(this.previousQuery===e&&(0,d.getSelectionWrappers)(this.j.editor).length||(null===(o=this.drawPromise)||void 0===o||o.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,d.clearSelectionWrappers)(this.j.editor),this.drawPromise=this.drawSelectionRanges(n)),this.previousQuery=e,this.ui.currentIndex=(s=-1==(s=this.ui.currentIndex-1)?0:t?s===n.length-1?0:s+1:0===s?n.length-1:s-1)+1,!(a=n[s]))return[3,4];l=this.j.ed.createRange();try{l.setStart(a.startContainer,a.startOffset),l.setEnd(a.endContainer,a.endOffset),this.j.s.selectRange(l)}catch(e){}return this.tryScrollToElement(a.startContainer),[4,this.updateCounters()];case 2:return r.sent(),[4,this.drawPromise];case 3:return r.sent(),this.j.e.fire("afterFindAndSelect"),[2,!0];case 4:return[2,!1]}}))}))},t.prototype.findCurrentIndexInRanges=(e,t)=>e.findIndex((e=>e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset)),t.prototype.isValidCache=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(t=>{switch(t.label){case 0:return[4,e];case 1:return[2,t.sent().every((e=>{var t,o,r,i;return e.startContainer.isConnected&&e.startOffset<=(null!==(o=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==o?o:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(i=null===(r=e.endContainer.nodeValue)||void 0===r?void 0:r.length)&&void 0!==i?i:0)}))]}}))}))},t.prototype.find=function(e,t){return r.__awaiter(this,void 0,Promise,(function(){var o,n,s,a=this;return r.__generator(this,(function(r){switch(r.label){case 0:return t.length?(n=o=this.cache[t])?[4,this.isValidCache(o)]:[3,2]:[2,[]];case 1:n=r.sent(),r.label=2;case 2:return n?[2,o]:(s=new d.SentenceFinder(this.j.o.search.fuzzySearch),this.cache[t]=this.j.async.promise((o=>{e.on("break",(()=>{o([])})).on("visit",(e=>(i.Dom.isText(e)&&s.add(e),!1))).on("end",(()=>{var e;o(null!==(e=s.ranges(t))&&void 0!==e?e:[])})).setWork(a.j.editor)})),[2,this.cache[t]])}}))}))},t.prototype.drawSelectionRanges=function(e){var t=this,o=this.j,i=o.async,n=o.createInside,s=o.editor;i.cancelAnimationFrame(this.wrapFrameRequest);var a,l=r.__spreadArray([],r.__read(e),!1),c=0;return i.promise((e=>{var o=()=>{do{(a=l.shift())&&(0,d.wrapRangesTextsInTmpSpan)(a,l,n,s),c+=1}while(a&&5>=c);l.length?t.wrapFrameRequest=i.requestAnimationFrame(o):e()};o()}))},t.prototype.onAfterGetValueFromEditor=e=>{e.value=(0,d.clearSelectionWrappersFromHTML)(e.value)},t.prototype.afterInit=function(e){var t=this;if(e.o.useSearch){var o=this;e.e.on("beforeSetMode.search",(()=>{t.ui.close()})).on(this.ui,"afterClose",(()=>{(0,d.clearSelectionWrappers)(e.editor),t.ui.currentIndex=0,t.ui.count=0,t.cache={}})).on("click",(()=>{t.ui.currentIndex=0,(0,d.clearSelectionWrappers)(e.editor)})).on("change.search",(()=>{t.cache={}})).on("keydown.search mousedown.search",e.async.debounce((()=>{t.ui.selInfo&&(e.s.removeMarkers(),t.ui.selInfo=null),t.ui.isOpened&&t.updateCounters()}),e.defaultTimeout)).on("searchNext.search searchPrevious.search",(()=>(t.ui.isOpened||t.ui.open(),o.findAndSelect(o.ui.query,"searchNext"===e.e.current).catch((()=>{}))))).on("search.search",((e,r)=>(void 0===r&&(r=!0),t.ui.currentIndex=0,o.findAndSelect(e||"",r).catch((()=>{}))))),e.registerCommand("search",{exec:(e,t,r)=>(void 0===r&&(r=!0),t&&o.findAndSelect(t,r).catch((()=>{})),!1)}).registerCommand("openSearchDialog",{exec:()=>(o.ui.open(),!1),hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:()=>(e.o.readonly||o.ui.open(!0),!1),hotkeys:["ctrl+h","cmd+h"]})}},t.prototype.beforeDestruct=function(e){this.ui.destruct(),e.e.off(".search")},r.__decorate([s.cache],t.prototype,"ui",null),r.__decorate([(0,s.watch)("ui:needUpdateCounters")],t.prototype,"updateCounters",null),r.__decorate([(0,s.watch)("ui:pressReplaceButton")],t.prototype,"onPressReplaceButton",null),r.__decorate([s.autobind],t.prototype,"findAndReplace",null),r.__decorate([s.autobind],t.prototype,"findAndSelect",null),r.__decorate([s.autobind],t.prototype,"find",null),r.__decorate([(0,s.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),t}(n.Plugin);t.search=u,c.pluginSystem.add("search",u)},21292(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISearch=void 0;var r=o(20255);o(88582);var i=o(14153),n=o(92654),s=o(10063),a=o(10063),l=o(9901),c=o(94522),d=function(e){function t(t){var o=e.call(this,t)||this;o.selInfo=null,o._currentIndex=0,o.isOpened=!1;var r=(0,n.refs)(o.container),i=r.replace,s=r.cancel,l=r.next,c=r.prev,d=r.replaceBtn,u=r.current,p=r.count;return o.queryInput=r.query,o.replaceInput=i,o.closeButton=s,o.replaceButton=d,o.currentBox=u,o.countBox=p,t.e.on(o.closeButton,"pointerdown",(()=>(o.close(),!1))).on(o.queryInput,"input",(()=>{o.currentIndex=0})).on(o.queryInput,"pointerdown",(()=>{t.s.isFocused()&&(t.s.removeMarkers(),o.selInfo=t.s.save())})).on(o.replaceButton,"pointerdown",(()=>(t.e.fire(o,"pressReplaceButton"),!1))).on(l,"pointerdown",(()=>(t.e.fire("searchNext"),!1))).on(c,"pointerdown",(()=>(t.e.fire("searchPrevious"),!1))).on(o.queryInput,"input",(()=>{o.setMod("empty-query",!(0,n.trim)(o.queryInput.value).length)})).on(o.queryInput,"keydown",o.j.async.debounce((e=>{e.key===a.KEY_ENTER?(e.preventDefault(),e.stopImmediatePropagation(),t.e.fire("searchNext")&&o.close()):t.e.fire(o,"needUpdateCounters")}),o.j.defaultTimeout)),o}return r.__extends(t,e),t.prototype.className=()=>"UISearch",t.prototype.render=()=>'
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t0/0\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
'),Object.defineProperty(t.prototype,"currentIndex",{get(){return this._currentIndex},set(e){this._currentIndex=e,this.currentBox.innerText=""+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{set(e){this.countBox.innerText=""+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"query",{get(){return this.queryInput.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"replace",{get(){return this.replaceInput.value},enumerable:!1,configurable:!0}),t.prototype.onEditorKeyDown=function(e){if(this.isOpened){var t=this.j;if(t.getRealMode()===s.MODE_WYSIWYG)switch(e.key){case a.KEY_ESC:this.close();break;case a.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}},t.prototype.open=function(e){void 0===e&&(e=!1),this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",e);var t=""+(this.j.s.sel||"");t&&(this.queryInput.value=t),this.setMod("empty-query",!t.length),this.j.e.fire(this,"needUpdateCounters"),t?this.queryInput.select():this.queryInput.focus()},t.prototype.close=function(){this.isOpened&&(this.j.s.restore(),c.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))},t.prototype.calcSticky=function(e){if(this.isOpened)if(this.setMod("sticky",e),e){var t=(0,n.position)(this.j.toolbarContainer);(0,n.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,n.css)(this.container,{top:null,left:null})},r.__decorate([(0,l.watch)([":keydown","queryInput:keydown"])],t.prototype,"onEditorKeyDown",null),r.__decorate([l.autobind],t.prototype,"open",null),r.__decorate([l.autobind],t.prototype,"close",null),r.__decorate([(0,l.watch)(":toggleSticky")],t.prototype,"calcSticky",null),r.__decorate([l.component],t)}(i.UIElement);t.UISearch=d},62388(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tableAllowCellSelection=!0},95571(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectCells=void 0;var r=o(20255),i=o(35570),n=o(46701),s=o(43887),a=o(92654),l=o(10063),c=o(9901),d=o(58299);o(62388);var u="table_processor_observer",p="onMoveTableSelectCell",h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["select"],t.selectedCell=null,t.isSelectionMode=!1,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",(e=>{e.key===l.KEY_TAB&&t.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((e=>e+".select-cells")).join(" "),this.onStartSelection).on("clickTr clickTbody",(()=>{var e,o=t.module.getAllSelectedCells().length;if(o)return o>1&&(null===(e=t.j.s.sel)||void 0===e||e.removeAllRanges()),!1}))},t.prototype.onStartSelection=function(e){if(!this.j.o.readonly&&(this.unselectCells(),e!==this.j.editor)){var t=s.Dom.closest(e,"table",this.j.editor);if(e&&t)return e.firstChild||e.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=e,this.module.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,t),{label:p,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,t)),!1}},t.prototype.onOutsideClick=function(){this.selectedCell=null,this.onRemoveSelection()},t.prototype.onChange=function(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()},t.prototype.onMove=function(e,t){var o,r=this;if((!this.j.o.readonly||this.j.isLocked)&&!this.j.isLockedNotBy(u)){var i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(i){var a=s.Dom.closest(i,["td","th"],e);if(a&&this.selectedCell){a!==this.selectedCell&&this.j.lock(u),this.unselectCells();for(var l=n.Table.getSelectedBound(e,[a,this.selectedCell]),c=n.Table.formalMatrix(e),d=l[0][0];l[1][0]>=d;d+=1)for(var p=l[0][1];l[1][1]>=p;p+=1)this.module.addSelection(c[d][p]);var h;this.module.getAllSelectedCells().length>1&&(null===(o=this.j.s.sel)||void 0===o||o.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),h=r.j.createInside.fromHTML('
 
'),a.appendChild(h),r.j.async.setTimeout((()=>{var e;null===(e=h.parentNode)||void 0===e||e.removeChild(h)}),r.j.defaultTimeout/5)}}}},t.prototype.onRemoveSelection=function(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null},t.prototype.onStopSelection=function(e,t){var o=this;if(this.selectedCell){this.isSelectionMode=!1,this.j.unlock();var r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(r){var i=s.Dom.closest(r,["td","th"],e);if(i){var l=s.Dom.closest(i,"table",e);if(!l||l===e){var c=n.Table.getSelectedBound(e,[i,this.selectedCell]),d=n.Table.formalMatrix(e),u=d[c[1][0]][c[1][1]],h=d[c[0][0]][c[0][1]];this.j.e.fire("showPopup",e,(()=>{var e=(0,a.position)(h,o.j),t=(0,a.position)(u,o.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),"cells"),(0,a.$$)("table",this.j.editor).forEach((e=>{o.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(p)}}}}},t.prototype.unselectCells=function(e){var t=this.module,o=t.getAllSelectedCells();o.length&&o.forEach((o=>{e&&e===o||t.removeSelection(o)}))},t.prototype.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var t=this.module.getAllSelectedCells();if(t.length){var o=r.__read(t,1)[0];if(!o)return;var i=s.Dom.closest(o,"table",this.j.editor);if(!i)return;switch(e){case"splitv":n.Table.splitVertical(i,this.j);break;case"splitg":n.Table.splitHorizontal(i,this.j);break;case"merge":n.Table.mergeSelected(i,this.j);break;case"empty":t.forEach((e=>s.Dom.detach(e)));break;case"bin":s.Dom.safeRemove(i);break;case"binrow":new Set(t.map((e=>e.parentNode))).forEach((e=>{n.Table.removeRow(i,e.rowIndex)}));break;case"bincolumn":var a=new Set;t.reduce(((e,t)=>(a.has(t.cellIndex)||(e.push(t),a.add(t.cellIndex)),e)),[]).forEach((e=>{n.Table.removeColumn(i,e.cellIndex)}));break;case"addcolumnafter":case"addcolumnbefore":n.Table.appendColumn(i,o.cellIndex,"addcolumnafter"===e,this.j.createInside);break;case"addrowafter":case"addrowbefore":n.Table.appendRow(i,o.parentNode,"addrowafter"===e,this.j.createInside)}}return!1}},t.prototype.onAfterCommand=function(e){/^justify/.test(e)&&this.module.getAllSelectedCells().forEach((t=>(0,a.alignElement)(e,t)))},t.prototype.beforeDestruct=function(e){this.onRemoveSelection(),e.e.off(".select-cells")},r.__decorate([c.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,c.watch)(":outsideClick")],t.prototype,"onOutsideClick",null),r.__decorate([(0,c.watch)(":change")],t.prototype,"onChange",null),r.__decorate([c.autobind],t.prototype,"onRemoveSelection",null),r.__decorate([c.autobind],t.prototype,"onStopSelection",null),r.__decorate([c.autobind],t.prototype,"onExecCommand",null),r.__decorate([c.autobind],t.prototype,"onAfterCommand",null),t}(i.Plugin);t.selectCells=h,d.pluginSystem.add("selectCells",h)},83128(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1}},68396(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.select=void 0;var r=o(20255),i=o(35570),n=o(9901),s=o(23912),a=o(43887),l=o(14153),c=o(58299);o(83128);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"],t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;this.proxyEventsList.forEach((o=>{e.e.on(o+".select",t.onStartSelection)}))},t.prototype.beforeDestruct=function(e){var t=this;this.proxyEventsList.forEach((o=>{e.e.on(o+".select",t.onStartSelection)}))},t.prototype.onStartSelection=function(e){for(var t,o=this.j,r=e.target;void 0===t&&r&&r!==o.editor;)t=o.e.fire((0,s.camelCase)(e.type+"_"+r.nodeName.toLowerCase()),r,e),r=r.parentElement;"click"===e.type&&void 0===t&&r===o.editor&&o.e.fire(e.type+"Editor",r,e)},t.prototype.onOutsideClick=function(e){var t=this,o=e.target;a.Dom.up(o,(e=>e===t.j.editor))||l.UIElement.closestElement(o,l.Popup)||this.j.e.fire("outsideClick",e)},t.prototype.beforeCommandCut=function(e){var t=this.j.s;if("cut"===e&&!t.isCollapsed()){var o=t.current();o&&a.Dom.isOrContains(this.j.editor,o)&&this.onCopyNormalizeSelectionBound()}},t.prototype.onCopyNormalizeSelectionBound=function(e){var t=this.j,o=t.editor;t.o.select.normalizeSelectionBeforeCutAndCopy&&!t.s.isCollapsed()&&(!e||e.isTrusted&&a.Dom.isNode(e.target)&&a.Dom.isOrContains(o,e.target))&&this.jodit.s.expandSelection()},r.__decorate([n.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,n.watch)("ow:click")],t.prototype,"onOutsideClick",null),r.__decorate([(0,n.watch)([":beforeCommand"])],t.prototype,"beforeCommandCut",null),r.__decorate([(0,n.watch)([":copy",":cut"])],t.prototype,"onCopyNormalizeSelectionBound",null),t}(i.Plugin);t.select=d,c.pluginSystem.add("select",d)},73893(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.minWidth=200,r.Config.prototype.maxWidth="100%",r.Config.prototype.minHeight=200,r.Config.prototype.maxHeight="auto",r.Config.prototype.saveHeightInStorage=!1},41014(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.size=void 0;var r=o(20255);o(30962);var i=o(92654),n=o(73177),s=o(9901),a=o(58299);o(73893);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizeWorkspaces=t.j.async.debounce(t.resizeWorkspaceImd,t.j.defaultTimeout,!0),t}return r.__extends(t,e),t.prototype.afterInit=function(e){e.e.on("setHeight.size",this.setHeight).on("setWidth.size",this.setWidth).on("afterInit.size changePlace.size",this.initialize,{top:!0}).on(e.ow,"load.size",this.resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.resizeWorkspaceImd),this.initialize()},t.prototype.initialize=function(){var e=this.j;if(!e.o.inline){var t=e.o.height;if(e.o.saveHeightInStorage&&"auto"!==t){var o=e.storage.get("height");o&&(t=o)}(0,i.css)(e.editor,{minHeight:"100%"}),(0,i.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),this.setHeight(t),this.setWidth(e.o.width)}},t.prototype.setHeight=function(e){if((0,i.isNumber)(e)){var t=this.j.o,o=t.minHeight,r=t.maxHeight;(0,i.isNumber)(o)&&o>e&&(e=o),(0,i.isNumber)(r)&&e>r&&(e=r)}(0,i.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.resizeWorkspaceImd()},t.prototype.setWidth=function(e){if((0,i.isNumber)(e)){var t=this.j.o,o=t.minWidth,r=t.maxWidth;(0,i.isNumber)(o)&&o>e&&(e=o),(0,i.isNumber)(r)&&e>r&&(e=r)}(0,i.css)(this.j.container,"width",e),this.resizeWorkspaceImd()},t.prototype.getNotWorkHeight=function(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2},t.prototype.resizeWorkspaceImd=function(){if(this.j&&!this.j.isDestructed&&this.j.o&&!this.j.o.inline&&this.j.container&&this.j.container.parentNode){var e=((0,i.css)(this.j.container,"minHeight")||0)-this.getNotWorkHeight();if((0,i.isNumber)(e)&&e>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,i.css)(t,"minHeight",e)})),this.j.e.fire("setMinHeight",e)),(0,i.isNumber)(this.j.o.maxHeight)){var t=this.j.o.maxHeight-this.getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((e=>{e&&(0,i.css)(e,"maxHeight",t)})),this.j.e.fire("setMaxHeight",t)}this.j.container&&(0,i.css)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.getNotWorkHeight():"auto")}},t.prototype.beforeDestruct=function(e){e.e.off(e.ow,"load.size",this.resizeWorkspaces).off(".size")},r.__decorate([s.autobind],t.prototype,"resizeWorkspaceImd",null),r.__decorate([s.autobind],t)}(n.Plugin);t.size=l,a.pluginSystem.add("size",l)},24090(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(10063),n=o(76381);r.Config.prototype.beautifyHTML=!i.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],n.Icon.set("source",o(9342)),r.Config.prototype.controls.source={mode:i.MODE_SPLIT,exec(e){e.toggleMode()},isActive:e=>e.getRealMode()===i.MODE_SOURCE,tooltip:"Change mode"}},97969(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AceEditor=void 0;var r=o(20255),i=o(10063),n=o(92654),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.className="jodit_ace_editor",t.proxyOnBlur=e=>{t.j.e.fire("blur",e)},t.proxyOnFocus=e=>{t.j.e.fire("focus",e)},t.proxyOnMouseDown=e=>{t.j.e.fire("mousedown",e)},t}return r.__extends(t,e),t.prototype.aceExists=function(){return void 0!==this.j.ow.ace},t.prototype.getLastColumnIndex=function(e){return this.instance.session.getLine(e).length},t.prototype.getLastColumnIndices=function(){for(var e=this.instance.session.getLength(),t=[],o=0,r=0;e>r;r++)o+=this.getLastColumnIndex(r),r>0&&(o+=1),t[r]=o;return t},t.prototype.getRowColumnIndices=function(e){var t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};for(var o=1,r=1;t.length>r;r++)e>t[r]&&(o=r+1);return{row:o,column:e-t[o-1]-1}},t.prototype.setSelectionRangeIndices=function(e,t){var o=this.getRowColumnIndices(e),r=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:o,end:r})},t.prototype.getIndexByRowColumn=function(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t},t.prototype.init=function(e){var t=this,o=()=>{if(void 0===t.instance&&t.aceExists()){var o=t.j.c.div("jodit-source__mirror-fake");t.container.appendChild(o),t.instance=e.ow.ace.edit(o),t.instance.setTheme(e.o.sourceEditorNativeOptions.theme),t.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),t.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),t.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),t.instance.getSession().setUseWrapMode(!0),t.instance.setOption("indentedSoftWrap",!1),t.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),t.instance.getSession().setUseWorker(!1),t.instance.$blockScrolling=1/0,t.instance.on("change",t.toWYSIWYG),t.instance.on("focus",t.proxyOnFocus),t.instance.on("mousedown",t.proxyOnMouseDown),t.instance.on("blur",t.proxyOnBlur),e.getRealMode()!==i.MODE_WYSIWYG&&t.setValue(t.getValue());var r=t.j.async.debounce((()=>{e.isInDestruct||(t.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/t.instance.renderer.lineHeight:1/0),t.instance.resize())}),2*t.j.defaultTimeout);e.e.on("afterResize afterSetMode",r),r(),t.onReady()}};e.e.on("afterSetMode",(()=>{e.getRealMode()!==i.MODE_SOURCE&&e.getMode()!==i.MODE_SPLIT||(t.fromWYSIWYG(),o())})),o(),this.aceExists()||(0,n.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then((()=>{e.isInDestruct||o()})).catch((()=>null))},t.prototype.destruct=function(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")},t.prototype.setValue=function(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var t=this.j.e.fire("beautifyHTML",e);(0,n.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()},t.prototype.getValue=function(){return this.instance.getValue()},t.prototype.setReadOnly=function(e){this.instance.setReadOnly(e)},Object.defineProperty(t.prototype,"isFocused",{get(){return this.instance.isFocused()},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.getSelectionStart=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)},t.prototype.getSelectionEnd=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)},t.prototype.selectAll=function(){this.instance.selection.selectAll()},t.prototype.insertRaw=function(e){var t=this.instance.selection.getCursor(),o=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:o},!1)},t.prototype.setSelectionRange=function(e,t){this.setSelectionRangeIndices(e,t)},t.prototype.setPlaceHolder=e=>{},t.prototype.replaceUndoManager=function(){var e=this.jodit.history;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})},t}(o(73350).SourceEditor);t.AceEditor=s},26212(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextAreaEditor=void 0;var r=o(20255),i=o(56672),n=o(43887),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.autosize=t.j.async.debounce((()=>{t.instance.style.height="auto",t.instance.style.height=t.instance.scrollHeight+"px"}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.init=function(e){var t=this;this.instance=e.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",(e=>{(0,i.css)(t.instance,"minHeight",e)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(t=>{e.e.fire(t.type,t)})),this.autosize(),this.onReady()},t.prototype.destruct=function(){n.Dom.safeRemove(this.instance)},t.prototype.getValue=function(){return this.instance.value},t.prototype.setValue=function(e){this.instance.value=e},t.prototype.insertRaw=function(e){var t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{var o=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(t.substring(0,o)+e+t.substring(r,t.length))}},t.prototype.getSelectionStart=function(){return this.instance.selectionStart},t.prototype.getSelectionEnd=function(){return this.instance.selectionEnd},t.prototype.setSelectionRange=function(e,t){void 0===t&&(t=e),this.instance.setSelectionRange(e,t)},Object.defineProperty(t.prototype,"isFocused",{get(){return this.instance===this.j.od.activeElement},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.setPlaceHolder=function(e){this.instance.setAttribute("placeholder",e)},t.prototype.setReadOnly=function(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")},t.prototype.selectAll=function(){this.instance.select()},t.prototype.replaceUndoManager=function(){var e=this,t=this.jodit.history;this.j.e.on(this.instance,"keydown",(o=>{if((o.ctrlKey||o.metaKey)&&"z"===o.key)return o.shiftKey?t.redo():t.undo(),e.setSelectionRange(e.getValue().length),!1}))},t}(o(73350).SourceEditor);t.TextAreaEditor=s},85910(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(26212),t),r.__exportStar(o(97969),t)},65023(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSourceEditor=void 0;var r=o(92654),i=o(85910);t.createSourceEditor=(e,t,o,n,s)=>{var a;if((0,r.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new i.AceEditor(t,o,n,s);break}default:a=new i.TextAreaEditor(t,o,n,s)}return a.init(t),a.onReadyAlways((()=>{a.setReadOnly(t.o.readonly)})),a}},73350(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceEditor=void 0;var o=function(){function e(e,t,o,r){this.jodit=e,this.container=t,this.toWYSIWYG=o,this.fromWYSIWYG=r,this.className="",this.isReady=!1}return Object.defineProperty(e.prototype,"j",{get(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.onReady=function(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")},e.prototype.onReadyAlways=function(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)},e}();t.SourceEditor=o},35448(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.source=void 0;var r=o(20255);o(68197);var i=o(10063),n=o(10063),s=o(35570),a=o(43887),l=o(92654),c=o(9901),d=o(58299),u=o(65023);o(24090);var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"source",group:"source"}],t.__lock=!1,t.__oldMirrorValue="",t.tempMarkerStart="{start-jodit-selection}",t.tempMarkerStartReg=/{start-jodit-selection}/g,t.tempMarkerEnd="{end-jodit-selection}",t.tempMarkerEndReg=/{end-jodit-selection}/g,t.getSelectionStart=()=>{var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionStart())&&void 0!==o?o:0},t.getSelectionEnd=()=>{var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==o?o:0},t}return r.__extends(t,e),t.prototype.onInsertHTML=function(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1},t.prototype.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!this.__lock||!0===e){this.__lock=!0;var t=this.j.getEditorValue(!1,n.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}},t.prototype.toWYSIWYG=function(){if(!this.__lock){var e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}},t.prototype.getNormalPosition=(e,t)=>{for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(e=>{for(var t="",o=0;e.length>o;o+=1)t+=n.INVISIBLE_SPACE;return t}));e>0&&t[e]===n.INVISIBLE_SPACE;)e--;for(var o=e;o>0;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w/]+/i))return o;if(">"===t[o])return e}return e},t.prototype.clnInv=e=>e.replace(i.INVISIBLE_SPACE_REG_EXP(),""),t.prototype.onSelectAll=function(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===n.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1},t.prototype.getMirrorValue=function(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""},t.prototype.setMirrorValue=function(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)},t.prototype.setFocusToMirror=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()},t.prototype.saveSelection=function(){if(this.j.getRealMode()===i.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;var e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){var t=this.j.s.marker(!0),o=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substr(0,o)+this.clnInv(t.outerHTML)+e.substr(o))}else{var r=this.j.s.marker(!0),n=this.j.s.marker(!1),s=(o=this.getNormalPosition(this.getSelectionStart(),e),this.getNormalPosition(this.getSelectionEnd(),e));this.setMirrorValue(e.substr(0,o)+this.clnInv(r.outerHTML)+e.substr(o,s-o)+this.clnInv(n.outerHTML)+e.substr(s))}this.toWYSIWYG()}},t.prototype.removeSelection=function(){if(this.j.getRealMode()===i.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);var e=this.getMirrorValue(),t=0,o=0;try{if(e=e.replace(/]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var r=this.j.e.fire("beautifyHTML",e);(0,l.isString)(r)&&(e=r)}if(o=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){var n=e.indexOf(this.tempMarkerEnd);-1!==n&&(o=n)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,o),this.toWYSIWYG(),this.setFocusToMirror()},t.prototype.setMirrorSelectionRange=function(e,t){var o;null===(o=this.sourceEditor)||void 0===o||o.setSelectionRange(e,t)},t.prototype.onReadonlyReact=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)},t.prototype.afterInit=function(e){var t=this;if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",(()=>{e.workplace.appendChild(t.mirrorContainer)})),this.sourceEditor=(0,u.createSourceEditor)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",(e=>{var o;e.key===n.KEY_ESC&&(null===(o=t.sourceEditor)||void 0===o?void 0:o.isFocused)&&t.sourceEditor.blur()})),this.onReadonlyReact(),e.e.on("placeholder.source",(e=>{var o;null===(o=t.sourceEditor)||void 0===o||o.setPlaceHolder(e)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(e=>e)),e.o.beautifyHTML){var o=()=>{var t,o=e.ow.html_beautify;return!(!o||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",(e=>o(e))),0))};o()||(0,l.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(o)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)},t.prototype.syncValueFromWYSIWYG=function(e){void 0===e&&(e=!1);var t=this.j;t.getMode()!==n.MODE_SPLIT&&t.getMode()!==n.MODE_SOURCE||this.fromWYSIWYG(e)},t.prototype.initSourceEditor=function(e){var t,o=this;if("area"!==e.o.sourceEditor){var r=(0,u.createSourceEditor)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);r.onReadyAlways((()=>{var t,i;null===(t=o.sourceEditor)||void 0===t||t.destruct(),o.sourceEditor=r,o.syncValueFromWYSIWYG(!0),null===(i=e.events)||void 0===i||i.fire("sourceEditorReady",e)}))}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways((()=>{var t;o.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)}))},t.prototype.beforeDestruct=function(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),a.Dom.safeRemove(this.mirrorContainer)},r.__decorate([(0,c.watch)(":insertHTML.source")],t.prototype,"onInsertHTML",null),r.__decorate([c.autobind],t.prototype,"fromWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"toWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"getNormalPosition",null),r.__decorate([(0,c.watch)(":beforeCommand.source")],t.prototype,"onSelectAll",null),r.__decorate([(0,c.watch)(":beforeSetMode.source")],t.prototype,"saveSelection",null),r.__decorate([(0,c.watch)(":afterSetMode.source")],t.prototype,"removeSelection",null),r.__decorate([c.autobind],t.prototype,"setMirrorSelectionRange",null),r.__decorate([(0,c.watch)(":readonly.source")],t.prototype,"onReadonlyReact",null),r.__decorate([c.autobind],t.prototype,"syncValueFromWYSIWYG",null),t}(s.Plugin);t.source=p,d.pluginSystem.add("source",p)},24306(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.spellcheck=!1,i.Icon.set("spellcheck",o(69546)),r.Config.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:o(69546),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},48390(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=o(5586);t.ar=r;var i=o(66023);t.cs_cz=i;var n=o(65860);t.de=n;var s=o(86055);t.es=s;var a=o(50037);t.fa=a;var l=o(7118);t.fr=l;var c=o(30298);t.he=c;var d=o(52107);t.hu=d;var u=o(31240);t.id=u;var p=o(4101);t.it=p;var h=o(69286);t.ja=h;var f=o(13402);t.ko=f;var m=o(89574);t.nl=m;var v=o(63630);t.pl=v;var g=o(72212);t.pt_br=g;var y=o(82570);t.ru=y;var _=o(19323);t.tr=_;var b=o(50279);t.zh_cn=b;var w=o(98364);t.zh_tw=w},56830(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spellcheck=void 0;var r=o(20255),i=o(35570),n=o(51976),s=o(9901),a=o(58299);o(24306);var l=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{group:"state",name:"spellcheck"}],(0,a.extendLang)(o(48390)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",(()=>{t.jodit.o.spellcheck=!t.jodit.o.spellcheck,t.toggleSpellcheck(),t.j.e.fire("updateToolbar")}))},t.prototype.toggleSpellcheck=function(){(0,n.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)},t.prototype.beforeDestruct=e=>{},r.__decorate([s.autobind],t.prototype,"toggleSpellcheck",null),t}(i.Plugin);t.spellcheck=l,a.pluginSystem.add("spellcheck",l)},48692(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.showCharsCounter=!0,r.Config.prototype.countHTMLChars=!1,r.Config.prototype.showWordsCounter=!0},99525(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stat=void 0;var r=o(20255),i=o(10063),n=o(73177),s=o(43887),a=o(58299);o(48692);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.charCounter=null,t.wordCounter=null,t.reInit=()=>{t.j.o.showCharsCounter&&t.charCounter&&t.j.statusbar.append(t.charCounter,!0),t.j.o.showWordsCounter&&t.wordCounter&&t.j.statusbar.append(t.wordCounter,!0),t.j.e.off("change keyup",t.calc).on("change keyup",t.calc),t.calc()},t.calc=t.j.async.throttle((()=>{var e=t.j.text;if(t.j.o.showCharsCounter&&t.charCounter){var o=t.j.o.countHTMLChars?t.j.value:e.replace((0,i.SPACE_REG_EXP)(),"");t.charCounter.textContent=t.j.i18n("Chars: %d",o.length)}t.j.o.showWordsCounter&&t.wordCounter&&(t.wordCounter.textContent=t.j.i18n("Words: %d",e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter((e=>e.length)).length))}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()},t.prototype.beforeDestruct=function(){s.Dom.safeRemove(this.charCounter),s.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null},t}(n.Plugin);t.stat=l,a.pluginSystem.add("stat",l)},12577(e,t,o){"use strict";var r=o(27537);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0},52186(e,t,o){"use strict";o.r(t),o.d(t,{sticky:()=>d});var r=o(20255),i=o(10063),n=o(73177),s=o(43887),a=o(92654),l=o(9901),c=o(58299);o(12577);class d extends n.Plugin{constructor(){super(...arguments),this.isToolbarSticked=!1,this.createDummy=e=>{},this.addSticky=e=>{this.isToolbarSticked||(this.createDummy(e),this.j.container.classList.add("jodit_sticky"),this.isToolbarSticked=!0),(0,a.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2})},this.removeSticky=e=>{this.isToolbarSticked&&((0,a.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.isToolbarSticked=!1)}}afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",(()=>this.isToolbarSticked))}onScroll(){const{jodit:e}=this,t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,o=(0,a.offset)(e.container,e,e.od,!0),r=e.getMode()===i.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>o.top&&o.top+o.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.isMobile());if(e.o.toolbarSticky&&!0===e.o.toolbar&&this.isToolbarSticked!==r){const t=e.toolbarContainer;t&&(r?this.addSticky(t):this.removeSticky(t)),e.e.fire("toggleSticky",r)}}isMobile(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth}beforeDestruct(e){this.dummyBox&&s.Dom.safeRemove(this.dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")}}(0,r.__decorate)([(0,l.throttle)()],d.prototype,"onScroll",null),c.pluginSystem.add("sticky",d)},53012(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.usePopupForSpecialCharacters=!1,r.Config.prototype.specialCharacters=["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],i.Icon.set("symbols",o(43158)),r.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,o,r){var i=e.e.fire("generateSpecialCharactersTable.symbols");if(i){if(e.o.usePopupForSpecialCharacters){var n=e.c.div();return n.classList.add("jodit-symbols"),n.appendChild(i),e.e.on(i,"close_dialog",r),n}e.alert(i,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);var s=i.querySelector("a");s&&s.focus()}}}},74604(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=o(54261);t.ar=r;var i=o(60425);t.cs_cz=i;var n=o(7057);t.de=n;var s=o(48356);t.es=s;var a=o(11428);t.fa=a;var l=o(29084);t.fr=l;var c=o(22876);t.he=c;var d=o(20890);t.hu=d;var u=o(75987);t.id=u;var p=o(60379);t.it=p;var h=o(99950);t.ja=h;var f=o(60934);t.ko=f;var m=o(21994);t.nl=m;var v=o(38128);t.pl=v;var g=o(71515);t.pt_br=g;var y=o(58194);t.ru=y;var _=o(65802);t.tr=_;var b=o(86628);t.zh_cn=b;var w=o(32210);t.zh_tw=w},21112(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0;var r=o(20255);o(33393);var i=o(10063),n=o(73177),s=o(43887),a=o(73344),l=o(58299);o(53012);var c=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{name:"symbols",group:"insert"}],r.countInRow=17,(0,l.extendLang)(o(74604)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("generateSpecialCharactersTable.symbols",(function(){for(var o=e.c.fromHTML('
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
'),r=o.querySelector(".jodit-symbols__preview"),n=o.querySelector("table").tBodies[0],l=[],c=0;e.o.specialCharacters.length>c;){for(var d=e.c.element("tr"),u=0;t.countInRow>u&&e.o.specialCharacters.length>c;u+=1,c+=1){var p=e.c.element("td"),h=e.c.fromHTML('').concat(e.o.specialCharacters[c],""));l.push(h),p.appendChild(h),d.appendChild(p)}n.appendChild(d)}var f=t;return e.e.on(l,"focus",(function(){r.innerHTML=this.innerHTML})).on(l,"mousedown",(function(t){s.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(l,"mouseenter",(function(){s.Dom.isTag(this,"a")&&this.focus()})).on(l,"keydown",(t=>{var o=t.target;if(s.Dom.isTag(o,"a")){var r=parseInt((0,a.attr)(o,"-index")||"0",10),n=parseInt((0,a.attr)(o,"data-index-j")||"0",10),c=void 0;switch(t.key){case i.KEY_UP:case i.KEY_DOWN:void 0===l[c=t.key===i.KEY_UP?r-f.countInRow:r+f.countInRow]&&(c=t.key===i.KEY_UP?Math.floor(l.length/f.countInRow)*f.countInRow+n:n)>l.length-1&&(c-=f.countInRow),l[c]&&l[c].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:void 0===l[c=t.key===i.KEY_LEFT?r-1:r+1]&&(c=t.key===i.KEY_LEFT?l.length-1:0),l[c]&&l[c].focus();break;case i.KEY_ENTER:e.e.fire(o,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),o}))},t.prototype.beforeDestruct=e=>{e.e.off("generateSpecialCharactersTable.symbols")},t}(n.Plugin);t.symbols=c,l.pluginSystem.add("symbols",c)},66110(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(29228),t)},29228(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onTabInsideLi=void 0;var r=o(43887);t.onTabInsideLi=e=>{if(!e.o.tab.tabInsideLiInsertNewList||!e.s.isCollapsed())return!1;var t=e.createInside.fake();e.s.insertNode(t);var o=r.Dom.closest(t,"li",e.editor);if(o&&e.s.cursorOnTheLeft(o)&&r.Dom.isTag(o.previousElementSibling,"li")){var i=r.Dom.closest(o,["ol","ul"],e.editor);if(i){var n=e.createInside.element(i.tagName),s=o.previousElementSibling;return n.appendChild(o),s.appendChild(n),e.s.setCursorAfter(t),r.Dom.safeRemove(t),!0}}return r.Dom.safeRemove(t),!1}},56163(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tab={tabInsideLiInsertNewList:!0}},74212(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255),i=o(35570),n=o(9901),s=o(10063),a=o(58299),l=o(66110);o(56163);var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=e=>{},t.prototype.onTab=function(e){if(e.key===s.KEY_TAB&&(0,l.onTabInsideLi)(this.j))return!1},t.prototype.beforeDestruct=e=>{},r.__decorate([(0,n.watch)(":keydown.tab")],t.prototype,"onTab",null),t}(i.Plugin);a.pluginSystem.add("tab",c)},96154(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tableKeyboardNavigation=void 0;var r=o(10063),i=o(43887),n=o(28314),s=o(58299);function a(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(t=>{var o,s;if((t.key===r.KEY_TAB||t.key===r.KEY_LEFT||t.key===r.KEY_RIGHT||t.key===r.KEY_UP||t.key===r.KEY_DOWN)&&(o=e.s.current(),s=i.Dom.up(o,(e=>e&&e.nodeName&&/^td|th$/i.test(e.nodeName)),e.editor))){var a=e.s.range;if(t.key===r.KEY_TAB||o===s||(t.key!==r.KEY_LEFT&&t.key!==r.KEY_UP||!(i.Dom.prev(o,(e=>t.key===r.KEY_UP?i.Dom.isTag(e,"br"):!!e),s)||t.key!==r.KEY_UP&&i.Dom.isText(o)&&0!==a.startOffset))&&(t.key!==r.KEY_RIGHT&&t.key!==r.KEY_DOWN||!(i.Dom.next(o,(e=>t.key===r.KEY_DOWN?i.Dom.isTag(e,"br"):!!e),s)||t.key!==r.KEY_DOWN&&i.Dom.isText(o)&&o.nodeValue&&a.startOffset!==o.nodeValue.length))){var l=i.Dom.up(s,(e=>e&&/^table$/i.test(e.nodeName)),e.editor),c=null;switch(t.key){case r.KEY_TAB:case r.KEY_LEFT:var d=t.key===r.KEY_LEFT||t.shiftKey?"prev":"next";(c=i.Dom[d](s,(e=>e&&/^td|th$/i.test(e.tagName)),l))||(n.Table.appendRow(l,"next"!==d&&l.querySelector("tr"),"next"===d,e.createInside),c=i.Dom[d](s,i.Dom.isCell,l));break;case r.KEY_UP:case r.KEY_DOWN:var u=0,p=0,h=n.Table.formalMatrix(l,((e,t,o)=>{e===s&&(u=t,p=o)}));t.key===r.KEY_UP?void 0!==h[u-1]&&(c=h[u-1][p]):void 0!==h[u+1]&&(c=h[u+1][p])}if(c){if(c.firstChild)t.key===r.KEY_TAB?e.s.select(c,!0):e.s.setCursorIn(c,t.key===r.KEY_RIGHT||t.key===r.KEY_DOWN);else{var f=e.createInside.element("br");c.appendChild(f),e.s.setCursorBefore(f)}return!1}}}}))}t.tableKeyboardNavigation=a,s.pluginSystem.add("tableKeyboardNavigation",a)},62653(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(94522),n=o(73344),s=o(92654),a=o(76381);r.Config.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},a.Icon.set("table",o(51716)),r.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,o,r,a){for(var l=o.data&&o.data.rows?o.data.rows:10,c=o.data&&o.data.cols?o.data.cols:10,d=e.c.fromHTML('
'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";var t=[];if(o.data){var r=o.data.classList;Object.keys(r).forEach((e=>{t.push('"))}))}return t.join("")})()+'
'),u=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],h=d.querySelector(".jodit-form__container"),f=d.querySelector(".jodit-form__options"),m=[],v=l*c,g=0;v>g;g+=1)m[g]||m.push(e.c.element("span",{dataIndex:g}));if(e.e.on(h,"mousemove",((e,t)=>{var o=e.target;if(i.Dom.isTag(o,"span")){for(var r=void 0===t||isNaN(t)?parseInt((0,n.attr)(o,"-index")||"0",10):t||0,s=Math.ceil((r+1)/c),a=r%c+1,l=0;m.length>l;l+=1)m[l].className=l%c+1>a||Math.ceil((l+1)/c)>s?"":"jodit_hovered";p.textContent=""+a,u.textContent=""+s}})).on(h,"touchstart mousedown",(t=>{var o=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),i.Dom.isTag(o,"span")){var a=parseInt((0,n.attr)(o,"-index")||"0",10),l=Math.ceil((a+1)/c),d=a%c+1,u=e.createInside,p=u.element("tbody"),h=u.element("table");h.appendChild(p);for(var m,v,g=null,y=1;l>=y;y+=1){m=u.element("tr");for(var _=1;d>=_;_+=1)v=u.element("td"),g||(g=v),(0,s.css)(v,"width",(100/d).toFixed(4)+"%"),v.appendChild(u.element("br")),m.appendChild(u.text("\n")),m.appendChild(u.text("\t")),m.appendChild(v);p.appendChild(u.text("\n")),p.appendChild(m)}var b=e.s.current();if(b&&e.s.isCollapsed()){var w=i.Dom.closest(b,i.Dom.isBlock,e.editor);w&&w!==e.editor&&!w.nodeName.match(/^TD|TH|TBODY|TABLE|THEADER|TFOOTER$/)&&e.s.setCursorAfter(w)}(0,s.$$)("input[type=checkbox]:checked",f).forEach((e=>{e.value.split(/[\s]+/).forEach((e=>{h.classList.add(e)}))})),e.s.insertNode(u.text("\n")),e.s.insertNode(h,!1),g&&(e.s.setCursorIn(g),(0,s.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),r()}})),a&&a.parentElement){for(g=0;l>g;g+=1){for(var y=e.c.div(),_=0;c>_;_+=1)y.appendChild(m[g*c+_]);h.appendChild(y)}m[0]&&(m[0].className="hovered")}return d},tooltip:"Insert table"}},67122(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.table=void 0,o(51057);var r=o(58299);function i(e){e.registerButton({name:"table",group:"insert"})}o(62653),t.table=i,r.pluginSystem.add("table",i)},85098(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);o(14351);var i=o(92654),n=o(35570),s=o(94522),a=o(58299),l=o(9901),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isOpened=!1,t.delayShowTimeout=0,t}return r.__extends(t,e),t.prototype.afterInit=function(e){var o=this;this.container=e.c.div("jodit-tooltip"),(0,a.getContainer)(this.j,t).appendChild(this.container);var r=0;e.e.off(".tooltip").on("showTooltip.tooltip",((t,i)=>{e.async.clearTimeout(r),o.open(t,i)})).on("delayShowTooltip.tooltip",this.delayOpen).on("escape.tooltip",this.close).on("hideTooltip.tooltip change.tooltip scroll.tooltip changePlace.tooltip hidePopup.tooltip closeAllPopups.tooltip",(()=>{o.j.async.clearTimeout(o.delayShowTimeout),r=e.async.setTimeout(o.close,o.j.defaultTimeout)}))},t.prototype.delayOpen=function(e,t){var o=this,r=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.delayShowTimeout),this.delayShowTimeout=this.j.async.setTimeout((()=>o.open(e,t)),{timeout:r,label:"tooltip"})},t.prototype.open=function(e,t){this.container.classList.add("jodit-tooltip_visible"),this.container.innerHTML=t,this.isOpened=!0,this.setPosition(e)},t.prototype.setPosition=function(e){var t=e();(0,i.css)(this.container,{left:t.x,top:t.y})},t.prototype.close=function(){this.j.async.clearTimeout(this.delayShowTimeout),this.isOpened&&(this.isOpened=!1,this.container.classList.remove("jodit-tooltip_visible"),(0,i.css)(this.container,{left:-5e3}))},t.prototype.beforeDestruct=function(e){null==e||e.e.off(".tooltip"),this.close(),s.Dom.safeRemove(this.container)},r.__decorate([l.autobind],t.prototype,"delayOpen",null),r.__decorate([l.autobind],t.prototype,"close",null),t}(n.Plugin);a.pluginSystem.add("tooltip",c)},58991(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(4188),n=o(92654),s=o(18733),a=o(44632);o(76381).Icon.set("video",o(49222)),r.Config.prototype.controls.video={popup(e,t,o,r){var l=new s.UIForm(e,[new s.UIBlock(e,[new s.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new s.UIBlock(e,[(0,a.Button)(e,"","Insert","primary").onAction((()=>l.submit()))])]),c=new s.UIForm(e,[new s.UIBlock(e,[new s.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new s.UIBlock(e,[(0,a.Button)(e,"","Insert","primary").onAction((()=>c.submit()))])]),d=[],u=t=>{e.s.restore(),e.s.insertHTML(t),r()};return e.s.save(),d.push({icon:"link",name:"Link",content:l.container},{icon:"source",name:"Code",content:c.container}),l.onSubmit((e=>{u((0,n.convertMediaUrlToVideoEmbed)(e.url))})),c.onSubmit((e=>{u(e.code)})),(0,i.TabsWidget)(e,d)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},82887(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(58299);o(58991),r.pluginSystem.add("video",(e=>{e.registerButton({name:"video",group:"media"})}))},21189(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.wrapNodes={exclude:["hr","style","br"]}},37455(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255),i=o(35570),n=o(94522),s=o(40607),a=o(9901),l=o(58299);o(21189);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSuitableStart=e=>n.Dom.isText(e)&&(0,s.isString)(e.nodeValue)&&/[^\s]/.test(e.nodeValue)||t.isNotClosed(e)&&!n.Dom.isTemporary(e),t.isSuitable=e=>n.Dom.isText(e)||t.isNotClosed(e),t.isNotClosed=e=>n.Dom.isElement(e)&&!(n.Dom.isBlock(e)||n.Dom.isTag(e,t.j.o.wrapNodes.exclude)),t}return r.__extends(t,e),t.prototype.afterInit=function(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)},t.prototype.beforeDestruct=e=>{e.e.off(".wtn")},t.prototype.postProcessSetEditorValue=function(){var e=this.jodit;if(e.isEditorMode()){for(var t=e.editor.firstChild,o=!1;t;){if(t=this.checkAloneListLeaf(t,e),this.isSuitableStart(t)){o||e.s.save(),o=!0;var r=e.createInside.element(e.o.enter);for(n.Dom.before(t,r);t&&this.isSuitable(t);){var i=t.nextSibling;r.appendChild(t),t=i}r.normalize(),t=r}t=t&&t.nextSibling}o&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}},t.prototype.checkAloneListLeaf=(e,t)=>{var o=e,r=e;do{if(!n.Dom.isElement(r)||!n.Dom.isTag(r,"li")||n.Dom.isTag(r.parentElement,["ul","ol"]))break;var i=n.Dom.findNotEmptySibling(r,!1);n.Dom.isTag(o,"ul")?o.appendChild(r):o=n.Dom.wrap(r,"ul",t.createInside),r=i}while(r);return o},r.__decorate([a.autobind],t.prototype,"postProcessSetEditorValue",null),t}(i.Plugin);l.pluginSystem.add("wrapNodes",c)},15855(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.showXPathInStatusbar=!0},84865(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);o(89310);var i=o(10063),n=o(73511),s=o(94522),a=o(92654),l=o(35570),c=o(42701),d=o(58299);o(15855);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onContext=(e,o)=>(t.menu||(t.menu=new n.ContextMenu(t.j)),t.menu.show(o.clientX,o.clientY,[{icon:"bin",title:e===t.j.editor?"Clear":"Remove",exec(){e!==t.j.editor?s.Dom.safeRemove(e):t.j.value="",t.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec(){t.j.s.select(e)}}]),!1),t.onSelectPath=(e,o)=>{t.j.s.focus();var r=(0,a.attr)(o.target,"-path")||"/";if("/"===r)return t.j.execCommand("selectall"),!1;try{var i=t.j.ed.evaluate(r,t.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(i)return t.j.s.select(i),!1}catch(e){}return t.j.s.select(e),!1},t.tpl=(e,o,r,i)=>{var n=t.j.c.fromHTML('').concat((0,a.trim)(r),"")),s=n.firstChild;return t.j.e.on(s,"click",t.onSelectPath.bind(t,e)).on(s,"contextmenu",t.onContext.bind(t,e)),n},t.removeSelectAll=()=>{t.selectAllButton&&(t.selectAllButton.destruct(),delete t.selectAllButton)},t.appendSelectAll=()=>{t.removeSelectAll(),t.selectAllButton=(0,c.makeButton)(t.j,r.__assign({name:"selectall"},t.j.o.controls.selectall)),t.selectAllButton.state.size="tiny",t.container&&t.container.insertBefore(t.selectAllButton.container,t.container.firstChild)},t.calcPathImd=()=>{if(!t.isDestructed){var e,o,r,n=t.j.s.current();t.container&&(t.container.innerHTML=i.INVISIBLE_SPACE),n&&s.Dom.up(n,(i=>{i&&t.j.editor!==i&&!s.Dom.isText(i)&&(e=i.nodeName.toLowerCase(),o=(0,a.getXPathByElement)(i,t.j.editor).replace(/^\//,""),r=t.tpl(i,o,e,t.j.i18n("Select %s",e)),t.container&&t.container.insertBefore(r,t.container.firstChild))}),t.j.editor),t.appendSelectAll()}},t.calcPath=t.j.async.debounce(t.calcPathImd,2*t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){var e=this;this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(()=>{e.j.o.showXPathInStatusbar&&e.container&&(e.j.statusbar.append(e.container),e.j.getRealMode()===i.MODE_WYSIWYG?e.calcPath():(e.container&&(e.container.innerHTML=i.INVISIBLE_SPACE),e.appendSelectAll()))})),this.calcPath())},t.prototype.beforeDestruct=function(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),s.Dom.safeRemove(this.container),delete this.menu,delete this.container},t}(l.Plugin);d.pluginSystem.add("xpath",u)},65178(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.valign=t.upload=t.update=t.unlock=t.settings=t.save=t.right=t.resize_handler=t.plus=t.pencil=t.ok=t.lock=t.left=t.info_circle=t.folder=t.file=t.eye=t.dots=t.chevron=t.check=t.center=t.cancel=t.bin=t.angle_up=t.angle_right=t.angle_left=t.angle_down=void 0;var r=o(1755);t.angle_down=r;var i=o(74911);t.angle_left=i;var n=o(8805);t.angle_right=n;var s=o(16547);t.angle_up=s;var a=o(10856);t.bin=a;var l=o(98441);t.cancel=l;var c=o(52488);t.center=c;var d=o(9370);t.check=d;var u=o(66543);t.chevron=u;var p=o(608);t.dots=p;var h=o(42840);t.eye=h;var f=o(79096);t.file=f;var m=o(33014);t.folder=m;var v=o(91677);t.info_circle=v;var g=o(8259);t.left=g;var y=o(64467);t.lock=y;var _=o(86934);t.ok=_;var b=o(76133);t.pencil=b;var w=o(45519);t.plus=w;var S=o(90265);t.resize_handler=S;var C=o(81279);t.right=C;var j=o(68899);t.save=j;var E=o(70744);t.settings=E;var x=o(19201);t.unlock=x;var I=o(84930);t.update=I;var P=o(99704);t.upload=P;var T=o(2304);t.valign=T},80078(e){e.exports={"copy-format":"نسخ التنسيق"}},16986(e){e.exports={"copy-format":"Kopírovat formát"}},59347(e){e.exports={"copy-format":"Format kopierenт"}},63640(e){e.exports={"copy-format":"Copiar formato"}},53434(e){e.exports={"copy-format":"کپی کردن قالب"}},85638(e){e.exports={"copy-format":"Format de copie"}},31743(e){e.exports={"copy-format":"העתק עיצוב"}},66219(e){e.exports={"copy-format":"Formátum másolás"}},50331(e){e.exports={"copy-format":"salin format"}},25582(e){e.exports={"copy-format":"Copia il formato"}},82066(e){e.exports={"copy-format":"copyformat"}},71925(e){e.exports={"copy-format":"복사 형식"}},65274(e){e.exports={"copy-format":"opmaak kopiëren"}},58548(e){e.exports={"copy-format":"format kopii"}},82958(e){e.exports={"copy-format":"Copiar formato"}},52315(e){e.exports={"copy-format":"Копировать формат"}},87727(e){e.exports={"copy-format":"Kopyalama Biçimi"}},9396(e){e.exports={"copy-format":"复制格式"}},28765(e){e.exports={"copy-format":"複製格式"}},47762(e){e.exports={"Line height":"ارتفاع الخط"}},97495(e){e.exports={"Line height":"Výška čáry"}},80131(e){e.exports={"Line height":"Zeilenhöhe"}},1201(e){e.exports={"Line height":"Altura de la línea"}},89912(e){e.exports={"Line height":"ارتفاع خط"}},3405(e){e.exports={"Line height":"Hauteur de ligne"}},14129(e){e.exports={"Line height":"גובה שורה"}},93729(e){e.exports={"Line height":"Vonal magassága"}},16106(e){e.exports={"Line height":"Tinggi baris"}},89690(e){e.exports={"Line height":"Altezza linea"}},33216(e){e.exports={"Line height":"ラインの高さ"}},17282(e){e.exports={"Line height":"선 높이"}},91761(e){e.exports={"Line height":"Lijnhoogte"}},61675(e){e.exports={"Line height":"Wysokość linii"}},69709(e){e.exports={"Line height":"Altura da linha"}},82591(e){e.exports={"Line height":"Высота линии"}},87649(e){e.exports={"Line height":"Çizgi yüksekliği"}},60268(e){e.exports={"Line height":"线高"}},58214(e){e.exports={"Line height":"ความสูงเส้น"}},5586(e){e.exports={Spellcheck:"التدقيق الإملائي"}},66023(e){e.exports={Spellcheck:"Kontrola pravopisu"}},65860(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},86055(e){e.exports={Spellcheck:"Corrección ortográfica"}},50037(e){e.exports={Spellcheck:"غلطیابی املایی"}},7118(e){e.exports={Spellcheck:"Vérification Orthographique"}},30298(e){e.exports={Spellcheck:"בדיקת איות"}},52107(e){e.exports={Spellcheck:"Helyesírás-ellenőrzés"}},31240(e){e.exports={Spellcheck:"Spellchecking"}},4101(e){e.exports={Spellcheck:"Controllo ortografico"}},69286(e){e.exports={Spellcheck:"スペルチェック"}},13402(e){e.exports={Spellcheck:"맞춤법 검사"}},89574(e){e.exports={Spellcheck:"Spellingcontrole"}},63630(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},72212(e){e.exports={Spellcheck:"Verificação ortográfica"}},82570(e){e.exports={Spellcheck:"Проверка орфографии"}},19323(e){e.exports={Spellcheck:"Yazım denetimi"}},50279(e){e.exports={Spellcheck:"拼写检查"}},98364(e){e.exports={Spellcheck:"สะกดคำ"}},54261(e){e.exports={symbols:"رمز"}},60425(e){e.exports={symbols:"symbol"}},7057(e){e.exports={symbols:"Symbol"}},48356(e){e.exports={symbols:"Símbolo"}},11428(e){e.exports={symbols:"سمبل"}},29084(e){e.exports={symbols:"caractère"}},22876(e){e.exports={symbols:"תו מיוחד"}},20890(e){e.exports={symbols:"Szimbólum"}},75987(e){e.exports={symbols:"simbol"}},60379(e){e.exports={symbols:"Simbolo"}},99950(e){e.exports={symbols:"symbol"}},60934(e){e.exports={symbols:"기호"}},21994(e){e.exports={symbols:"symbool"}},38128(e){e.exports={symbols:"symbol"}},71515(e){e.exports={symbols:"Símbolo"}},58194(e){e.exports={symbols:"символ"}},65802(e){e.exports={symbols:"Sembol"}},86628(e){e.exports={symbols:"符号"}},32210(e){e.exports={symbols:"符號"}}},o={};function r(e){var i=o[e];if(void 0!==i)return i.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,r),n.exports}r.m=t,e=[],r.O=(t,o,i,n)=>{if(!o){var s=1/0;for(d=0;e.length>d;d++){o=e[d][0],i=e[d][1],n=e[d][2];for(var a=!0,l=0;o.length>l;l++)(!1&n||s>=n)&&Object.keys(r.O).every((e=>r.O[e](o[l])))?o.splice(l--,1):(a=!1,s>n&&(s=n));if(a){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[o,i,n]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={670:0};r.O.j=t=>0===e[t];var t=(t,o)=>{var i,n,s=o[0],a=o[1],l=o[2],c=0;if(s.some((t=>0!==e[t]))){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(l)var d=l(r)}for(t&&t(o);s.length>c;c++)r.o(e,n=s[c])&&e[n]&&e[n][0](),e[n]=0;return r.O(d)},o=self.webpackChunkjodit=self.webpackChunkjodit||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i={};return(()=>{"use strict";r.r(i),r.d(i,{Jodit:()=>e.h});var e=r(68939),t=r(37379);let o={};const n=r(51048);o.en=n;const s=e=>e?e.default||e:{},a={};(0,t.isArray)(s(n))&&s(n).forEach(((e,t)=>{a[t]=e})),Object.keys(o).forEach((e=>{const r=s(o[e]);(0,t.isArray)(r)&&(o[e]={},r.forEach(((t,r)=>{o[e][a[r]]=t})))}));var l=o,c=r(9901),d=r(10063),u=r(46701),p=r(65178);r(20151),Object.keys(d).forEach((t=>{e.h[t]=d[t]}));const h=e=>"__esModule"!==e;Object.keys(p).filter(h).forEach((e=>{u.Icon.set(e.replace("_","-"),p[e])})),Object.keys(u).filter(h).forEach((t=>{e.h.modules[t]=u[t]})),Object.keys(c).filter(h).forEach((t=>{e.h.decorators[t]=c[t]})),["Confirm","Alert","Prompt"].forEach((t=>{e.h[t]=u[t]})),Object.keys(l).filter(h).forEach((t=>{e.h.lang[t]=l[t]}))})(),r.O(i)}()})); \ No newline at end of file diff --git a/build/jodit.es2018.js b/build/jodit.es2018.js index 3a7bf1b74..a0c3e333f 100644 --- a/build/jodit.es2018.js +++ b/build/jodit.es2018.js @@ -1,7 +1,7 @@ /*! * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser * Author: Chupurnov (https://xdsoft.net/) - * Version: v3.19.4 + * Version: v3.19.5 * Url: https://xdsoft.net/jodit/ * License(s): MIT */ @@ -407,7 +407,7 @@ module.exports = " " +module.exports = " " /***/ }), @@ -1590,6 +1590,7 @@ var Config = (function () { 'dots', 'selectall' ]; + this.allowCommandsInReadOnly = ['selectall', 'preview', 'print']; this.toolbarButtonSize = 'middle'; this.allowTabNavigation = false; this.inline = false; @@ -3239,7 +3240,7 @@ var Dom = (function () { tag.appendChild(elm.firstChild); } } - if (withAttributes) { + if (withAttributes && Dom.isElement(elm) && Dom.isElement(tag)) { (0, helpers_1.toArray)(elm.attributes).forEach(function (attr) { tag.setAttribute(attr.name, attr.value); }); @@ -3507,8 +3508,8 @@ var Dom = (function () { } return sibling && cond(sibling) ? sibling : null; }; - Dom.findNotEmptySibling = function (node, backspace) { - return Dom.findSibling(node, backspace, function (n) { + Dom.findNotEmptySibling = function (node, left) { + return Dom.findSibling(node, left, function (n) { var _a; return (!Dom.isEmptyTextNode(n) && Boolean(!Dom.isText(n) || (((_a = n.nodeValue) === null || _a === void 0 ? void 0 : _a.length) && (0, helpers_1.trim)(n.nodeValue)))); @@ -3643,6 +3644,11 @@ var Dom = (function () { node.parentNode.removeChild(node); }); }; + Dom.safeInsertNode = function (range, node) { + range.collapsed || range.deleteContents(); + range.insertNode(node); + [node.nextSibling, node.previousSibling].forEach(function (n) { return Dom.isText(n) && !n.nodeValue && Dom.safeRemove(n); }); + }; Dom.hide = function (node) { if (!node) { return; @@ -9401,8 +9407,7 @@ var Select = (function () { (_a = range.startContainer.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(node, range.startContainer); } else { - range.deleteContents(); - range.insertNode(node); + dom_1.Dom.safeInsertNode(range, node); } } else { @@ -9640,7 +9645,7 @@ var Select = (function () { fakeNode = this.j.createInside.text(consts.INVISIBLE_SPACE); inStart ? range.setStartBefore(node) : range.setEndAfter(node); range.collapse(inStart); - range.insertNode(fakeNode); + dom_1.Dom.safeInsertNode(range, fakeNode); range.selectNode(fakeNode); } else { @@ -9876,7 +9881,7 @@ var Select = (function () { var br = this.j.createInside.element('br'), prevFake = this.j.createInside.text(constants_1.INVISIBLE_SPACE), nextFake = prevFake.cloneNode(); try { if (cursorOnTheRight || cursorOnTheLeft) { - range.insertNode(br); + dom_1.Dom.safeInsertNode(range, br); var clearBR = function (start, getNext) { var next = getNext(start); while (next) { @@ -9908,8 +9913,13 @@ var Select = (function () { leftRange.setEnd(range.startContainer, range.startOffset); } var fragment = leftRange.extractContents(); + var clearEmpties = function (node) { + return dom_1.Dom.each(node, function (node) { return dom_1.Dom.isEmptyTextNode(node) && dom_1.Dom.safeRemove(node); }); + }; if (currentBox.parentNode) { try { + clearEmpties(fragment); + clearEmpties(currentBox); currentBox.parentNode.insertBefore(fragment, currentBox); if (cursorOnTheRight && (br === null || br === void 0 ? void 0 : br.parentNode)) { var range_2 = this.createRange(); @@ -9949,7 +9959,7 @@ var Select = (function () { var fake = _this.j.createInside.fake(); var r = range.cloneRange(); r.collapse(start); - r.insertNode(fake); + dom_1.Dom.safeInsertNode(r, fake); (0, helpers_2.moveTheNodeAlongTheEdgeOutward)(fake, start, _this.j.editor); return fake; }; @@ -10717,7 +10727,7 @@ function wrapUnwrappedText(style, elm, jodit, getRange) { var fragment = range.extractContents(); var wrapper = ci.element(style.element); wrapper.appendChild(fragment); - range.insertNode(wrapper); + dom_1.Dom.safeInsertNode(range, wrapper); if (style.elementIsBlock) { if (dom_1.Dom.isEmpty(wrapper) && !dom_1.Dom.isTag(wrapper.firstElementChild, 'br')) { @@ -13470,7 +13480,7 @@ var Panel = (function (_super) { return _super !== null && _super.apply(this, arguments) || this; } Panel.prototype.dialog = function (options) { - var dialog = new dialog_1.Dialog(tslib_1.__assign({ language: this.o.language, shadowRoot: this.o.shadowRoot, ownerWindow: this.o.ownerWindow, defaultTimeout: this.o.defaultTimeout, theme: this.o.theme }, options)); + var dialog = new dialog_1.Dialog(tslib_1.__assign({ language: this.o.language, shadowRoot: this.o.shadowRoot, ownerWindow: this.o.ownerWindow, defaultTimeout: this.o.defaultTimeout, theme: this.o.theme, globalFullSize: this.o.globalFullSize }, options)); (0, helpers_1.markOwner)(this, dialog.container); return dialog.bindDestruct(this); }; @@ -13681,7 +13691,7 @@ class View extends _modules__WEBPACK_IMPORTED_MODULE_3__.Component { this.isView = true; this.mods = {}; this.components = new Set(); - this.version = "3.19.4"; + this.version = "3.19.5"; this.buffer = _storage__WEBPACK_IMPORTED_MODULE_0__.Storage.makeStorage(); this.storage = _storage__WEBPACK_IMPORTED_MODULE_0__.Storage.makeStorage(true, this.componentName); this.OPTIONS = View.defaultOptions; @@ -13753,9 +13763,7 @@ class View extends _modules__WEBPACK_IMPORTED_MODULE_3__.Component { return; } this.__isFullSize = isFullSize; - if (this.events) { - this.e.fire('toggleFullSize', isFullSize); - } + this.e.fire('toggleFullSize', isFullSize); } get isLocked() { return this.__whoLocked !== ''; @@ -13778,10 +13786,10 @@ class View extends _modules__WEBPACK_IMPORTED_MODULE_3__.Component { return this.__isFullSize; } getVersion() { - return "3.19.4"; + return "3.19.5"; } static getVersion() { - return "3.19.4"; + return "3.19.5"; } initOptions(options) { this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(this.options || {}, View.defaultOptions)); @@ -14347,7 +14355,8 @@ var Jodit = (function (_super) { if (!this.s.isFocused()) { this.s.focus(); } - if (this.o.readonly && command !== 'selectall') { + if (this.o.readonly && + !this.o.allowCommandsInReadOnly.includes(command)) { return; } var result; @@ -15130,7 +15139,6 @@ config_1.Config.prototype.controls.dialog = { icon: 'cancel', exec: function (dialog) { dialog.close(); - dialog.toggleFullSizeBox(false); } } }; @@ -15140,7 +15148,6 @@ var Dialog = (function (_super) { var _this = _super.call(this, options) || this; _this.destroyAfterClose = false; _this.moved = false; - _this.iSetMaximization = false; _this.resizable = false; _this.draggable = false; _this.startX = 0; @@ -15188,12 +15195,12 @@ var Dialog = (function (_super) { (0, helpers_1.assert)(dialogbox_footer != null, 'Footer element does not exist'); var dialogbox_toolbar = self.getElm('header-toolbar'); (0, helpers_1.assert)(dialogbox_toolbar != null, 'header-toolbar element does not exist'); - self.dialog = dialog; - self.resizer = resizer; - self.dialogbox_header = dialogbox_header; - self.dialogbox_content = dialogbox_content; - self.dialogbox_footer = dialogbox_footer; - self.dialogbox_toolbar = dialogbox_toolbar; + _this.dialog = dialog; + _this.resizer = resizer; + _this.dialogbox_header = dialogbox_header; + _this.dialogbox_content = dialogbox_content; + _this.dialogbox_footer = dialogbox_footer; + _this.dialogbox_toolbar = dialogbox_toolbar; (0, helpers_1.css)(self.dialog, { maxWidth: self.options.maxWidth, minHeight: self.options.minHeight, @@ -15408,21 +15415,12 @@ var Dialog = (function (_super) { }); this.container.style.zIndex = (maxZIndex + 1).toString(); }; - Dialog.prototype.maximization = function (condition) { - if ((0, helpers_1.isVoid)(condition)) { - condition = !this.getMod('fullsize'); + Dialog.prototype.toggleFullSize = function (isFullSize) { + if ((0, helpers_1.isVoid)(isFullSize)) { + isFullSize = !this.getMod('fullsize'); } - this.setMod('fullsize', condition); - this.toggleFullSizeBox(condition); - this.iSetMaximization = condition; - return condition; - }; - Dialog.prototype.toggleFullSizeBox = function (condition) { - [this.destination, this.destination.parentNode].forEach(function (box) { - box && - box.classList && - box.classList.toggle('jodit_fullsize-box_true', condition); - }); + this.setMod('fullsize', isFullSize); + _super.prototype.toggleFullSize.call(this, isFullSize); }; Dialog.prototype.open = function (contentOrClose, titleOrModal, destroyAfterClose, modal) { global_1.eventEmitter.fire('closeAllPopups hideHelpers'); @@ -15451,7 +15449,7 @@ var Dialog = (function (_super) { this.setPosition(this.offsetX, this.offsetY); this.setMaxZIndex(); if (this.o.fullsize) { - this.maximization(true); + this.toggleFullSize(true); } this.e.fire('afterOpen', this); return this; @@ -15461,33 +15459,27 @@ var Dialog = (function (_super) { this.setMod('modal', this.isModal); return this; }; - Dialog.prototype.close = function (e) { - var _a, _b; + Dialog.prototype.close = function () { if (this.isDestructed || !this.isOpened || this.getMod('static') === true) { return this; } - if (e) { - e.stopImmediatePropagation(); - e.preventDefault(); - } - if (this.e && this.e.fire('beforeClose', this) === false) { + if (this.e.fire('beforeClose', this) === false) { return this; } this.setMod('active', false); this.isOpened = false; - this.e.fire('toggleFullSize', false); - if (this.iSetMaximization) { - this.maximization(false); + if (this.isFullSize) { + this.toggleFullSize(false); } dom_1.Dom.safeRemove(this.container); this.removeGlobalResizeListeners(); if (this.destroyAfterClose) { this.destruct(); } - (_a = this.e) === null || _a === void 0 ? void 0 : _a.fire(this, 'afterClose'); - (_b = this.e) === null || _b === void 0 ? void 0 : _b.fire(this.ow, 'joditCloseDialog'); + this.e.fire(this, 'afterClose'); + this.e.fire(this.ow, 'joditCloseDialog'); return this; }; Dialog.prototype.buildToolbar = function () { @@ -17769,7 +17761,7 @@ var Snapshot = (function (_super) { endOffset: 0 } }; - snapshot.html = this.j.getNativeEditorValue(); + snapshot.html = this.removeJoditSelection(this.j.getNativeEditorValue()); var sel = this.j.s.sel; if (sel && sel.rangeCount) { var range = sel.getRangeAt(0), startContainer = this.calcHierarchyLadder(range.startContainer), endContainer = this.calcHierarchyLadder(range.endContainer); @@ -17828,6 +17820,9 @@ var Snapshot = (function (_super) { this.isBlocked = false; _super.prototype.destruct.call(this); }; + Snapshot.prototype.removeJoditSelection = function (nativeEditorValue) { + return nativeEditorValue.replace(/]*jodit-selection_marker[^>]*><\/span>/g, ''); + }; return Snapshot; }(component_1.ViewComponent)); exports.Snapshot = Snapshot; @@ -21373,14 +21368,17 @@ var backspace = (function (_super) { var range = sel.range; var fakeNode = jodit.createInside.text(constants_1.INVISIBLE_SPACE); try { - range.insertNode(fakeNode); + dom_1.Dom.safeInsertNode(range, fakeNode); if (!dom_1.Dom.isOrContains(jodit.editor, fakeNode)) { return; } (0, helpers_2.moveNodeInsideStart)(jodit, fakeNode, backspace); if (cases_1.cases.some(function (func) { - return (0, helpers_1.isFunction)(func) && - func(jodit, fakeNode, backspace, mode); + if ((0, helpers_1.isFunction)(func) && + func(jodit, fakeNode, backspace, mode)) { + if (false) {} + return true; + } })) { return false; } @@ -21577,6 +21575,18 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) { var anotherSibling = dom_1.Dom.sibling(fakeNode, !backspace); var sibling = dom_1.Dom.sibling(fakeNode, backspace), removeNeighbor = null; var charRemoved = false, removed; + var getNextInlineSibling = function (sibling) { + var nextSibling = dom_1.Dom.sibling(sibling, backspace); + if (!nextSibling && + sibling.parentNode && + sibling.parentNode !== jodit.editor) { + nextSibling = (0, helpers_2.findMostNestedNeighbor)(sibling, !backspace, jodit.editor, true); + } + return nextSibling; + }; + if (!sibling) { + sibling = getNextInlineSibling(fakeNode); + } while (sibling && (dom_1.Dom.isText(sibling) || dom_1.Dom.isInlineBlock(sibling))) { while (dom_1.Dom.isInlineBlock(sibling)) { sibling = (backspace ? sibling === null || sibling === void 0 ? void 0 : sibling.lastChild : sibling === null || sibling === void 0 ? void 0 : sibling.firstChild); @@ -21634,22 +21644,25 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) { } break; } - var nextSibling = dom_1.Dom.sibling(sibling, backspace); - if (!nextSibling && - sibling.parentNode && - sibling.parentNode !== jodit.editor) { - nextSibling = (0, helpers_2.findMostNestedNeighbor)(sibling, !backspace, jodit.editor, true); - } + var nextSibling = getNextInlineSibling(sibling); if (removeNeighbor) { dom_1.Dom.safeRemove(removeNeighbor); removeNeighbor = null; } sibling = nextSibling; } + if (removeNeighbor) { + dom_1.Dom.safeRemove(removeNeighbor); + removeNeighbor = null; + } if (charRemoved) { removeEmptyInlineParent(fakeNode); addBRInsideEmptyBlock(jodit, fakeNode); jodit.s.setCursorBefore(fakeNode); + if (dom_1.Dom.isTag(fakeNode.previousSibling, 'br') && + !dom_1.Dom.findNotEmptySibling(fakeNode, false)) { + dom_1.Dom.after(fakeNode, jodit.createInside.element('br')); + } } return charRemoved; } @@ -21817,6 +21830,10 @@ function checkRemoveUnbreakableElement(jodit, fakeNode, backspace) { if (dom_1.Dom.isElement(neighbor) && (dom_1.Dom.isTag(neighbor, constants_1.INSEPARABLE_TAGS) || dom_1.Dom.isEmpty(neighbor))) { dom_1.Dom.safeRemove(neighbor); + if (dom_1.Dom.isTag(neighbor, 'br') && + !dom_1.Dom.findNotEmptySibling(fakeNode, false)) { + dom_1.Dom.after(fakeNode, jodit.createInside.element('br')); + } jodit.s.setCursorBefore(fakeNode); if (dom_1.Dom.isTag(neighbor, 'br')) { (0, check_remove_empty_parent_1.checkRemoveEmptyParent)(jodit, fakeNode, backspace); @@ -22348,7 +22365,8 @@ config_1.Config.prototype.cleanHTML = { denyTags: false, useIframeSandbox: false, removeOnError: true, - safeJavaScriptLink: true + safeJavaScriptLink: true, + disableCleanFilter: null }; config_1.Config.prototype.controls.eraser = { command: 'removeFormat', @@ -22455,8 +22473,9 @@ function removeFormatForCollapsedSelection(jodit, fake) { var fakeNode = fake; if (!fakeNode) { fakeNode = jodit.createInside.fake(); - s.range.insertNode(fakeNode); - s.range.collapse(); + var range = s.range; + dom_1.Dom.safeInsertNode(range, fakeNode); + range.collapse(); } var mainInline = dom_1.Dom.furthest(fakeNode, isInlineBlock, jodit.editor); if (mainInline) { @@ -22504,8 +22523,8 @@ function removeFormatForSelection(jodit) { var s = jodit.s, editor = jodit.editor, createInside = jodit.createInside, range = s.range, left = range.cloneRange(), right = range.cloneRange(), fakeLeft = createInside.fake(), fakeRight = createInside.fake(); left.collapse(true); right.collapse(false); - left.insertNode(fakeLeft); - right.insertNode(fakeRight); + dom_1.Dom.safeInsertNode(left, fakeLeft); + dom_1.Dom.safeInsertNode(right, fakeRight); range.setStartBefore(fakeLeft); range.collapse(true); s.selectRange(range); @@ -22629,10 +22648,39 @@ tslib_1.__exportStar(__webpack_require__(20544), exports); tslib_1.__exportStar(__webpack_require__(47913), exports); tslib_1.__exportStar(__webpack_require__(42954), exports); tslib_1.__exportStar(__webpack_require__(19070), exports); +tslib_1.__exportStar(__webpack_require__(4609), exports); tslib_1.__exportStar(__webpack_require__(58909), exports); tslib_1.__exportStar(__webpack_require__(39196), exports); +/***/ }), + +/***/ 4609: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +/*! + * Jodit Editor (https://xdsoft.net/jodit/) + * Released under MIT see LICENSE.txt in the project root for license information. + * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.removeEmptyTextNode = void 0; +var dom_1 = __webpack_require__(43887); +function removeEmptyTextNode(jodit, node, hadEffect, arg, argi, currentNode) { + if (dom_1.Dom.isText(node) && !node.nodeValue) { + if (node === currentNode && jodit.s.isCollapsed()) { + jodit.s.setCursorAfter(node); + } + dom_1.Dom.safeRemove(node); + return true; + } + return hadEffect; +} +exports.removeEmptyTextNode = removeEmptyTextNode; + + /***/ }), /***/ 58909: @@ -22650,14 +22698,10 @@ exports.removeInvTextNodes = void 0; var constants_1 = __webpack_require__(10063); var dom_1 = __webpack_require__(43887); function removeInvTextNodes(jodit, node, hadEffect, arg, argi, currentNode) { - if (!currentNode) { - return hadEffect; - } if (!dom_1.Dom.isText(node) || node.nodeValue == null) { return hadEffect; } - if ((0, constants_1.INVISIBLE_SPACE_REG_EXP)().test(node.nodeValue) && - node.nodeValue.replace((0, constants_1.INVISIBLE_SPACE_REG_EXP)(), '').length !== 0) { + if ((0, constants_1.INVISIBLE_SPACE_REG_EXP)().test(node.nodeValue)) { node.nodeValue = node.nodeValue.replace((0, constants_1.INVISIBLE_SPACE_REG_EXP)(), ''); if (node === currentNode && jodit.s.isCollapsed()) { jodit.s.setCursorAfter(node); @@ -22796,9 +22840,13 @@ var keys = Object.keys(filters); function visitNodeWalker(jodit, nodeElm, allowTags, denyTags, currentSelectionNode) { var e_1, _a; var hadEffect = false; + var dcf = jodit.o.cleanHTML.disableCleanFilter; try { for (var keys_1 = tslib_1.__values(keys), keys_1_1 = keys_1.next(); !keys_1_1.done; keys_1_1 = keys_1.next()) { var key = keys_1_1.value; + if (dcf && dcf.has(key)) { + continue; + } var filter = filters[key]; var tmp = hadEffect; hadEffect = filter(jodit, nodeElm, hadEffect, allowTags, denyTags, currentSelectionNode); @@ -23791,7 +23839,14 @@ function checkBR(jodit, current, shiftKeyPressed) { (shiftKeyPressed && !isMultiLineBlock) || (!shiftKeyPressed && isMultiLineBlock)) { var br = jodit.createInside.element('br'); - jodit.s.insertNode(br, true, false); + jodit.s.insertNode(br, false, false); + if (!dom_1.Dom.findNotEmptySibling(br, false)) { + dom_1.Dom.after(br, br.cloneNode()); + } + var range = jodit.s.range; + range.setStartAfter(br); + range.collapse(true); + jodit.s.selectRange(range); (0, scroll_into_view_1.scrollIntoViewIfNeeded)(br, jodit.editor, jodit.ed); return false; } @@ -24590,6 +24645,7 @@ var css_1 = __webpack_require__(56672); var is_jodit_object_1 = __webpack_require__(47442); var global_1 = __webpack_require__(58299); __webpack_require__(53022); +var fullsizeStack = new Set(); function fullsize(editor) { editor.registerButton({ name: 'fullsize' @@ -24631,7 +24687,13 @@ function fullsize(editor) { editor.toolbarContainer.appendChild(editor.toolbar.container); (0, css_1.css)(editor.toolbar.container, 'width', 'auto'); } - if (editor.o.globalFullSize) { + enable + ? fullsizeStack.add(container) + : fullsizeStack.delete(container); + var shouldToggleGlobalFullsize = editor.o.globalFullSize && + ((fullsizeStack.size === 1 && enable) || + (fullsizeStack.size === 0 && !enable)); + if (shouldToggleGlobalFullsize) { var node = container.parentNode; while (node && node.nodeType !== Node.DOCUMENT_NODE && @@ -30536,7 +30598,7 @@ var search = (function (_super) { rng.setEnd(bound.endContainer, bound.endOffset); rng.deleteContents(); textNode = this.j.createInside.text(this.ui.replace); - rng.insertNode(textNode); + dom_1.Dom.safeInsertNode(rng, textNode); this.j.s.select(textNode); this.tryScrollToElement(textNode); this.cache = {}; @@ -31366,7 +31428,7 @@ global_1.pluginSystem.add('selectCells', selectCells); Object.defineProperty(exports, "__esModule", ({ value: true })); var config_1 = __webpack_require__(27537); config_1.Config.prototype.select = { - normalizeSelectionBeforeCutAndCopy: true + normalizeSelectionBeforeCutAndCopy: false }; @@ -33971,7 +34033,7 @@ var wrapNodes = (function (_super) { } var child = jodit.editor.firstChild, isChanged = false; while (child) { - this.checkAloneListLeaf(child, jodit); + child = this.checkAloneListLeaf(child, jodit); if (this.isSuitableStart(child)) { if (!isChanged) { jodit.s.save(); @@ -33985,6 +34047,7 @@ var wrapNodes = (function (_super) { child = next; } box.normalize(); + child = box; } child = child && child.nextSibling; } @@ -33996,11 +34059,26 @@ var wrapNodes = (function (_super) { } }; wrapNodes.prototype.checkAloneListLeaf = function (child, jodit) { - if (dom_1.Dom.isElement(child) && - dom_1.Dom.isTag(child, 'li') && - !dom_1.Dom.isTag(child.parentElement, ['ul', 'ol'])) { - dom_1.Dom.wrap(child, 'ul', jodit.createInside); - } + var result = child; + var next = child; + do { + if (dom_1.Dom.isElement(next) && + dom_1.Dom.isTag(next, 'li') && + !dom_1.Dom.isTag(next.parentElement, ['ul', 'ol'])) { + var nextChild = dom_1.Dom.findNotEmptySibling(next, false); + if (dom_1.Dom.isTag(result, 'ul')) { + result.appendChild(next); + } + else { + result = dom_1.Dom.wrap(next, 'ul', jodit.createInside); + } + next = nextChild; + } + else { + break; + } + } while (next); + return result; }; tslib_1.__decorate([ decorators_1.autobind diff --git a/build/jodit.es2018.min.js b/build/jodit.es2018.min.js index ddf041710..dd8efc4f5 100644 --- a/build/jodit.es2018.min.js +++ b/build/jodit.es2018.min.js @@ -1 +1 @@ -((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}})(self,(function(){return function(){var e,t={90643(e){e.exports.default=["إبدأ في الكتابة...","حول جوديت","محرر جوديت",null,"دليل مستخدم جوديت","يحتوي على مساعدة مفصلة للاستخدام","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","شراء النسخة الكاملة","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","مِرْساة","فتح في نافذة جديدة","فتح المحرر في الحجم الكامل","مسح التنسيق","ملء اللون أو تعيين لون النص","إعادة","تراجع","عريض","مائل","إدراج قائمة غير مرتبة","إدراج قائمة مرتبة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","إدراج خط أفقي","إدراج صورة","ادخال الملف","إدراج فيديو يوتيوب/فيميو ","إدراج رابط","حجم الخط","نوع الخط","إدراج كتلة تنسيق","عادي","عنوان 1","عنوان 2","عنوان 3","عنوان 4","إقتباس","كود","إدراج","إدراج جدول","تقليل المسافة البادئة","زيادة المسافة البادئة","تحديد أحرف خاصة","إدراج حرف خاص","تنسيق الرسم","تغيير الوضع","هوامش","أعلى","يمين","أسفل","يسار","الأنماط","الطبقات","محاذاة","اليمين","الوسط","اليسار","--غير مضبوط--","Src","العنوان","العنوان البديل","الرابط","افتح الرابط في نافذة جديدة","الصورة","ملف","متقدم","خصائص الصورة","إلغاء","حسنا","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","الصق ك HTML","احتفظ","نظيفة","إدراج كنص","إدراج النص فقط","كلمة لصق الكشف عن","للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","متصفح الملفات","حدث خطأ في تحميل القائمة ","حدث خطأ في تحميل المجلدات","هل أنت واثق؟","أدخل اسم المجلد","إنشاء مجلد","أكتب إسم","إسقاط صورة","إسقاط الملف","أو أنقر","النص البديل","تصفح","رفع","الخلفية","نص","أعلى","الوسط","الأسفل","إدراج عمود قبل","إدراج عمود بعد","إدراج صف أعلى","إدراج صف أسفل","حذف الجدول","حذف الصف","حذف العمود","خلية فارغة","مصدر","بالخط العريض","مائل","شغل","صلة","إلغاء","كرر","طاولة","صورة","نظيف","فقرة","حجم الخط","فيديو","الخط","حول المحرر","طباعة","أكد","شطب","المسافة البادئة","نتوء","ملء الشاشة","الحجم التقليدي","الخط","قائمة","قائمة مرقمة","قطع","اختر الكل","قانون","فتح الرابط","تعديل الرابط","سمة Nofollow","إزالة الرابط","مراجعة","لتحرير","تحديث","URL","تحرير","محاذاة أفقية","فلتر","عن طريق التغيير","بالاسم","حسب الحجم","إضافة مجلد","إعادة","احتفظ","حفظ باسم","تغيير الحجم","حجم القطع","عرض","ارتفاع","حافظ على النسب","أن","لا","حذف","تميز","%d حرف","%d كلام",null,"تميز %s","اختر الكل","محاذاة عمودية","انشق، مزق","انقسام عمودي","تقسيم أفقي","اذهب","أضف العمود","اضف سطر","حذف","الحدود","رخصة %s","اضرب من خلال","أكد","حرف فوقي","مخطوطة","قطع الاختيار","استراحة","البحث عن","استبدل ب","محل","معجون","اختر محتوى للصق","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","تم تحميل الصورة بنجاح على الخادم!","لوحة","لا توجد ملفات في هذا الدليل.","إعادة تسمية","أدخل اسم جديد","معاينة","تحميل","لصق من الحافظة","متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","نسخ التحديد","نسخ","دائرة نصف قطرها الحدود","عرض كل","تطبيق","يرجى ملء هذا المجال","يرجى إدخال عنوان ويب","الافتراضي","دائرة","نقطة","المربعة","البحث","تجد السابقة","تجد التالي","أدخل اسم الفصل","اضغط البديل لتغيير حجم مخصص"]},52532(e){e.exports.default=["Napiš něco","O Jodit","Editor Jodit","Verze pro nekomerční použití","Jodit Uživatelská příručka","obsahuje detailní nápovědu","Pro informace o licenci, prosím, přejděte na naši stránku:","Koupit plnou verzi","Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.","Anchor","Otevřít v nové záložce","Otevřít v celoobrazovkovém režimu","Vyčistit formátování","Barva výplně a písma","Vpřed","Zpět","Tučné","Kurzíva","Odrážky","Číslovaný seznam","Zarovnat na střed","Zarovnat do bloku","Zarovnat vlevo","Zarovnat vpravo","Vložit horizontální linku","Vložit obrázek","Vložit soubor","Vložit video (YT/Vimeo)","Vložit odkaz","Velikost písma","Typ písma","Formátovat blok","Normální text","Nadpis 1","Nadpis 2","Nadpis 3","Nadpis 4","Citát","Kód","Vložit","Vložit tabulku","Zmenšit odsazení","Zvětšit odsazení","Vybrat speciální symbol","Vložit speciální symbol","Použít formát","Změnit mód","Okraje","horní","pravý","spodní","levý","Styly","Třídy","Zarovnání","Vpravo","Na střed","Vlevo","--nenastaveno--","src","Titulek","Alternativní text (alt)","Link","Otevřít link v nové záložce","Obrázek","soubor","Rozšířené","Vlastnosti obrázku","Zpět","Ok","Váš text se podobá HTML. Vložit ho jako HTML?","Vložit jako HTML","Ponechat originál","Vyčistit","Vložit jako TEXT","Vložit pouze TEXT","Detekován fragment z Wordu nebo Excelu","Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","Prohlížeč souborů","Chyba při načítání seznamu souborů","Chyba při načítání složek","Jste si jistý(á)?","Název složky","Vytvořit složku","název","Přetáhněte sem obrázek","Přetáhněte sem soubor","nebo klikněte","Alternativní text","Server","Nahrát","Pozadí","Text","Nahoru","Na střed","Dolu","Vložit sloupec před","Vložit sloupec za","Vložit řádek nad","Vložit řádek pod","Vymazat tabulku","Vymazat řádku","Vymazat sloupec","Vyčistit buňku","HTML","tučně","kurzíva","štětec","odkaz","zpět","vpřed","tabulka","obrázek","guma","odstavec","velikost písma","video","písmo","о editoru","tisk","podtrženo","přeškrtnuto","zvětšit odsazení","zmenšit odsazení","celoobrazovkový režim","smrsknout","Linka","Odrážka","Číslovaný seznam","Vyjmout","Označit vše","Kód","Otevřít odkaz","Upravit odkaz","Atribut no-follow","Odstranit odkaz","Zobrazit","Chcete-li upravit","Aktualizovat","URL","Editovat","Horizontální zarovnání","Filtr","Dle poslední změny","Dle názvu","Dle velikosti","Přidat složku","Reset","Uložit","Uložit jako...","Změnit rozměr","Ořezat","Šířka","Výška","Ponechat poměr","Ano","Ne","Vyjmout","Označit","Znaky: %d","Slova: %d","Vše","Označit %s","Označit vše","Vertikální zarovnání","Rozdělit","Rozdělit vertikálně","Rozdělit horizontálně","Spojit","Přidat sloupec","Přidat řádek","Vymazat","Okraj","Licence: %s","Přeškrtnuto","Podtrženo","Horní index","Dolní index","Vyjmout označené","Zalomení","Najdi","Nahradit za","Vyměňte","Vložit","Vyber obsah pro vložení","Můžete upravovat pouze své obrázky. Načíst obrázek?","Obrázek byl úspěšně nahrán!","paleta","V tomto adresáři nejsou žádné soubory.","přejmenovat","Zadejte nový název","náhled","Stažení","Vložit ze schránky","Váš prohlížeč nepodporuje přímý přístup do schránky.","Kopírovat výběr","kopírování","Border radius","Zobrazit všechny","Platí","Prosím, vyplňte toto pole","Prosím, zadejte webovou adresu","Výchozí","Kruh","Dot","Quadrate","Najít","Najít Předchozí","Najít Další","Vložte název třídy","Stiskněte Alt pro vlastní změnu velikosti"]},75178(e){e.exports.default=["Bitte geben Sie einen Text ein","Über Jodit","Jodit Editor",null,"Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte öffnen","Editor in voller Größe öffnen","Formatierung löschen","Füllfarbe oder Textfarbe ändern","Wiederholen","Rückgängig machen","Fett","Kursiv","Unsortierte Liste einfügen","Nummerierte Liste einfügen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einfügen","Bild einfügen","Datei einfügen","Youtube/vimeo Video einfügen","Link einfügen","Schriftgröße","Schriftfamilie","Formatblock einfügen","Normal","Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Zitat","Code","Einfügen","Tabelle einfügen","Einzug verkleinern","Einzug vergrößern","Sonderzeichen auswählen","Sonderzeichen einfügen","Format kopieren","Änderungsmodus","Ränder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Als HTML einfügen?","Original speichern","Säubern","Als Text einfügen","Nur Text einfügen","In Word formatierter Text erkannt","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei löschen","oder hier klicken","Alternativtext","Auswählen","Hochladen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einfügen","Spalte danach einfügen","Zeile oberhalb einfügen","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Zelle leeren","HTML","Fett gedruckt","Kursiv","Bürste","Verknüpfung","Rückgängig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgröße","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","Wählen Sie Alle aus","Code einbetten","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Ansehen","Bearbeiten","Aktualisieren","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Wiederherstellen","Speichern","Speichern als","Größe ändern","Größe anpassen","Breite","Höhe","Seitenverhältnis beibehalten","Ja","Nein","Entfernen","Markieren","Zeichen: %d","Wörter: %d","Alles markieren","Markieren: %s","Alles markieren","Vertikale Ausrichtung","Unterteilen","Vertikal unterteilen","Horizontal unterteilen","Vereinen","Spalte hinzufügen","Zeile hinzufügen","Löschen","Rand",null,"Durchstreichen","Unterstreichen","Hochgestellen","Tiefstellen","Auswahl ausschneiden","Pause","Suche nach","Ersetzen durch","Ersetzen","Einfügen","Wählen Sie den Inhalt zum Einfügen aus","Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einfügen","Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius für abgerundete Ecken","Alle anzeigen","Anwenden","Bitte füllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","className (CSS) einfügen","Drücken Sie Alt für benutzerdefinierte Größenanpassung"]},51048(e){e.exports.default=["Type something","About Jodit","Jodit Editor","Free Non-commercial Version","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open editor in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Clean","Insert as Text","Insert only Text","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Browse","Upload","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Eye","pencil","Update"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Chars: %d","Words: %d","All","Select %s","Select all","Vertical align","Split","Split vertical","Split horizontal","Merge","Add column","Add row","Delete","Border","License: %s","Strike through","Underline","superscript","subscript","Cut selection","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","Insert className","Press Alt for custom resizing"]},22999(e){e.exports.default=["Escriba algo...","Acerca de Jodit","Jodit Editor",null,"Guía de usuario Jodit","contiene ayuda detallada para el uso.","Para información sobre la licencia, por favor visite nuestro sitio:","Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Anclar","Abrir en nueva pestaña","Abrir editor en pantalla completa","Limpiar formato","Color de relleno o de letra","Rehacer","Deshacer","Negrita","Cursiva","Insertar lista no ordenada","Insertar lista ordenada","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Insertar línea horizontal","Insertar imagen","Insertar archivo","Insertar video de Youtube/vimeo","Insertar vínculo","Tamaño de letra","Familia de letra","Insertar bloque","Normal","Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Cita","Código","Insertar","Insertar tabla","Disminuir sangría","Aumentar sangría","Seleccionar caracter especial","Insertar caracter especial","Copiar formato","Cambiar modo","Márgenes","arriba","derecha","abajo","izquierda","Estilos CSS","Clases CSS","Alinear","Derecha","Centrado","Izquierda","--No Establecido--","Fuente","Título","Texto Alternativo","Vínculo","Abrir vínculo en nueva pestaña","Imagen","Archivo","Avanzado","Propiedades de imagen","Cancelar","Aceptar","El código es similar a HTML. ¿Mantener como HTML?","Pegar como HTML?","Mantener","Limpiar","Insertar como texto","Insertar solo texto","Pegado desde Word detectado","El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Buscar archivo","Error al cargar la lista","Error al cargar las carpetas","¿Está seguro?","Entre nombre de carpeta","Crear carpeta","Entre el nombre","Soltar imagen","Soltar archivo","o click","Texto alternativo","Buscar","Subir","Fondo","Texto","Arriba","Centro","Abajo","Insertar columna antes","Interar columna después","Insertar fila arriba","Insertar fila debajo","Borrar tabla","Borrar fila","Borrar columna","Vaciar celda","HTML","negrita","cursiva","Brocha","Vínculo","deshacer","rehacer","Tabla","Imagen","Borrar","Párrafo","Tamaño de letra","Video","Letra","Acerca de","Imprimir","subrayar","tachar","sangría","quitar sangría","Tamaño completo","encoger","línea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Incluir código","Abrir vínculo","Editar vínculo","No seguir","Desvincular","Ver","Para editar","Actualizar","URL","Editar","Alineación horizontal","filtrar","Ordenar por fecha modificación","Ordenar por nombre","Ordenar por tamaño","Agregar carpeta","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relación de aspecto","Si","No","Quitar","Seleccionar","Caracteres: %d","Palabras: %d","Todo","Seleccionar: %s","Seleccionar todo","Alineación vertical","Dividir","Dividir vertical","Dividir horizontal","Mezclar","Agregar columna","Agregar fila","Borrar","Borde",null,"Tachado","Subrayado","superíndice","subíndice","Cortar selección","Pausa","Buscar","Reemplazar con","Reemplazar","Pegar","Seleccionar contenido para pegar","Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","¡La imagen se ha subido correctamente al servidor!","paleta","No hay archivos en este directorio.","renombrar","Ingresa un nuevo nombre","avance","Descargar","Pegar desde el portapapeles","Su navegador no soporta el acceso directo en el portapapeles.","Selección de copia","copia","Radio frontera","Mostrar todos los","Aplicar","Por favor, rellene este campo","Por favor, introduzca una dirección web","Predeterminado","Círculo","Punto","Cuadro","Encontrar","Buscar Anterior","Buscar Siguiente","Insertar nombre de clase","Presione Alt para cambiar el tamaño personalizado"]},34145(e){e.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit",null,"Guide de l'utilisateur","Aide détaillée à l'utilisation","Consulter la licence sur notre site web:","Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'éditeur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","Défaire","Gras","Italique","Liste non ordonnée","Liste ordonnée","Centrer","Justifier","Aligner à gauche ","Aligner à droite","Insérer une ligne horizontale","Insérer une image","Insérer un fichier","Insérer une vidéo","Insérer un lien","Taille des caractères","Famille des caractères","Bloc formatté","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Insérer","Insérer un tableau","Diminuer le retrait","Retrait plus","Sélectionnez un caractère spécial","Insérer un caractère spécial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avancé","Propriétés de l'image","Annuler","OK","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Nettoyer","Coller en tant que texte","Coller le texte seulement","C'est peut-être un fragment de Word ou Excel","Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous sûrs ?","Entrer le non de dossier","Créer un dossier","type de fichier","Coller une image","Déposer un fichier","ou cliquer","Texte de remplacemement","Chercher","Charger","Arrière-plan","Texte","Haut","Milieu","Bas","Insérer une colonne avant","Insérer une colonne après","Insérer une ligne en dessus","Insérer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","la source","graisseux","italique","verser","lien","abolir","prêt","graphique","Image","la gommen","clause","taille de police","Video","police","à propos de l'éditeur","impression","souligné","barré","indentation","indifférent","taille réelle","taille conventionnelle","la ligne","Liste des","Liste numérotée","Couper","Sélectionner tout",null,"Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Voir","Pour éditer","Mettre à jour","URL",null,"Alignement horizontal","Filtre","Trier par modifié","Trier par nom","Classer par taille","Ajouter le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en évidence","Symboles: %d","Mots: %d",null,"Mettre en évidence: %s","Tout sélectionner","Alignement vertical","Split","Split vertical","Split horizontal","aller","Ajouter une colonne","Ajouter une rangée","Effacer",null,null,"Frapper à travers","Souligner","exposant","indice","Couper la sélection","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu à coller","Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","L'image a été téléchargée avec succès sur le serveur!null","Palette","Il n'y a aucun fichier dans ce répertoire.","renommer","Entrez un nouveau nom","Aperçu","Télécharger","Coller à partir du presse-papiers","Votre navigateur ne prend pas en charge l'accès direct à la presse-papiers.","Copier la sélection","copie","Rayon des frontières","Afficher tous les","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par défaut","Cercle","Dot","Quadrate","Trouver","Trouvez Précédente","Suivant","Insérer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalisé"]},40272(e){e.exports.default=["הקלד משהו...","About Jodit","Jodit Editor",null,"Jodit User's Guide","contains detailed help for using.","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","מקום עיגון","פתח בכרטיסיה חדשה","פתח את העורך בחלון חדש","נקה עיצוב","שנה צבע טקסט או רקע","בצע שוב","בטל","מודגש","נטוי","הכנס רשימת תבליטים","הכנס רשימה ממוספרת","מרכז","ישר ","ישר לשמאל","ישר לימין","הכנס קו אופקי","הכנס תמונה","הכנס קובץ","הכנס סרטון וידאו מYouTube/Vimeo","הכנס קישור","גודל גופן","גופן","מעוצב מראש","רגיל","כותרת 1","כותרת 2","כותרת 3","כותרת 4","ציטוט","קוד","הכנס","הכנס טבלה","הקטן כניסה","הגדל כניסה","בחר תו מיוחד","הכנס תו מיוחד","העתק עיצוב","החלף מצב","ריווח","עליון","ימין","תחתון","שמאל","עיצוב CSS","מחלקת CSS","יישור","ימין","מרכז","שמאל","--לא נקבע--","מקור","כותרת","כיתוב חלופי","קישור","פתח בכרטיסיה חדשה","תמונה","קובץ","מתקדם","מאפייני תמונה","ביטול","אישור","הקוד דומה לHTML, האם להשאיר כHTML","הדבק כHTML","השאר","נקה","הכנס כטקסט","הכנס טקסט בלבד",'זוהתה הדבקה מ"וורד"',"התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","סייר הקבצים","שגיאה בזמן טעינת רשימה","שגיאה בזמן טעינת תקיות","האם אתה בטוח?","הכנס שם תקיה","צור תקיה","סוג הקובץ","הסר תמונה","הסר קובץ","או לחץ","כיתוב חלופי","סייר","העלה","רקע","טקסט","עליון","מרכז","תחתון","הכנס עמודה לפני","הכנס עמודה אחרי","הכנס שורה מעל","הכנס שורה מתחת","מחק טבלה","מחק שורה","מחק עמודה","רוקן תא","HTML","מודגש","נטוי","מברשת","קישור","בטל","בצע שוב","טבלה","תמונה","מחק","פסקה","גודל גופן","וידאו","גופן","עלינו","הדפס","קו תחתון","קו חוצה","הגדל כניסה","הקטן כניסה","גודל מלא","כווץ","קו אופקי","רשימת תבליטים","רשימה ממוספרת","חתוך","בחר הכל","הוסף קוד","פתח קישור","ערוך קישור","ללא מעקב","בטל קישור","הצג","כדי לערוך","עדכן","כתובת","ערוך","יישור אופקי","סנן","מין לפי שינוי","מיין לפי שם","מיין לפי גודל","הוסף תקייה","אפס","שמור","שמור בשם...","שנה גודל","חתוך","רוחב","גובה","שמור יחס","כן","לא","הסר","בחר","תווים: %d","מילים: %d","הכל","נבחר: %s","בחר הכל","יישור אנכי","פיצול","פיצול אנכי","פיצול אופקי","מזג","הוסף עמודה","הוסף שורה","מחק","מסגרת",null,"קו חוצה","קו תחתון","superscript","subscript","גזור בחירה","שבירת שורה","חפש","החלף ב","להחליף","הדבק","בחר תוכן להדבקה","רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","התמונה עלתה בהצלחה!","לוח","אין קבצים בספריה זו.","הונגרית","הזן שם חדש","תצוגה מקדימה","הורד","להדביק מהלוח","הדפדפן שלך לא תומך גישה ישירה ללוח.","העתק בחירה","העתק","רדיוס הגבול","הצג את כל","החל","נא למלא שדה זה","אנא הזן כתובת אינטרנט","ברירת המחדל","מעגל","נקודה","הריבוע הזה","למצוא","מצא את הקודם","חפש את הבא","הכנס את שם הכיתה","לחץ על אלט לשינוי גודל מותאם אישית"]},2978(e){e.exports.default=["Írjon be valamit","Joditról","Jodit Editor","Ingyenes változat","Jodit útmutató","további segítséget tartalmaz","További licence információkért látogassa meg a weboldalunkat:","Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyitás új lapon","Megnyitás teljes méretben","Formázás törlése","Háttér/szöveg szín","Újra","Visszavon","Félkövér","Dőlt","Pontozott lista","Számozott lista","Középre zárt","Sorkizárt","Balra zárt","Jobbra zárt","Vízszintes vonal beszúrása","Kép beszúrás","Fájl beszúrás","Youtube videó beszúrása","Link beszúrás","Betűméret","Betűtípus","Formázott blokk beszúrása","Normál","Fejléc 1","Fejléc 2","Fejléc 3","Fejléc 4","Idézet","Kód","Beszúr","Táblázat beszúrása","Behúzás csökkentése","Behúzás növelése","Speciális karakter kiválasztása","Speciális karakter beszúrása","Kép formázása","Nézet váltása","Szegélyek","felső","jobb","alsó","bal","CSS stílusok","CSS osztályok","Igazítás","Jobbra","Középre","Balra","Nincs","Forrás","Cím","Helyettesítő szöveg","Link","Link megnyitása új lapon","Kép","Fájl","Haladó","Kép tulajdonságai","Mégsem","OK","A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Beszúrás HTML-ként","Megtartás","Elvetés","Beszúrás szövegként","Csak szöveg beillesztése","Word-ből másolt szöveg","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Fájl tallózó","Hiba a lista betöltése közben","Hiba a mappák betöltése közben","Biztosan ezt szeretné?","Írjon be egy mappanevet","Mappa létrehozása","írjon be bevet","Húzza ide a képet","Húzza ide a fájlt","vagy kattintson","Helyettesítő szöveg","Tallóz","Feltölt","Háttér","Szöveg","Fent","Középen","Lent","Oszlop beszúrás elé","Oszlop beszúrás utána","Sor beszúrás fölé","Sor beszúrás alá","Táblázat törlése","Sor törlése","Oszlop törlése","Cella tartalmának törlése","HTML","Félkövér","Dőlt","Ecset","Link","Visszavon","Újra","Táblázat","Kép","Törlés","Paragráfus","Betűméret","Videó","Betű","Rólunk","Nyomtat","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Egyenes vonal","Lista","Számozott lista","Kivág","Összes kijelölése","Beágyazott kód","Link megnyitása","Link szerkesztése","Nincs követés","Link leválasztása","felülvizsgálat","Szerkesztés","Frissít","URL","Szerkeszt","Vízszintes igazítás","Szűrő","Rendezés módosítás szerint","Rendezés név szerint","Rendezés méret szerint","Mappa hozzáadás","Visszaállít","Mentés","Mentés másként...","Átméretezés","Kivág","Szélesség","Magasság","Képarány megtartása","Igen","Nem","Eltávolít","Kijelöl","Karakterek száma: %d","Szavak száma: %d","Összes","Kijelöl: %s","Összes kijelölése","Függőleges igazítás","Felosztás","Függőleges felosztás","Vízszintes felosztás","Összevonás","Oszlop hozzáadás","Sor hozzáadás","Törlés","Szegély",null,"Áthúzott","Aláhúzott","Felső index","Alsó index","Kivágás","Szünet","Keresés","Csere erre","Cserélje ki","Beillesztés","Válasszon tartalmat a beillesztéshez","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","Kép sikeresen feltöltve!","Palette","Er zijn geen bestanden in deze map.","átnevezés","Adja meg az új nevet","előnézet","Letöltés","Illessze be a vágólap","A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Másolás kiválasztása","másolás","Határ sugár","Összes","Alkalmazni","Kérjük, töltse ki ezt a mezőt,","Kérjük, írja be a webcímet","Alapértelmezett","Kör","Pont","Quadrate","Találni","Megtalálja Előző","Következő Keresése","Helyezze be az osztály nevét","Nyomja meg az Alt egyéni átméretezés"]},99113(e){e.exports.default=["Ketik sesuatu","Tentang Jodit","Editor Jodit","Versi Bebas Non-komersil","Panduan Pengguna Jodit","mencakup detail bantuan penggunaan","Untuk informasi tentang lisensi, silakan kunjungi website:","Beli versi lengkap","Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.","Tautan","Buka di tab baru","Buka editor dalam ukuran penuh","Hapus Pemformatan","Isi warna atau atur warna teks","Ulangi","Batalkan","Tebal","Miring","Sisipkan Daftar Tidak Berurut","Sisipkan Daftar Berurut","Tengah","Penuh","Kiri","Kanan","Sisipkan Garis Horizontal","Sisipkan Gambar","Sisipkan Berkas","Sisipkan video youtube/vimeo","Sisipkan tautan","Ukuran font","Keluarga font","Sisipkan blok format","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Kutip","Kode","Sisipkan","Sisipkan tabel","Kurangi Indentasi","Tambah Indentasi","Pilih Karakter Spesial","Sisipkan Karakter Spesial","Formar warna","Ubah mode","Batas","atas","kanan","bawah","kiri","Gaya","Class","Rata","Kanan","Tengah","Kiri","--Tidak diset--","Src","Judul","Teks alternatif","Tautan","Buka tautan di tab baru","Gambar","berkas","Lanjutan","Properti gambar","Batal","Ya","Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste sebagai HTML","Jaga","Bersih","Sisipkan sebagai teks","Sisipkan hanya teks","Terdeteksi paste dari Word","Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","Penjelajah Berkas","Error ketika memuat list","Error ketika memuat folder","Apakah Anda yakin?","Masukkan nama Direktori","Buat direktori","ketik nama","Letakkan gambar","Letakkan berkas","atau klik","Teks alternatif","Jelajahi","Unggah","Latar Belakang","Teks","Atas","Tengah","Bawah","Sisipkan kolom sebelumnya","Sisipkan kolom setelahnya","Sisipkan baris di atasnya","Sisipkan baris di bawahnya","Hapus tabel","Hapus baris","Hapus kolom","Kosongkan cell","sumber","tebal","miring","sikat","tautan","batalkan","ulangi","tabel","gambar","penghapus","paragraf","ukuran font","video","font","tentang","cetak","garis bawah","coret","menjorok ke dalam","menjorok ke luar","ukuran penuh","menyusut","hr","ul","ol","potong","Pilih semua","Kode embed","Buka tautan","Edit tautan","No follow","Hapus tautan","Mata","pensil","Perbarui","URL","Edit","Perataan horizontal","Filter","Urutkan berdasarkan perubahan","Urutkan berdasarkan nama","Urutkan berdasarkan ukuran","Tambah folder","Reset","Simpan","Simpan sebagai...","Ubah ukuran","Crop","Lebar","Tinggi","Jaga aspek rasio","Ya","Tidak","Copot","Pilih","Karakter: %d","Kata: %d","Semua","Pilih %s","Pilih semua","Rata vertikal","Bagi","Bagi secara vertikal","Bagi secara horizontal","Gabungkan","Tambah kolom","tambah baris","Hapus","Bingkai","Lisensi: %s","Coret","Garis Bawah","Superskrip","Subskrip","Potong pilihan","Berhenti","Mencari","Ganti dengan","Mengganti","Paste","Pilih konten untuk dipaste","Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","Gambar telah sukses diunggah ke host!","palet","Tidak ada berkas","ganti nama","Masukkan nama baru","pratinjau","Unduh","Paste dari clipboard","Browser anda tidak mendukung akses langsung ke clipboard.","Copy seleksi","copy","Border radius","Tampilkan semua","Menerapkan","Silahkan mengisi kolom ini","Silahkan masukkan alamat web","Default","Lingkaran","Dot","Kuadrat","Menemukan","Menemukan Sebelumnya","Menemukan Berikutnya","Masukkan nama kelas","Tekan Alt untuk mengubah ukuran kustom"]},51923(e){e.exports.default=["Scrivi qualcosa...","A proposito di Jodit","Jodit Editor",null,"Guida utente di Jodit","contiene una guida dettagliata per l'uso.","Per informazioni sulla licenza, si prega di visitare il nostro sito:","Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Ancora","Apri in una nuova scheda","Apri l'editor a schermo intero","Formato chiaro","Riempi colore o lettera","Ripristina","Annulla","Grassetto","Corsivo","Inserisci lista non ordinata","Inserisci l'elenco ordinato","Allinea Centra","Allineare Giustificato","Allinea a Sinistra","Allinea a Destra","Inserisci la linea orizzontale","Inserisci immagine","Inserisci un file","Inserisci video Youtube/Vimeo","Inserisci il link","Dimensione del carattere","Tipo di font","Inserisci blocco","Normale","Heading 1","Heading 2","Heading 3","Heading 4","Citazione","Codice","Inserisci","Inserisci tabella","Riduci il rientro","Aumenta il rientro","Seleziona una funzione speciale","Inserisci un carattere speciale","Copia formato","Cambia modo","Margini","su","destra","giù","sinistra","Stili CSS","Classi CSS","Allinea","Destra","Centro","Sinistra","--Non Impostato--","Fonte","Titolo","Testo Alternativo","Link","Apri il link in una nuova scheda","Immagine","Archivio","Avanzato","Proprietà dell'immagine","Annulla","Accetta","Il codice è simile all'HTML. Mantieni come HTML?","Incolla come HTML?","Mantieni","Pulisci","Inserisci come testo","Inserisci solo il testo","Incollato da Word rilevato","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Cerca il file","Errore durante il caricamento dell'elenco","Errore durante il caricamento delle cartelle","Sei sicuro?","Inserisci il nome della cartella","Crea cartella","Entre el nombre","Rilascia l'immagine","Rilascia file","o click","Testo alternativo","Sfoglia","Carica","Sfondo","Testo","Su","Centro","Sotto","Inserisci prima la colonna","Inserisci colonna dopo","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tabella","Elimina riga","Elimina colonna","Cella vuota","HTML","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Sottolineato","Barrato","trattino","annulla rientro","A grandezza normale","comprimere","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Includi codice","Apri link","Modifica link","Non seguire","Togli link","Recensione","Per modificare","Aggiornare"," URL","Modifica","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Reset","Salva","Salva con nome...","Ridimensiona","Tagliare","Larghezza","Altezza","Mantenere le proporzioni","Si","No","Rimuovere","Seleziona","Caratteri: %d","Parole: %d","Tutto","Seleziona: %s","Seleziona tutto","Allineamento verticala","Dividere","Dividere verticalmente","Diviso orizzontale","Fondi","Aggiungi colonna","Aggiungi riga","Cancella","Bordo",null,"Barrato","Sottolineato","indice","deponente","Taglia la selezione","Pausa","Cerca","Sostituisci con","Sostituire","Incolla","Seleziona il contenuto da incollare","Puoi modificare solo le tue immagini. Scarica questa immagine sul server?","L'immagine è stata caricata con successo sul server!","tavolozza","Non ci sono file in questa directory.","ungherese","Inserisci un nuovo nome","anteprima","Scaricare","Incolla dagli appunti","Il tuo browser non supporta l'accesso diretto agli appunti.","Selezione di copia","copia","Border radius","Mostra tutti","Applicare","Si prega di compilare questo campo","Si prega di inserire un indirizzo web","Di Default","Cerchio","Dot","Quadrate","Trovare","Trova Precedente","Trova Successivo","Inserisci il nome della classe","Premere Alt per il ridimensionamento personalizzato"]},21268(e){e.exports.default=["なにかタイプしてください","Joditについて","Jodit Editor",null,"Jodit ユーザーズ・ガイド","詳しい使い方","ライセンス詳細についてはJodit Webサイトを確認ください:","フルバージョンを購入","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","新しいタブで開く","エディターのサイズ(フル/ノーマル)","書式をクリア","テキストの色","やり直し","元に戻す","太字","斜体","箇条書き","番号付きリスト","中央揃え","両端揃え","左揃え","右揃え","区切り線を挿入","画像を挿入","ファイルを挿入","Youtube/Vimeo 動画","リンクを挿入","フォントサイズ","フォント","テキストのスタイル","指定なし","タイトル1","タイトル2","タイトル3","タイトル4","引用","コード","挿入","表を挿入","インデント減","インデント増","特殊文字を選択","特殊文字を挿入","書式を貼付け","編集モード切替え","マージン","上","右","下","左","スタイル","クラス","配置","右寄せ","中央寄せ","左寄せ","指定なし","ソース","タイトル","代替テキスト","リンク","新しいタブで開く","画像","ファイル","高度な設定","画像のプロパティー","キャンセル","確定","HTMLコードを保持しますか?","HTMLで貼付け","HTMLを保持","Clean","HTMLをテキストにする","テキストだけ","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","ここに画像をドロップ","ここにファイルをドロップ","or クリック","代替テキスト","ブラウズ","アップロード","背景","文字","上","中央","下","左に列を挿入","右に列を挿入","上に行を挿入","下に行を挿入","表を削除","行を削除","列を削除","セルを空にする","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","分割線","箇条書き","番号付きリスト","切り取り","すべて選択","埋め込みコード","リンクを開く","リンクを編集","No follow","リンク解除","サイトを確認","鉛筆","更新","URL","編集","水平方向の配置","Filter","Sort by changed","Sort by name","Sort by size","Add folder","リセット","保存","Save as ...","リサイズ","Crop","幅","高さ","縦横比を保持","はい","いいえ","移除","選択","文字数: %d","単語数: %d","全部","選択: %s","すべて選択","垂直方向の配置","分割","セルの分割(垂直方向)","セルの分割(水平方向)","セルの結合","列を追加","行を追加","削除","境界線",null,"取り消し線","下線","上付き文字","下付き文字","切り取り","Pause","検索","置換","交換","貼付け","選択した内容を貼付け","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","パレット","There are no files","Rename","Enter new name","プレビュー","ダウンロード","貼り付け","お使いのブラウザはクリップボードを使用できません","コピー","copy","角の丸み","全て表示","適用","まだこの分野","を入力してくださいウェブアドレス","デフォルト","白丸","黒丸","四角","見","探前","由来","クラス名を挿入","カスタムサイズ変更のためのAltキーを押します"]},37289(e){e.exports.default=["무엇이든 입력하세요","Jodit에 대하여","Jodit Editor",null,"Jodit 사용자 안내서","자세한 도움말이 들어있어요","라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:","풀 버전 구입하기","© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.","Anchor","새 탭에서 열기","전체 크기로 보기","서식 지우기","글씨 색상","재실행","실행 취소","굵게","기울임","글머리 목록","번호 목록","가운데 정렬","양쪽 정렬","왼쪽 정렬","오른쪽 정렬","수평 구분선 넣기","이미지 넣기","파일 넣기","Youtube/Vimeo 동영상","링크 넣기","글꼴 크기","글꼴","블록 요소 넣기","일반 텍스트","제목 1","제목 2","제목 3","제목 4","인용","코드","붙여 넣기","테이블","들여쓰기 감소","들여쓰기 증가","특수문자 선택","특수문자 입력","페인트 형식","편집모드 변경","마진","위","오른쪽","아래","왼쪽","스타일","클래스","정렬","오른쪽으로","가운데로","왼쪽으로","--지정 안 함--","경로(src)","제목","대체 텍스트(alt)","링크","새 탭에서 열기",null,"파일","고급","이미지 속성","취소","확인","HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","HTML로 붙여넣기","원본 유지","지우기","텍스트로 넣기","텍스트만 넣기","Word 붙여넣기 감지","Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","파일 탐색기","목록 불러오기 에러","폴더 불러오기","정말 진행할까요?","디렉토리 이름 입력","디렉토리 생성","이름 입력","이미지 드래그","파일 드래그","혹은 클릭","대체 텍스트","탐색","업로드","배경","텍스트","위","중앙","아래","이전 열에 삽입","다음 열에 삽입","위 행에 삽입","아래 행에 삽입","테이블 삭제","행 삭제","열 삭제","빈 셀","HTML 소스","볼드","이탤릭","브러시","링크","실행 취소","재실행","테이블","이미지","지우개","문단","글꼴 크기","비디오","글꼴","편집기 정보","프린트","밑줄","취소선","들여쓰기","내어쓰기","전체 화면","일반 화면","구분선","글머리 목록","번호 목록","잘라내기","모두 선택","Embed 코드","링크 열기","링크 편집","No follow","링크 제거","사이트 확인","연필","갱신","URL","편집","수평 정렬","필터","변경일 정렬","이름 정렬","크기 정렬","새 폴더","초기화","저장","새로 저장하기 ...","리사이즈","크롭","가로 길이","세로 높이","비율 유지하기","네","아니오","제거","선택","문자수: %d","단어수: %d","모두","선택: %s","모두 선택","수직 정렬","분할","세로 셀 분할","가로 셀 분할","셀 병합","열 추가","행 추가","삭제","외곽선","라이센스: %s","취소선","밑줄","윗첨자","아래첨자","선택 잘라내기","구분자","검색","대체하기","대체","붙여넣기","붙여넣을 내용 선택","외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","이미지를 무사히 업로드 했어요!","팔레트","파일이 없어요","이름 변경","새 이름 입력","미리보기","다운로드","클립보드 붙여넣기","사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","선택 복사","복사","둥근 테두리","모두 보기","적용","이 항목을 입력해주세요!","웹 URL을 입력해주세요.","기본","원","점","정사각형","찾기","이전 찾기","다음 찾기","className 입력","사용자 지정 크기 조정에 대 한 고도 누르십시오"]},17084(e){e.exports.default=["Begin met typen..","Over Jodit","Jodit Editor","Gratis niet-commerciële versie","Jodit gebruikershandleiding","bevat gedetailleerde informatie voor gebruik.","Voor informatie over de licentie, ga naar onze website:","Volledige versie kopen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Anker","Open in nieuwe tab","Editor in volledig scherm openen","Opmaak verwijderen","Vulkleur of tekstkleur aanpassen","Opnieuw","Ongedaan maken","Vet","Cursief","Geordende list invoegen","Ongeordende lijst invoegen","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Horizontale lijn invoegen","Afbeelding invoegen","Bestand invoegen","Youtube/Vimeo video invoegen","Link toevoegen","Tekstgrootte","Lettertype","Format blok invoegen","Normaal","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Citaat","Code","Invoegen","Tabel invoegen","Inspringing verkleinen","Inspringing vergroten","Symbool selecteren","Symbool invoegen","Opmaak kopieren","Modus veranderen","Marges","Boven","Rechts","Onder","Links","CSS styles","CSS classes","Uitlijning","Rechts","Gecentreerd","Links","--Leeg--","Src","Titel","Alternatieve tekst","Link","Link in nieuwe tab openen","Afbeelding","Bestand","Geavanceerd","Afbeeldingseigenschappen","Annuleren","OK","Deze code lijkt op HTML. Als HTML behouden?","Invoegen als HTML","Origineel behouden","Opschonen","Als tekst invoegen","Als onopgemaakte tekst invoegen","Word-tekst gedetecteerd","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Bestandsbrowser","Fout bij het laden van de lijst","Fout bij het laden van de mappenlijst","Weet je het zeker?","Geef de map een naam","Map aanmaken","Type naam","Sleep hier een afbeelding naartoe","Sleep hier een bestand naartoe","of klik","Alternatieve tekst","Bladeren","Uploaden","Achtergrond","Tekst","Boven","Midden","Onder","Kolom invoegen (voor)","Kolom invoegen (na)","Rij invoegen (boven)","Rij invoegen (onder)","Tabel verwijderen","Rij verwijderen","Kolom verwijderen","Cel leegmaken","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","Embed code","link openen","link aanpassen","niet volgen","link verwijderen","Recensie","Om te bewerken","Updaten"," URL","Bewerken","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Tekens: %d","Woorden: %d","Alles","Selecteer: %s","Selecteer alles","Verticaal uitlijnen","Splitsen","Verticaal splitsen","Horizontaal splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen","Verwijderen","Rand",null,"Doorstrepen","Onderstrepen","Superscript","Subscript","Selectie knippen","Enter","Zoek naar","Vervangen door","Vervangen","Plakken","Kies content om te plakken","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol geüploadet!","Palette","Er zijn geen bestanden in deze map.","Hongaars","Voer een nieuwe naam in","voorvertoning","Download","Plakken van klembord","Uw browser ondersteunt geen directe toegang tot het klembord.","Selectie kopiëren","kopiëren","Border radius","Toon alle","Toepassing","Vul dit veld","Voer een webadres","Standaard","Cirkel","Dot","Quadrate","Zoeken","Vorige Zoeken","Volgende Zoeken","Voeg de klassenaam in","Druk op Alt voor aangepaste grootte"]},96891(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit",null,"Instrukcja Jodit","zawiera szczegółowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otwórz w nowej zakładce","Otwórz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Ponów","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyrównaj do lewej","Wyrównaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Krój czcionki","Wstaw formatowanie","Normalne","Nagłówek 1","Nagłówek 2","Nagłówek 3","Nagłówek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz formatów","Zmień tryb","Marginesy","Górny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyrównanie","Prawa","środek","Lewa","brak","Źródło","Tytuł","Tekst alternatywny","Link","Otwórz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Twój kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wyczyść","Wstaw jako tekst","Wstaw tylko treść","Wykryto tekst w formacie Word","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Przeglądarka plików","Błąd ładowania listy plików","Błąd ładowania folderów","Czy jesteś pewien?","Wprowadź nazwę folderu","Utwórz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Przeglądaj","Wczytaj","Tło","Treść","Góra","Środek","Dół","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść komórkę","HTML","pogrubienie","kursywa","pędzel","link","cofnij","ponów","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otwórz link","edytuj link","Atrybut no-follow","Usuń link","szukaj","edytuj","Aktualizuj","URL","Edytuj","Wyrównywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Znaki: %d","Słowa: %d","Wszystko","Wybierz: %s","Wybierz wszystko","Wyrównywanie w pionie","Podziel","Podziel w pionie","Podziel w poziomie","Scal","Dodaj kolumnę","Dodaj wiersz","Usuń","Obramowanie",null,"Przekreślenie","Podkreślenie","indeks górny","index dolny","Wytnij zaznaczenie","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plików.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar"]},31211(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit",null,"Guia de usuário Jodit","contém ajuda detalhada para o uso.","Para informação sobre a licença, por favor visite nosso site:","Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formatação","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","Itálico","Inserir lista não ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir vídeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Citação","Código","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--Não Estabelecido--","Fonte","Título","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avançado","Propriedades da imagem","Cancelar","Ok","Seu código é similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Limpar","Inserir como Texto","Inserir somente o Texto","Colado do Word Detectado","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Você tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Explorar","Upload","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar célula","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir código","Abrir link","Editar link","Não siga","Remover link","Visualizar","Editar","Atualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Caracteres: %d","Palavras: %d","Tudo","Selecionar: %s","Selecionar tudo","Alinhamento vertical","Dividir","Dividir vertical","Dividir horizontal","Mesclar","Adicionar coluna","Adicionar linha","Excluir","Borda",null,"Tachado","Sublinhar","sobrescrito","subscrito","Cortar seleção","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conteúdo para colar","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","Não há arquivos nesse diretório.","Húngara","Digite um novo nome","preview","Baixar","Colar da área de transferência","O seu navegador não oferece suporte a acesso direto para a área de transferência.","Selecção de cópia","cópia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endereço web","Padrão","Círculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Próxima","Insira o nome da classe","Pressione Alt para redimensionamento personalizado"]},31109(e){e.exports.default=["Напишите что-либо","О Jodit","Редактор Jodit",null,"Jodit Руководство пользователя","содержит детальную информацию по использованию","Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Купить полную версию","Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.","Анкор","Открывать ссылку в новой вкладке","Открыть редактор в полном размере","Очистить форматирование","Цвет заливки или цвет текста","Повтор","Отмена","Жирный","Наклонный","Вставка маркированного списка","Вставить нумерованный список","Выровнять по центру","Выровнять по ширине","Выровнять по левому краю","Выровнять по правому краю","Вставить горизонтальную линию","Вставить изображение","Вставить файл","Вставьте видео","Вставить ссылку","Размер шрифта","Шрифт","Вставить блочный элемент","Нормальный текст","Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Цитата","Код","Вставить","Вставить таблицу","Уменьшить отступ","Увеличить отступ","Выберите специальный символ","Вставить специальный символ","Формат краски","Источник","Отступы","сверху","справа","снизу","слева","Стили","Классы","Выравнивание","По правому краю","По центру","По левому краю","--не устанавливать--","src","Заголовок","Альтернативный текст (alt)","Ссылка","Открывать ссылку в новом окне",null,"Файл","Расширенные","Свойства изображения","Отмена","Ок","Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Вставить как HTML?","Сохранить оригинал","Почистить","Вставить как текст","Вставить только текст","Возможно это фрагмент Word или Excel","Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","Браузер файлов","Ошибка при загрузке списка изображений","Ошибка при загрузке списка директорий","Вы уверены?","Введите название директории","Создать директорию","введите название","Перетащите сюда изображение","Перетащите сюда файл","или нажмите","Альтернативный текст","Сервер","Загрузка","Фон","Текст"," К верху","По середине","К низу","Вставить столбец до","Вставить столбец после","Вставить ряд выше","Вставить ряд ниже","Удалить таблицу","Удалять ряд","Удалить столбец","Очистить ячейку","HTML","жирный","курсив","заливка","ссылка","отменить","повторить","таблица","Изображение","очистить","параграф","размер шрифта","видео","шрифт","о редакторе","печать","подчеркнутый","перечеркнутый","отступ","выступ","во весь экран","обычный размер","линия","Список","Нумерованный список","Вырезать","Выделить все","Код","Открыть ссылку","Редактировать ссылку","Атрибут nofollow","Убрать ссылку","Просмотр","Редактировать","Обновить","URL","Редактировать","Горизонтальное выравнивание","Фильтр","По изменению","По имени","По размеру","Добавить папку","Восстановить","Сохранить","Сохранить как","Изменить размер","Обрезать размер","Ширина","Высота","Сохранять пропорции","Да","Нет","Удалить","Выделить","Символов: %d","Слов: %d","Выделить все","Выделить: %s","Выделить все","Вертикальное выравнивание","Разделить","Разделить по вертикали","Разделить по горизонтали","Объединить в одну","Добавить столбец","Добавить строку","Удалить","Рамка","Лицензия: %s","Перечеркнуть","Подчеркивание","верхний индекс","индекс","Вырезать","Разделитель","Найти","Заменить на","Заменить","Вставить","Выбрать контент для вставки","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Изображение успешно загружено на сервер!","палитра","В данном каталоге нет файлов","Переименовать","Введите новое имя","Предпросмотр","Скачать","Вставить из буфера обмена","Ваш браузер не поддерживает прямой доступ к буферу обмена.","Скопировать выделенное","копия","Радиус границы","Показать все","Применить","Пожалуйста, заполните это поле","Пожалуйста, введите веб-адрес","По умолчанию","Круг","Точка","Квадрат","Найти","Найти Предыдущие","Найти Далее","Вставить название класса","Нажмите Alt для изменения пользовательского размера"]},79375(e){e.exports.default=["Bir şeyler yaz","Jodit Hakkında","Jodit Editor",null,"Jodit Kullanım Kılavuzu","kullanım için detaylı bilgiler içerir","Lisans hakkında bilgi için lütfen web sitemize gidin:","Tam versiyonunu satın al","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.","Bağlantı","Yeni sekmede aç","Editörü tam ekranda aç","Stili temizle","Renk doldur veya yazı rengi seç","Yinele","Geri Al","Kalın","İtalik","Sırasız Liste Ekle","Sıralı Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Yatay Çizgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Bağlantı Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Başlık 1","Başlık 2","Başlık 3","Başlık 4","Alıntı","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","Özel Karakter Seç","Özel Karakter Ekle","Resim Biçimi","Mod Değiştir","Boşluklar","Üst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirsiz","Kaynak","Başlık","Alternatif Yazı","Link","Bağlantıyı yeni sekmede aç","Resim","Dosya","Gelişmiş","Resim özellikleri","İptal","Tamam","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yapıştır","Sakla","Temizle","Yazı olarak ekle","Sadece yazıyı ekle","Word biçiminde yapıştırma algılandı","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Dosya Listeleyici","Liste yüklenirken hata oluştu","Klasörler yüklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","İsim yaz","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Gözat","Yükle","Arka plan","Yazı","Üst","Orta","Aşağı","Öncesine kolon ekle","Sonrasına kolon ekle","Üstüne satır ekle","Altına satır ekle","Tabloyu sil","Satırı sil","Kolonu sil","Hücreyi temizle","Kaynak","Kalın","italik","Fırça","Bağlantı","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Alt çizgi","Üstü çizili","Girinti","Çıkıntı","Tam ekran","Küçült","Ayraç","Sırasız liste","Sıralı liste","Kes","Tümünü seç","Kod ekle","Bağlantıyı aç","Bağlantıyı düzenle","Nofollow özelliği","Bağlantıyı kaldır","Yorumu","Düzenlemek için","Güncelle","URL","Düzenle","Yatay hizala","Filtre","Değişime göre sırala","İsme göre sırala","Boyuta göre sırala","Klasör ekle","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Yükseklik","En boy oranını koru","Evet","Hayır","Sil","Seç","Harfler: %d","Kelimeler: %d","Tümü","Seç: %s","Tümünü seç","Dikey hizala","Ayır","Dikey ayır","Yatay ayır","Birleştir","Kolon ekle","Satır ekle","Sil","Kenarlık",null,"Üstü çizili","Alt çizgi","Üst yazı","Alt yazı","Seçilimi kes","Satır sonu","Ara","Şununla değiştir","Değiştir","Yapıştır","Yapıştırılacak içerik seç","Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","Görsel başarıyla hostunuza yüklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","Ön izleme","İndir","Panodan yapıştır ","Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Seçimi kopyala","Kopyala","Sınır yarıçapı","Tümünü Göster","Uygula","Lütfen bu alanı doldurun","Lütfen bir web adresi girin","Varsayılan","Daire","Nokta","Kare","Bul","Öncekini Bul","Sonrakini Bul","Sınıf adı girin","Özel yeniden boyutlandırma için Alt tuşuna basın"]},21042(e){e.exports.default=["输入一些内容","关于Jodit","Jodit Editor","Free Non-commercial Version","开发者指南","使用帮助","有关许可证的信息,请访问我们的网站:","购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","视频","链接","字号","字体","格式块","默认","标题1","标题2","标题3","标题4","引用","代码","插入","表格","减少缩进","增加缩进","选择特殊符号","特殊符号","格式复制","改变模式","外边距(Margins)","top","right","bottom","left","样式","Classes","对齐方式","居右","居中","居左","无","Src","Title","Alternative","Link","在新窗口打开链接","图片","file","高级","图片属性","取消","确定","你粘贴的文本是一段html代码,是否保留源格式","html粘贴","保留源格式","匹配目标格式","把html代码视为普通文本","只保留文本","文本粘贴","正在粘贴 Word/Excel 的文本,是否保留源格式?","文件管理","加载list错误","加载folders错误","你确定吗?","输入路径","创建路径","type name","拖动图片到此","拖动文件到此","或点击","Alternative text","浏览","上传","背景色","文字","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","下划线","上出现","增加缩进","减少缩进","全屏","收缩","分割线","无序列表","顺序列表","剪切","全选","嵌入代码","打开链接","编辑链接","No follow","取消链接","预览","铅笔","更新","URL","编辑","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹","重置","保存","保存为","调整大小","剪切","宽","高","保持长宽比","是","不","移除","选择","字符数: %d","单词数: %d","全部","选择: %s","全选","垂直对齐","拆分","垂直拆分","水平拆分","合并","添加列","添加行","删除","边框",null,"删除线","下划线","上标","下标","剪切","Break","查找","替换为","替换","粘贴","选择内容并粘贴","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制选中内容","复制","边界半径","显示所有","应用","请填写这个字段","请输入一个网址","默认","圆圈","点","方形","搜索","查找上一个","查找下一个","插入班级名称","按Alt自定义调整大小"]},73895(e){e.exports.default=["輸入一些內容","關於Jodit","Jodit Editor",null,"開發者指南","使用幫助","有關許可證的信息,請訪問我們的網站:","購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","在新窗口打開","全屏編輯","清除樣式","顏色","重做","撤銷","粗體","斜體","符號列表","編號","居中","對齊文本","左對齊","右對齊","分割線","圖片","文件","youtube/vimeo 影片","鏈接","字號","字體","格式塊","文本","標題1","標題2","標題3","標題4","引用","代碼","插入","表格","減少縮進","增加縮進","選擇特殊符號","特殊符號","格式複製","改變模式","外邊距(Margins)","top","right","bottom","left","樣式","Classes","對齊方式","居右","居中","居左","無","Src","Title","替代","Link","在新窗口打開鏈接","圖片","file","高級","圖片屬性","取消","確定","你黏貼的文本是一段html代碼,是否保留源格式","html黏貼","保留源格式","匹配目標格式","把html代碼視為普通文本","只保留文本","文本黏貼","正在黏貼 Word/Excel 的文本,是否保留源格式?","文件管理","加載list錯誤","加載folders錯誤","你確定嗎?","輸入路徑","創建路徑","type name","拖動圖片到此","拖動文件到此","或點擊","替代文字","瀏覽","上傳","背景色","文字","頂部","中間","底部","在之前插入列","在之後插入列","在之前插入行","在之後插入行","刪除表格","刪除行","刪除列","清除內容","源碼","粗體","斜體","顏色","鏈接","撤銷","重做","表格","圖片","橡皮擦","段落","字號","影片","字體","關於","打印","下劃線","上出現","增加縮進","減少縮進","全屏","收縮","分割線","無序列表","順序列表","剪切","全選","嵌入代碼","打開鏈接","編輯鏈接","No follow","取消連結","回顧","鉛筆","更新","URL",null,"水平對齊","篩選","修改時間排序","名稱排序","大小排序","新建文件夾","重置","保存","保存為","調整大小","Crop","寬","高","保存長寬比","是","不","移除","選擇","字符數: %d","單詞數: %d","全部","選擇: %s","全選","垂直對齊","拆分","垂直拆分","水平拆分","合併","添加列","添加行","刪除","邊框",null,"刪除線","下劃線","上標","下標","剪切","Pause","查找","替換為","แทนที่","黏貼","選擇內容並黏貼","你只能編輯你自己的圖片。是否下載此圖片到本地?","圖片上傳成功","調色板","此目錄中沒有文件。","重命名","輸入新名稱","預覽","下載","從剪貼板貼上","瀏覽器無法存取剪贴板。","複製已選取項目","複製","邊框圓角","顯示所有","應用","ได้โปรดกรอกช่องข้อมูลนี้","โปรดเติมที่อยู่บนเว็บ","ค่าปริยาย","วงกลม","จุด","Quadrate","ค้นหา","ค้นหาก่อนหน้านี้","ค้นหาถัดไป","ใส่ชื่อคลาส","กดอัลท์สำหรับการปรับขนาดที่กำหนดเอง"]},3610(e){e.exports=' '},56170(e){e.exports=' '},95331(e){e.exports=' '},84279(e){e.exports=' '},11257(e){e.exports=' '},25141(e){e.exports=' '},24557(e){e.exports=' '},10859(e){e.exports=' '},9813(e){e.exports=' '},93395(e){e.exports=' '},98213(e){e.exports=' '},20026(e){e.exports=' '},66911(e){e.exports=' '},50018(e){e.exports=' '},99738(e){e.exports=' '},9185(e){e.exports=' '},8619(e){e.exports=' '},73894(e){e.exports=' '},83301(e){e.exports=' '},84142(e){e.exports=' '},57292(e){e.exports=' '},18019(e){e.exports=''},45146(e){e.exports=' '},53576(e){e.exports=' '},14655(e){e.exports=' '},53477(e){e.exports=' '},90053(e){e.exports=' '},72230(e){e.exports=' '},78321(e){e.exports=' '},77654(e){e.exports=' '},43371(e){e.exports=' '},44563(e){e.exports=' '},53183(e){e.exports=' '},6102(e){e.exports=' '},52242(e){e.exports=' '},87498(e){e.exports=' '},7986(e){e.exports=' '},23075(e){e.exports=' '},10655(e){e.exports=' '},15476(e){e.exports=' '},59403(e){e.exports=' '},22860(e){e.exports=' '},95600(e){e.exports=' '},76214(e){e.exports=' '},41197(e){e.exports=' '},9342(e){e.exports=' '},69546(e){e.exports=' '},43158(e){e.exports=' '},51716(e){e.exports=' '},49222(e){e.exports=' '},1755(e){e.exports=' '},74911(e){e.exports=' '},8805(e){e.exports=' '},16547(e){e.exports=' '},10856(e){e.exports=' '},98441(e){e.exports=' '},52488(e){e.exports=' '},9370(e){e.exports=' '},66543(e){e.exports=' '},608(e){e.exports=' '},42840(e){e.exports=' '},79096(e){e.exports=' '},33014(e){e.exports=' '},91677(e){e.exports=' '},8259(e){e.exports=' '},64467(e){e.exports=''},86934(e){e.exports=' '},76133(e){e.exports=''},45519(e){e.exports=''},90265(e){e.exports=' '},81279(e){e.exports=' '},68899(e){e.exports=' '},70744(e){e.exports=' '},19201(e){e.exports=' '},84930(e){e.exports=' '},99704(e){e.exports=' '},2304(e){e.exports=' '},93330(e,t,o){"use strict";o.r(t)},45066(e,t,o){"use strict";o.r(t)},87682(e,t,o){"use strict";o.r(t)},50905(e,t,o){"use strict";o.r(t)},70446(e,t,o){"use strict";o.r(t)},18984(e,t,o){"use strict";o.r(t)},4591(e,t,o){"use strict";o.r(t)},64194(e,t,o){"use strict";o.r(t)},70375(e,t,o){"use strict";o.r(t)},90235(e,t,o){"use strict";o.r(t)},88477(e,t,o){"use strict";o.r(t)},50197(e,t,o){"use strict";o.r(t)},39008(e,t,o){"use strict";o.r(t)},47086(e,t,o){"use strict";o.r(t)},16462(e,t,o){"use strict";o.r(t)},40692(e,t,o){"use strict";o.r(t)},27452(e,t,o){"use strict";o.r(t)},51422(e,t,o){"use strict";o.r(t)},62820(e,t,o){"use strict";o.r(t)},32115(e,t,o){"use strict";o.r(t)},53362(e,t,o){"use strict";o.r(t)},48904(e,t,o){"use strict";o.r(t)},85796(e,t,o){"use strict";o.r(t)},60819(e,t,o){"use strict";o.r(t)},96410(e,t,o){"use strict";o.r(t)},33126(e,t,o){"use strict";o.r(t)},30724(e,t,o){"use strict";o.r(t)},32417(e,t,o){"use strict";o.r(t)},14320(e,t,o){"use strict";o.r(t)},9947(e,t,o){"use strict";o.r(t)},45109(e,t,o){"use strict";o.r(t)},71708(e,t,o){"use strict";o.r(t)},51629(e,t,o){"use strict";o.r(t)},54860(e,t,o){"use strict";o.r(t)},47818(e,t,o){"use strict";o.r(t)},88582(e,t,o){"use strict";o.r(t)},30962(e,t,o){"use strict";o.r(t)},68197(e,t,o){"use strict";o.r(t)},33393(e,t,o){"use strict";o.r(t)},51057(e,t,o){"use strict";o.r(t)},14351(e,t,o){"use strict";o.r(t)},89310(e,t,o){"use strict";o.r(t)},70631(e,t){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e=>typeof e:e=>e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e,o(e)}function r(e,t,r){var i=r.value;if("function"!=typeof i)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(i)));var n=!1;return{configurable:!0,get(){if(n||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof i)return i;var o=i.bind(this);return n=!0,Object.defineProperty(this,t,{configurable:!0,get:()=>o,set(e){i=e,delete this[t]}}),n=!1,o},set(e){i=e}}}function i(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((t=>{if("constructor"!==t){var o=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof o.value&&Object.defineProperty(e.prototype,t,r(e,t,o))}})),e}Object.defineProperty(t,"__esModule",{value:!0}),t.boundClass=t.boundMethod=void 0,t.boundMethod=r,t.boundClass=i,t.default=function(){return 1===arguments.length?i.apply(void 0,arguments):r.apply(void 0,arguments)}},20255(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__classPrivateFieldIn=t.__classPrivateFieldSet=t.__classPrivateFieldGet=t.__importDefault=t.__importStar=t.__makeTemplateObject=t.__asyncValues=t.__asyncDelegator=t.__asyncGenerator=t.__await=t.__spreadArray=t.__spreadArrays=t.__spread=t.__read=t.__values=t.__exportStar=t.__createBinding=t.__generator=t.__awaiter=t.__metadata=t.__param=t.__decorate=t.__rest=t.__assign=t.__extends=void 0;var o=(e,t)=>(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&((e,t)=>{e.__proto__=t})||((e,t)=>{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}),o(e,t));function r(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],r=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:()=>(e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e})};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var r,i,n=o.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return a}function n(e){return this instanceof n?(this.v=e,this):new n(e)}t.__extends=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,o=1,r=arguments.length;r>o;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.__assign.apply(this,arguments)},t.__rest=(e,t)=>{var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);r.length>i;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(o[r[i]]=e[r[i]])}return o},t.__decorate=function(e,t,o,r){var i,n=arguments.length,a=3>n?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(3>n?i(a):n>3?i(t,o,a):i(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},t.__param=(e,t)=>(o,r)=>{t(o,r,e)},t.__metadata=(e,t)=>{if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},t.__awaiter=(e,t,o,r)=>new(o||(o=Promise))(((i,n)=>{function a(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((e=>{e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())})),t.__generator=function(e,t){var o,r,i,n,a={label:0,sent(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return s=>(n=>{if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&i[3]>n[1])){a.label=n[1];break}if(6===n[0]&&i[1]>a.label){a.label=i[1],i=n;break}if(i&&i[2]>a.label){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=t.call(e,a)}catch(e){n=[6,e],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}})([n,s])}},t.__createBinding=Object.create?(e,t,o,r)=>{void 0===r&&(r=o);var i=Object.getOwnPropertyDescriptor(t,o);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:()=>t[o]}),Object.defineProperty(e,r,i)}:(e,t,o,r)=>{void 0===r&&(r=o),e[r]=t[o]},t.__exportStar=(e,o)=>{for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(o,r)||(0,t.__createBinding)(o,e,r)},t.__values=r,t.__read=i,t.__spread=function(){for(var e=[],t=0;arguments.length>t;t++)e=e.concat(i(arguments[t]));return e},t.__spreadArrays=function(){for(var e=0,t=0,o=arguments.length;o>t;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;o>t;t++)for(var n=arguments[t],a=0,s=n.length;s>a;a++,i++)r[i]=n[a];return r},t.__spreadArray=function(e,t,o){if(o||2===arguments.length)for(var r,i=0,n=t.length;n>i;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},t.__await=n,t.__asyncGenerator=function(e,t,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=o.apply(e,t||[]),a=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=t=>new Promise(((o,r)=>{a.push([e,t,o,r])>1||l(e,t)})))}function l(e,t){try{(o=i[e](t)).value instanceof n?Promise.resolve(o.value.v).then(c,d):u(a[0][2],o)}catch(e){u(a[0][3],e)}var o}function c(e){l("next",e)}function d(e){l("throw",e)}function u(e,t){e(t),a.shift(),a.length&&l(a[0][0],a[0][1])}},t.__asyncDelegator=function(e){var t,o;return t={},r("next"),r("throw",(e=>{throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?t=>(o=!o)?{value:n(e[r](t)),done:"return"===r}:i?i(t):t:i}},t.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=e[Symbol.asyncIterator];return o?o.call(e):(e=r(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&(t=>new Promise(((r,i)=>{((e,t,o,r)=>{Promise.resolve(r).then((t=>{e({value:t,done:o})}),t)})(r,i,(t=e[o](t)).done,t.value)})))}},t.__makeTemplateObject=(e,t)=>(Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e);var a=Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t};t.__importStar=e=>{if(e&&e.__esModule)return e;var o={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&(0,t.__createBinding)(o,e,r);return a(o,e),o},t.__importDefault=e=>e&&e.__esModule?e:{default:e},t.__classPrivateFieldGet=(e,t,o,r)=>{if("a"===o&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?r:"a"===o?r.call(e):r?r.value:t.get(e)},t.__classPrivateFieldSet=(e,t,o,r,i)=>{if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,o):i?i.value=o:t.set(e,o),o},t.__classPrivateFieldIn=(e,t)=>{if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},27537(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var r=o(10063),i=o(10063),n=function(){function e(){this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.styleValues={},this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorCssClass=!1,this.style=!1,this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=1e3,this.useNativeTooltip=!1,this.defaultActionOnPaste=i.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","---","image","table","|","link","\n","brush","paragraph","align","|","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","|","fontsize","---","image","\n","align","undo","redo","|","link","table","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}return Object.defineProperty(e,"defaultOptions",{get:()=>(e.__defaultOptions||(e.__defaultOptions=new e),e.__defaultOptions),enumerable:!1,configurable:!0}),e}();t.Config=n,n.prototype.controls={}},14722(e,t,o){"use strict";o.r(t),o.d(t,{Async:()=>c});var r=o(97336),i=o(84121),n=o(77184),a=o(30317),s=o(40607),l=o(93860);class c{constructor(){var e,t,o,r;this.timers=new Map,this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=null!==(t=null===(e=window.requestIdleCallback)||void 0===e?void 0:e.bind(window))&&void 0!==t?t:(e,t)=>{var o;const r=Date.now();return this.setTimeout((()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-r))})}),null!==(o=null==t?void 0:t.timeout)&&void 0!==o?o:1)},this.cancelIdleCallbackNative=null!==(r=null===(o=window.cancelIdleCallback)||void 0===o?void 0:o.bind(window))&&void 0!==r?r:e=>{this.clearTimeout(e)},this.isDestructed=!1}delay(e){return this.promise((t=>this.setTimeout(t,e)))}setTimeout(e,t,...o){if(this.isDestructed)return 0;let i={};(0,l.isNumber)(t)||(i=t,t=i.timeout||0),i.label&&this.clearLabel(i.label);const n=(0,r.setTimeout)(e,t,...o);return this.timers.set(i.label||n,n),n}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e))}clearTimeout(e){if((0,s.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e)}debounce(e,t,o=!1){let s=0,l=!1;const c=[],d=(...t)=>{if(!l){s=0;const o=e(...t);if(l=!0,c.length){const e=()=>{c.forEach((e=>e())),c.length=0};(0,a.isPromise)(o)?o.finally(e):e()}}},u=(...n)=>{l=!1,t?(!s&&o&&d(...n),(0,r.clearTimeout)(s),s=this.setTimeout((()=>d(...n)),(0,i.isFunction)(t)?t():t),this.timers.set(e,s)):d(...n)};return(0,n.isPlainObject)(t)&&t.promisify?(...e)=>{const t=this.promise((e=>{c.push(e)}));return u(...e),t}:u}throttle(e,t,o=!1){let r,n,a,s=null;return(...o)=>{r=!0,a=o,t?s||(n=()=>{r?(e(...a),r=!1,s=this.setTimeout(n,(0,i.isFunction)(t)?t():t),this.timers.set(n,s)):s=null},n()):e(...a)}}promise(e){let t=()=>{};const o=new Promise(((o,r)=>(this.promisesRejections.add(r),t=r,e(o,r))));return o.finally((()=>{this.promisesRejections.delete(t)})).catch((()=>null)),o.rejectCallback=t,o}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise((t=>{e.then((e=>(t("fulfilled"),e)),(e=>{throw t("rejected"),e})),this.setTimeout((()=>{t("pending")}),100)}));const t={};return Promise.race([e,t]).then((e=>e===t?"pending":"fulfilled"),(()=>"rejected"))}requestIdleCallback(e,t){const o=this.requestIdleCallbackNative(e,t);return this.requestsIdle.add(o),o}requestIdlePromise(e){return this.promise((t=>{const o=this.requestIdleCallback((()=>t(o)),e)}))}cancelIdleCallback(e){return this.requestsIdle.delete(e),this.cancelIdleCallbackNative(e)}requestAnimationFrame(e){const t=requestAnimationFrame(e);return this.requestsRaf.add(t),t}cancelAnimationFrame(e){this.requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.requestsIdle.forEach((e=>this.cancelIdleCallback(e))),this.requestsRaf.forEach((e=>this.cancelAnimationFrame(e))),this.timers.forEach((e=>(0,r.clearTimeout)(this.timers.get(e)))),this.timers.clear(),this.promisesRejections.forEach((e=>e())),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}}},60588(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(14722),t)},12614(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var r=o(92654),i=o(58299),n=o(10799),a=o(60588),s=new Map,l=function(){function e(){this.async=new a.Async,this.ownerWindow=window,this.__componentStatus=n.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,i.uniqueUid)()}return Object.defineProperty(e.prototype,"componentName",{get(){return this.__componentName||(this.__componentName="jodit-"+(0,r.kebabCase)(((0,r.isFunction)(this.className)?this.className():"")||(0,r.getClassName)(this))),this.__componentName},enumerable:!1,configurable:!0}),e.prototype.getFullElName=function(e,t,o){var i=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),i.push("__".concat(e))),t&&(i.push("_",t),i.push("_",(0,r.isVoid)(o)?"true":""+o)),i.join("")},Object.defineProperty(e.prototype,"ownerDocument",{get(){return this.ow.document},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"od",{get(){return this.ownerDocument},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ow",{get(){return this.ownerWindow},enumerable:!1,configurable:!0}),e.prototype.get=function(e,t){return(0,r.get)(e,t||this)},Object.defineProperty(e.prototype,"isReady",{get(){return this.componentStatus===n.STATUSES.ready},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDestructed",{get(){return this.componentStatus===n.STATUSES.destructed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInDestruct",{get(){return n.STATUSES.beforeDestruct===this.componentStatus||n.STATUSES.destructed===this.componentStatus},enumerable:!1,configurable:!0}),e.prototype.bindDestruct=function(e){var t=this;return e.hookStatus(n.STATUSES.beforeDestruct,(()=>!t.isInDestruct&&t.destruct())),this},e.prototype.destruct=function(){this.setStatus(n.STATUSES.destructed),this.async.destruct(),s.get(this)&&s.delete(this)},Object.defineProperty(e.prototype,"componentStatus",{get(){return this.__componentStatus},set(e){this.setStatus(e)},enumerable:!1,configurable:!0}),e.prototype.setStatus=function(e){return this.setStatusComponent(e,this)},e.prototype.setStatusComponent=function(e,t){if(e!==this.__componentStatus){t===this&&(this.__componentStatus=e);var o=Object.getPrototypeOf(this);o&&(0,r.isFunction)(o.setStatusComponent)&&o.setStatusComponent(e,t);var i=s.get(this),n=null==i?void 0:i[e];n&&n.length&&n.forEach((e=>e(t)))}},e.prototype.hookStatus=function(e,t){var o=s.get(this);o||s.set(this,o={}),o[e]||(o[e]=[]),o[e].push(t)},e.isInstanceOf=(e,t)=>e instanceof t,e.STATUSES=n.STATUSES,e}();t.Component=l},34543(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(10799),t),r.__exportStar(o(12614),t),r.__exportStar(o(34230),t)},10799(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STATUSES=void 0,t.STATUSES={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},34230(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewComponent=void 0;var r=o(20255),i=function(e){function t(t){var o=e.call(this)||this;return o.setParentView(t),o}return r.__extends(t,e),Object.defineProperty(t.prototype,"j",{get(){return this.jodit},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get(){return this.j.defaultTimeout},enumerable:!1,configurable:!0}),t.prototype.i18n=function(e){for(var t,o=[],i=1;arguments.length>i;i++)o[i-1]=arguments[i];return(t=this.j).i18n.apply(t,r.__spreadArray([e],r.__read(o),!1))},t.prototype.setParentView=function(e){return this.jodit=e,e.components.add(this),this},t.prototype.destruct=function(){return this.j.components.delete(this),e.prototype.destruct.call(this)},t}(o(12614).Component);t.ViewComponent=i},10063(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SOURCE_CONSUMER=t.CLIPBOARD_ID=t.lang=t.TEMP_ATTR=t.BASE_PATH=t.KEY_ALIASES=t.IS_MAC=t.SAFE_COUNT_CHANGE_CALL=t.INSERT_ONLY_TEXT=t.INSERT_AS_TEXT=t.INSERT_CLEAR_HTML=t.INSERT_AS_HTML=t.EMULATE_DBLCLICK_TIMEOUT=t.MARKER_CLASS=t.TEXT_RTF=t.TEXT_HTML=t.TEXT_PLAIN=t.IS_IE=t.MODE_SPLIT=t.MODE_SOURCE=t.MODE_WYSIWYG=t.PARAGRAPH=t.BR=t.COMMAND_KEYS=t.ACCURACY=t.NEARBY=t.KEY_F3=t.KEY_DELETE=t.KEY_SPACE=t.KEY_DOWN=t.KEY_RIGHT=t.KEY_UP=t.KEY_LEFT=t.KEY_ALT=t.KEY_ESC=t.KEY_ENTER=t.KEY_TAB=t.KEY_BACKSPACE=t.MAY_BE_REMOVED_WITH_KEY=t.INSEPARABLE_TAGS=t.IS_INLINE=t.IS_BLOCK=t.SPACE_REG_EXP_END=t.SPACE_REG_EXP_START=t.SPACE_REG_EXP=t.INVISIBLE_SPACE_REG_EXP_START=t.INVISIBLE_SPACE_REG_EXP_END=t.INVISIBLE_SPACE_REG_EXP=t.NBSP_SPACE=t.INVISIBLE_SPACE=void 0,t.INVISIBLE_SPACE="\ufeff",t.NBSP_SPACE=" ",t.INVISIBLE_SPACE_REG_EXP=()=>/[\uFEFF]/g,t.INVISIBLE_SPACE_REG_EXP_END=()=>/[\uFEFF]+$/g,t.INVISIBLE_SPACE_REG_EXP_START=()=>/^[\uFEFF]+/g,t.SPACE_REG_EXP=()=>/[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_START=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_END=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,t.IS_BLOCK=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,t.INSEPARABLE_TAGS=["img","br","video","iframe","script","input","textarea","hr","link","jodit","jodit-media"],t.MAY_BE_REMOVED_WITH_KEY=RegExp("^".concat(t.INSEPARABLE_TAGS.join("|"),"$"),"i"),t.KEY_BACKSPACE="Backspace",t.KEY_TAB="Tab",t.KEY_ENTER="Enter",t.KEY_ESC="Escape",t.KEY_ALT="Alt",t.KEY_LEFT="ArrowLeft",t.KEY_UP="ArrowUp",t.KEY_RIGHT="ArrowRight",t.KEY_DOWN="ArrowDown",t.KEY_SPACE="Space",t.KEY_DELETE="Delete",t.KEY_F3="F3",t.NEARBY=5,t.ACCURACY=10,t.COMMAND_KEYS=[t.KEY_BACKSPACE,t.KEY_DELETE,t.KEY_UP,t.KEY_DOWN,t.KEY_RIGHT,t.KEY_LEFT,t.KEY_ENTER,t.KEY_ESC,t.KEY_F3,t.KEY_TAB],t.BR="br",t.PARAGRAPH="p",t.MODE_WYSIWYG=1,t.MODE_SOURCE=2,t.MODE_SPLIT=3,t.IS_IE="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),t.TEXT_PLAIN=t.IS_IE?"text":"text/plain",t.TEXT_HTML=t.IS_IE?"html":"text/html",t.TEXT_RTF=t.IS_IE?"rtf":"text/rtf",t.MARKER_CLASS="jodit-selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.INSERT_AS_HTML="insert_as_html",t.INSERT_CLEAR_HTML="insert_clear_html",t.INSERT_AS_TEXT="insert_as_text",t.INSERT_ONLY_TEXT="insert_only_text",t.SAFE_COUNT_CHANGE_CALL=10,t.IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),t.KEY_ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t.IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},t.BASE_PATH=(()=>{if("undefined"==typeof document)return"";var e=document.currentScript,t=e=>{var t=e.split("/");return/\.js/.test(t[t.length-1])?t.slice(0,t.length-1).join("/")+"/":e};if(e)return t(e.src);var o=document.querySelectorAll("script[src]");return o&&o.length?t(o[o.length-1].src):window.location.href})(),t.TEMP_ATTR="data-jodit-temp",t.lang={},t.CLIPBOARD_ID="clipboard",t.SOURCE_CONSUMER="source-consumer"},53089(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Create=void 0;var r=o(92654),i=o(94522),n=o(10063),a=function(){function e(e,t){this.document=e,this.createAttributes=t}return Object.defineProperty(e.prototype,"doc",{get(){return(0,r.isFunction)(this.document)?this.document():this.document},enumerable:!1,configurable:!0}),e.prototype.element=function(e,t,o){var i=this,n=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(n),t&&((0,r.isPlainObject)(t)?(0,r.attr)(n,t):o=t),o&&(0,r.asArray)(o).forEach((e=>n.appendChild((0,r.isString)(e)?i.fromHTML(e):e))),n},e.prototype.div=function(e,t,o){var r=this.element("div",t,o);return e&&(r.className=e),r},e.prototype.sandbox=function(){var e,t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);var o=null===(e=t.contentWindow)||void 0===e?void 0:e.document;return(0,r.assert)(o,"iframe.contentWindow.document"),o.open(),o.write(""),o.close(),o.body},e.prototype.span=function(e,t,o){var r=this.element("span",t,o);return e&&(r.className=e),r},e.prototype.a=function(e,t,o){var r=this.element("a",t,o);return e&&(r.className=e),r},e.prototype.text=function(e){return this.doc.createTextNode(e)},e.prototype.fake=function(){return this.text(n.INVISIBLE_SPACE)},e.prototype.fragment=function(){return this.doc.createDocumentFragment()},e.prototype.fromHTML=function(e,t){var o=this.div();o.innerHTML=""+e;var n=o.firstChild===o.lastChild&&o.firstChild?o.firstChild:o;if(i.Dom.safeRemove(n),t){var a=(0,r.refs)(n);Object.keys(t).forEach((e=>{var o=a[e];o&&!1===t[e]&&i.Dom.hide(o)}))}return n},e.prototype.applyCreateAttributes=function(e){if(this.createAttributes){var t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){var o=t[e.tagName.toLowerCase()];(0,r.isFunction)(o)?o(e):(0,r.isPlainObject)(o)&&(0,r.attr)(e,o)}}},e}();t.Create=a},14487(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(53089),t)},79004(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cache=void 0;var r=o(92654);t.cache=function(e,t,o){var i=o.get;if(!i)throw(0,r.error)("Getter property descriptor expected");o.get=function(){var e=i.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:o.configurable,enumerable:o.enumerable,writable:!1,value:e}),e}}},99205(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.component=void 0;var r=o(20255);t.component=function(e){var t=function(e){function t(){for(var o=[],i=0;arguments.length>i;i++)o[i]=arguments[i];var n=e.apply(this,r.__spreadArray([],r.__read(o),!1))||this,a=n.constructor===t;return a&&(n instanceof t||Object.setPrototypeOf(n,t.prototype),n.setStatus("ready")),n}return r.__extends(t,e),t}(e);return t}},1509(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.debounce=void 0;var r=o(37379),i=o(34543),n=o(80163),a=o(92654);function s(e,t,o){return void 0===t&&(t=!1),void 0===o&&(o="debounce"),function(s,l){var c=s[l];if(!(0,r.isFunction)(c))throw(0,n.error)("Handler must be a Function");return s.hookStatus(i.STATUSES.ready,(i=>{var n=i.async;(0,a.assert)(null!=n,"Component ".concat(i.componentName||i.constructor.name,' should have "async:IAsync" field'));var s=(0,r.isFunction)(e)?e(i):e;Object.defineProperty(i,l,{configurable:!0,value:n[o](i[l].bind(i),(0,r.isNumber)(s)||(0,r.isPlainObject)(s)?s:i.defaultTimeout,t)})})),{configurable:!0,get(){return c.bind(this)}}}}t.debounce=s,t.throttle=(e,t)=>(void 0===t&&(t=!1),s(e,t,"throttle"))},46169(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hook=void 0;var r=o(37379),i=o(80163);t.hook=e=>(t,o)=>{if(!(0,r.isFunction)(t[o]))throw(0,i.error)("Handler must be a Function");t.hookStatus(e,(e=>{e[o].call(e)}))}},1656(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idle=void 0;var r=o(20255),i=o(34543),n=o(92654);t.idle=()=>(e,t)=>{if(!(0,n.isFunction)(e[t]))throw(0,n.error)("Handler must be a Function");e.hookStatus(i.STATUSES.ready,(e=>{var o=e.async,i=e[t];e[t]=function(){for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return o.requestIdleCallback(i.bind.apply(i,r.__spreadArray([e],r.__read(t),!1)))}}))}},9901(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autobind=void 0;var r=o(20255);r.__exportStar(o(79004),t),r.__exportStar(o(99205),t),r.__exportStar(o(1509),t),r.__exportStar(o(1656),t),r.__exportStar(o(46169),t),r.__exportStar(o(86358),t),r.__exportStar(o(44801),t),r.__exportStar(o(69770),t),r.__exportStar(o(44101),t);var i=o(70631);Object.defineProperty(t,"autobind",{enumerable:!0,get:()=>i.default})},86358(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonenumerable=void 0,t.nonenumerable=function(e,t){!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},44801(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.persistent=void 0;var r=o(34543),i=o(51813);t.persistent=(e,t)=>{e.hookStatus(r.STATUSES.ready,(e=>{var o=(0,i.isViewObject)(e)?e:e.jodit,r="".concat(o.options.namespace).concat(e.componentName,"_prop_").concat(t),n=e[t];Object.defineProperty(e,t,{get(){var e;return null!==(e=o.storage.get(r))&&void 0!==e?e:n},set(e){o.storage.set(r,e)}})}))}},69770(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wait=void 0;var r=o(20255),i=o(92654),n=o(34543);t.wait=e=>(t,o)=>{if(!(0,i.isFunction)(t[o]))throw(0,i.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,(t=>{var i=t.async,n=t[o],a=0;Object.defineProperty(t,o,{configurable:!0,value:function o(){for(var s=[],l=0;arguments.length>l;l++)s[l]=arguments[l];i.clearTimeout(a),e(t)?n.apply(t,s):a=i.setTimeout((()=>o.apply(void 0,r.__spreadArray([],r.__read(s),!1))),10)}})}))}},44101(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watch=t.getPropertyDescriptor=void 0;var r=o(20255),i=o(84121),n=o(77184),a=o(51813),s=o(80475),l=o(10799),c=o(62541),d=o(80163);function u(e,t){var o;do{o=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!o&&e);return o}function p(e,t){return(o,p)=>{if(!(0,i.isFunction)(o[p]))throw(0,d.error)("Handler must be a Function");var h=l=>{var d=function(e){for(var t,o=[],i=1;arguments.length>i;i++)o[i-1]=arguments[i];if(!l.isInDestruct)return(t=l)[p].apply(t,r.__spreadArray([e],r.__read(o),!1))};(0,c.splitArray)(e).forEach((e=>{if(/:/.test(e)){var c=r.__read(e.split(":"),2),p=c[0],h=c[1],f=t,m=(0,a.isViewObject)(l)?l:l.jodit;return p.length&&(f=l.get(p)),(0,i.isFunction)(f)&&(f=f(l)),m.events.on(f||l,h,d),f||m.events.on(h,d),void l.hookStatus("beforeDestruct",(()=>{m.events.off(f||l,h,d).off(h,d)}))}var v=e.split("."),g=r.__read(v,1)[0],y=v.slice(1),b=l[g];(0,n.isPlainObject)(b)&&(0,s.observable)(b).on("change.".concat(y.join(".")),d);var _=u(o,g);Object.defineProperty(l,g,{configurable:!0,set(e){var t=b;t!==e&&(b=e,_&&_.set&&_.set.call(l,e),(0,n.isPlainObject)(b)&&(b=(0,s.observable)(b)).on("change.".concat(y.join(".")),d),d(g,t,b))},get:()=>_&&_.get?_.get.call(l):b})}))};(0,i.isFunction)(o.hookStatus)?o.hookStatus(l.STATUSES.ready,h):h(o)}}t.getPropertyDescriptor=u,t.watch=p,t.default=p},43887(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dom=void 0;var r=o(20255),i=o(10063),n=o(92654),a=o(36047),s=o(10063),l=function(){function e(){}return e.detach=e=>{for(;e.firstChild;)e.removeChild(e.firstChild)},e.wrapInline=(t,o,r)=>{var i,a=t,s=t;r.s.save();var l=!1;do{l=!1,(i=a.previousSibling)&&!e.isBlock(i)&&(l=!0,a=i)}while(l);do{l=!1,(i=s.nextSibling)&&!e.isBlock(i)&&(l=!0,s=i)}while(l);var c=(0,n.isString)(o)?r.createInside.element(o):o;a.parentNode&&a.parentNode.insertBefore(c,a);for(var d=a;d&&(d=a.nextSibling,c.appendChild(a),a!==s&&d);)a=d;return r.s.restore(),c},e.wrap=(t,o,r)=>{var i=(0,n.isString)(o)?r.element(o):o;if(e.isNode(t)){if(!t.parentNode)throw(0,n.error)("Element should be in DOM");t.parentNode.insertBefore(i,t),i.appendChild(t)}else{var a=t.extractContents();t.insertNode(i),i.appendChild(a)}return i},e.unwrap=t=>{var o=t.parentNode;if(o){for(;t.firstChild;)o.insertBefore(t.firstChild,t);e.safeRemove(t)}},e.between=(e,t,o)=>{for(var r=e;r&&r!==t&&(e===r||!o(r));){var i=r.firstChild||r.nextSibling;if(!i){for(;r&&!r.nextSibling;)r=r.parentNode;i=null==r?void 0:r.nextSibling}r=i}},e.replace=(e,t,o,r,i)=>{void 0===r&&(r=!1),void 0===i&&(i=!1),(0,n.isHTML)(t)&&(t=o.fromHTML(t));var a=(0,n.isString)(t)?o.element(t):t;if(!i)for(;e.firstChild;)a.appendChild(e.firstChild);return r&&(0,n.toArray)(e.attributes).forEach((e=>{a.setAttribute(e.name,e.value)})),e.parentNode&&e.parentNode.replaceChild(a,e),a},e.isEmptyTextNode=t=>e.isText(t)&&(!t.nodeValue||0===t.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP(),"").trim().length),e.isEmptyContent=t=>e.each(t,(t=>e.isEmptyTextNode(t))),e.isContentEditable=(t,o)=>e.isNode(t)&&!e.closest(t,(t=>e.isElement(t)&&"false"===t.getAttribute("contenteditable")),o),e.isEmpty=(t,o)=>(void 0===o&&(o=/^(img|svg|canvas|input|textarea|form)$/),!t||(e.isText(t)?null==t.nodeValue||0===(0,n.trim)(t.nodeValue).length:!o.test(t.nodeName.toLowerCase())&&e.each(t,(t=>{if(e.isText(t)&&null!=t.nodeValue&&0!==(0,n.trim)(t.nodeValue).length||e.isElement(t)&&o.test(t.nodeName.toLowerCase()))return!1})))),e.isNode=e=>!!(e&&(0,n.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,n.isFunction)(e.appendChild)),e.isCell=t=>e.isNode(t)&&/^(td|th)$/i.test(t.nodeName),e.isImage=t=>e.isNode(t)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName),e.isBlock=t=>!(0,n.isVoid)(t)&&"object"==typeof t&&e.isNode(t)&&i.IS_BLOCK.test(t.nodeName),e.isText=e=>!(!e||e.nodeType!==Node.TEXT_NODE),e.isElement=t=>{var o;return!!e.isNode(t)&&!(!(null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView)||t.nodeType!==Node.ELEMENT_NODE)},e.isFragment=t=>{var o;return!!e.isNode(t)&&!(!(null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView)||t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)},e.isHTMLElement=t=>{var o;if(!e.isNode(t))return!1;var r=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return!!(r&&t instanceof r.HTMLElement)},e.isInlineBlock=t=>e.isElement(t)&&!/^(BR|HR)$/i.test(t.tagName)&&-1!==["inline","inline-block"].indexOf(""+(0,n.css)(t,"display")),e.canSplitBlock=t=>!(0,n.isVoid)(t)&&e.isHTMLElement(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&void 0!==t.style&&!/^(fixed|absolute)/i.test(t.style.position),e.last=(e,t)=>{var o=null==e?void 0:e.lastChild;if(!o)return null;do{if(t(o))return o;var r=o.lastChild;if(r||(r=o.previousSibling),!r&&o.parentNode!==e){do{o=o.parentNode}while(o&&!(null==o?void 0:o.previousSibling)&&o.parentNode!==e);r=null==o?void 0:o.previousSibling}o=r}while(o);return null},e.prev=(t,o,r,i)=>(void 0===i&&(i=!0),e.find(t,o,r,!1,i)),e.next=(t,o,r,i)=>(void 0===i&&(i=!0),e.find(t,o,r,!0,i)),e.prevWithClass=(t,o)=>e.prev(t,(t=>e.isElement(t)&&t.classList.contains(o)),t.parentNode),e.nextWithClass=(t,o)=>e.next(t,(t=>e.isElement(t)&&t.classList.contains(o)),t.parentNode),e.find=function(e,t,o,r,i){void 0===r&&(r=!0),void 0===i&&(i=!0);for(var n=this.nextGen(e,o,r,i),a=n.next();!a.done;){if(t(a.value))return a.value;a=n.next()}return null},e.nextGen=function(e,t,o,i){var n,a,s;return void 0===o&&(o=!0),void 0===i&&(i=!0),r.__generator(this,(function(l){switch(l.label){case 0:n=[],a=e,l.label=1;case 1:for(s=o?a.nextSibling:a.previousSibling;s;)n.unshift(s),s=o?s.nextSibling:s.previousSibling;return[5,r.__values(this.runInStack(e,n,o,i))];case 2:l.sent(),a=a.parentNode,l.label=3;case 3:if(a&&a!==t)return[3,1];l.label=4;case 4:return[2,null]}}))},e.each=function(e,t,o){void 0===o&&(o=!0);for(var r=this.eachGen(e,o),i=r.next();!i.done;){if(!1===t(i.value))return!1;i=r.next()}return!0},e.eachGen=function(e,t){return void 0===t&&(t=!0),this.runInStack(e,[e],t)},e.runInStack=function(e,t,o,i){var n,a;return void 0===i&&(i=!0),r.__generator(this,(r=>{switch(r.label){case 0:if(!t.length)return[3,3];if(n=t.pop(),i)for(a=o?n.lastChild:n.firstChild;a;)t.push(a),a=o?a.previousSibling:a.nextSibling;return e===n?[3,2]:[4,n];case 1:r.sent(),r.label=2;case 2:return[3,0];case 3:return[2]}}))},e.findWithCurrent=(t,o,r,i,n)=>{void 0===i&&(i="nextSibling"),void 0===n&&(n="firstChild");var a=t;do{if(o(a))return a||null;if(n&&a&&a[n]){var s=e.findWithCurrent(a[n],o,a,i,n);if(s)return s}for(;a&&!a[i]&&a!==r;)a=a.parentNode;a&&a[i]&&a!==r&&(a=a[i])}while(a&&a!==r);return null},e.findSibling=(t,o,r)=>{void 0===o&&(o=!0),void 0===r&&(r=t=>!e.isEmptyTextNode(t));for(var i=e.sibling(t,o);i&&!r(i);)i=e.sibling(i,o);return i&&r(i)?i:null},e.findNotEmptySibling=(t,o)=>e.findSibling(t,o,(t=>{var o;return!e.isEmptyTextNode(t)&&!!(!e.isText(t)||(null===(o=t.nodeValue)||void 0===o?void 0:o.length)&&(0,n.trim)(t.nodeValue))})),e.findNotEmptyNeighbor=(t,o,r)=>(0,n.call)(o?e.prev:e.next,t,(t=>!(!t||e.isText(t)&&!(0,n.trim)((null==t?void 0:t.nodeValue)||"").length)),r),e.sibling=(e,t)=>t?e.previousSibling:e.nextSibling,e.up=(e,t,o,r)=>{void 0===r&&(r=!1);var i=e;if(!i)return null;do{if(t(i))return i;if(i===o||!i.parentNode)break;i=i.parentNode}while(i&&i!==o);return i===o&&r&&t(i)?i:null},e.closest=(t,o,r)=>{var i;return i=(0,n.isFunction)(o)?o:(0,n.isArray)(o)?e=>!(!e||!o.includes(e.nodeName.toLowerCase())):e=>!(!e||o!==e.nodeName.toLowerCase()),e.up(t,i,r)},e.furthest=(e,t,o)=>{for(var r=null,i=null==e?void 0:e.parentElement;i&&i!==o&&t(i);)r=i,i=null==i?void 0:i.parentElement;return r},e.appendChildFirst=(e,t)=>{var o=e.firstChild;o?o!==t&&e.insertBefore(t,o):e.appendChild(t)},e.after=(e,t)=>{var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))},e.before=(e,t)=>{var o=e.parentNode;o&&o.insertBefore(t,e)},e.prepend=(e,t)=>{e.insertBefore(t,e.firstChild)},e.append=function(e,t){var o=this;(0,n.isArray)(t)?t.forEach((t=>{o.append(e,t)})):e.appendChild(t)},e.moveContent=(e,t,o)=>{void 0===o&&(o=!1);var r=(e.ownerDocument||document).createDocumentFragment();(0,n.toArray)(e.childNodes).forEach((e=>{r.appendChild(e)})),o&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)},e.isOrContains=function(e,t,o){return void 0===o&&(o=!1),e===t?!o:!!(t&&e&&this.up(t,(t=>t===e),e,!0))},e.safeRemove=function(){for(var t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];t.forEach((t=>e.isNode(t)&&t.parentNode&&t.parentNode.removeChild(t)))},e.hide=e=>{e&&((0,n.dataBind)(e,"__old_display",e.style.display),e.style.display="none")},e.show=e=>{if(e){var t=(0,n.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}},e.isTag=function(e,t){for(var o=(0,n.asArray)(t).map(String),r=0;o.length>r;r+=1)if(this.isElement(e)&&e.tagName.toLowerCase()===o[r].toLowerCase())return!0;return!1},e.markTemporary=(e,t)=>(t&&(0,n.attr)(e,t),(0,n.attr)(e,s.TEMP_ATTR,!0),e),e.isTemporary=t=>!!e.isElement(t)&&(a.Select.isMarker(t)||"true"===(0,n.attr)(t,s.TEMP_ATTR)),e.replaceTemporaryFromString=e=>e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2"),e.temporaryList=e=>(0,n.$$)("[".concat(s.TEMP_ATTR,"]"),e),e}();t.Dom=l},94522(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(43887),t),r.__exportStar(o(74601),t)},74601(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyWalker=void 0;var r=o(20255),i=o(99437),n=o(9901),a=o(43887),s=function(e){function t(t,o){void 0===o&&(o={});var r=e.call(this)||this;return r.async=t,r.options=o,r.workNodes=null,r.hadAffect=!1,r.isWorked=!1,r.isFinished=!1,r.idleId=0,r}return r.__extends(t,e),t.prototype.setWork=function(e){return this.isWorked&&this.break(),this.workNodes=a.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this},t.prototype.startIdleRequest=function(){var e;this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:null!==(e=this.options.timeout)&&void 0!==e?e:10})},t.prototype.break=function(e){this.isWorked&&(this.stop(),this.emit("break",e))},t.prototype.end=function(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)},t.prototype.stop=function(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)},t.prototype.destruct=function(){e.prototype.destruct.call(this),this.stop()},t.prototype.workPerform=function(e){var t;if(this.workNodes){this.isWorked=!0;for(var o=0,r=null!==(t=this.options.timeoutChunkSize)&&void 0!==t?t:50;!this.isFinished&&(e.timeRemaining()>0||e.didTimeout&&r>=o);){var i=this.workNodes.next();if(o+=1,this.visitNode(i.value)&&(this.hadAffect=!0),i.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()},t.prototype.visitNode=function(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t},r.__decorate([n.autobind],t.prototype,"workPerform",null),t}(i.Eventify);t.LazyWalker=s},34970(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventEmitter=void 0;var r=o(20255),i=o(15094),n=o(40607),a=o(84121),s=o(2555),l=o(80163),c=o(62541),d=function(){function e(e){var t=this;this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=e=>{e.cancelBubble||(e.composed&&(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})})),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&t.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>t.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}return e.prototype.mute=function(e){return this.__mutedEvents.add(null!=e?e:"*"),this},e.prototype.isMuted=function(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")},e.prototype.unmute=function(e){return this.__mutedEvents.delete(null!=e?e:"*"),this},e.prototype.__eachEvent=function(e,t){var o=this;(0,c.splitArray)(e).map((e=>e.trim())).forEach((e=>{var r=e.split(".");t.call(o,r[0],r[1]||i.defaultNameSpace)}))},e.prototype.__getStore=function(e){if(!e)throw(0,l.error)("Need subject");if(void 0===e[this.__key]){var t=new i.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]},e.prototype.__removeStoreFromSubject=function(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})},e.prototype.__triggerNativeEvent=function(e,t){var o=this.__doc.createEvent("HTMLEvents");(0,n.isString)(t)?o.initEvent(t,!0,!0):(o.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((e=>{Object.defineProperty(o,e,{value:t[e],enumerable:!0})})),Object.defineProperty(o,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(o)},Object.defineProperty(e.prototype,"current",{get(){return this.currents[this.currents.length-1]},enumerable:!1,configurable:!0}),e.prototype.on=function(e,t,o,i){var c,d,u,p,h=this;if((0,n.isString)(e)||(0,n.isStringArray)(e)?(c=this,d=e,u=t,p=o):(c=e,d=t,u=o,p=i),!(0,n.isString)(d)&&!(0,n.isStringArray)(d)||0===d.length)throw(0,l.error)("Need events names");if(!(0,a.isFunction)(u))throw(0,l.error)("Need event handler");if((0,s.isArray)(c))return c.forEach((e=>{h.on(e,d,u,p)})),this;var f=c,m=this.__getStore(f),v=(0,a.isFunction)(f.addEventListener),g=this,y=function(e){for(var t=[],o=1;arguments.length>o;o++)t[o-1]=arguments[o];if(!g.isMuted(e))return u&&u.call.apply(u,r.__spreadArray([this],r.__read(t),!1))};return v&&(y=function(e){if(!g.isMuted(e.type))return g.__prepareEvent(e),u&&!1===u.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(d,((e,t)=>{if(0===e.length)throw(0,l.error)("Need event name");if(!1===m.indexOf(e,t,u)&&(m.set(e,t,{event:e,originalCallback:u,syntheticCallback:y},null==p?void 0:p.top),v)){var o=!!["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"].includes(e)&&{passive:!0};f.addEventListener(e,y,o)}})),this},e.prototype.one=function(e,t,o,i){var a,s,l,c,d=this;(0,n.isString)(e)||(0,n.isStringArray)(e)?(a=this,s=e,l=t,c=o):(a=e,s=t,l=o,c=i);var u=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return d.off(a,s,u),l.apply(void 0,r.__spreadArray([],r.__read(e),!1))};return this.on(a,s,u,c),this},e.prototype.off=function(e,t,o){var r,l,c,d=this;if((0,n.isString)(e)||(0,n.isStringArray)(e)?(r=this,l=e,c=t):(r=e,l=t,c=o),(0,s.isArray)(r))return r.forEach((e=>{d.off(e,l,c)})),this;var u=r,p=this.__getStore(u);if(!(0,n.isString)(l)&&!(0,n.isStringArray)(l)||0===l.length)return p.namespaces().forEach((e=>{d.off(u,"."+e)})),this.__removeStoreFromSubject(u),this;var h=(0,a.isFunction)(u.removeEventListener),f=e=>{h&&u.removeEventListener(e.event,e.syntheticCallback,!1)},m=(e,t)=>{if(""!==e){var o=p.get(e,t);if(o&&o.length)if((0,a.isFunction)(c)){var r=p.indexOf(e,t,c);!1!==r&&(f(o[r]),o.splice(r,1),o.length||p.clearEvents(t,e))}else o.forEach(f),o.length=0,p.clearEvents(t,e)}else p.events(t).forEach((e=>{""!==e&&m(e,t)}))};return this.__eachEvent(l,((e,t)=>{t===i.defaultNameSpace?p.namespaces().forEach((t=>{m(e,t)})):m(e,t)})),p.isEmpty()&&this.__removeStoreFromSubject(u),this},e.prototype.stopPropagation=function(e,t){var o=this,r=(0,n.isString)(e)?this:e,a=(0,n.isString)(e)?e:t;if("string"!=typeof a)throw(0,l.error)("Need event names");var s=this.__getStore(r);this.__eachEvent(a,((e,t)=>{var n=s.get(e,t);n&&o.__stopped.push(n),t===i.defaultNameSpace&&s.namespaces(!0).forEach((t=>o.stopPropagation(r,e+"."+t)))}))},e.prototype.__removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}},e.prototype.__isStopped=function(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)},e.prototype.fire=function(e,t){for(var o,s,c=this,d=[],u=2;arguments.length>u;u++)d[u-2]=arguments[u];var p=(0,n.isString)(e)?this:e,h=(0,n.isString)(e)?e:t,f=(0,n.isString)(e)?r.__spreadArray([t],r.__read(d),!1):d,m=(0,a.isFunction)(p.dispatchEvent);if(!m&&!(0,n.isString)(h))throw(0,l.error)("Need events names");var v=this.__getStore(p);return!(0,n.isString)(h)&&m?this.__triggerNativeEvent(p,t):this.__eachEvent(h,((e,t)=>{if(m)c.__triggerNativeEvent(p,e);else{var n=v.get(e,t);if(n)try{r.__spreadArray([],r.__read(n),!1).every((t=>{var i;return!c.__isStopped(n)&&(c.currents.push(e),s=(i=t.syntheticCallback).call.apply(i,r.__spreadArray([p,e],r.__read(f),!1)),c.currents.pop(),void 0!==s&&(o=s),!0)}))}finally{c.__removeStop(n)}t!==i.defaultNameSpace||m||v.namespaces().filter((e=>e!==t)).forEach((t=>{var i=c.fire.apply(c,r.__spreadArray([p,e+"."+t],r.__read(f),!1));void 0!==i&&(o=i)}))}})),o},e.prototype.destruct=function(){this.__isDestructed&&(this.__isDestructed=!0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))},e}();t.EventEmitter=d},99437(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eventify=void 0;var r=o(20255),i=function(){function e(){this.__map=new Map}return e.prototype.on=function(e,t){var o;return this.__map.has(e)||this.__map.set(e,new Set),null===(o=this.__map.get(e))||void 0===o||o.add(t),this},e.prototype.off=function(e,t){var o;return this.__map.has(e)&&(null===(o=this.__map.get(e))||void 0===o||o.delete(t)),this},e.prototype.destruct=function(){this.__map.clear()},e.prototype.emit=function(e){for(var t,o,i=[],n=1;arguments.length>n;n++)i[n-1]=arguments[n];return this.__map.has(e)&&(null===(t=this.__map.get(e))||void 0===t||t.forEach((e=>{o=e.apply(void 0,r.__spreadArray([],r.__read(i),!1))}))),o},e}();t.Eventify=i},42293(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(34970),t),r.__exportStar(o(99437),t),r.__exportStar(o(80475),t),r.__exportStar(o(15094),t)},80475(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0;var r=o(20255),i=o(2555),n=o(16716),a=o(77184),s=o(44101),l=Symbol("observable-object");function c(e){return void 0!==e[l]}t.observable=e=>{if(c(e))return e;var t={},o={},d=(t,r)=>(0,i.isArray)(t)?(t.map((e=>d(e,r))),e):(o[t]||(o[t]=[]),o[t].push(r),e),u=function(n){for(var a=[],s=1;arguments.length>s;s++)a[s-1]=arguments[s];if((0,i.isArray)(n))n.map((e=>u.apply(void 0,r.__spreadArray([e],r.__read(a),!1))));else try{!t[n]&&o[n]&&(t[n]=!0,o[n].forEach((t=>t.call.apply(t,r.__spreadArray([e],r.__read(a),!1)))))}finally{t[n]=!1}},p=(t,o)=>{void 0===o&&(o=[]);var i={};c(t)||(Object.defineProperty(t,l,{enumerable:!1,value:!0}),Object.keys(t).forEach((l=>{var c=l,d=o.concat(c).filter((e=>e.length));i[c]=t[c];var h=(0,s.getPropertyDescriptor)(t,c);Object.defineProperty(t,c,{set(t){var o=i[c];if(!(0,n.isFastEqual)(i[c],t)){u(["beforeChange","beforeChange.".concat(d.join("."))],c,t),(0,a.isPlainObject)(t)&&p(t,d),h&&h.set?h.set.call(e,t):i[c]=t;var s=[];u(r.__spreadArray(["change"],r.__read(d.reduce(((e,t)=>(s.push(t),e.push("change.".concat(s.join("."))),e)),[])),!1),d.join("."),o,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:()=>h&&h.get?h.get.call(e):i[c],enumerable:!0,configurable:!0}),(0,a.isPlainObject)(i[c])&&p(i[c],d)})),Object.defineProperty(e,"on",{value:d}))};return p(e),e}},15094(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlersStore=t.defaultNameSpace=void 0;var r=o(39665),i=o(42464);t.defaultNameSpace="JoditEventDefaultNamespace";var n=function(){function e(){this.__store=new Map}return e.prototype.get=function(e,t){if(this.__store.has(t)){var o=this.__store.get(t);return(0,r.assert)(o,"-"),o[e]}},e.prototype.indexOf=function(e,t,o){var r=this.get(e,t);if(r)for(var i=0;r.length>i;i+=1)if(r[i].originalCallback===o)return i;return!1},e.prototype.namespaces=function(e){void 0===e&&(e=!1);var o=(0,i.toArray)(this.__store.keys());return e?o.filter((e=>e!==t.defaultNameSpace)):o},e.prototype.events=function(e){var t=this.__store.get(e);return t?Object.keys(t):[]},e.prototype.set=function(e,t,o,r){void 0===r&&(r=!1);var i=this.__store.get(t);i||this.__store.set(t,i={}),void 0===i[e]&&(i[e]=[]),r?i[e].unshift(o):i[e].push(o)},e.prototype.clear=function(){this.__store.clear()},e.prototype.clearEvents=function(e,t){var o=this.__store.get(e);o&&o[t]&&(delete o[t],Object.keys(o).length||this.__store.delete(e))},e.prototype.isEmpty=function(){return 0===this.__store.size},e}();t.EventHandlersStore=n},58299(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventEmitter=t.getContainer=t.extendLang=t.modules=t.pluginSystem=t.uniqueUid=t.instances=void 0;var r=o(58153),i=o(94522),n=o(42293),a=o(47442),s=o(51813),l=o(28693),c=o(90237),d=o(10063);t.instances={};var u=1,p=new Set;t.uniqueUid=()=>{function e(){return u+=10*(Math.random()+1),Math.round(u).toString(16)}for(var t=e();p.has(t);)t=e();return p.add(t),t},t.pluginSystem=new r.PluginSystem,t.modules={},t.extendLang=e=>{Object.keys(e).forEach((t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]}))};var h=new WeakMap;t.getContainer=(e,t,o,r)=>{void 0===o&&(o="div"),void 0===r&&(r=!1);var n=t?(0,l.getClassName)(t.prototype):"jodit-utils",d=h.get(e)||{},u=n+o,p=(0,s.isViewObject)(e)?e:e.j;if(!d[u]){var f=p.c,m=(0,a.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:e.od.body;if(r&&(0,a.isJoditObject)(e)&&e.od!==e.ed){f=e.createInside;var v="style"===o?e.ed.head:e.ed.body;m=(0,a.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:v}var g=f.element(o,{className:"jodit jodit-".concat((0,c.kebabCase)(n),"-container jodit-box")});g.classList.add("jodit_theme_".concat(p.o.theme||"default")),m.appendChild(g),d[u]=g,e.hookStatus("beforeDestruct",(()=>{i.Dom.safeRemove(g),delete d[u],Object.keys(d).length&&h.delete(e)})),h.set(e,d)}return d[u].classList.remove("jodit_theme_default","jodit_theme_dark"),d[u].classList.add("jodit_theme_".concat(p.o.theme||"default")),d[u]},t.eventEmitter=new n.EventEmitter},7796(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=void 0;var r=o(2555);t.asArray=e=>(0,r.isArray)(e)?e:[e]},3005(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=t.splitArray=t.asArray=void 0;var r=o(7796);Object.defineProperty(t,"asArray",{enumerable:!0,get:()=>r.asArray});var i=o(62541);Object.defineProperty(t,"splitArray",{enumerable:!0,get:()=>i.splitArray});var n=o(42464);Object.defineProperty(t,"toArray",{enumerable:!0,get:()=>n.toArray})},62541(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitArray=void 0,t.splitArray=e=>Array.isArray(e)?e:e.split(/[,\s]+/)},42464(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var r=o(33872),i=o(76994);t.toArray=function(){for(var e,t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];var n=(0,i.isNativeFunction)(Array.from)?Array.from:null!==(e=(0,r.reset)("Array.from"))&&void 0!==e?e:Array.from;return n.apply(Array,t)}},97336(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(60232),t)},60232(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearTimeout=t.setTimeout=void 0;var r=o(20255);t.setTimeout=function(e,t){for(var o=[],i=2;arguments.length>i;i++)o[i-2]=arguments[i];return t?window.setTimeout.apply(window,r.__spreadArray([e,t],r.__read(o),!1)):(e.call.apply(e,r.__spreadArray([null],r.__read(o),!1)),0)},t.clearTimeout=e=>{window.clearTimeout(e)}},85740(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserColorPicker=void 0,t.hasBrowserColorPicker=()=>{var e=!0;try{var t=document.createElement("input");t.type="color",e="color"===t.type&&"number"!=typeof t.selectionStart}catch(t){e=!1}return e}},37379(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(85740),t),r.__exportStar(o(2555),t),r.__exportStar(o(65131),t),r.__exportStar(o(16716),t),r.__exportStar(o(84121),t),r.__exportStar(o(24775),t),r.__exportStar(o(68278),t),r.__exportStar(o(19747),t),r.__exportStar(o(84153),t),r.__exportStar(o(47442),t),r.__exportStar(o(51813),t),r.__exportStar(o(33656),t),r.__exportStar(o(76994),t),r.__exportStar(o(93860),t),r.__exportStar(o(57587),t),r.__exportStar(o(77184),t),r.__exportStar(o(30317),t),r.__exportStar(o(40607),t),r.__exportStar(o(56521),t),r.__exportStar(o(76245),t),r.__exportStar(o(13859),t),r.__exportStar(o(99562),t)},2555(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=e=>Array.isArray(e)},65131(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBoolean=void 0,t.isBoolean=e=>"boolean"==typeof e},16716(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFastEqual=t.isEqual=void 0;var r=o(27561);t.isEqual=(e,t)=>e===t||(0,r.stringify)(e)===(0,r.stringify)(t),t.isFastEqual=(e,t)=>e===t},84121(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=e=>"function"==typeof e},68278(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHtmlFromWord=void 0,t.isHtmlFromWord=e=>-1!==e.search(//)||-1!==e.search(//)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/(0,r.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},19747(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasContainer=t.isDestructable=t.isInitable=void 0;var r=o(84121),i=o(43887),n=o(13859);t.isInitable=e=>!(0,n.isVoid)(e)&&(0,r.isFunction)(e.init),t.isDestructable=e=>!(0,n.isVoid)(e)&&(0,r.isFunction)(e.destruct),t.hasContainer=e=>!(0,n.isVoid)(e)&&i.Dom.isElement(e.container)},84153(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInt=void 0;var r=o(57587),i=o(40607);t.isInt=e=>((0,i.isString)(e)&&(0,r.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1))},47442(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoditObject=void 0;var r=o(84121);t.isJoditObject=e=>!!(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))},33656(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLicense=void 0;var r=o(40607);t.isLicense=e=>(0,r.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},76994(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNativeFunction=void 0,t.isNativeFunction=e=>!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(e+""))},93860(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isNumber=e=>"number"==typeof e&&!isNaN(e)&&isFinite(e)},57587(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=void 0;var r=o(40607);t.isNumeric=e=>{if((0,r.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},77184(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=void 0;var r=o(99562);t.isPlainObject=e=>!(!e||"object"!=typeof e||e.nodeType||(0,r.isWindow)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},30317(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0,t.isPromise=e=>e&&"function"==typeof e.then},40607(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isStringArray=t.isString=void 0;var r=o(2555);function i(e){return"string"==typeof e}t.isString=i,t.isStringArray=e=>(0,r.isArray)(e)&&i(e[0])},56521(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=void 0,t.isURL=e=>{if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{var t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}var o=document.createElement("a");return o.href=e,!!o.hostname}},76245(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidName=void 0,t.isValidName=e=>!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_.]/.test(e)},51813(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isViewObject=void 0;var r=o(84121);t.isViewObject=e=>!!(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&e.isView)},13859(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVoid=void 0,t.isVoid=e=>null==e},99562(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindow=void 0,t.isWindow=e=>null!=e&&e===e.window},76588(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorToHex=void 0,t.colorToHex=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";for(var o=parseInt(t[2],10),r=parseInt(t[3],10),i=(parseInt(t[4],10)|r<<8|o<<16).toString(16).toUpperCase();6>i.length;)i="0"+i;return t[1]+"#"+i}},50213(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(76588),t)},40360(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyStyles=void 0;var r=o(43887),i=o(73344),n=o(50106);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,((e,t,o)=>{switch(o.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e}))}t.applyStyles=e=>{if(-1===e.indexOf("")+7);var t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);var o="";try{var s=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(s){s.open(),s.write(e),s.close();try{for(var l=e=>{for(var t=s.styleSheets[e].cssRules,o=e=>{if(""===t[e].selectorText)return"continue";(0,i.$$)(t[e].selectorText,s.body).forEach((o=>{o.style.cssText=a(t[e].style.cssText+";"+o.style.cssText)}))},r=0;t.length>r;r+=1)o(r)},c=0;s.styleSheets.length>c;c+=1)l(c)}catch(e){}r.Dom.each(s.body,(e=>{if(r.Dom.isElement(e)){var t=e,o=t.getAttribute("style");o&&(t.style.cssText=a(o)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}})),o=s.firstChild?(0,n.trim)(s.body.innerHTML):""}}catch(e){}finally{r.Dom.safeRemove(t)}return o&&(e=o),(0,n.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(//i);-1!==t&&(e=e.substring(t+20));var o=e.search(//i);return-1!==o&&(e=e.substring(0,o)),e})(o)),t.s.insertHTML(o)}},t.getAllTypes=e=>{var t=e.types,o="";if((0,i.isArray)(t)||"[object DOMStringList]"==={}.toString.call(t))for(var r=0;t.length>r;r+=1)o+=t[r]+";";else o=(t||a.TEXT_PLAIN)+";";return o},t.askInsertTypeDialog=(e,t,o,i,n)=>{if(!1!==e.e.fire("beforeOpenPasteDialog",t,o,i,n)){var a=e.confirm('
'.concat(e.i18n(t),"
"),e.i18n(o)),l=n.map((t=>{var o=t.text,r=t.value;return(0,s.Button)(e,{text:o,name:o.toLowerCase(),tabIndex:0}).onAction((()=>{a.close(),i(r)}))}));a.e.one(a,"afterClose",(()=>{e.s.isFocused()||e.s.focus()}));var c=(0,s.Button)(e,{text:"Cancel",tabIndex:0}).onAction((()=>{a.close()}));return a.setFooter(r.__spreadArray(r.__spreadArray([],r.__read(l),!1),[c],!1)),l[0].focus(),l[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",a,t,o,i,n),a}}},78053(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paste=void 0;var r=o(20255),i=o(73177),n=o(10063),a=o(43887),s=o(9901),l=o(92654),c=o(58299),d=o(23063);o(12814);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pasteStack=new l.LimitedStack(20),t._isDialogOpened=!1,t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(e=>t.pasteStack.push(e))),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)},t.prototype.beforeDestruct=function(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")},t.prototype.onPaste=function(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}},t.prototype.customPasteProcess=function(e){if(this.j.o.processPasteHTML){var t,o=(0,l.getDataTransfer)(e),r={html:null==o?void 0:o.getData(n.TEXT_HTML),plain:null==o?void 0:o.getData(n.TEXT_PLAIN),rtf:null==o?void 0:o.getData(n.TEXT_RTF)};for(t in r){var i=r[t];if((0,l.isHTML)(i)&&(this.j.e.fire("processHTML",e,i,r)||this.processHTML(e,i)))return!1}}},t.prototype.defaultPasteProcess=function(e){var t=(0,l.getDataTransfer)(e),o=(null==t?void 0:t.getData(n.TEXT_HTML))||(null==t?void 0:t.getData(n.TEXT_PLAIN));if(t&&o&&""!==(0,l.trim)(o)){var r=this.j.e.fire("processPaste",e,o,(0,d.getAllTypes)(t));void 0!==r&&(o=r),((0,l.isString)(o)||a.Dom.isNode(o))&&this.insertByType(e,o,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}},t.prototype.processHTML=function(e,t){var o=this;if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){var r=this.pasteStack.find((e=>e.html===t));if(r)return this.insertByType(e,t,r.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;var i=(0,d.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(r=>{o._isDialogOpened=!1,o.insertByType(e,t,r)}),this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",(()=>{o._isDialogOpened=!1}))),!0}return!1},t.prototype.insertByType=function(e,t,o){if(this.pasteStack.push({html:t,action:o}),(0,l.isString)(t))switch(this.j.buffer.set(n.CLIPBOARD_ID,t),o){case n.INSERT_CLEAR_HTML:t=(0,l.cleanFromWord)(t);break;case n.INSERT_ONLY_TEXT:t=(0,l.stripTags)(t);break;case n.INSERT_AS_TEXT:t=(0,l.htmlspecialchars)(t)}(0,d.pasteInsertHtml)(e,this.j,t)},t.prototype.onProcessPasteReplaceNl2Br=(e,t,o)=>{if(o===n.TEXT_PLAIN+";"&&!(0,l.isHTML)(t))return(0,l.nl2br)(t)},r.__decorate([s.autobind],t.prototype,"onPaste",null),r.__decorate([s.autobind],t.prototype,"onProcessPasteReplaceNl2Br",null),t}(i.Plugin);t.paste=u,c.pluginSystem.add("paste",u)},90566(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.showPlaceholder=!0,r.Config.prototype.placeholder="Type something",r.Config.prototype.useInputsPlaceholder=!0},82199(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholder=t.isEditorEmpty=void 0;var r=o(20255);o(51629);var i=o(10063),n=o(92654),a=o(94522),s=o(73177),l=o(10063),c=o(9901),d=o(36047),u=o(58299);function p(e){if(!e.firstChild)return!0;var t=e.firstChild;if(l.MAY_BE_REMOVED_WITH_KEY.test(t.nodeName)||/^(TABLE)$/i.test(t.nodeName))return!1;var o=a.Dom.next(t,(e=>e&&!a.Dom.isEmptyTextNode(e)),e);return a.Dom.isText(t)&&!o?a.Dom.isEmptyTextNode(t):!o&&a.Dom.each(t,(e=>!a.Dom.isTag(e,["ul","li","ol"])&&(a.Dom.isEmpty(e)||a.Dom.isTag(e,"br"))))}o(90566),t.isEditorEmpty=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.addNativeListeners=()=>{t.j.e.off(t.j.editor,"input.placeholder keydown.placeholder").on(t.j.editor,"input.placeholder keydown.placeholder",t.toggle)},t.addEvents=()=>{var e=t.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(t.placeholderElm.innerHTML=(0,n.attr)(e.element,"placeholder")||""),e.e.fire("placeholder",t.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",t.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",t.toggle).on(window,"load",t.toggle),t.addNativeListeners(),t.toggle()},t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML('")),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",(e=>{e?t.hide():t.toggle()})).on("changePlace",this.addEvents),this.addEvents())},t.prototype.show=function(){var e=this.j;if(!e.o.readonly){var t=0,o=0,r=e.s.current(),i=r&&a.Dom.closest(r,a.Dom.isBlock,e.editor)||e.editor,s=e.ew.getComputedStyle(i);e.workplace.appendChild(this.placeholderElm);var l=e.editor.firstChild;if(a.Dom.isElement(l)&&!d.Select.isMarker(l)){var c=e.ew.getComputedStyle(l);t=parseInt(c.getPropertyValue("margin-top"),10),o=parseInt(c.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(c.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=c.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(s.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=s.getPropertyValue("line-height");(0,n.css)(this.placeholderElm,{display:"block",textAlign:s.getPropertyValue("text-align"),marginTop:Math.max(parseInt(s.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(s.getPropertyValue("margin-left"),10),o)})}},t.prototype.hide=function(){a.Dom.safeRemove(this.placeholderElm)},t.prototype.toggle=function(){var e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===i.MODE_WYSIWYG&&p(e.editor)?this.show():this.hide())},t.prototype.beforeDestruct=function(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)},r.__decorate([(0,c.debounce)((e=>e.defaultTimeout/10),!0)],t.prototype,"toggle",null),t}(s.Plugin);t.placeholder=h,u.pluginSystem.add("placeholder",h)},16459(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poweredByJodit=void 0;var r=o(58299);function i(e){var t=e.o;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",(()=>{e.statusbar.append(e.create.fromHTML('\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t'),!0)}))}t.poweredByJodit=i,r.pluginSystem.add("poweredByJodit",i)},72802(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preview=void 0,o(54860);var r=o(27537),i=o(10063),n=o(79775),a=o(58299);function s(e){e.registerButton({name:"preview"}),e.registerCommand("preview",((t,o,r)=>{var i=e.dialog();i.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0),(0,n.previewBox)(e,r,"px",i.getElm("content"))}))}r.Config.prototype.controls.preview={icon:"eye",command:"preview",mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Preview"},t.preview=s,a.pluginSystem.add("preview",s)},28895(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCriticalCSS=void 0;var r=o(20255),i=o(42464);t.generateCriticalCSS=function(e){var t=(e,t)=>(void 0===t&&(t=e.ownerDocument.styleSheets),(0,i.toArray)(t).map((e=>{try{return(0,i.toArray)(e.cssRules)}catch(e){}return[]})).flat().filter((t=>{try{return!(!t||!e.matches(t.selectorText))}catch(e){}return!1}))),o=function(){function o(o,i,n){var a=this;this.css={};var s=n||{},l=t=>{var o=t.selectorText.split(",").map((e=>e.trim())).sort().join(",");0==!!a.css[o]&&(a.css[o]={});for(var i=t.style.cssText.split(/;(?![A-Za-z0-9])/),n=0;i.length>n;n++)if(i[n]){var s=i[n].split(":");s[0]=s[0].trim(),s[1]=s[1].trim(),a.css[o][s[0]]=s[1].replace(/var\(([^)]+)\)/g,((t,o)=>{var i=r.__read(o.split(","),2),n=i[0],a=i[1];return(e.ew.getComputedStyle(e.editor).getPropertyValue(n.trim())||a||t).trim()}))}};(()=>{for(var r=o.innerHeight,n=i.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,(()=>NodeFilter.FILTER_ACCEPT));n.nextNode();){var a=n.currentNode;if(r>a.getBoundingClientRect().top||s.scanFullPage){var c=t(a);if(c)for(var d=0;c.length>d;d++)l(c[d])}}})()}return o.prototype.generateCSS=function(){var e="";for(var t in this.css)if(!/:not\(/.test(t)){for(var o in e+=t+" { ",this.css[t])e+=o+": "+this.css[t][o]+"; ";e+="}\n"}return e},o}();try{return new o(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},16214(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=void 0;var r=o(27537),i=o(58299),n=o(94522),a=o(3588),s=o(10063),l=o(58299),c=o(76381),d=o(28895),u=o(79775);function p(e){e.registerButton({name:"print"})}c.Icon.set("print",o(22860)),r.Config.prototype.controls.print={exec(e){var t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,i.getContainer)(e,r.Config).appendChild(t);var o=()=>{e.e.off(e.ow,"mousemove",o),n.Dom.safeRemove(t)},s=t.contentWindow;if(s){e.e.on(s,"onbeforeunload onafterprint",o).on(e.ow,"mousemove",o),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",s.document,e),s.document.body.innerHTML=e.value):(s.document.write('"),s.document.close(),(0,u.previewBox)(e,void 0,"px",s.document.body));var l=s.document.createElement("style");l.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",s.document.head.appendChild(l),s.focus(),s.print()}},mode:s.MODE_SOURCE+s.MODE_WYSIWYG,tooltip:"Print"},t.print=p,l.pluginSystem.add("print",p)},68551(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redoUndo=void 0;var r=o(20255),i=o(27537),n=o(10063),a=o(73177),s=o(58299);o(76381).Icon.set("redo",o(95600)).set("undo",o(76214)),i.Config.prototype.controls.redo={mode:n.MODE_SPLIT,isDisabled:e=>!e.history.canRedo(),tooltip:"Redo"},i.Config.prototype.controls.undo={mode:n.MODE_SPLIT,isDisabled:e=>!e.history.canUndo(),tooltip:"Undo"};var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}],t}return r.__extends(t,e),t.prototype.beforeDestruct=()=>{},t.prototype.afterInit=e=>{var t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})},t}(a.Plugin);t.redoUndo=l,s.pluginSystem.add("redoUndo",l)},35477(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tableAllowCellResize=!0},1951(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeCells=void 0;var r=o(20255);o(47818);var i=o(10063),n=o(46701),a=o(92654),s=o(9901),l=o(43887),c=o(58299);o(35477);var d="table_processor_observer-resize",u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectMode=!1,t.resizeDelta=0,t.createResizeHandle=()=>{t.resizeHandler||(t.resizeHandler=t.j.c.div("jodit-table-resizer"),t.j.e.on(t.resizeHandler,"mousedown.table touchstart.table",t.onHandleMouseDown).on(t.resizeHandler,"mouseenter.table",(()=>{t.j.async.clearTimeout(t.hideTimeout)})))},t.hideTimeout=0,t.drag=!1,t.minX=0,t.maxX=0,t.startX=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRTL",{get(){return"rtl"===this.j.o.direction},enumerable:!1,configurable:!0}),t.prototype.showResizeHandle=function(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)},t.prototype.hideResizeHandle=function(){var e=this;this.hideTimeout=this.j.async.setTimeout((()=>{l.Dom.safeRemove(e.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})},t.prototype.onHandleMouseDown=function(e){var t=this;if(!this.j.isLocked){this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(d),this.resizeHandler.classList.add("jodit-table-resizer_moved");var o,r=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)r=this.workTable.parentNode.getBoundingClientRect(),this.minX=r.left,this.maxX=this.minX+r.width;else{var a=n.Table.formalCoordinate(this.workTable,this.workCell,!0);n.Table.formalMatrix(this.workTable,((e,r,n)=>{a[1]===n&&(o=e.getBoundingClientRect(),t.minX=Math.max(o.left+i.NEARBY/2,t.minX)),a[1]+(t.isRTL?-1:1)===n&&(o=e.getBoundingClientRect(),t.maxX=Math.min(o.left+o.width-i.NEARBY/2,t.maxX))}))}return!1}},t.prototype.onMouseMove=function(e){if(this.drag){this.j.e.fire("closeAllPopups");var t=e.clientX,o=(0,a.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?o.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:o.left)+"px";var r=this.j.s.sel;r&&r.removeAllRanges()}},t.prototype.onMouseUp=function(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())},t.prototype.resizeColumns=function(){var e=this.resizeDelta,t=[];n.Table.setColumnWidthByDelta(this.workTable,n.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);var o=(0,a.call)(this.isRTL?l.Dom.prev:l.Dom.next,this.workCell,l.Dom.isCell,this.workCell.parentNode);n.Table.setColumnWidthByDelta(this.workTable,n.Table.formalCoordinate(this.workTable,o)[1],-e,!1,t)},t.prototype.resizeTable=function(){var e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,o=(0,a.getContentWidth)(this.workTable.parentNode,this.j.ew),r=!this.wholeTable;if(this.isRTL?!r:r)this.workTable.style.width=(t+e)/o*100+"%";else{var i=this.isRTL?"marginRight":"marginLeft",n=parseInt(this.j.ew.getComputedStyle(this.workTable)[i]||"0",10);this.workTable.style.width=(t-e)/o*100+"%",this.workTable.style[i]=(n+e)/o*100+"%"}},t.prototype.setWorkCell=function(e,t){void 0===t&&(t=null),this.wholeTable=t,this.workCell=e,this.workTable=l.Dom.up(e,(e=>l.Dom.isTag(e,"table")),this.j.editor)},t.prototype.calcHandlePosition=function(e,t,o,r){void 0===o&&(o=0),void 0===r&&(r=0);var n=(0,a.offset)(t,this.j,this.j.ed);if(o>i.NEARBY&&n.width-i.NEARBY>o)this.hideResizeHandle();else{var s=(0,a.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,a.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(o>i.NEARBY?n.left+n.width:n.left)-s.left+r+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-s.top+"px"}),this.showResizeHandle(),o>i.NEARBY){var d=(0,a.call)(this.isRTL?l.Dom.prev:l.Dom.next,t,l.Dom.isCell,t.parentNode);this.setWorkCell(t,!!d&&null)}else{var u=(0,a.call)(this.isRTL?l.Dom.next:l.Dom.prev,t,l.Dom.isCell,t.parentNode);this.setWorkCell(u||t,!u||null)}}},t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(()=>{(0,a.$$)("table",e.editor).forEach(t.observe)})).on(this.j.ow,"scroll.resize-cells",(()=>{if(t.drag){var o=l.Dom.up(t.workCell,(e=>l.Dom.isTag(e,"table")),e.editor);if(o){var r=o.getBoundingClientRect();t.resizeHandler.style.top=r.top+"px"}}})).on("beforeSetMode.resize-cells",(()=>{t.module.getAllSelectedCells().forEach((o=>{t.module.removeSelection(o),n.Table.normalizeTable(l.Dom.closest(o,"table",e.editor))}))}))},t.prototype.observe=function(e){var t=this;(0,a.dataBind)(e,d)||((0,a.dataBind)(e,d,!0),this.j.e.on(e,"mouseleave.resize-cells",(e=>{t.resizeHandler&&t.resizeHandler!==e.relatedTarget&&t.hideResizeHandle()})).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((o=>{if(!t.j.isLocked){var r=l.Dom.up(o.target,l.Dom.isCell,e);r&&t.calcHandlePosition(e,r,o.offsetX)}}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())},t.prototype.beforeDestruct=function(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))},r.__decorate([s.autobind],t.prototype,"onHandleMouseDown",null),r.__decorate([s.autobind],t.prototype,"onMouseMove",null),r.__decorate([s.autobind],t.prototype,"onMouseUp",null),r.__decorate([s.autobind],t.prototype,"observe",null),t}(n.Plugin);t.resizeCells=u,c.pluginSystem.add("resizeCells",u)},60991(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.allowResizeX=!1,r.Config.prototype.allowResizeY=!0},67757(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandler=void 0;var r=o(20255),i=o(35570),n=o(94522),a=o(9901),s=o(14153),l=o(58299);o(60991);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isResized=!1,t.start={x:0,y:0,w:0,h:0},t.handle=t.j.c.div("jodit-editor__resize",s.Icon.get("resize_handler")),t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this,o=e.o,r=o.height,i=o.width,n=e.o.allowResizeY;"auto"===r&&"auto"!==i&&(n=!1),"auto"===r&&"auto"===i||!o.allowResizeX&&!n||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",(()=>{t.handle.style.display=e.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))},t.prototype.onHandleResizeStart=function(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()},t.prototype.onHandleResize=function(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))},t.prototype.onHandleResizeEnd=function(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())},t.prototype.beforeDestruct=function(){n.Dom.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)},t.requires=["size"],r.__decorate([a.autobind],t)}(i.Plugin);t.resizeHandler=c,l.pluginSystem.add("resizeHandler",c)},43087(e,t,o){"use strict";var r=o(27537);r.Config.prototype.allowResizeTags=["img","iframe","table","jodit"],r.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:["img"]}},35196(e,t,o){"use strict";o.r(t),o.d(t,{resizer:()=>u});var r=o(20255),i=o(10063),n=o(43887),a=o(92654),s=o(73177),l=o(58299),c=o(9901);o(43087);const d="__jodit-resizer_binded";class u extends s.Plugin{constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t100x100\n\t\t\t
`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=e=>{this.isResizeMode||this.element===e&&this.isShown||(this.element=e,this.show(),n.Dom.isTag(this.element,"img")&&!this.element.complete&&this.j.e.one(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const e=this.getWorkplacePosition(),t=(0,a.offset)(this.element,this.j,this.j.ed),o=parseInt(this.rect.style.left||"0",10),r=this.rect.offsetWidth,i=this.rect.offsetHeight,n=t.top-e.top,s=t.left-e.left;parseInt(this.rect.style.top||"0",10)===n&&o===s&&r===this.element.offsetWidth&&i===this.element.offsetHeight||((0,a.css)(this.rect,{top:n,left:s,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(o)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}afterInit(e){(0,a.$$)("div",this.rect).forEach((t=>{e.e.on(t,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,t))})),l.eventEmitter.on("hideHelpers",this.hide),e.e.on("readonly",(e=>{e&&this.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(e=>{const t=/]+data-jodit_iframe_wrapper[^>]+>(.*?]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()}onEditorClick(e){let t=e.target;const{editor:o,options:{allowResizeTags:r}}=this.j;for(;t&&t!==o;){if(n.Dom.isTag(t,r))return this.bind(t),void this.onClickElement(t);t=t.parentNode}}addEventListeners(){const e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",(e=>{this.isShown&&e.key===i.KEY_DELETE&&this.element&&!n.Dom.isTag(this.element,"table")&&this.onDelete(e)})).on(e.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([e.ow,e.editor],"scroll.resizer",(()=>{this.isShown&&!this.isResizeMode&&this.hide()})).on(e.ow,"keydown.resizer",this.onKeyDown).on(e.ow,"keyup.resizer",this.onKeyUp).on(e.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;const{j:o}=this;o.e.fire("hidePopup"),o.lock(this.LOCK_KEY),o.e.on(o.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){const{j:e}=this;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(e){if(this.isResizeMode){if(!this.element)return;let t,o;if(this.pointerX=e.clientX,this.pointerY=e.clientY,this.j.options.iframe){const r=this.getWorkplacePosition();t=e.clientX+r.left-this.startX,o=e.clientY+r.top-this.startY}else t=this.pointerX-this.startX,o=this.pointerY-this.startY;const r=this.handle.className;let i=0,s=0;const l=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===l||Array.isArray(l)&&n.Dom.isTag(this.element,l))?(t?(i=this.width+(r.match(/left/)?-1:1)*t,s=Math.round(i/this.ratio)):(s=this.height+(r.match(/top/)?-1:1)*o,i=Math.round(s*this.ratio)),i>(0,a.innerWidth)(this.j.editor,this.j.ow)&&(i=(0,a.innerWidth)(this.j.editor,this.j.ow),s=Math.round(i/this.ratio))):(i=this.width+(r.match(/left/)?-1:1)*t,s=this.height+(r.match(/top/)?-1:1)*o),i>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>i?i:"100%"),s>this.j.o.resizer.min_height&&this.applySize(this.element,"height",s),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}}onKeyDown(e){this.isAltMode=e.key===i.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,a.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(e,t,o){const r=n.Dom.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,a.attr)(e,t,o),r&&!e.style[t]||(0,a.css)(e,t,o)}onDelete(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(n.Dom.safeRemove(this.element),this.hide(),e.preventDefault()))}onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,a.$$)("iframe",this.j.editor).forEach(this.bind)}bind(e){if(!n.Dom.isHTMLElement(e)||!this.j.o.allowResizeTags.includes(e.tagName.toLowerCase())||(0,a.dataBind)(e,d))return;let t;if((0,a.dataBind)(e,d,!0),n.Dom.isTag(e,"iframe")){const o=e;n.Dom.isHTMLElement(e.parentNode)&&(0,a.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(t=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,a.attr)(t,"style",(0,a.attr)(e,"style")),(0,a.css)(t,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),this.j.e.on(t,"click",(()=>{(0,a.attr)(t,"data-jodit-wrapper_active",!0)})),e=t),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",(()=>{this.j.s.select(e)})).off(e,"changesize").on(e,"changesize",(()=>{o.setAttribute("width",e.offsetWidth+"px"),o.setAttribute("height",e.offsetHeight+"px")}))}this.j.e.on(e,"dragstart",this.hide)}showSizeViewer(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${e} x ${t}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,a.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=""+(0,a.css)(this.j.container,"zIndex")),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,n.Dom.safeRemove(this.rect),(0,a.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((e=>(0,a.attr)(e,"data-jodit-wrapper_active",!1))))}beforeDestruct(e){this.hide(),l.eventEmitter.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}}(0,r.__decorate)([(0,c.watch)(":click")],u.prototype,"onEditorClick",null),(0,r.__decorate)([c.autobind],u.prototype,"onStartResizing",null),(0,r.__decorate)([c.autobind],u.prototype,"onEndResizing",null),(0,r.__decorate)([c.autobind],u.prototype,"onResize",null),(0,r.__decorate)([c.autobind],u.prototype,"onKeyDown",null),(0,r.__decorate)([c.autobind],u.prototype,"onKeyUp",null),(0,r.__decorate)([c.autobind],u.prototype,"onClickOutside",null),(0,r.__decorate)([(0,c.debounce)()],u.prototype,"onChangeEditor",null),(0,r.__decorate)([c.autobind],u.prototype,"bind",null),(0,r.__decorate)([c.autobind],u.prototype,"hide",null),l.pluginSystem.add("resizer",u)},65623(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.useSearch=!0,r.Config.prototype.search={lazyIdleTimeout:0},i.Icon.set("search",o(41197)),r.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec(e,t,o){var r=o.control;switch(r.args&&r.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(e,t,o)=>o}},81023(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(52400),t),r.__exportStar(o(21959),t)},52400(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SentenceFinder=void 0;var r=o(20255),i=o(9470),n=function(){function e(e){void 0===e&&(e=i.fuzzySearchIndex),this.searchIndex=e,this.queue=[],this.value=""}return e.prototype.add=function(e){var t,o=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(o.length){var r=this.value.length;this.queue.push({startIndex:r,endIndex:r+o.length,node:e}),this.value+=o}},e.prototype.ranges=function(e,t){var o;void 0===t&&(t=0);var i=[],n=t,a=0,s=0;do{if(a=(o=r.__read(this.searchIndex(e,this.value,n),2))[1],-1!==(n=o[0])){for(var l=void 0,c=0,d=void 0,u=0,p=s;this.queue.length>p;p+=1)if(!l&&this.queue[p].endIndex>n&&(l=this.queue[p].node,c=n-this.queue[p].startIndex),l&&this.queue[p].endIndex>=n+a){d=this.queue[p].node,u=n+a-this.queue[p].startIndex,s=p;break}l&&d&&i.push({startContainer:l,startOffset:c,endContainer:d,endOffset:u}),n+=a}}while(-1!==n);return 0===i.length?null:i},e}();t.SentenceFinder=n},21959(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSelectionWrapper=t.clearSelectionWrappersFromHTML=t.clearSelectionWrappers=t.getSelectionWrappers=t.wrapRangesTextsInTmpSpan=void 0;var r=o(20255),i=o(94522),n=o(78191),a="jd-tmp-selection";function s(e){return(0,n.$$)("[jd-tmp-selection]",e)}function l(e){return i.Dom.isElement(e)&&e.hasAttribute(a)}t.wrapRangesTextsInTmpSpan=(e,t,o,n)=>{var s,c,d;if(null!=e.startContainer.nodeValue&&null!=e.endContainer.nodeValue){var u=o.element("span",((s={})[a]=!0,s)),p=e.startContainer.nodeValue,h=0;if(0!==e.startOffset){var f=o.text(p.substring(0,e.startOffset));e.startContainer.nodeValue=p.substring(e.startOffset),i.Dom.before(e.startContainer,f),e.startContainer===e.endContainer&&(e.endOffset-=h=e.startOffset),e.startOffset=0}var m=e.endContainer.nodeValue;if(e.endOffset!==m.length){f=o.text(m.substring(e.endOffset)),e.endContainer.nodeValue=m.substring(0,e.endOffset),i.Dom.after(e.endContainer,f);try{for(var v=r.__values(t),g=v.next();!g.done;g=v.next()){var y=g.value;if(y.startContainer!==e.endContainer)break;y.startContainer=f,y.startOffset=y.startOffset-e.endOffset-h,y.endContainer===e.endContainer&&(y.endContainer=f,y.endOffset=y.endOffset-e.endOffset-h)}}catch(e){c={error:e}}finally{try{g&&!g.done&&(d=v.return)&&d.call(v)}finally{if(c)throw c.error}}e.endOffset=e.endContainer.nodeValue.length}var b=e.startContainer;do{if(!b)break;if(i.Dom.isText(b)&&!l(b.parentNode)&&i.Dom.wrap(b,u.cloneNode(),o),b===e.endContainer)break;var _=b.firstChild||b.nextSibling;if(!_){for(;b&&!b.nextSibling&&b!==n;)b=b.parentNode;_=null==b?void 0:b.nextSibling}b=_}while(b&&b!==n)}},t.getSelectionWrappers=s,t.clearSelectionWrappers=e=>{s(e).forEach((e=>i.Dom.unwrap(e)))},t.clearSelectionWrappersFromHTML=e=>e.replace(RegExp("]+jd-tmp-selection[^>]+>(.*?)","g"),"$1"),t.isSelectionWrapper=l},93825(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.search=void 0;var r=o(20255),i=o(94522),n=o(35570),a=o(9901),s=o(21292),l=o(92654),c=o(58299),d=o(81023);o(65623);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"find",group:"search"}],t.previousQuery="",t.drawPromise=null,t.walker=null,t.walkerCount=null,t.cache={},t.wrapFrameRequest=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"ui",{get(){return new s.UISearch(this.j)},enumerable:!1,configurable:!0}),t.prototype.updateCounters=function(){return r.__awaiter(this,void 0,Promise,(function(){var e;return r.__generator(this,(function(t){switch(t.label){case 0:return this.ui.isOpened?(e=this.ui,[4,this.calcCounts(this.ui.query)]):[2];case 1:return e.count=t.sent(),[2]}}))}))},t.prototype.onPressReplaceButton=function(){this.findAndReplace(this.ui.query),this.updateCounters()},t.prototype.tryScrollToElement=function(e){var t=i.Dom.closest(e,i.Dom.isElement,this.j.editor);t||(t=i.Dom.prev(e,i.Dom.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,l.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)},t.prototype.calcCounts=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return this.walkerCount&&this.walkerCount.break(),this.walkerCount=new i.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),[4,this.find(this.walkerCount,e).catch((()=>[]))];case 1:return[2,t.sent().length]}}))}))},t.prototype.findAndReplace=function(e){return r.__awaiter(this,void 0,Promise,(function(){var t,o,n,a,s,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new i.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),t=this.j.s.range,[4,this.find(this.walker,e).catch((()=>[]))];case 1:if(o=r.sent(),-1===(n=this.findCurrentIndexInRanges(o,t))&&(n=0),a=o[n]){try{(s=this.j.ed.createRange()).setStart(a.startContainer,a.startOffset),s.setEnd(a.endContainer,a.endOffset),s.deleteContents(),l=this.j.createInside.text(this.ui.replace),s.insertNode(l),this.j.s.select(l),this.tryScrollToElement(l),this.cache={},this.j.synchronizeValues()}catch(e){}return this.j.e.fire("afterFindAndReplace"),[2,!0]}return[2,!1]}}))}))},t.prototype.findAndSelect=function(e,t){var o;return r.__awaiter(this,void 0,Promise,(function(){var n,a,s,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new i.LazyWalker(this.j.async,{timeout:this.j.defaultTimeout}),[4,this.find(this.walker,e)];case 1:if(!(n=r.sent()).length)return[2,!1];if(this.previousQuery===e&&(0,d.getSelectionWrappers)(this.j.editor).length||(null===(o=this.drawPromise)||void 0===o||o.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,d.clearSelectionWrappers)(this.j.editor),this.drawPromise=this.drawSelectionRanges(n)),this.previousQuery=e,this.ui.currentIndex=(a=-1==(a=this.ui.currentIndex-1)?0:t?a===n.length-1?0:a+1:0===a?n.length-1:a-1)+1,!(s=n[a]))return[3,4];l=this.j.ed.createRange();try{l.setStart(s.startContainer,s.startOffset),l.setEnd(s.endContainer,s.endOffset),this.j.s.selectRange(l)}catch(e){}return this.tryScrollToElement(s.startContainer),[4,this.updateCounters()];case 2:return r.sent(),[4,this.drawPromise];case 3:return r.sent(),this.j.e.fire("afterFindAndSelect"),[2,!0];case 4:return[2,!1]}}))}))},t.prototype.findCurrentIndexInRanges=(e,t)=>e.findIndex((e=>e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset)),t.prototype.isValidCache=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(t=>{switch(t.label){case 0:return[4,e];case 1:return[2,t.sent().every((e=>{var t,o,r,i;return e.startContainer.isConnected&&e.startOffset<=(null!==(o=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==o?o:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(i=null===(r=e.endContainer.nodeValue)||void 0===r?void 0:r.length)&&void 0!==i?i:0)}))]}}))}))},t.prototype.find=function(e,t){return r.__awaiter(this,void 0,Promise,(function(){var o,n,a,s=this;return r.__generator(this,(function(r){switch(r.label){case 0:return t.length?(n=o=this.cache[t])?[4,this.isValidCache(o)]:[3,2]:[2,[]];case 1:n=r.sent(),r.label=2;case 2:return n?[2,o]:(a=new d.SentenceFinder(this.j.o.search.fuzzySearch),this.cache[t]=this.j.async.promise((o=>{e.on("break",(()=>{o([])})).on("visit",(e=>(i.Dom.isText(e)&&a.add(e),!1))).on("end",(()=>{var e;o(null!==(e=a.ranges(t))&&void 0!==e?e:[])})).setWork(s.j.editor)})),[2,this.cache[t]])}}))}))},t.prototype.drawSelectionRanges=function(e){var t=this,o=this.j,i=o.async,n=o.createInside,a=o.editor;i.cancelAnimationFrame(this.wrapFrameRequest);var s,l=r.__spreadArray([],r.__read(e),!1),c=0;return i.promise((e=>{var o=()=>{do{(s=l.shift())&&(0,d.wrapRangesTextsInTmpSpan)(s,l,n,a),c+=1}while(s&&5>=c);l.length?t.wrapFrameRequest=i.requestAnimationFrame(o):e()};o()}))},t.prototype.onAfterGetValueFromEditor=e=>{e.value=(0,d.clearSelectionWrappersFromHTML)(e.value)},t.prototype.afterInit=function(e){var t=this;if(e.o.useSearch){var o=this;e.e.on("beforeSetMode.search",(()=>{t.ui.close()})).on(this.ui,"afterClose",(()=>{(0,d.clearSelectionWrappers)(e.editor),t.ui.currentIndex=0,t.ui.count=0,t.cache={}})).on("click",(()=>{t.ui.currentIndex=0,(0,d.clearSelectionWrappers)(e.editor)})).on("change.search",(()=>{t.cache={}})).on("keydown.search mousedown.search",e.async.debounce((()=>{t.ui.selInfo&&(e.s.removeMarkers(),t.ui.selInfo=null),t.ui.isOpened&&t.updateCounters()}),e.defaultTimeout)).on("searchNext.search searchPrevious.search",(()=>(t.ui.isOpened||t.ui.open(),o.findAndSelect(o.ui.query,"searchNext"===e.e.current).catch((()=>{}))))).on("search.search",((e,r)=>(void 0===r&&(r=!0),t.ui.currentIndex=0,o.findAndSelect(e||"",r).catch((()=>{}))))),e.registerCommand("search",{exec:(e,t,r)=>(void 0===r&&(r=!0),t&&o.findAndSelect(t,r).catch((()=>{})),!1)}).registerCommand("openSearchDialog",{exec:()=>(o.ui.open(),!1),hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:()=>(e.o.readonly||o.ui.open(!0),!1),hotkeys:["ctrl+h","cmd+h"]})}},t.prototype.beforeDestruct=function(e){this.ui.destruct(),e.e.off(".search")},r.__decorate([a.cache],t.prototype,"ui",null),r.__decorate([(0,a.watch)("ui:needUpdateCounters")],t.prototype,"updateCounters",null),r.__decorate([(0,a.watch)("ui:pressReplaceButton")],t.prototype,"onPressReplaceButton",null),r.__decorate([a.autobind],t.prototype,"findAndReplace",null),r.__decorate([a.autobind],t.prototype,"findAndSelect",null),r.__decorate([a.autobind],t.prototype,"find",null),r.__decorate([(0,a.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),t}(n.Plugin);t.search=u,c.pluginSystem.add("search",u)},21292(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISearch=void 0;var r=o(20255);o(88582);var i=o(14153),n=o(92654),a=o(10063),s=o(10063),l=o(9901),c=o(94522),d=function(e){function t(t){var o=e.call(this,t)||this;o.selInfo=null,o._currentIndex=0,o.isOpened=!1;var r=(0,n.refs)(o.container),i=r.replace,a=r.cancel,l=r.next,c=r.prev,d=r.replaceBtn,u=r.current,p=r.count;return o.queryInput=r.query,o.replaceInput=i,o.closeButton=a,o.replaceButton=d,o.currentBox=u,o.countBox=p,t.e.on(o.closeButton,"pointerdown",(()=>(o.close(),!1))).on(o.queryInput,"input",(()=>{o.currentIndex=0})).on(o.queryInput,"pointerdown",(()=>{t.s.isFocused()&&(t.s.removeMarkers(),o.selInfo=t.s.save())})).on(o.replaceButton,"pointerdown",(()=>(t.e.fire(o,"pressReplaceButton"),!1))).on(l,"pointerdown",(()=>(t.e.fire("searchNext"),!1))).on(c,"pointerdown",(()=>(t.e.fire("searchPrevious"),!1))).on(o.queryInput,"input",(()=>{o.setMod("empty-query",!(0,n.trim)(o.queryInput.value).length)})).on(o.queryInput,"keydown",o.j.async.debounce((e=>{e.key===s.KEY_ENTER?(e.preventDefault(),e.stopImmediatePropagation(),t.e.fire("searchNext")&&o.close()):t.e.fire(o,"needUpdateCounters")}),o.j.defaultTimeout)),o}return r.__extends(t,e),t.prototype.className=()=>"UISearch",t.prototype.render=()=>'
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t0/0\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
'),Object.defineProperty(t.prototype,"currentIndex",{get(){return this._currentIndex},set(e){this._currentIndex=e,this.currentBox.innerText=""+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{set(e){this.countBox.innerText=""+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"query",{get(){return this.queryInput.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"replace",{get(){return this.replaceInput.value},enumerable:!1,configurable:!0}),t.prototype.onEditorKeyDown=function(e){if(this.isOpened){var t=this.j;if(t.getRealMode()===a.MODE_WYSIWYG)switch(e.key){case s.KEY_ESC:this.close();break;case s.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}},t.prototype.open=function(e){void 0===e&&(e=!1),this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",e);var t=""+(this.j.s.sel||"");t&&(this.queryInput.value=t),this.setMod("empty-query",!t.length),this.j.e.fire(this,"needUpdateCounters"),t?this.queryInput.select():this.queryInput.focus()},t.prototype.close=function(){this.isOpened&&(this.j.s.restore(),c.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))},t.prototype.calcSticky=function(e){if(this.isOpened)if(this.setMod("sticky",e),e){var t=(0,n.position)(this.j.toolbarContainer);(0,n.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,n.css)(this.container,{top:null,left:null})},r.__decorate([(0,l.watch)([":keydown","queryInput:keydown"])],t.prototype,"onEditorKeyDown",null),r.__decorate([l.autobind],t.prototype,"open",null),r.__decorate([l.autobind],t.prototype,"close",null),r.__decorate([(0,l.watch)(":toggleSticky")],t.prototype,"calcSticky",null),r.__decorate([l.component],t)}(i.UIElement);t.UISearch=d},62388(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tableAllowCellSelection=!0},95571(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectCells=void 0;var r=o(20255),i=o(35570),n=o(46701),a=o(43887),s=o(92654),l=o(10063),c=o(9901),d=o(58299);o(62388);var u="table_processor_observer",p="onMoveTableSelectCell",h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["select"],t.selectedCell=null,t.isSelectionMode=!1,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",(e=>{e.key===l.KEY_TAB&&t.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((e=>e+".select-cells")).join(" "),this.onStartSelection).on("clickTr clickTbody",(()=>{var e,o=t.module.getAllSelectedCells().length;if(o)return o>1&&(null===(e=t.j.s.sel)||void 0===e||e.removeAllRanges()),!1}))},t.prototype.onStartSelection=function(e){if(!this.j.o.readonly&&(this.unselectCells(),e!==this.j.editor)){var t=a.Dom.closest(e,"table",this.j.editor);if(e&&t)return e.firstChild||e.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=e,this.module.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,t),{label:p,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,t)),!1}},t.prototype.onOutsideClick=function(){this.selectedCell=null,this.onRemoveSelection()},t.prototype.onChange=function(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()},t.prototype.onMove=function(e,t){var o,r=this;if((!this.j.o.readonly||this.j.isLocked)&&!this.j.isLockedNotBy(u)){var i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(i){var s=a.Dom.closest(i,["td","th"],e);if(s&&this.selectedCell){s!==this.selectedCell&&this.j.lock(u),this.unselectCells();for(var l=n.Table.getSelectedBound(e,[s,this.selectedCell]),c=n.Table.formalMatrix(e),d=l[0][0];l[1][0]>=d;d+=1)for(var p=l[0][1];l[1][1]>=p;p+=1)this.module.addSelection(c[d][p]);var h;this.module.getAllSelectedCells().length>1&&(null===(o=this.j.s.sel)||void 0===o||o.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),h=r.j.createInside.fromHTML('
 
'),s.appendChild(h),r.j.async.setTimeout((()=>{var e;null===(e=h.parentNode)||void 0===e||e.removeChild(h)}),r.j.defaultTimeout/5)}}}},t.prototype.onRemoveSelection=function(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null},t.prototype.onStopSelection=function(e,t){var o=this;if(this.selectedCell){this.isSelectionMode=!1,this.j.unlock();var r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(r){var i=a.Dom.closest(r,["td","th"],e);if(i){var l=a.Dom.closest(i,"table",e);if(!l||l===e){var c=n.Table.getSelectedBound(e,[i,this.selectedCell]),d=n.Table.formalMatrix(e),u=d[c[1][0]][c[1][1]],h=d[c[0][0]][c[0][1]];this.j.e.fire("showPopup",e,(()=>{var e=(0,s.position)(h,o.j),t=(0,s.position)(u,o.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),"cells"),(0,s.$$)("table",this.j.editor).forEach((e=>{o.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(p)}}}}},t.prototype.unselectCells=function(e){var t=this.module,o=t.getAllSelectedCells();o.length&&o.forEach((o=>{e&&e===o||t.removeSelection(o)}))},t.prototype.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var t=this.module.getAllSelectedCells();if(t.length){var o=r.__read(t,1)[0];if(!o)return;var i=a.Dom.closest(o,"table",this.j.editor);if(!i)return;switch(e){case"splitv":n.Table.splitVertical(i,this.j);break;case"splitg":n.Table.splitHorizontal(i,this.j);break;case"merge":n.Table.mergeSelected(i,this.j);break;case"empty":t.forEach((e=>a.Dom.detach(e)));break;case"bin":a.Dom.safeRemove(i);break;case"binrow":new Set(t.map((e=>e.parentNode))).forEach((e=>{n.Table.removeRow(i,e.rowIndex)}));break;case"bincolumn":var s=new Set;t.reduce(((e,t)=>(s.has(t.cellIndex)||(e.push(t),s.add(t.cellIndex)),e)),[]).forEach((e=>{n.Table.removeColumn(i,e.cellIndex)}));break;case"addcolumnafter":case"addcolumnbefore":n.Table.appendColumn(i,o.cellIndex,"addcolumnafter"===e,this.j.createInside);break;case"addrowafter":case"addrowbefore":n.Table.appendRow(i,o.parentNode,"addrowafter"===e,this.j.createInside)}}return!1}},t.prototype.onAfterCommand=function(e){/^justify/.test(e)&&this.module.getAllSelectedCells().forEach((t=>(0,s.alignElement)(e,t)))},t.prototype.beforeDestruct=function(e){this.onRemoveSelection(),e.e.off(".select-cells")},r.__decorate([c.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,c.watch)(":outsideClick")],t.prototype,"onOutsideClick",null),r.__decorate([(0,c.watch)(":change")],t.prototype,"onChange",null),r.__decorate([c.autobind],t.prototype,"onRemoveSelection",null),r.__decorate([c.autobind],t.prototype,"onStopSelection",null),r.__decorate([c.autobind],t.prototype,"onExecCommand",null),r.__decorate([c.autobind],t.prototype,"onAfterCommand",null),t}(i.Plugin);t.selectCells=h,d.pluginSystem.add("selectCells",h)},83128(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!0}},68396(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.select=void 0;var r=o(20255),i=o(35570),n=o(9901),a=o(23912),s=o(43887),l=o(14153),c=o(58299);o(83128);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"],t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;this.proxyEventsList.forEach((o=>{e.e.on(o+".select",t.onStartSelection)}))},t.prototype.beforeDestruct=function(e){var t=this;this.proxyEventsList.forEach((o=>{e.e.on(o+".select",t.onStartSelection)}))},t.prototype.onStartSelection=function(e){for(var t,o=this.j,r=e.target;void 0===t&&r&&r!==o.editor;)t=o.e.fire((0,a.camelCase)(e.type+"_"+r.nodeName.toLowerCase()),r,e),r=r.parentElement;"click"===e.type&&void 0===t&&r===o.editor&&o.e.fire(e.type+"Editor",r,e)},t.prototype.onOutsideClick=function(e){var t=this,o=e.target;s.Dom.up(o,(e=>e===t.j.editor))||l.UIElement.closestElement(o,l.Popup)||this.j.e.fire("outsideClick",e)},t.prototype.beforeCommandCut=function(e){var t=this.j.s;if("cut"===e&&!t.isCollapsed()){var o=t.current();o&&s.Dom.isOrContains(this.j.editor,o)&&this.onCopyNormalizeSelectionBound()}},t.prototype.onCopyNormalizeSelectionBound=function(e){var t=this.j,o=t.editor;t.o.select.normalizeSelectionBeforeCutAndCopy&&!t.s.isCollapsed()&&(!e||e.isTrusted&&s.Dom.isNode(e.target)&&s.Dom.isOrContains(o,e.target))&&this.jodit.s.expandSelection()},r.__decorate([n.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,n.watch)("ow:click")],t.prototype,"onOutsideClick",null),r.__decorate([(0,n.watch)([":beforeCommand"])],t.prototype,"beforeCommandCut",null),r.__decorate([(0,n.watch)([":copy",":cut"])],t.prototype,"onCopyNormalizeSelectionBound",null),t}(i.Plugin);t.select=d,c.pluginSystem.add("select",d)},73893(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.minWidth=200,r.Config.prototype.maxWidth="100%",r.Config.prototype.minHeight=200,r.Config.prototype.maxHeight="auto",r.Config.prototype.saveHeightInStorage=!1},41014(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.size=void 0;var r=o(20255);o(30962);var i=o(92654),n=o(73177),a=o(9901),s=o(58299);o(73893);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizeWorkspaces=t.j.async.debounce(t.resizeWorkspaceImd,t.j.defaultTimeout,!0),t}return r.__extends(t,e),t.prototype.afterInit=function(e){e.e.on("setHeight.size",this.setHeight).on("setWidth.size",this.setWidth).on("afterInit.size changePlace.size",this.initialize,{top:!0}).on(e.ow,"load.size",this.resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.resizeWorkspaceImd),this.initialize()},t.prototype.initialize=function(){var e=this.j;if(!e.o.inline){var t=e.o.height;if(e.o.saveHeightInStorage&&"auto"!==t){var o=e.storage.get("height");o&&(t=o)}(0,i.css)(e.editor,{minHeight:"100%"}),(0,i.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),this.setHeight(t),this.setWidth(e.o.width)}},t.prototype.setHeight=function(e){if((0,i.isNumber)(e)){var t=this.j.o,o=t.minHeight,r=t.maxHeight;(0,i.isNumber)(o)&&o>e&&(e=o),(0,i.isNumber)(r)&&e>r&&(e=r)}(0,i.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.resizeWorkspaceImd()},t.prototype.setWidth=function(e){if((0,i.isNumber)(e)){var t=this.j.o,o=t.minWidth,r=t.maxWidth;(0,i.isNumber)(o)&&o>e&&(e=o),(0,i.isNumber)(r)&&e>r&&(e=r)}(0,i.css)(this.j.container,"width",e),this.resizeWorkspaceImd()},t.prototype.getNotWorkHeight=function(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2},t.prototype.resizeWorkspaceImd=function(){if(this.j&&!this.j.isDestructed&&this.j.o&&!this.j.o.inline&&this.j.container&&this.j.container.parentNode){var e=((0,i.css)(this.j.container,"minHeight")||0)-this.getNotWorkHeight();if((0,i.isNumber)(e)&&e>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,i.css)(t,"minHeight",e)})),this.j.e.fire("setMinHeight",e)),(0,i.isNumber)(this.j.o.maxHeight)){var t=this.j.o.maxHeight-this.getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((e=>{e&&(0,i.css)(e,"maxHeight",t)})),this.j.e.fire("setMaxHeight",t)}this.j.container&&(0,i.css)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.getNotWorkHeight():"auto")}},t.prototype.beforeDestruct=function(e){e.e.off(e.ow,"load.size",this.resizeWorkspaces).off(".size")},r.__decorate([a.autobind],t.prototype,"resizeWorkspaceImd",null),r.__decorate([a.autobind],t)}(n.Plugin);t.size=l,s.pluginSystem.add("size",l)},24090(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(10063),n=o(76381);r.Config.prototype.beautifyHTML=!i.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],n.Icon.set("source",o(9342)),r.Config.prototype.controls.source={mode:i.MODE_SPLIT,exec(e){e.toggleMode()},isActive:e=>e.getRealMode()===i.MODE_SOURCE,tooltip:"Change mode"}},97969(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AceEditor=void 0;var r=o(20255),i=o(10063),n=o(92654),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.className="jodit_ace_editor",t.proxyOnBlur=e=>{t.j.e.fire("blur",e)},t.proxyOnFocus=e=>{t.j.e.fire("focus",e)},t.proxyOnMouseDown=e=>{t.j.e.fire("mousedown",e)},t}return r.__extends(t,e),t.prototype.aceExists=function(){return void 0!==this.j.ow.ace},t.prototype.getLastColumnIndex=function(e){return this.instance.session.getLine(e).length},t.prototype.getLastColumnIndices=function(){for(var e=this.instance.session.getLength(),t=[],o=0,r=0;e>r;r++)o+=this.getLastColumnIndex(r),r>0&&(o+=1),t[r]=o;return t},t.prototype.getRowColumnIndices=function(e){var t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};for(var o=1,r=1;t.length>r;r++)e>t[r]&&(o=r+1);return{row:o,column:e-t[o-1]-1}},t.prototype.setSelectionRangeIndices=function(e,t){var o=this.getRowColumnIndices(e),r=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:o,end:r})},t.prototype.getIndexByRowColumn=function(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t},t.prototype.init=function(e){var t=this,o=()=>{if(void 0===t.instance&&t.aceExists()){var o=t.j.c.div("jodit-source__mirror-fake");t.container.appendChild(o),t.instance=e.ow.ace.edit(o),t.instance.setTheme(e.o.sourceEditorNativeOptions.theme),t.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),t.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),t.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),t.instance.getSession().setUseWrapMode(!0),t.instance.setOption("indentedSoftWrap",!1),t.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),t.instance.getSession().setUseWorker(!1),t.instance.$blockScrolling=1/0,t.instance.on("change",t.toWYSIWYG),t.instance.on("focus",t.proxyOnFocus),t.instance.on("mousedown",t.proxyOnMouseDown),t.instance.on("blur",t.proxyOnBlur),e.getRealMode()!==i.MODE_WYSIWYG&&t.setValue(t.getValue());var r=t.j.async.debounce((()=>{e.isInDestruct||(t.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/t.instance.renderer.lineHeight:1/0),t.instance.resize())}),2*t.j.defaultTimeout);e.e.on("afterResize afterSetMode",r),r(),t.onReady()}};e.e.on("afterSetMode",(()=>{e.getRealMode()!==i.MODE_SOURCE&&e.getMode()!==i.MODE_SPLIT||(t.fromWYSIWYG(),o())})),o(),this.aceExists()||(0,n.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then((()=>{e.isInDestruct||o()})).catch((()=>null))},t.prototype.destruct=function(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")},t.prototype.setValue=function(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var t=this.j.e.fire("beautifyHTML",e);(0,n.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()},t.prototype.getValue=function(){return this.instance.getValue()},t.prototype.setReadOnly=function(e){this.instance.setReadOnly(e)},Object.defineProperty(t.prototype,"isFocused",{get(){return this.instance.isFocused()},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.getSelectionStart=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)},t.prototype.getSelectionEnd=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)},t.prototype.selectAll=function(){this.instance.selection.selectAll()},t.prototype.insertRaw=function(e){var t=this.instance.selection.getCursor(),o=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:o},!1)},t.prototype.setSelectionRange=function(e,t){this.setSelectionRangeIndices(e,t)},t.prototype.setPlaceHolder=e=>{},t.prototype.replaceUndoManager=function(){var e=this.jodit.history;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})},t}(o(73350).SourceEditor);t.AceEditor=a},26212(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextAreaEditor=void 0;var r=o(20255),i=o(56672),n=o(43887),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.autosize=t.j.async.debounce((()=>{t.instance.style.height="auto",t.instance.style.height=t.instance.scrollHeight+"px"}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.init=function(e){var t=this;this.instance=e.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",(e=>{(0,i.css)(t.instance,"minHeight",e)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(t=>{e.e.fire(t.type,t)})),this.autosize(),this.onReady()},t.prototype.destruct=function(){n.Dom.safeRemove(this.instance)},t.prototype.getValue=function(){return this.instance.value},t.prototype.setValue=function(e){this.instance.value=e},t.prototype.insertRaw=function(e){var t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{var o=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(t.substring(0,o)+e+t.substring(r,t.length))}},t.prototype.getSelectionStart=function(){return this.instance.selectionStart},t.prototype.getSelectionEnd=function(){return this.instance.selectionEnd},t.prototype.setSelectionRange=function(e,t){void 0===t&&(t=e),this.instance.setSelectionRange(e,t)},Object.defineProperty(t.prototype,"isFocused",{get(){return this.instance===this.j.od.activeElement},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.setPlaceHolder=function(e){this.instance.setAttribute("placeholder",e)},t.prototype.setReadOnly=function(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")},t.prototype.selectAll=function(){this.instance.select()},t.prototype.replaceUndoManager=function(){var e=this,t=this.jodit.history;this.j.e.on(this.instance,"keydown",(o=>{if((o.ctrlKey||o.metaKey)&&"z"===o.key)return o.shiftKey?t.redo():t.undo(),e.setSelectionRange(e.getValue().length),!1}))},t}(o(73350).SourceEditor);t.TextAreaEditor=a},85910(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(26212),t),r.__exportStar(o(97969),t)},65023(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSourceEditor=void 0;var r=o(92654),i=o(85910);t.createSourceEditor=(e,t,o,n,a)=>{var s;if((0,r.isFunction)(e))s=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){s=new i.AceEditor(t,o,n,a);break}default:s=new i.TextAreaEditor(t,o,n,a)}return s.init(t),s.onReadyAlways((()=>{s.setReadOnly(t.o.readonly)})),s}},73350(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceEditor=void 0;var o=function(){function e(e,t,o,r){this.jodit=e,this.container=t,this.toWYSIWYG=o,this.fromWYSIWYG=r,this.className="",this.isReady=!1}return Object.defineProperty(e.prototype,"j",{get(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.onReady=function(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")},e.prototype.onReadyAlways=function(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)},e}();t.SourceEditor=o},35448(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.source=void 0;var r=o(20255);o(68197);var i=o(10063),n=o(10063),a=o(35570),s=o(43887),l=o(92654),c=o(9901),d=o(58299),u=o(65023);o(24090);var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"source",group:"source"}],t.__lock=!1,t.__oldMirrorValue="",t.tempMarkerStart="{start-jodit-selection}",t.tempMarkerStartReg=/{start-jodit-selection}/g,t.tempMarkerEnd="{end-jodit-selection}",t.tempMarkerEndReg=/{end-jodit-selection}/g,t.getSelectionStart=()=>{var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionStart())&&void 0!==o?o:0},t.getSelectionEnd=()=>{var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==o?o:0},t}return r.__extends(t,e),t.prototype.onInsertHTML=function(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1},t.prototype.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!this.__lock||!0===e){this.__lock=!0;var t=this.j.getEditorValue(!1,n.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}},t.prototype.toWYSIWYG=function(){if(!this.__lock){var e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}},t.prototype.getNormalPosition=(e,t)=>{for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(e=>{for(var t="",o=0;e.length>o;o+=1)t+=n.INVISIBLE_SPACE;return t}));e>0&&t[e]===n.INVISIBLE_SPACE;)e--;for(var o=e;o>0;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w/]+/i))return o;if(">"===t[o])return e}return e},t.prototype.clnInv=e=>e.replace(i.INVISIBLE_SPACE_REG_EXP(),""),t.prototype.onSelectAll=function(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===n.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1},t.prototype.getMirrorValue=function(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""},t.prototype.setMirrorValue=function(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)},t.prototype.setFocusToMirror=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()},t.prototype.saveSelection=function(){if(this.j.getRealMode()===i.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;var e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){var t=this.j.s.marker(!0),o=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substr(0,o)+this.clnInv(t.outerHTML)+e.substr(o))}else{var r=this.j.s.marker(!0),n=this.j.s.marker(!1),a=(o=this.getNormalPosition(this.getSelectionStart(),e),this.getNormalPosition(this.getSelectionEnd(),e));this.setMirrorValue(e.substr(0,o)+this.clnInv(r.outerHTML)+e.substr(o,a-o)+this.clnInv(n.outerHTML)+e.substr(a))}this.toWYSIWYG()}},t.prototype.removeSelection=function(){if(this.j.getRealMode()===i.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);var e=this.getMirrorValue(),t=0,o=0;try{if(e=e.replace(/]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var r=this.j.e.fire("beautifyHTML",e);(0,l.isString)(r)&&(e=r)}if(o=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){var n=e.indexOf(this.tempMarkerEnd);-1!==n&&(o=n)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,o),this.toWYSIWYG(),this.setFocusToMirror()},t.prototype.setMirrorSelectionRange=function(e,t){var o;null===(o=this.sourceEditor)||void 0===o||o.setSelectionRange(e,t)},t.prototype.onReadonlyReact=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)},t.prototype.afterInit=function(e){var t=this;if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",(()=>{e.workplace.appendChild(t.mirrorContainer)})),this.sourceEditor=(0,u.createSourceEditor)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",(e=>{var o;e.key===n.KEY_ESC&&(null===(o=t.sourceEditor)||void 0===o?void 0:o.isFocused)&&t.sourceEditor.blur()})),this.onReadonlyReact(),e.e.on("placeholder.source",(e=>{var o;null===(o=t.sourceEditor)||void 0===o||o.setPlaceHolder(e)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(e=>e)),e.o.beautifyHTML){var o=()=>{var t,o=e.ow.html_beautify;return!(!o||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",(e=>o(e))),0))};o()||(0,l.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(o)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)},t.prototype.syncValueFromWYSIWYG=function(e){void 0===e&&(e=!1);var t=this.j;t.getMode()!==n.MODE_SPLIT&&t.getMode()!==n.MODE_SOURCE||this.fromWYSIWYG(e)},t.prototype.initSourceEditor=function(e){var t,o=this;if("area"!==e.o.sourceEditor){var r=(0,u.createSourceEditor)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);r.onReadyAlways((()=>{var t,i;null===(t=o.sourceEditor)||void 0===t||t.destruct(),o.sourceEditor=r,o.syncValueFromWYSIWYG(!0),null===(i=e.events)||void 0===i||i.fire("sourceEditorReady",e)}))}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways((()=>{var t;o.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)}))},t.prototype.beforeDestruct=function(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),s.Dom.safeRemove(this.mirrorContainer)},r.__decorate([(0,c.watch)(":insertHTML.source")],t.prototype,"onInsertHTML",null),r.__decorate([c.autobind],t.prototype,"fromWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"toWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"getNormalPosition",null),r.__decorate([(0,c.watch)(":beforeCommand.source")],t.prototype,"onSelectAll",null),r.__decorate([(0,c.watch)(":beforeSetMode.source")],t.prototype,"saveSelection",null),r.__decorate([(0,c.watch)(":afterSetMode.source")],t.prototype,"removeSelection",null),r.__decorate([c.autobind],t.prototype,"setMirrorSelectionRange",null),r.__decorate([(0,c.watch)(":readonly.source")],t.prototype,"onReadonlyReact",null),r.__decorate([c.autobind],t.prototype,"syncValueFromWYSIWYG",null),t}(a.Plugin);t.source=p,d.pluginSystem.add("source",p)},24306(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.spellcheck=!1,i.Icon.set("spellcheck",o(69546)),r.Config.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:o(69546),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},48390(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=o(5586);t.ar=r;var i=o(66023);t.cs_cz=i;var n=o(65860);t.de=n;var a=o(86055);t.es=a;var s=o(50037);t.fa=s;var l=o(7118);t.fr=l;var c=o(30298);t.he=c;var d=o(52107);t.hu=d;var u=o(31240);t.id=u;var p=o(4101);t.it=p;var h=o(69286);t.ja=h;var f=o(13402);t.ko=f;var m=o(89574);t.nl=m;var v=o(63630);t.pl=v;var g=o(72212);t.pt_br=g;var y=o(82570);t.ru=y;var b=o(19323);t.tr=b;var _=o(50279);t.zh_cn=_;var w=o(98364);t.zh_tw=w},56830(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spellcheck=void 0;var r=o(20255),i=o(35570),n=o(51976),a=o(9901),s=o(58299);o(24306);var l=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{group:"state",name:"spellcheck"}],(0,s.extendLang)(o(48390)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",(()=>{t.jodit.o.spellcheck=!t.jodit.o.spellcheck,t.toggleSpellcheck(),t.j.e.fire("updateToolbar")}))},t.prototype.toggleSpellcheck=function(){(0,n.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)},t.prototype.beforeDestruct=e=>{},r.__decorate([a.autobind],t.prototype,"toggleSpellcheck",null),t}(i.Plugin);t.spellcheck=l,s.pluginSystem.add("spellcheck",l)},48692(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.showCharsCounter=!0,r.Config.prototype.countHTMLChars=!1,r.Config.prototype.showWordsCounter=!0},99525(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stat=void 0;var r=o(20255),i=o(10063),n=o(73177),a=o(43887),s=o(58299);o(48692);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.charCounter=null,t.wordCounter=null,t.reInit=()=>{t.j.o.showCharsCounter&&t.charCounter&&t.j.statusbar.append(t.charCounter,!0),t.j.o.showWordsCounter&&t.wordCounter&&t.j.statusbar.append(t.wordCounter,!0),t.j.e.off("change keyup",t.calc).on("change keyup",t.calc),t.calc()},t.calc=t.j.async.throttle((()=>{var e=t.j.text;if(t.j.o.showCharsCounter&&t.charCounter){var o=t.j.o.countHTMLChars?t.j.value:e.replace((0,i.SPACE_REG_EXP)(),"");t.charCounter.textContent=t.j.i18n("Chars: %d",o.length)}t.j.o.showWordsCounter&&t.wordCounter&&(t.wordCounter.textContent=t.j.i18n("Words: %d",e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter((e=>e.length)).length))}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()},t.prototype.beforeDestruct=function(){a.Dom.safeRemove(this.charCounter),a.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null},t}(n.Plugin);t.stat=l,s.pluginSystem.add("stat",l)},12577(e,t,o){"use strict";var r=o(27537);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0},52186(e,t,o){"use strict";o.r(t),o.d(t,{sticky:()=>d});var r=o(20255),i=o(10063),n=o(73177),a=o(43887),s=o(92654),l=o(9901),c=o(58299);o(12577);class d extends n.Plugin{constructor(){super(...arguments),this.isToolbarSticked=!1,this.createDummy=e=>{},this.addSticky=e=>{this.isToolbarSticked||(this.createDummy(e),this.j.container.classList.add("jodit_sticky"),this.isToolbarSticked=!0),(0,s.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2})},this.removeSticky=e=>{this.isToolbarSticked&&((0,s.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.isToolbarSticked=!1)}}afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",(()=>this.isToolbarSticked))}onScroll(){const{jodit:e}=this,t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,o=(0,s.offset)(e.container,e,e.od,!0),r=e.getMode()===i.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>o.top&&o.top+o.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.isMobile());if(e.o.toolbarSticky&&!0===e.o.toolbar&&this.isToolbarSticked!==r){const t=e.toolbarContainer;t&&(r?this.addSticky(t):this.removeSticky(t)),e.e.fire("toggleSticky",r)}}isMobile(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth}beforeDestruct(e){this.dummyBox&&a.Dom.safeRemove(this.dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")}}(0,r.__decorate)([(0,l.throttle)()],d.prototype,"onScroll",null),c.pluginSystem.add("sticky",d)},53012(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.usePopupForSpecialCharacters=!1,r.Config.prototype.specialCharacters=["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],i.Icon.set("symbols",o(43158)),r.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,o,r){var i=e.e.fire("generateSpecialCharactersTable.symbols");if(i){if(e.o.usePopupForSpecialCharacters){var n=e.c.div();return n.classList.add("jodit-symbols"),n.appendChild(i),e.e.on(i,"close_dialog",r),n}e.alert(i,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);var a=i.querySelector("a");a&&a.focus()}}}},74604(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=o(54261);t.ar=r;var i=o(60425);t.cs_cz=i;var n=o(7057);t.de=n;var a=o(48356);t.es=a;var s=o(11428);t.fa=s;var l=o(29084);t.fr=l;var c=o(22876);t.he=c;var d=o(20890);t.hu=d;var u=o(75987);t.id=u;var p=o(60379);t.it=p;var h=o(99950);t.ja=h;var f=o(60934);t.ko=f;var m=o(21994);t.nl=m;var v=o(38128);t.pl=v;var g=o(71515);t.pt_br=g;var y=o(58194);t.ru=y;var b=o(65802);t.tr=b;var _=o(86628);t.zh_cn=_;var w=o(32210);t.zh_tw=w},21112(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0;var r=o(20255);o(33393);var i=o(10063),n=o(73177),a=o(43887),s=o(73344),l=o(58299);o(53012);var c=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{name:"symbols",group:"insert"}],r.countInRow=17,(0,l.extendLang)(o(74604)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("generateSpecialCharactersTable.symbols",(function(){for(var o=e.c.fromHTML('
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
'),r=o.querySelector(".jodit-symbols__preview"),n=o.querySelector("table").tBodies[0],l=[],c=0;e.o.specialCharacters.length>c;){for(var d=e.c.element("tr"),u=0;t.countInRow>u&&e.o.specialCharacters.length>c;u+=1,c+=1){var p=e.c.element("td"),h=e.c.fromHTML('').concat(e.o.specialCharacters[c],""));l.push(h),p.appendChild(h),d.appendChild(p)}n.appendChild(d)}var f=t;return e.e.on(l,"focus",(function(){r.innerHTML=this.innerHTML})).on(l,"mousedown",(function(t){a.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(l,"mouseenter",(function(){a.Dom.isTag(this,"a")&&this.focus()})).on(l,"keydown",(t=>{var o=t.target;if(a.Dom.isTag(o,"a")){var r=parseInt((0,s.attr)(o,"-index")||"0",10),n=parseInt((0,s.attr)(o,"data-index-j")||"0",10),c=void 0;switch(t.key){case i.KEY_UP:case i.KEY_DOWN:void 0===l[c=t.key===i.KEY_UP?r-f.countInRow:r+f.countInRow]&&(c=t.key===i.KEY_UP?Math.floor(l.length/f.countInRow)*f.countInRow+n:n)>l.length-1&&(c-=f.countInRow),l[c]&&l[c].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:void 0===l[c=t.key===i.KEY_LEFT?r-1:r+1]&&(c=t.key===i.KEY_LEFT?l.length-1:0),l[c]&&l[c].focus();break;case i.KEY_ENTER:e.e.fire(o,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),o}))},t.prototype.beforeDestruct=e=>{e.e.off("generateSpecialCharactersTable.symbols")},t}(n.Plugin);t.symbols=c,l.pluginSystem.add("symbols",c)},66110(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(29228),t)},29228(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onTabInsideLi=void 0;var r=o(43887);t.onTabInsideLi=e=>{if(!e.o.tab.tabInsideLiInsertNewList||!e.s.isCollapsed())return!1;var t=e.createInside.fake();e.s.insertNode(t);var o=r.Dom.closest(t,"li",e.editor);if(o&&e.s.cursorOnTheLeft(o)&&r.Dom.isTag(o.previousElementSibling,"li")){var i=r.Dom.closest(o,["ol","ul"],e.editor);if(i){var n=e.createInside.element(i.tagName),a=o.previousElementSibling;return n.appendChild(o),a.appendChild(n),e.s.setCursorAfter(t),r.Dom.safeRemove(t),!0}}return r.Dom.safeRemove(t),!1}},56163(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tab={tabInsideLiInsertNewList:!0}},74212(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255),i=o(35570),n=o(9901),a=o(10063),s=o(58299),l=o(66110);o(56163);var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=e=>{},t.prototype.onTab=function(e){if(e.key===a.KEY_TAB&&(0,l.onTabInsideLi)(this.j))return!1},t.prototype.beforeDestruct=e=>{},r.__decorate([(0,n.watch)(":keydown.tab")],t.prototype,"onTab",null),t}(i.Plugin);s.pluginSystem.add("tab",c)},96154(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tableKeyboardNavigation=void 0;var r=o(10063),i=o(43887),n=o(28314),a=o(58299);function s(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(t=>{var o,a;if((t.key===r.KEY_TAB||t.key===r.KEY_LEFT||t.key===r.KEY_RIGHT||t.key===r.KEY_UP||t.key===r.KEY_DOWN)&&(o=e.s.current(),a=i.Dom.up(o,(e=>e&&e.nodeName&&/^td|th$/i.test(e.nodeName)),e.editor))){var s=e.s.range;if(t.key===r.KEY_TAB||o===a||(t.key!==r.KEY_LEFT&&t.key!==r.KEY_UP||!(i.Dom.prev(o,(e=>t.key===r.KEY_UP?i.Dom.isTag(e,"br"):!!e),a)||t.key!==r.KEY_UP&&i.Dom.isText(o)&&0!==s.startOffset))&&(t.key!==r.KEY_RIGHT&&t.key!==r.KEY_DOWN||!(i.Dom.next(o,(e=>t.key===r.KEY_DOWN?i.Dom.isTag(e,"br"):!!e),a)||t.key!==r.KEY_DOWN&&i.Dom.isText(o)&&o.nodeValue&&s.startOffset!==o.nodeValue.length))){var l=i.Dom.up(a,(e=>e&&/^table$/i.test(e.nodeName)),e.editor),c=null;switch(t.key){case r.KEY_TAB:case r.KEY_LEFT:var d=t.key===r.KEY_LEFT||t.shiftKey?"prev":"next";(c=i.Dom[d](a,(e=>e&&/^td|th$/i.test(e.tagName)),l))||(n.Table.appendRow(l,"next"!==d&&l.querySelector("tr"),"next"===d,e.createInside),c=i.Dom[d](a,i.Dom.isCell,l));break;case r.KEY_UP:case r.KEY_DOWN:var u=0,p=0,h=n.Table.formalMatrix(l,((e,t,o)=>{e===a&&(u=t,p=o)}));t.key===r.KEY_UP?void 0!==h[u-1]&&(c=h[u-1][p]):void 0!==h[u+1]&&(c=h[u+1][p])}if(c){if(c.firstChild)t.key===r.KEY_TAB?e.s.select(c,!0):e.s.setCursorIn(c,t.key===r.KEY_RIGHT||t.key===r.KEY_DOWN);else{var f=e.createInside.element("br");c.appendChild(f),e.s.setCursorBefore(f)}return!1}}}}))}t.tableKeyboardNavigation=s,a.pluginSystem.add("tableKeyboardNavigation",s)},62653(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(94522),n=o(73344),a=o(92654),s=o(76381);r.Config.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",o(51716)),r.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,o,r,s){for(var l=o.data&&o.data.rows?o.data.rows:10,c=o.data&&o.data.cols?o.data.cols:10,d=e.c.fromHTML('
'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";var t=[];if(o.data){var r=o.data.classList;Object.keys(r).forEach((e=>{t.push('"))}))}return t.join("")})()+'
'),u=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],h=d.querySelector(".jodit-form__container"),f=d.querySelector(".jodit-form__options"),m=[],v=l*c,g=0;v>g;g+=1)m[g]||m.push(e.c.element("span",{dataIndex:g}));if(e.e.on(h,"mousemove",((e,t)=>{var o=e.target;if(i.Dom.isTag(o,"span")){for(var r=void 0===t||isNaN(t)?parseInt((0,n.attr)(o,"-index")||"0",10):t||0,a=Math.ceil((r+1)/c),s=r%c+1,l=0;m.length>l;l+=1)m[l].className=l%c+1>s||Math.ceil((l+1)/c)>a?"":"jodit_hovered";p.textContent=""+s,u.textContent=""+a}})).on(h,"touchstart mousedown",(t=>{var o=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),i.Dom.isTag(o,"span")){var s=parseInt((0,n.attr)(o,"-index")||"0",10),l=Math.ceil((s+1)/c),d=s%c+1,u=e.createInside,p=u.element("tbody"),h=u.element("table");h.appendChild(p);for(var m,v,g=null,y=1;l>=y;y+=1){m=u.element("tr");for(var b=1;d>=b;b+=1)v=u.element("td"),g||(g=v),(0,a.css)(v,"width",(100/d).toFixed(4)+"%"),v.appendChild(u.element("br")),m.appendChild(u.text("\n")),m.appendChild(u.text("\t")),m.appendChild(v);p.appendChild(u.text("\n")),p.appendChild(m)}var _=e.s.current();if(_&&e.s.isCollapsed()){var w=i.Dom.closest(_,i.Dom.isBlock,e.editor);w&&w!==e.editor&&!w.nodeName.match(/^TD|TH|TBODY|TABLE|THEADER|TFOOTER$/)&&e.s.setCursorAfter(w)}(0,a.$$)("input[type=checkbox]:checked",f).forEach((e=>{e.value.split(/[\s]+/).forEach((e=>{h.classList.add(e)}))})),e.s.insertNode(u.text("\n")),e.s.insertNode(h,!1),g&&(e.s.setCursorIn(g),(0,a.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),r()}})),s&&s.parentElement){for(g=0;l>g;g+=1){for(var y=e.c.div(),b=0;c>b;b+=1)y.appendChild(m[g*c+b]);h.appendChild(y)}m[0]&&(m[0].className="hovered")}return d},tooltip:"Insert table"}},67122(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.table=void 0,o(51057);var r=o(58299);function i(e){e.registerButton({name:"table",group:"insert"})}o(62653),t.table=i,r.pluginSystem.add("table",i)},85098(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);o(14351);var i=o(92654),n=o(35570),a=o(94522),s=o(58299),l=o(9901),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isOpened=!1,t.delayShowTimeout=0,t}return r.__extends(t,e),t.prototype.afterInit=function(e){var o=this;this.container=e.c.div("jodit-tooltip"),(0,s.getContainer)(this.j,t).appendChild(this.container);var r=0;e.e.off(".tooltip").on("showTooltip.tooltip",((t,i)=>{e.async.clearTimeout(r),o.open(t,i)})).on("delayShowTooltip.tooltip",this.delayOpen).on("escape.tooltip",this.close).on("hideTooltip.tooltip change.tooltip scroll.tooltip changePlace.tooltip hidePopup.tooltip closeAllPopups.tooltip",(()=>{o.j.async.clearTimeout(o.delayShowTimeout),r=e.async.setTimeout(o.close,o.j.defaultTimeout)}))},t.prototype.delayOpen=function(e,t){var o=this,r=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.delayShowTimeout),this.delayShowTimeout=this.j.async.setTimeout((()=>o.open(e,t)),{timeout:r,label:"tooltip"})},t.prototype.open=function(e,t){this.container.classList.add("jodit-tooltip_visible"),this.container.innerHTML=t,this.isOpened=!0,this.setPosition(e)},t.prototype.setPosition=function(e){var t=e();(0,i.css)(this.container,{left:t.x,top:t.y})},t.prototype.close=function(){this.j.async.clearTimeout(this.delayShowTimeout),this.isOpened&&(this.isOpened=!1,this.container.classList.remove("jodit-tooltip_visible"),(0,i.css)(this.container,{left:-5e3}))},t.prototype.beforeDestruct=function(e){null==e||e.e.off(".tooltip"),this.close(),a.Dom.safeRemove(this.container)},r.__decorate([l.autobind],t.prototype,"delayOpen",null),r.__decorate([l.autobind],t.prototype,"close",null),t}(n.Plugin);s.pluginSystem.add("tooltip",c)},58991(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(4188),n=o(92654),a=o(18733),s=o(44632);o(76381).Icon.set("video",o(49222)),r.Config.prototype.controls.video={popup(e,t,o,r){var l=new a.UIForm(e,[new a.UIBlock(e,[new a.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new a.UIBlock(e,[(0,s.Button)(e,"","Insert","primary").onAction((()=>l.submit()))])]),c=new a.UIForm(e,[new a.UIBlock(e,[new a.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new a.UIBlock(e,[(0,s.Button)(e,"","Insert","primary").onAction((()=>c.submit()))])]),d=[],u=t=>{e.s.restore(),e.s.insertHTML(t),r()};return e.s.save(),d.push({icon:"link",name:"Link",content:l.container},{icon:"source",name:"Code",content:c.container}),l.onSubmit((e=>{u((0,n.convertMediaUrlToVideoEmbed)(e.url))})),c.onSubmit((e=>{u(e.code)})),(0,i.TabsWidget)(e,d)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},82887(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(58299);o(58991),r.pluginSystem.add("video",(e=>{e.registerButton({name:"video",group:"media"})}))},21189(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.wrapNodes={exclude:["hr","style","br"]}},37455(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255),i=o(35570),n=o(94522),a=o(40607),s=o(9901),l=o(58299);o(21189);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSuitableStart=e=>n.Dom.isText(e)&&(0,a.isString)(e.nodeValue)&&/[^\s]/.test(e.nodeValue)||t.isNotClosed(e)&&!n.Dom.isTemporary(e),t.isSuitable=e=>n.Dom.isText(e)||t.isNotClosed(e),t.isNotClosed=e=>n.Dom.isElement(e)&&!(n.Dom.isBlock(e)||n.Dom.isTag(e,t.j.o.wrapNodes.exclude)),t}return r.__extends(t,e),t.prototype.afterInit=function(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)},t.prototype.beforeDestruct=e=>{e.e.off(".wtn")},t.prototype.postProcessSetEditorValue=function(){var e=this.jodit;if(e.isEditorMode()){for(var t=e.editor.firstChild,o=!1;t;){if(this.checkAloneListLeaf(t,e),this.isSuitableStart(t)){o||e.s.save(),o=!0;var r=e.createInside.element(e.o.enter);for(n.Dom.before(t,r);t&&this.isSuitable(t);){var i=t.nextSibling;r.appendChild(t),t=i}r.normalize()}t=t&&t.nextSibling}o&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}},t.prototype.checkAloneListLeaf=(e,t)=>{n.Dom.isElement(e)&&n.Dom.isTag(e,"li")&&!n.Dom.isTag(e.parentElement,["ul","ol"])&&n.Dom.wrap(e,"ul",t.createInside)},r.__decorate([s.autobind],t.prototype,"postProcessSetEditorValue",null),t}(i.Plugin);l.pluginSystem.add("wrapNodes",c)},15855(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.showXPathInStatusbar=!0},84865(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);o(89310);var i=o(10063),n=o(73511),a=o(94522),s=o(92654),l=o(35570),c=o(42701),d=o(58299);o(15855);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onContext=(e,o)=>(t.menu||(t.menu=new n.ContextMenu(t.j)),t.menu.show(o.clientX,o.clientY,[{icon:"bin",title:e===t.j.editor?"Clear":"Remove",exec(){e!==t.j.editor?a.Dom.safeRemove(e):t.j.value="",t.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec(){t.j.s.select(e)}}]),!1),t.onSelectPath=(e,o)=>{t.j.s.focus();var r=(0,s.attr)(o.target,"-path")||"/";if("/"===r)return t.j.execCommand("selectall"),!1;try{var i=t.j.ed.evaluate(r,t.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(i)return t.j.s.select(i),!1}catch(e){}return t.j.s.select(e),!1},t.tpl=(e,o,r,i)=>{var n=t.j.c.fromHTML('').concat((0,s.trim)(r),"")),a=n.firstChild;return t.j.e.on(a,"click",t.onSelectPath.bind(t,e)).on(a,"contextmenu",t.onContext.bind(t,e)),n},t.removeSelectAll=()=>{t.selectAllButton&&(t.selectAllButton.destruct(),delete t.selectAllButton)},t.appendSelectAll=()=>{t.removeSelectAll(),t.selectAllButton=(0,c.makeButton)(t.j,r.__assign({name:"selectall"},t.j.o.controls.selectall)),t.selectAllButton.state.size="tiny",t.container&&t.container.insertBefore(t.selectAllButton.container,t.container.firstChild)},t.calcPathImd=()=>{if(!t.isDestructed){var e,o,r,n=t.j.s.current();t.container&&(t.container.innerHTML=i.INVISIBLE_SPACE),n&&a.Dom.up(n,(i=>{i&&t.j.editor!==i&&!a.Dom.isText(i)&&(e=i.nodeName.toLowerCase(),o=(0,s.getXPathByElement)(i,t.j.editor).replace(/^\//,""),r=t.tpl(i,o,e,t.j.i18n("Select %s",e)),t.container&&t.container.insertBefore(r,t.container.firstChild))}),t.j.editor),t.appendSelectAll()}},t.calcPath=t.j.async.debounce(t.calcPathImd,2*t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){var e=this;this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(()=>{e.j.o.showXPathInStatusbar&&e.container&&(e.j.statusbar.append(e.container),e.j.getRealMode()===i.MODE_WYSIWYG?e.calcPath():(e.container&&(e.container.innerHTML=i.INVISIBLE_SPACE),e.appendSelectAll()))})),this.calcPath())},t.prototype.beforeDestruct=function(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),a.Dom.safeRemove(this.container),delete this.menu,delete this.container},t}(l.Plugin);d.pluginSystem.add("xpath",u)},65178(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.valign=t.upload=t.update=t.unlock=t.settings=t.save=t.right=t.resize_handler=t.plus=t.pencil=t.ok=t.lock=t.left=t.info_circle=t.folder=t.file=t.eye=t.dots=t.chevron=t.check=t.center=t.cancel=t.bin=t.angle_up=t.angle_right=t.angle_left=t.angle_down=void 0;var r=o(1755);t.angle_down=r;var i=o(74911);t.angle_left=i;var n=o(8805);t.angle_right=n;var a=o(16547);t.angle_up=a;var s=o(10856);t.bin=s;var l=o(98441);t.cancel=l;var c=o(52488);t.center=c;var d=o(9370);t.check=d;var u=o(66543);t.chevron=u;var p=o(608);t.dots=p;var h=o(42840);t.eye=h;var f=o(79096);t.file=f;var m=o(33014);t.folder=m;var v=o(91677);t.info_circle=v;var g=o(8259);t.left=g;var y=o(64467);t.lock=y;var b=o(86934);t.ok=b;var _=o(76133);t.pencil=_;var w=o(45519);t.plus=w;var S=o(90265);t.resize_handler=S;var C=o(81279);t.right=C;var j=o(68899);t.save=j;var k=o(70744);t.settings=k;var E=o(19201);t.unlock=E;var x=o(84930);t.update=x;var T=o(99704);t.upload=T;var I=o(2304);t.valign=I},80078(e){e.exports={"copy-format":"نسخ التنسيق"}},16986(e){e.exports={"copy-format":"Kopírovat formát"}},59347(e){e.exports={"copy-format":"Format kopierenт"}},63640(e){e.exports={"copy-format":"Copiar formato"}},53434(e){e.exports={"copy-format":"کپی کردن قالب"}},85638(e){e.exports={"copy-format":"Format de copie"}},31743(e){e.exports={"copy-format":"העתק עיצוב"}},66219(e){e.exports={"copy-format":"Formátum másolás"}},50331(e){e.exports={"copy-format":"salin format"}},25582(e){e.exports={"copy-format":"Copia il formato"}},82066(e){e.exports={"copy-format":"copyformat"}},71925(e){e.exports={"copy-format":"복사 형식"}},65274(e){e.exports={"copy-format":"opmaak kopiëren"}},58548(e){e.exports={"copy-format":"format kopii"}},82958(e){e.exports={"copy-format":"Copiar formato"}},52315(e){e.exports={"copy-format":"Копировать формат"}},87727(e){e.exports={"copy-format":"Kopyalama Biçimi"}},9396(e){e.exports={"copy-format":"复制格式"}},28765(e){e.exports={"copy-format":"複製格式"}},47762(e){e.exports={"Line height":"ارتفاع الخط"}},97495(e){e.exports={"Line height":"Výška čáry"}},80131(e){e.exports={"Line height":"Zeilenhöhe"}},1201(e){e.exports={"Line height":"Altura de la línea"}},89912(e){e.exports={"Line height":"ارتفاع خط"}},3405(e){e.exports={"Line height":"Hauteur de ligne"}},14129(e){e.exports={"Line height":"גובה שורה"}},93729(e){e.exports={"Line height":"Vonal magassága"}},16106(e){e.exports={"Line height":"Tinggi baris"}},89690(e){e.exports={"Line height":"Altezza linea"}},33216(e){e.exports={"Line height":"ラインの高さ"}},17282(e){e.exports={"Line height":"선 높이"}},91761(e){e.exports={"Line height":"Lijnhoogte"}},61675(e){e.exports={"Line height":"Wysokość linii"}},69709(e){e.exports={"Line height":"Altura da linha"}},82591(e){e.exports={"Line height":"Высота линии"}},87649(e){e.exports={"Line height":"Çizgi yüksekliği"}},60268(e){e.exports={"Line height":"线高"}},58214(e){e.exports={"Line height":"ความสูงเส้น"}},5586(e){e.exports={Spellcheck:"التدقيق الإملائي"}},66023(e){e.exports={Spellcheck:"Kontrola pravopisu"}},65860(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},86055(e){e.exports={Spellcheck:"Corrección ortográfica"}},50037(e){e.exports={Spellcheck:"غلطیابی املایی"}},7118(e){e.exports={Spellcheck:"Vérification Orthographique"}},30298(e){e.exports={Spellcheck:"בדיקת איות"}},52107(e){e.exports={Spellcheck:"Helyesírás-ellenőrzés"}},31240(e){e.exports={Spellcheck:"Spellchecking"}},4101(e){e.exports={Spellcheck:"Controllo ortografico"}},69286(e){e.exports={Spellcheck:"スペルチェック"}},13402(e){e.exports={Spellcheck:"맞춤법 검사"}},89574(e){e.exports={Spellcheck:"Spellingcontrole"}},63630(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},72212(e){e.exports={Spellcheck:"Verificação ortográfica"}},82570(e){e.exports={Spellcheck:"Проверка орфографии"}},19323(e){e.exports={Spellcheck:"Yazım denetimi"}},50279(e){e.exports={Spellcheck:"拼写检查"}},98364(e){e.exports={Spellcheck:"สะกดคำ"}},54261(e){e.exports={symbols:"رمز"}},60425(e){e.exports={symbols:"symbol"}},7057(e){e.exports={symbols:"Symbol"}},48356(e){e.exports={symbols:"Símbolo"}},11428(e){e.exports={symbols:"سمبل"}},29084(e){e.exports={symbols:"caractère"}},22876(e){e.exports={symbols:"תו מיוחד"}},20890(e){e.exports={symbols:"Szimbólum"}},75987(e){e.exports={symbols:"simbol"}},60379(e){e.exports={symbols:"Simbolo"}},99950(e){e.exports={symbols:"symbol"}},60934(e){e.exports={symbols:"기호"}},21994(e){e.exports={symbols:"symbool"}},38128(e){e.exports={symbols:"symbol"}},71515(e){e.exports={symbols:"Símbolo"}},58194(e){e.exports={symbols:"символ"}},65802(e){e.exports={symbols:"Sembol"}},86628(e){e.exports={symbols:"符号"}},32210(e){e.exports={symbols:"符號"}}},o={};function r(e){var i=o[e];if(void 0!==i)return i.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,r),n.exports}r.m=t,e=[],r.O=(t,o,i,n)=>{if(!o){var a=1/0;for(d=0;e.length>d;d++){o=e[d][0],i=e[d][1],n=e[d][2];for(var s=!0,l=0;o.length>l;l++)(!1&n||a>=n)&&Object.keys(r.O).every((e=>r.O[e](o[l])))?o.splice(l--,1):(s=!1,a>n&&(a=n));if(s){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[o,i,n]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={670:0};r.O.j=t=>0===e[t];var t=(t,o)=>{var i,n,a=o[0],s=o[1],l=o[2],c=0;if(a.some((t=>0!==e[t]))){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);if(l)var d=l(r)}for(t&&t(o);a.length>c;c++)r.o(e,n=a[c])&&e[n]&&e[n][0](),e[n]=0;return r.O(d)},o=self.webpackChunkjodit=self.webpackChunkjodit||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i={};return(()=>{"use strict";r.r(i),r.d(i,{Jodit:()=>e.h});var e=r(68939),t=r(76102),o=r(9901),n=r(10063),a=r(46701),s=r(65178);r(20151),Object.keys(n).forEach((t=>{e.h[t]=n[t]}));const l=e=>"__esModule"!==e;Object.keys(s).filter(l).forEach((e=>{a.Icon.set(e.replace("_","-"),s[e])})),Object.keys(a).filter(l).forEach((t=>{e.h.modules[t]=a[t]})),Object.keys(o).filter(l).forEach((t=>{e.h.decorators[t]=o[t]})),["Confirm","Alert","Prompt"].forEach((t=>{e.h[t]=a[t]})),Object.keys(t.Z).filter(l).forEach((o=>{e.h.lang[o]=t.Z[o]}))})(),r.O(i)}()})); \ No newline at end of file +((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}})(self,(function(){return function(){var e,t={90643(e){e.exports.default=["إبدأ في الكتابة...","حول جوديت","محرر جوديت",null,"دليل مستخدم جوديت","يحتوي على مساعدة مفصلة للاستخدام","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","شراء النسخة الكاملة","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","مِرْساة","فتح في نافذة جديدة","فتح المحرر في الحجم الكامل","مسح التنسيق","ملء اللون أو تعيين لون النص","إعادة","تراجع","عريض","مائل","إدراج قائمة غير مرتبة","إدراج قائمة مرتبة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","إدراج خط أفقي","إدراج صورة","ادخال الملف","إدراج فيديو يوتيوب/فيميو ","إدراج رابط","حجم الخط","نوع الخط","إدراج كتلة تنسيق","عادي","عنوان 1","عنوان 2","عنوان 3","عنوان 4","إقتباس","كود","إدراج","إدراج جدول","تقليل المسافة البادئة","زيادة المسافة البادئة","تحديد أحرف خاصة","إدراج حرف خاص","تنسيق الرسم","تغيير الوضع","هوامش","أعلى","يمين","أسفل","يسار","الأنماط","الطبقات","محاذاة","اليمين","الوسط","اليسار","--غير مضبوط--","Src","العنوان","العنوان البديل","الرابط","افتح الرابط في نافذة جديدة","الصورة","ملف","متقدم","خصائص الصورة","إلغاء","حسنا","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","الصق ك HTML","احتفظ","نظيفة","إدراج كنص","إدراج النص فقط","كلمة لصق الكشف عن","للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","متصفح الملفات","حدث خطأ في تحميل القائمة ","حدث خطأ في تحميل المجلدات","هل أنت واثق؟","أدخل اسم المجلد","إنشاء مجلد","أكتب إسم","إسقاط صورة","إسقاط الملف","أو أنقر","النص البديل","تصفح","رفع","الخلفية","نص","أعلى","الوسط","الأسفل","إدراج عمود قبل","إدراج عمود بعد","إدراج صف أعلى","إدراج صف أسفل","حذف الجدول","حذف الصف","حذف العمود","خلية فارغة","مصدر","بالخط العريض","مائل","شغل","صلة","إلغاء","كرر","طاولة","صورة","نظيف","فقرة","حجم الخط","فيديو","الخط","حول المحرر","طباعة","أكد","شطب","المسافة البادئة","نتوء","ملء الشاشة","الحجم التقليدي","الخط","قائمة","قائمة مرقمة","قطع","اختر الكل","قانون","فتح الرابط","تعديل الرابط","سمة Nofollow","إزالة الرابط","مراجعة","لتحرير","تحديث","URL","تحرير","محاذاة أفقية","فلتر","عن طريق التغيير","بالاسم","حسب الحجم","إضافة مجلد","إعادة","احتفظ","حفظ باسم","تغيير الحجم","حجم القطع","عرض","ارتفاع","حافظ على النسب","أن","لا","حذف","تميز","%d حرف","%d كلام",null,"تميز %s","اختر الكل","محاذاة عمودية","انشق، مزق","انقسام عمودي","تقسيم أفقي","اذهب","أضف العمود","اضف سطر","حذف","الحدود","رخصة %s","اضرب من خلال","أكد","حرف فوقي","مخطوطة","قطع الاختيار","استراحة","البحث عن","استبدل ب","محل","معجون","اختر محتوى للصق","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","تم تحميل الصورة بنجاح على الخادم!","لوحة","لا توجد ملفات في هذا الدليل.","إعادة تسمية","أدخل اسم جديد","معاينة","تحميل","لصق من الحافظة","متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","نسخ التحديد","نسخ","دائرة نصف قطرها الحدود","عرض كل","تطبيق","يرجى ملء هذا المجال","يرجى إدخال عنوان ويب","الافتراضي","دائرة","نقطة","المربعة","البحث","تجد السابقة","تجد التالي","أدخل اسم الفصل","اضغط البديل لتغيير حجم مخصص"]},52532(e){e.exports.default=["Napiš něco","O Jodit","Editor Jodit","Verze pro nekomerční použití","Jodit Uživatelská příručka","obsahuje detailní nápovědu","Pro informace o licenci, prosím, přejděte na naši stránku:","Koupit plnou verzi","Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.","Anchor","Otevřít v nové záložce","Otevřít v celoobrazovkovém režimu","Vyčistit formátování","Barva výplně a písma","Vpřed","Zpět","Tučné","Kurzíva","Odrážky","Číslovaný seznam","Zarovnat na střed","Zarovnat do bloku","Zarovnat vlevo","Zarovnat vpravo","Vložit horizontální linku","Vložit obrázek","Vložit soubor","Vložit video (YT/Vimeo)","Vložit odkaz","Velikost písma","Typ písma","Formátovat blok","Normální text","Nadpis 1","Nadpis 2","Nadpis 3","Nadpis 4","Citát","Kód","Vložit","Vložit tabulku","Zmenšit odsazení","Zvětšit odsazení","Vybrat speciální symbol","Vložit speciální symbol","Použít formát","Změnit mód","Okraje","horní","pravý","spodní","levý","Styly","Třídy","Zarovnání","Vpravo","Na střed","Vlevo","--nenastaveno--","src","Titulek","Alternativní text (alt)","Link","Otevřít link v nové záložce","Obrázek","soubor","Rozšířené","Vlastnosti obrázku","Zpět","Ok","Váš text se podobá HTML. Vložit ho jako HTML?","Vložit jako HTML","Ponechat originál","Vyčistit","Vložit jako TEXT","Vložit pouze TEXT","Detekován fragment z Wordu nebo Excelu","Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","Prohlížeč souborů","Chyba při načítání seznamu souborů","Chyba při načítání složek","Jste si jistý(á)?","Název složky","Vytvořit složku","název","Přetáhněte sem obrázek","Přetáhněte sem soubor","nebo klikněte","Alternativní text","Server","Nahrát","Pozadí","Text","Nahoru","Na střed","Dolu","Vložit sloupec před","Vložit sloupec za","Vložit řádek nad","Vložit řádek pod","Vymazat tabulku","Vymazat řádku","Vymazat sloupec","Vyčistit buňku","HTML","tučně","kurzíva","štětec","odkaz","zpět","vpřed","tabulka","obrázek","guma","odstavec","velikost písma","video","písmo","о editoru","tisk","podtrženo","přeškrtnuto","zvětšit odsazení","zmenšit odsazení","celoobrazovkový režim","smrsknout","Linka","Odrážka","Číslovaný seznam","Vyjmout","Označit vše","Kód","Otevřít odkaz","Upravit odkaz","Atribut no-follow","Odstranit odkaz","Zobrazit","Chcete-li upravit","Aktualizovat","URL","Editovat","Horizontální zarovnání","Filtr","Dle poslední změny","Dle názvu","Dle velikosti","Přidat složku","Reset","Uložit","Uložit jako...","Změnit rozměr","Ořezat","Šířka","Výška","Ponechat poměr","Ano","Ne","Vyjmout","Označit","Znaky: %d","Slova: %d","Vše","Označit %s","Označit vše","Vertikální zarovnání","Rozdělit","Rozdělit vertikálně","Rozdělit horizontálně","Spojit","Přidat sloupec","Přidat řádek","Vymazat","Okraj","Licence: %s","Přeškrtnuto","Podtrženo","Horní index","Dolní index","Vyjmout označené","Zalomení","Najdi","Nahradit za","Vyměňte","Vložit","Vyber obsah pro vložení","Můžete upravovat pouze své obrázky. Načíst obrázek?","Obrázek byl úspěšně nahrán!","paleta","V tomto adresáři nejsou žádné soubory.","přejmenovat","Zadejte nový název","náhled","Stažení","Vložit ze schránky","Váš prohlížeč nepodporuje přímý přístup do schránky.","Kopírovat výběr","kopírování","Border radius","Zobrazit všechny","Platí","Prosím, vyplňte toto pole","Prosím, zadejte webovou adresu","Výchozí","Kruh","Dot","Quadrate","Najít","Najít Předchozí","Najít Další","Vložte název třídy","Stiskněte Alt pro vlastní změnu velikosti"]},75178(e){e.exports.default=["Bitte geben Sie einen Text ein","Über Jodit","Jodit Editor",null,"Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte öffnen","Editor in voller Größe öffnen","Formatierung löschen","Füllfarbe oder Textfarbe ändern","Wiederholen","Rückgängig machen","Fett","Kursiv","Unsortierte Liste einfügen","Nummerierte Liste einfügen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einfügen","Bild einfügen","Datei einfügen","Youtube/vimeo Video einfügen","Link einfügen","Schriftgröße","Schriftfamilie","Formatblock einfügen","Normal","Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Zitat","Code","Einfügen","Tabelle einfügen","Einzug verkleinern","Einzug vergrößern","Sonderzeichen auswählen","Sonderzeichen einfügen","Format kopieren","Änderungsmodus","Ränder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Als HTML einfügen?","Original speichern","Säubern","Als Text einfügen","Nur Text einfügen","In Word formatierter Text erkannt","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei löschen","oder hier klicken","Alternativtext","Auswählen","Hochladen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einfügen","Spalte danach einfügen","Zeile oberhalb einfügen","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Zelle leeren","HTML","Fett gedruckt","Kursiv","Bürste","Verknüpfung","Rückgängig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgröße","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","Wählen Sie Alle aus","Code einbetten","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Ansehen","Bearbeiten","Aktualisieren","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Wiederherstellen","Speichern","Speichern als","Größe ändern","Größe anpassen","Breite","Höhe","Seitenverhältnis beibehalten","Ja","Nein","Entfernen","Markieren","Zeichen: %d","Wörter: %d","Alles markieren","Markieren: %s","Alles markieren","Vertikale Ausrichtung","Unterteilen","Vertikal unterteilen","Horizontal unterteilen","Vereinen","Spalte hinzufügen","Zeile hinzufügen","Löschen","Rand",null,"Durchstreichen","Unterstreichen","Hochgestellen","Tiefstellen","Auswahl ausschneiden","Pause","Suche nach","Ersetzen durch","Ersetzen","Einfügen","Wählen Sie den Inhalt zum Einfügen aus","Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einfügen","Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius für abgerundete Ecken","Alle anzeigen","Anwenden","Bitte füllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","className (CSS) einfügen","Drücken Sie Alt für benutzerdefinierte Größenanpassung"]},51048(e){e.exports.default=["Type something","About Jodit","Jodit Editor","Free Non-commercial Version","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open editor in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Clean","Insert as Text","Insert only Text","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Browse","Upload","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Eye","pencil","Update"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Chars: %d","Words: %d","All","Select %s","Select all","Vertical align","Split","Split vertical","Split horizontal","Merge","Add column","Add row","Delete","Border","License: %s","Strike through","Underline","superscript","subscript","Cut selection","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","Insert className","Press Alt for custom resizing"]},22999(e){e.exports.default=["Escriba algo...","Acerca de Jodit","Jodit Editor",null,"Guía de usuario Jodit","contiene ayuda detallada para el uso.","Para información sobre la licencia, por favor visite nuestro sitio:","Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Anclar","Abrir en nueva pestaña","Abrir editor en pantalla completa","Limpiar formato","Color de relleno o de letra","Rehacer","Deshacer","Negrita","Cursiva","Insertar lista no ordenada","Insertar lista ordenada","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Insertar línea horizontal","Insertar imagen","Insertar archivo","Insertar video de Youtube/vimeo","Insertar vínculo","Tamaño de letra","Familia de letra","Insertar bloque","Normal","Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Cita","Código","Insertar","Insertar tabla","Disminuir sangría","Aumentar sangría","Seleccionar caracter especial","Insertar caracter especial","Copiar formato","Cambiar modo","Márgenes","arriba","derecha","abajo","izquierda","Estilos CSS","Clases CSS","Alinear","Derecha","Centrado","Izquierda","--No Establecido--","Fuente","Título","Texto Alternativo","Vínculo","Abrir vínculo en nueva pestaña","Imagen","Archivo","Avanzado","Propiedades de imagen","Cancelar","Aceptar","El código es similar a HTML. ¿Mantener como HTML?","Pegar como HTML?","Mantener","Limpiar","Insertar como texto","Insertar solo texto","Pegado desde Word detectado","El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Buscar archivo","Error al cargar la lista","Error al cargar las carpetas","¿Está seguro?","Entre nombre de carpeta","Crear carpeta","Entre el nombre","Soltar imagen","Soltar archivo","o click","Texto alternativo","Buscar","Subir","Fondo","Texto","Arriba","Centro","Abajo","Insertar columna antes","Interar columna después","Insertar fila arriba","Insertar fila debajo","Borrar tabla","Borrar fila","Borrar columna","Vaciar celda","HTML","negrita","cursiva","Brocha","Vínculo","deshacer","rehacer","Tabla","Imagen","Borrar","Párrafo","Tamaño de letra","Video","Letra","Acerca de","Imprimir","subrayar","tachar","sangría","quitar sangría","Tamaño completo","encoger","línea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Incluir código","Abrir vínculo","Editar vínculo","No seguir","Desvincular","Ver","Para editar","Actualizar","URL","Editar","Alineación horizontal","filtrar","Ordenar por fecha modificación","Ordenar por nombre","Ordenar por tamaño","Agregar carpeta","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relación de aspecto","Si","No","Quitar","Seleccionar","Caracteres: %d","Palabras: %d","Todo","Seleccionar: %s","Seleccionar todo","Alineación vertical","Dividir","Dividir vertical","Dividir horizontal","Mezclar","Agregar columna","Agregar fila","Borrar","Borde",null,"Tachado","Subrayado","superíndice","subíndice","Cortar selección","Pausa","Buscar","Reemplazar con","Reemplazar","Pegar","Seleccionar contenido para pegar","Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","¡La imagen se ha subido correctamente al servidor!","paleta","No hay archivos en este directorio.","renombrar","Ingresa un nuevo nombre","avance","Descargar","Pegar desde el portapapeles","Su navegador no soporta el acceso directo en el portapapeles.","Selección de copia","copia","Radio frontera","Mostrar todos los","Aplicar","Por favor, rellene este campo","Por favor, introduzca una dirección web","Predeterminado","Círculo","Punto","Cuadro","Encontrar","Buscar Anterior","Buscar Siguiente","Insertar nombre de clase","Presione Alt para cambiar el tamaño personalizado"]},34145(e){e.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit",null,"Guide de l'utilisateur","Aide détaillée à l'utilisation","Consulter la licence sur notre site web:","Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'éditeur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","Défaire","Gras","Italique","Liste non ordonnée","Liste ordonnée","Centrer","Justifier","Aligner à gauche ","Aligner à droite","Insérer une ligne horizontale","Insérer une image","Insérer un fichier","Insérer une vidéo","Insérer un lien","Taille des caractères","Famille des caractères","Bloc formatté","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Insérer","Insérer un tableau","Diminuer le retrait","Retrait plus","Sélectionnez un caractère spécial","Insérer un caractère spécial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avancé","Propriétés de l'image","Annuler","OK","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Nettoyer","Coller en tant que texte","Coller le texte seulement","C'est peut-être un fragment de Word ou Excel","Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous sûrs ?","Entrer le non de dossier","Créer un dossier","type de fichier","Coller une image","Déposer un fichier","ou cliquer","Texte de remplacemement","Chercher","Charger","Arrière-plan","Texte","Haut","Milieu","Bas","Insérer une colonne avant","Insérer une colonne après","Insérer une ligne en dessus","Insérer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","la source","graisseux","italique","verser","lien","abolir","prêt","graphique","Image","la gommen","clause","taille de police","Video","police","à propos de l'éditeur","impression","souligné","barré","indentation","indifférent","taille réelle","taille conventionnelle","la ligne","Liste des","Liste numérotée","Couper","Sélectionner tout",null,"Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Voir","Pour éditer","Mettre à jour","URL",null,"Alignement horizontal","Filtre","Trier par modifié","Trier par nom","Classer par taille","Ajouter le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en évidence","Symboles: %d","Mots: %d",null,"Mettre en évidence: %s","Tout sélectionner","Alignement vertical","Split","Split vertical","Split horizontal","aller","Ajouter une colonne","Ajouter une rangée","Effacer",null,null,"Frapper à travers","Souligner","exposant","indice","Couper la sélection","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu à coller","Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","L'image a été téléchargée avec succès sur le serveur!null","Palette","Il n'y a aucun fichier dans ce répertoire.","renommer","Entrez un nouveau nom","Aperçu","Télécharger","Coller à partir du presse-papiers","Votre navigateur ne prend pas en charge l'accès direct à la presse-papiers.","Copier la sélection","copie","Rayon des frontières","Afficher tous les","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par défaut","Cercle","Dot","Quadrate","Trouver","Trouvez Précédente","Suivant","Insérer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalisé"]},40272(e){e.exports.default=["הקלד משהו...","About Jodit","Jodit Editor",null,"Jodit User's Guide","contains detailed help for using.","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","מקום עיגון","פתח בכרטיסיה חדשה","פתח את העורך בחלון חדש","נקה עיצוב","שנה צבע טקסט או רקע","בצע שוב","בטל","מודגש","נטוי","הכנס רשימת תבליטים","הכנס רשימה ממוספרת","מרכז","ישר ","ישר לשמאל","ישר לימין","הכנס קו אופקי","הכנס תמונה","הכנס קובץ","הכנס סרטון וידאו מYouTube/Vimeo","הכנס קישור","גודל גופן","גופן","מעוצב מראש","רגיל","כותרת 1","כותרת 2","כותרת 3","כותרת 4","ציטוט","קוד","הכנס","הכנס טבלה","הקטן כניסה","הגדל כניסה","בחר תו מיוחד","הכנס תו מיוחד","העתק עיצוב","החלף מצב","ריווח","עליון","ימין","תחתון","שמאל","עיצוב CSS","מחלקת CSS","יישור","ימין","מרכז","שמאל","--לא נקבע--","מקור","כותרת","כיתוב חלופי","קישור","פתח בכרטיסיה חדשה","תמונה","קובץ","מתקדם","מאפייני תמונה","ביטול","אישור","הקוד דומה לHTML, האם להשאיר כHTML","הדבק כHTML","השאר","נקה","הכנס כטקסט","הכנס טקסט בלבד",'זוהתה הדבקה מ"וורד"',"התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","סייר הקבצים","שגיאה בזמן טעינת רשימה","שגיאה בזמן טעינת תקיות","האם אתה בטוח?","הכנס שם תקיה","צור תקיה","סוג הקובץ","הסר תמונה","הסר קובץ","או לחץ","כיתוב חלופי","סייר","העלה","רקע","טקסט","עליון","מרכז","תחתון","הכנס עמודה לפני","הכנס עמודה אחרי","הכנס שורה מעל","הכנס שורה מתחת","מחק טבלה","מחק שורה","מחק עמודה","רוקן תא","HTML","מודגש","נטוי","מברשת","קישור","בטל","בצע שוב","טבלה","תמונה","מחק","פסקה","גודל גופן","וידאו","גופן","עלינו","הדפס","קו תחתון","קו חוצה","הגדל כניסה","הקטן כניסה","גודל מלא","כווץ","קו אופקי","רשימת תבליטים","רשימה ממוספרת","חתוך","בחר הכל","הוסף קוד","פתח קישור","ערוך קישור","ללא מעקב","בטל קישור","הצג","כדי לערוך","עדכן","כתובת","ערוך","יישור אופקי","סנן","מין לפי שינוי","מיין לפי שם","מיין לפי גודל","הוסף תקייה","אפס","שמור","שמור בשם...","שנה גודל","חתוך","רוחב","גובה","שמור יחס","כן","לא","הסר","בחר","תווים: %d","מילים: %d","הכל","נבחר: %s","בחר הכל","יישור אנכי","פיצול","פיצול אנכי","פיצול אופקי","מזג","הוסף עמודה","הוסף שורה","מחק","מסגרת",null,"קו חוצה","קו תחתון","superscript","subscript","גזור בחירה","שבירת שורה","חפש","החלף ב","להחליף","הדבק","בחר תוכן להדבקה","רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","התמונה עלתה בהצלחה!","לוח","אין קבצים בספריה זו.","הונגרית","הזן שם חדש","תצוגה מקדימה","הורד","להדביק מהלוח","הדפדפן שלך לא תומך גישה ישירה ללוח.","העתק בחירה","העתק","רדיוס הגבול","הצג את כל","החל","נא למלא שדה זה","אנא הזן כתובת אינטרנט","ברירת המחדל","מעגל","נקודה","הריבוע הזה","למצוא","מצא את הקודם","חפש את הבא","הכנס את שם הכיתה","לחץ על אלט לשינוי גודל מותאם אישית"]},2978(e){e.exports.default=["Írjon be valamit","Joditról","Jodit Editor","Ingyenes változat","Jodit útmutató","további segítséget tartalmaz","További licence információkért látogassa meg a weboldalunkat:","Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyitás új lapon","Megnyitás teljes méretben","Formázás törlése","Háttér/szöveg szín","Újra","Visszavon","Félkövér","Dőlt","Pontozott lista","Számozott lista","Középre zárt","Sorkizárt","Balra zárt","Jobbra zárt","Vízszintes vonal beszúrása","Kép beszúrás","Fájl beszúrás","Youtube videó beszúrása","Link beszúrás","Betűméret","Betűtípus","Formázott blokk beszúrása","Normál","Fejléc 1","Fejléc 2","Fejléc 3","Fejléc 4","Idézet","Kód","Beszúr","Táblázat beszúrása","Behúzás csökkentése","Behúzás növelése","Speciális karakter kiválasztása","Speciális karakter beszúrása","Kép formázása","Nézet váltása","Szegélyek","felső","jobb","alsó","bal","CSS stílusok","CSS osztályok","Igazítás","Jobbra","Középre","Balra","Nincs","Forrás","Cím","Helyettesítő szöveg","Link","Link megnyitása új lapon","Kép","Fájl","Haladó","Kép tulajdonságai","Mégsem","OK","A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Beszúrás HTML-ként","Megtartás","Elvetés","Beszúrás szövegként","Csak szöveg beillesztése","Word-ből másolt szöveg","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Fájl tallózó","Hiba a lista betöltése közben","Hiba a mappák betöltése közben","Biztosan ezt szeretné?","Írjon be egy mappanevet","Mappa létrehozása","írjon be bevet","Húzza ide a képet","Húzza ide a fájlt","vagy kattintson","Helyettesítő szöveg","Tallóz","Feltölt","Háttér","Szöveg","Fent","Középen","Lent","Oszlop beszúrás elé","Oszlop beszúrás utána","Sor beszúrás fölé","Sor beszúrás alá","Táblázat törlése","Sor törlése","Oszlop törlése","Cella tartalmának törlése","HTML","Félkövér","Dőlt","Ecset","Link","Visszavon","Újra","Táblázat","Kép","Törlés","Paragráfus","Betűméret","Videó","Betű","Rólunk","Nyomtat","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Egyenes vonal","Lista","Számozott lista","Kivág","Összes kijelölése","Beágyazott kód","Link megnyitása","Link szerkesztése","Nincs követés","Link leválasztása","felülvizsgálat","Szerkesztés","Frissít","URL","Szerkeszt","Vízszintes igazítás","Szűrő","Rendezés módosítás szerint","Rendezés név szerint","Rendezés méret szerint","Mappa hozzáadás","Visszaállít","Mentés","Mentés másként...","Átméretezés","Kivág","Szélesség","Magasság","Képarány megtartása","Igen","Nem","Eltávolít","Kijelöl","Karakterek száma: %d","Szavak száma: %d","Összes","Kijelöl: %s","Összes kijelölése","Függőleges igazítás","Felosztás","Függőleges felosztás","Vízszintes felosztás","Összevonás","Oszlop hozzáadás","Sor hozzáadás","Törlés","Szegély",null,"Áthúzott","Aláhúzott","Felső index","Alsó index","Kivágás","Szünet","Keresés","Csere erre","Cserélje ki","Beillesztés","Válasszon tartalmat a beillesztéshez","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","Kép sikeresen feltöltve!","Palette","Er zijn geen bestanden in deze map.","átnevezés","Adja meg az új nevet","előnézet","Letöltés","Illessze be a vágólap","A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Másolás kiválasztása","másolás","Határ sugár","Összes","Alkalmazni","Kérjük, töltse ki ezt a mezőt,","Kérjük, írja be a webcímet","Alapértelmezett","Kör","Pont","Quadrate","Találni","Megtalálja Előző","Következő Keresése","Helyezze be az osztály nevét","Nyomja meg az Alt egyéni átméretezés"]},99113(e){e.exports.default=["Ketik sesuatu","Tentang Jodit","Editor Jodit","Versi Bebas Non-komersil","Panduan Pengguna Jodit","mencakup detail bantuan penggunaan","Untuk informasi tentang lisensi, silakan kunjungi website:","Beli versi lengkap","Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.","Tautan","Buka di tab baru","Buka editor dalam ukuran penuh","Hapus Pemformatan","Isi warna atau atur warna teks","Ulangi","Batalkan","Tebal","Miring","Sisipkan Daftar Tidak Berurut","Sisipkan Daftar Berurut","Tengah","Penuh","Kiri","Kanan","Sisipkan Garis Horizontal","Sisipkan Gambar","Sisipkan Berkas","Sisipkan video youtube/vimeo","Sisipkan tautan","Ukuran font","Keluarga font","Sisipkan blok format","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Kutip","Kode","Sisipkan","Sisipkan tabel","Kurangi Indentasi","Tambah Indentasi","Pilih Karakter Spesial","Sisipkan Karakter Spesial","Formar warna","Ubah mode","Batas","atas","kanan","bawah","kiri","Gaya","Class","Rata","Kanan","Tengah","Kiri","--Tidak diset--","Src","Judul","Teks alternatif","Tautan","Buka tautan di tab baru","Gambar","berkas","Lanjutan","Properti gambar","Batal","Ya","Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste sebagai HTML","Jaga","Bersih","Sisipkan sebagai teks","Sisipkan hanya teks","Terdeteksi paste dari Word","Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","Penjelajah Berkas","Error ketika memuat list","Error ketika memuat folder","Apakah Anda yakin?","Masukkan nama Direktori","Buat direktori","ketik nama","Letakkan gambar","Letakkan berkas","atau klik","Teks alternatif","Jelajahi","Unggah","Latar Belakang","Teks","Atas","Tengah","Bawah","Sisipkan kolom sebelumnya","Sisipkan kolom setelahnya","Sisipkan baris di atasnya","Sisipkan baris di bawahnya","Hapus tabel","Hapus baris","Hapus kolom","Kosongkan cell","sumber","tebal","miring","sikat","tautan","batalkan","ulangi","tabel","gambar","penghapus","paragraf","ukuran font","video","font","tentang","cetak","garis bawah","coret","menjorok ke dalam","menjorok ke luar","ukuran penuh","menyusut","hr","ul","ol","potong","Pilih semua","Kode embed","Buka tautan","Edit tautan","No follow","Hapus tautan","Mata","pensil","Perbarui","URL","Edit","Perataan horizontal","Filter","Urutkan berdasarkan perubahan","Urutkan berdasarkan nama","Urutkan berdasarkan ukuran","Tambah folder","Reset","Simpan","Simpan sebagai...","Ubah ukuran","Crop","Lebar","Tinggi","Jaga aspek rasio","Ya","Tidak","Copot","Pilih","Karakter: %d","Kata: %d","Semua","Pilih %s","Pilih semua","Rata vertikal","Bagi","Bagi secara vertikal","Bagi secara horizontal","Gabungkan","Tambah kolom","tambah baris","Hapus","Bingkai","Lisensi: %s","Coret","Garis Bawah","Superskrip","Subskrip","Potong pilihan","Berhenti","Mencari","Ganti dengan","Mengganti","Paste","Pilih konten untuk dipaste","Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","Gambar telah sukses diunggah ke host!","palet","Tidak ada berkas","ganti nama","Masukkan nama baru","pratinjau","Unduh","Paste dari clipboard","Browser anda tidak mendukung akses langsung ke clipboard.","Copy seleksi","copy","Border radius","Tampilkan semua","Menerapkan","Silahkan mengisi kolom ini","Silahkan masukkan alamat web","Default","Lingkaran","Dot","Kuadrat","Menemukan","Menemukan Sebelumnya","Menemukan Berikutnya","Masukkan nama kelas","Tekan Alt untuk mengubah ukuran kustom"]},51923(e){e.exports.default=["Scrivi qualcosa...","A proposito di Jodit","Jodit Editor",null,"Guida utente di Jodit","contiene una guida dettagliata per l'uso.","Per informazioni sulla licenza, si prega di visitare il nostro sito:","Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Ancora","Apri in una nuova scheda","Apri l'editor a schermo intero","Formato chiaro","Riempi colore o lettera","Ripristina","Annulla","Grassetto","Corsivo","Inserisci lista non ordinata","Inserisci l'elenco ordinato","Allinea Centra","Allineare Giustificato","Allinea a Sinistra","Allinea a Destra","Inserisci la linea orizzontale","Inserisci immagine","Inserisci un file","Inserisci video Youtube/Vimeo","Inserisci il link","Dimensione del carattere","Tipo di font","Inserisci blocco","Normale","Heading 1","Heading 2","Heading 3","Heading 4","Citazione","Codice","Inserisci","Inserisci tabella","Riduci il rientro","Aumenta il rientro","Seleziona una funzione speciale","Inserisci un carattere speciale","Copia formato","Cambia modo","Margini","su","destra","giù","sinistra","Stili CSS","Classi CSS","Allinea","Destra","Centro","Sinistra","--Non Impostato--","Fonte","Titolo","Testo Alternativo","Link","Apri il link in una nuova scheda","Immagine","Archivio","Avanzato","Proprietà dell'immagine","Annulla","Accetta","Il codice è simile all'HTML. Mantieni come HTML?","Incolla come HTML?","Mantieni","Pulisci","Inserisci come testo","Inserisci solo il testo","Incollato da Word rilevato","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Cerca il file","Errore durante il caricamento dell'elenco","Errore durante il caricamento delle cartelle","Sei sicuro?","Inserisci il nome della cartella","Crea cartella","Entre el nombre","Rilascia l'immagine","Rilascia file","o click","Testo alternativo","Sfoglia","Carica","Sfondo","Testo","Su","Centro","Sotto","Inserisci prima la colonna","Inserisci colonna dopo","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tabella","Elimina riga","Elimina colonna","Cella vuota","HTML","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Sottolineato","Barrato","trattino","annulla rientro","A grandezza normale","comprimere","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Includi codice","Apri link","Modifica link","Non seguire","Togli link","Recensione","Per modificare","Aggiornare"," URL","Modifica","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Reset","Salva","Salva con nome...","Ridimensiona","Tagliare","Larghezza","Altezza","Mantenere le proporzioni","Si","No","Rimuovere","Seleziona","Caratteri: %d","Parole: %d","Tutto","Seleziona: %s","Seleziona tutto","Allineamento verticala","Dividere","Dividere verticalmente","Diviso orizzontale","Fondi","Aggiungi colonna","Aggiungi riga","Cancella","Bordo",null,"Barrato","Sottolineato","indice","deponente","Taglia la selezione","Pausa","Cerca","Sostituisci con","Sostituire","Incolla","Seleziona il contenuto da incollare","Puoi modificare solo le tue immagini. Scarica questa immagine sul server?","L'immagine è stata caricata con successo sul server!","tavolozza","Non ci sono file in questa directory.","ungherese","Inserisci un nuovo nome","anteprima","Scaricare","Incolla dagli appunti","Il tuo browser non supporta l'accesso diretto agli appunti.","Selezione di copia","copia","Border radius","Mostra tutti","Applicare","Si prega di compilare questo campo","Si prega di inserire un indirizzo web","Di Default","Cerchio","Dot","Quadrate","Trovare","Trova Precedente","Trova Successivo","Inserisci il nome della classe","Premere Alt per il ridimensionamento personalizzato"]},21268(e){e.exports.default=["なにかタイプしてください","Joditについて","Jodit Editor",null,"Jodit ユーザーズ・ガイド","詳しい使い方","ライセンス詳細についてはJodit Webサイトを確認ください:","フルバージョンを購入","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","新しいタブで開く","エディターのサイズ(フル/ノーマル)","書式をクリア","テキストの色","やり直し","元に戻す","太字","斜体","箇条書き","番号付きリスト","中央揃え","両端揃え","左揃え","右揃え","区切り線を挿入","画像を挿入","ファイルを挿入","Youtube/Vimeo 動画","リンクを挿入","フォントサイズ","フォント","テキストのスタイル","指定なし","タイトル1","タイトル2","タイトル3","タイトル4","引用","コード","挿入","表を挿入","インデント減","インデント増","特殊文字を選択","特殊文字を挿入","書式を貼付け","編集モード切替え","マージン","上","右","下","左","スタイル","クラス","配置","右寄せ","中央寄せ","左寄せ","指定なし","ソース","タイトル","代替テキスト","リンク","新しいタブで開く","画像","ファイル","高度な設定","画像のプロパティー","キャンセル","確定","HTMLコードを保持しますか?","HTMLで貼付け","HTMLを保持","Clean","HTMLをテキストにする","テキストだけ","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","ここに画像をドロップ","ここにファイルをドロップ","or クリック","代替テキスト","ブラウズ","アップロード","背景","文字","上","中央","下","左に列を挿入","右に列を挿入","上に行を挿入","下に行を挿入","表を削除","行を削除","列を削除","セルを空にする","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","分割線","箇条書き","番号付きリスト","切り取り","すべて選択","埋め込みコード","リンクを開く","リンクを編集","No follow","リンク解除","サイトを確認","鉛筆","更新","URL","編集","水平方向の配置","Filter","Sort by changed","Sort by name","Sort by size","Add folder","リセット","保存","Save as ...","リサイズ","Crop","幅","高さ","縦横比を保持","はい","いいえ","移除","選択","文字数: %d","単語数: %d","全部","選択: %s","すべて選択","垂直方向の配置","分割","セルの分割(垂直方向)","セルの分割(水平方向)","セルの結合","列を追加","行を追加","削除","境界線",null,"取り消し線","下線","上付き文字","下付き文字","切り取り","Pause","検索","置換","交換","貼付け","選択した内容を貼付け","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","パレット","There are no files","Rename","Enter new name","プレビュー","ダウンロード","貼り付け","お使いのブラウザはクリップボードを使用できません","コピー","copy","角の丸み","全て表示","適用","まだこの分野","を入力してくださいウェブアドレス","デフォルト","白丸","黒丸","四角","見","探前","由来","クラス名を挿入","カスタムサイズ変更のためのAltキーを押します"]},37289(e){e.exports.default=["무엇이든 입력하세요","Jodit에 대하여","Jodit Editor",null,"Jodit 사용자 안내서","자세한 도움말이 들어있어요","라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:","풀 버전 구입하기","© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.","Anchor","새 탭에서 열기","전체 크기로 보기","서식 지우기","글씨 색상","재실행","실행 취소","굵게","기울임","글머리 목록","번호 목록","가운데 정렬","양쪽 정렬","왼쪽 정렬","오른쪽 정렬","수평 구분선 넣기","이미지 넣기","파일 넣기","Youtube/Vimeo 동영상","링크 넣기","글꼴 크기","글꼴","블록 요소 넣기","일반 텍스트","제목 1","제목 2","제목 3","제목 4","인용","코드","붙여 넣기","테이블","들여쓰기 감소","들여쓰기 증가","특수문자 선택","특수문자 입력","페인트 형식","편집모드 변경","마진","위","오른쪽","아래","왼쪽","스타일","클래스","정렬","오른쪽으로","가운데로","왼쪽으로","--지정 안 함--","경로(src)","제목","대체 텍스트(alt)","링크","새 탭에서 열기",null,"파일","고급","이미지 속성","취소","확인","HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","HTML로 붙여넣기","원본 유지","지우기","텍스트로 넣기","텍스트만 넣기","Word 붙여넣기 감지","Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","파일 탐색기","목록 불러오기 에러","폴더 불러오기","정말 진행할까요?","디렉토리 이름 입력","디렉토리 생성","이름 입력","이미지 드래그","파일 드래그","혹은 클릭","대체 텍스트","탐색","업로드","배경","텍스트","위","중앙","아래","이전 열에 삽입","다음 열에 삽입","위 행에 삽입","아래 행에 삽입","테이블 삭제","행 삭제","열 삭제","빈 셀","HTML 소스","볼드","이탤릭","브러시","링크","실행 취소","재실행","테이블","이미지","지우개","문단","글꼴 크기","비디오","글꼴","편집기 정보","프린트","밑줄","취소선","들여쓰기","내어쓰기","전체 화면","일반 화면","구분선","글머리 목록","번호 목록","잘라내기","모두 선택","Embed 코드","링크 열기","링크 편집","No follow","링크 제거","사이트 확인","연필","갱신","URL","편집","수평 정렬","필터","변경일 정렬","이름 정렬","크기 정렬","새 폴더","초기화","저장","새로 저장하기 ...","리사이즈","크롭","가로 길이","세로 높이","비율 유지하기","네","아니오","제거","선택","문자수: %d","단어수: %d","모두","선택: %s","모두 선택","수직 정렬","분할","세로 셀 분할","가로 셀 분할","셀 병합","열 추가","행 추가","삭제","외곽선","라이센스: %s","취소선","밑줄","윗첨자","아래첨자","선택 잘라내기","구분자","검색","대체하기","대체","붙여넣기","붙여넣을 내용 선택","외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","이미지를 무사히 업로드 했어요!","팔레트","파일이 없어요","이름 변경","새 이름 입력","미리보기","다운로드","클립보드 붙여넣기","사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","선택 복사","복사","둥근 테두리","모두 보기","적용","이 항목을 입력해주세요!","웹 URL을 입력해주세요.","기본","원","점","정사각형","찾기","이전 찾기","다음 찾기","className 입력","사용자 지정 크기 조정에 대 한 고도 누르십시오"]},17084(e){e.exports.default=["Begin met typen..","Over Jodit","Jodit Editor","Gratis niet-commerciële versie","Jodit gebruikershandleiding","bevat gedetailleerde informatie voor gebruik.","Voor informatie over de licentie, ga naar onze website:","Volledige versie kopen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Anker","Open in nieuwe tab","Editor in volledig scherm openen","Opmaak verwijderen","Vulkleur of tekstkleur aanpassen","Opnieuw","Ongedaan maken","Vet","Cursief","Geordende list invoegen","Ongeordende lijst invoegen","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Horizontale lijn invoegen","Afbeelding invoegen","Bestand invoegen","Youtube/Vimeo video invoegen","Link toevoegen","Tekstgrootte","Lettertype","Format blok invoegen","Normaal","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Citaat","Code","Invoegen","Tabel invoegen","Inspringing verkleinen","Inspringing vergroten","Symbool selecteren","Symbool invoegen","Opmaak kopieren","Modus veranderen","Marges","Boven","Rechts","Onder","Links","CSS styles","CSS classes","Uitlijning","Rechts","Gecentreerd","Links","--Leeg--","Src","Titel","Alternatieve tekst","Link","Link in nieuwe tab openen","Afbeelding","Bestand","Geavanceerd","Afbeeldingseigenschappen","Annuleren","OK","Deze code lijkt op HTML. Als HTML behouden?","Invoegen als HTML","Origineel behouden","Opschonen","Als tekst invoegen","Als onopgemaakte tekst invoegen","Word-tekst gedetecteerd","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Bestandsbrowser","Fout bij het laden van de lijst","Fout bij het laden van de mappenlijst","Weet je het zeker?","Geef de map een naam","Map aanmaken","Type naam","Sleep hier een afbeelding naartoe","Sleep hier een bestand naartoe","of klik","Alternatieve tekst","Bladeren","Uploaden","Achtergrond","Tekst","Boven","Midden","Onder","Kolom invoegen (voor)","Kolom invoegen (na)","Rij invoegen (boven)","Rij invoegen (onder)","Tabel verwijderen","Rij verwijderen","Kolom verwijderen","Cel leegmaken","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","Embed code","link openen","link aanpassen","niet volgen","link verwijderen","Recensie","Om te bewerken","Updaten"," URL","Bewerken","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Tekens: %d","Woorden: %d","Alles","Selecteer: %s","Selecteer alles","Verticaal uitlijnen","Splitsen","Verticaal splitsen","Horizontaal splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen","Verwijderen","Rand",null,"Doorstrepen","Onderstrepen","Superscript","Subscript","Selectie knippen","Enter","Zoek naar","Vervangen door","Vervangen","Plakken","Kies content om te plakken","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol geüploadet!","Palette","Er zijn geen bestanden in deze map.","Hongaars","Voer een nieuwe naam in","voorvertoning","Download","Plakken van klembord","Uw browser ondersteunt geen directe toegang tot het klembord.","Selectie kopiëren","kopiëren","Border radius","Toon alle","Toepassing","Vul dit veld","Voer een webadres","Standaard","Cirkel","Dot","Quadrate","Zoeken","Vorige Zoeken","Volgende Zoeken","Voeg de klassenaam in","Druk op Alt voor aangepaste grootte"]},96891(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit",null,"Instrukcja Jodit","zawiera szczegółowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otwórz w nowej zakładce","Otwórz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Ponów","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyrównaj do lewej","Wyrównaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Krój czcionki","Wstaw formatowanie","Normalne","Nagłówek 1","Nagłówek 2","Nagłówek 3","Nagłówek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz formatów","Zmień tryb","Marginesy","Górny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyrównanie","Prawa","środek","Lewa","brak","Źródło","Tytuł","Tekst alternatywny","Link","Otwórz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Twój kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wyczyść","Wstaw jako tekst","Wstaw tylko treść","Wykryto tekst w formacie Word","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Przeglądarka plików","Błąd ładowania listy plików","Błąd ładowania folderów","Czy jesteś pewien?","Wprowadź nazwę folderu","Utwórz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Przeglądaj","Wczytaj","Tło","Treść","Góra","Środek","Dół","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść komórkę","HTML","pogrubienie","kursywa","pędzel","link","cofnij","ponów","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otwórz link","edytuj link","Atrybut no-follow","Usuń link","szukaj","edytuj","Aktualizuj","URL","Edytuj","Wyrównywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Znaki: %d","Słowa: %d","Wszystko","Wybierz: %s","Wybierz wszystko","Wyrównywanie w pionie","Podziel","Podziel w pionie","Podziel w poziomie","Scal","Dodaj kolumnę","Dodaj wiersz","Usuń","Obramowanie",null,"Przekreślenie","Podkreślenie","indeks górny","index dolny","Wytnij zaznaczenie","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plików.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar"]},31211(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit",null,"Guia de usuário Jodit","contém ajuda detalhada para o uso.","Para informação sobre a licença, por favor visite nosso site:","Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formatação","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","Itálico","Inserir lista não ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir vídeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Citação","Código","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--Não Estabelecido--","Fonte","Título","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avançado","Propriedades da imagem","Cancelar","Ok","Seu código é similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Limpar","Inserir como Texto","Inserir somente o Texto","Colado do Word Detectado","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Você tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Explorar","Upload","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar célula","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir código","Abrir link","Editar link","Não siga","Remover link","Visualizar","Editar","Atualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Caracteres: %d","Palavras: %d","Tudo","Selecionar: %s","Selecionar tudo","Alinhamento vertical","Dividir","Dividir vertical","Dividir horizontal","Mesclar","Adicionar coluna","Adicionar linha","Excluir","Borda",null,"Tachado","Sublinhar","sobrescrito","subscrito","Cortar seleção","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conteúdo para colar","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","Não há arquivos nesse diretório.","Húngara","Digite um novo nome","preview","Baixar","Colar da área de transferência","O seu navegador não oferece suporte a acesso direto para a área de transferência.","Selecção de cópia","cópia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endereço web","Padrão","Círculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Próxima","Insira o nome da classe","Pressione Alt para redimensionamento personalizado"]},31109(e){e.exports.default=["Напишите что-либо","О Jodit","Редактор Jodit",null,"Jodit Руководство пользователя","содержит детальную информацию по использованию","Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Купить полную версию","Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.","Анкор","Открывать ссылку в новой вкладке","Открыть редактор в полном размере","Очистить форматирование","Цвет заливки или цвет текста","Повтор","Отмена","Жирный","Наклонный","Вставка маркированного списка","Вставить нумерованный список","Выровнять по центру","Выровнять по ширине","Выровнять по левому краю","Выровнять по правому краю","Вставить горизонтальную линию","Вставить изображение","Вставить файл","Вставьте видео","Вставить ссылку","Размер шрифта","Шрифт","Вставить блочный элемент","Нормальный текст","Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Цитата","Код","Вставить","Вставить таблицу","Уменьшить отступ","Увеличить отступ","Выберите специальный символ","Вставить специальный символ","Формат краски","Источник","Отступы","сверху","справа","снизу","слева","Стили","Классы","Выравнивание","По правому краю","По центру","По левому краю","--не устанавливать--","src","Заголовок","Альтернативный текст (alt)","Ссылка","Открывать ссылку в новом окне",null,"Файл","Расширенные","Свойства изображения","Отмена","Ок","Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Вставить как HTML?","Сохранить оригинал","Почистить","Вставить как текст","Вставить только текст","Возможно это фрагмент Word или Excel","Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","Браузер файлов","Ошибка при загрузке списка изображений","Ошибка при загрузке списка директорий","Вы уверены?","Введите название директории","Создать директорию","введите название","Перетащите сюда изображение","Перетащите сюда файл","или нажмите","Альтернативный текст","Сервер","Загрузка","Фон","Текст"," К верху","По середине","К низу","Вставить столбец до","Вставить столбец после","Вставить ряд выше","Вставить ряд ниже","Удалить таблицу","Удалять ряд","Удалить столбец","Очистить ячейку","HTML","жирный","курсив","заливка","ссылка","отменить","повторить","таблица","Изображение","очистить","параграф","размер шрифта","видео","шрифт","о редакторе","печать","подчеркнутый","перечеркнутый","отступ","выступ","во весь экран","обычный размер","линия","Список","Нумерованный список","Вырезать","Выделить все","Код","Открыть ссылку","Редактировать ссылку","Атрибут nofollow","Убрать ссылку","Просмотр","Редактировать","Обновить","URL","Редактировать","Горизонтальное выравнивание","Фильтр","По изменению","По имени","По размеру","Добавить папку","Восстановить","Сохранить","Сохранить как","Изменить размер","Обрезать размер","Ширина","Высота","Сохранять пропорции","Да","Нет","Удалить","Выделить","Символов: %d","Слов: %d","Выделить все","Выделить: %s","Выделить все","Вертикальное выравнивание","Разделить","Разделить по вертикали","Разделить по горизонтали","Объединить в одну","Добавить столбец","Добавить строку","Удалить","Рамка","Лицензия: %s","Перечеркнуть","Подчеркивание","верхний индекс","индекс","Вырезать","Разделитель","Найти","Заменить на","Заменить","Вставить","Выбрать контент для вставки","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Изображение успешно загружено на сервер!","палитра","В данном каталоге нет файлов","Переименовать","Введите новое имя","Предпросмотр","Скачать","Вставить из буфера обмена","Ваш браузер не поддерживает прямой доступ к буферу обмена.","Скопировать выделенное","копия","Радиус границы","Показать все","Применить","Пожалуйста, заполните это поле","Пожалуйста, введите веб-адрес","По умолчанию","Круг","Точка","Квадрат","Найти","Найти Предыдущие","Найти Далее","Вставить название класса","Нажмите Alt для изменения пользовательского размера"]},79375(e){e.exports.default=["Bir şeyler yaz","Jodit Hakkında","Jodit Editor",null,"Jodit Kullanım Kılavuzu","kullanım için detaylı bilgiler içerir","Lisans hakkında bilgi için lütfen web sitemize gidin:","Tam versiyonunu satın al","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.","Bağlantı","Yeni sekmede aç","Editörü tam ekranda aç","Stili temizle","Renk doldur veya yazı rengi seç","Yinele","Geri Al","Kalın","İtalik","Sırasız Liste Ekle","Sıralı Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Yatay Çizgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Bağlantı Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Başlık 1","Başlık 2","Başlık 3","Başlık 4","Alıntı","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","Özel Karakter Seç","Özel Karakter Ekle","Resim Biçimi","Mod Değiştir","Boşluklar","Üst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirsiz","Kaynak","Başlık","Alternatif Yazı","Link","Bağlantıyı yeni sekmede aç","Resim","Dosya","Gelişmiş","Resim özellikleri","İptal","Tamam","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yapıştır","Sakla","Temizle","Yazı olarak ekle","Sadece yazıyı ekle","Word biçiminde yapıştırma algılandı","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Dosya Listeleyici","Liste yüklenirken hata oluştu","Klasörler yüklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","İsim yaz","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Gözat","Yükle","Arka plan","Yazı","Üst","Orta","Aşağı","Öncesine kolon ekle","Sonrasına kolon ekle","Üstüne satır ekle","Altına satır ekle","Tabloyu sil","Satırı sil","Kolonu sil","Hücreyi temizle","Kaynak","Kalın","italik","Fırça","Bağlantı","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Alt çizgi","Üstü çizili","Girinti","Çıkıntı","Tam ekran","Küçült","Ayraç","Sırasız liste","Sıralı liste","Kes","Tümünü seç","Kod ekle","Bağlantıyı aç","Bağlantıyı düzenle","Nofollow özelliği","Bağlantıyı kaldır","Yorumu","Düzenlemek için","Güncelle","URL","Düzenle","Yatay hizala","Filtre","Değişime göre sırala","İsme göre sırala","Boyuta göre sırala","Klasör ekle","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Yükseklik","En boy oranını koru","Evet","Hayır","Sil","Seç","Harfler: %d","Kelimeler: %d","Tümü","Seç: %s","Tümünü seç","Dikey hizala","Ayır","Dikey ayır","Yatay ayır","Birleştir","Kolon ekle","Satır ekle","Sil","Kenarlık",null,"Üstü çizili","Alt çizgi","Üst yazı","Alt yazı","Seçilimi kes","Satır sonu","Ara","Şununla değiştir","Değiştir","Yapıştır","Yapıştırılacak içerik seç","Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","Görsel başarıyla hostunuza yüklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","Ön izleme","İndir","Panodan yapıştır ","Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Seçimi kopyala","Kopyala","Sınır yarıçapı","Tümünü Göster","Uygula","Lütfen bu alanı doldurun","Lütfen bir web adresi girin","Varsayılan","Daire","Nokta","Kare","Bul","Öncekini Bul","Sonrakini Bul","Sınıf adı girin","Özel yeniden boyutlandırma için Alt tuşuna basın"]},21042(e){e.exports.default=["输入一些内容","关于Jodit","Jodit Editor","Free Non-commercial Version","开发者指南","使用帮助","有关许可证的信息,请访问我们的网站:","购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","视频","链接","字号","字体","格式块","默认","标题1","标题2","标题3","标题4","引用","代码","插入","表格","减少缩进","增加缩进","选择特殊符号","特殊符号","格式复制","改变模式","外边距(Margins)","top","right","bottom","left","样式","Classes","对齐方式","居右","居中","居左","无","Src","Title","Alternative","Link","在新窗口打开链接","图片","file","高级","图片属性","取消","确定","你粘贴的文本是一段html代码,是否保留源格式","html粘贴","保留源格式","匹配目标格式","把html代码视为普通文本","只保留文本","文本粘贴","正在粘贴 Word/Excel 的文本,是否保留源格式?","文件管理","加载list错误","加载folders错误","你确定吗?","输入路径","创建路径","type name","拖动图片到此","拖动文件到此","或点击","Alternative text","浏览","上传","背景色","文字","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","下划线","上出现","增加缩进","减少缩进","全屏","收缩","分割线","无序列表","顺序列表","剪切","全选","嵌入代码","打开链接","编辑链接","No follow","取消链接","预览","铅笔","更新","URL","编辑","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹","重置","保存","保存为","调整大小","剪切","宽","高","保持长宽比","是","不","移除","选择","字符数: %d","单词数: %d","全部","选择: %s","全选","垂直对齐","拆分","垂直拆分","水平拆分","合并","添加列","添加行","删除","边框",null,"删除线","下划线","上标","下标","剪切","Break","查找","替换为","替换","粘贴","选择内容并粘贴","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制选中内容","复制","边界半径","显示所有","应用","请填写这个字段","请输入一个网址","默认","圆圈","点","方形","搜索","查找上一个","查找下一个","插入班级名称","按Alt自定义调整大小"]},73895(e){e.exports.default=["輸入一些內容","關於Jodit","Jodit Editor",null,"開發者指南","使用幫助","有關許可證的信息,請訪問我們的網站:","購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","在新窗口打開","全屏編輯","清除樣式","顏色","重做","撤銷","粗體","斜體","符號列表","編號","居中","對齊文本","左對齊","右對齊","分割線","圖片","文件","youtube/vimeo 影片","鏈接","字號","字體","格式塊","文本","標題1","標題2","標題3","標題4","引用","代碼","插入","表格","減少縮進","增加縮進","選擇特殊符號","特殊符號","格式複製","改變模式","外邊距(Margins)","top","right","bottom","left","樣式","Classes","對齊方式","居右","居中","居左","無","Src","Title","替代","Link","在新窗口打開鏈接","圖片","file","高級","圖片屬性","取消","確定","你黏貼的文本是一段html代碼,是否保留源格式","html黏貼","保留源格式","匹配目標格式","把html代碼視為普通文本","只保留文本","文本黏貼","正在黏貼 Word/Excel 的文本,是否保留源格式?","文件管理","加載list錯誤","加載folders錯誤","你確定嗎?","輸入路徑","創建路徑","type name","拖動圖片到此","拖動文件到此","或點擊","替代文字","瀏覽","上傳","背景色","文字","頂部","中間","底部","在之前插入列","在之後插入列","在之前插入行","在之後插入行","刪除表格","刪除行","刪除列","清除內容","源碼","粗體","斜體","顏色","鏈接","撤銷","重做","表格","圖片","橡皮擦","段落","字號","影片","字體","關於","打印","下劃線","上出現","增加縮進","減少縮進","全屏","收縮","分割線","無序列表","順序列表","剪切","全選","嵌入代碼","打開鏈接","編輯鏈接","No follow","取消連結","回顧","鉛筆","更新","URL",null,"水平對齊","篩選","修改時間排序","名稱排序","大小排序","新建文件夾","重置","保存","保存為","調整大小","Crop","寬","高","保存長寬比","是","不","移除","選擇","字符數: %d","單詞數: %d","全部","選擇: %s","全選","垂直對齊","拆分","垂直拆分","水平拆分","合併","添加列","添加行","刪除","邊框",null,"刪除線","下劃線","上標","下標","剪切","Pause","查找","替換為","แทนที่","黏貼","選擇內容並黏貼","你只能編輯你自己的圖片。是否下載此圖片到本地?","圖片上傳成功","調色板","此目錄中沒有文件。","重命名","輸入新名稱","預覽","下載","從剪貼板貼上","瀏覽器無法存取剪贴板。","複製已選取項目","複製","邊框圓角","顯示所有","應用","ได้โปรดกรอกช่องข้อมูลนี้","โปรดเติมที่อยู่บนเว็บ","ค่าปริยาย","วงกลม","จุด","Quadrate","ค้นหา","ค้นหาก่อนหน้านี้","ค้นหาถัดไป","ใส่ชื่อคลาส","กดอัลท์สำหรับการปรับขนาดที่กำหนดเอง"]},3610(e){e.exports=' '},56170(e){e.exports=' '},95331(e){e.exports=' '},84279(e){e.exports=' '},11257(e){e.exports=' '},25141(e){e.exports=' '},24557(e){e.exports=' '},10859(e){e.exports=' '},9813(e){e.exports=' '},93395(e){e.exports=' '},98213(e){e.exports=' '},20026(e){e.exports=' '},66911(e){e.exports=' '},50018(e){e.exports=' '},99738(e){e.exports=' '},9185(e){e.exports=' '},8619(e){e.exports=' '},73894(e){e.exports=' '},83301(e){e.exports=' '},84142(e){e.exports=' '},57292(e){e.exports=' '},18019(e){e.exports=''},45146(e){e.exports=' '},53576(e){e.exports=' '},14655(e){e.exports=' '},53477(e){e.exports=' '},90053(e){e.exports=' '},72230(e){e.exports=' '},78321(e){e.exports=' '},77654(e){e.exports=' '},43371(e){e.exports=' '},44563(e){e.exports=' '},53183(e){e.exports=' '},6102(e){e.exports=' '},52242(e){e.exports=' '},87498(e){e.exports=' '},7986(e){e.exports=' '},23075(e){e.exports=' '},10655(e){e.exports=' '},15476(e){e.exports=' '},59403(e){e.exports=' '},22860(e){e.exports=' '},95600(e){e.exports=' '},76214(e){e.exports=' '},41197(e){e.exports=' '},9342(e){e.exports=' '},69546(e){e.exports=' '},43158(e){e.exports=' '},51716(e){e.exports=' '},49222(e){e.exports=' '},1755(e){e.exports=' '},74911(e){e.exports=' '},8805(e){e.exports=' '},16547(e){e.exports=' '},10856(e){e.exports=' '},98441(e){e.exports=' '},52488(e){e.exports=' '},9370(e){e.exports=' '},66543(e){e.exports=' '},608(e){e.exports=' '},42840(e){e.exports=' '},79096(e){e.exports=' '},33014(e){e.exports=' '},91677(e){e.exports=' '},8259(e){e.exports=' '},64467(e){e.exports=''},86934(e){e.exports=' '},76133(e){e.exports=''},45519(e){e.exports=''},90265(e){e.exports=' '},81279(e){e.exports=' '},68899(e){e.exports=' '},70744(e){e.exports=' '},19201(e){e.exports=' '},84930(e){e.exports=' '},99704(e){e.exports=' '},2304(e){e.exports=' '},93330(e,t,o){"use strict";o.r(t)},45066(e,t,o){"use strict";o.r(t)},87682(e,t,o){"use strict";o.r(t)},50905(e,t,o){"use strict";o.r(t)},70446(e,t,o){"use strict";o.r(t)},18984(e,t,o){"use strict";o.r(t)},4591(e,t,o){"use strict";o.r(t)},64194(e,t,o){"use strict";o.r(t)},70375(e,t,o){"use strict";o.r(t)},90235(e,t,o){"use strict";o.r(t)},88477(e,t,o){"use strict";o.r(t)},50197(e,t,o){"use strict";o.r(t)},39008(e,t,o){"use strict";o.r(t)},47086(e,t,o){"use strict";o.r(t)},16462(e,t,o){"use strict";o.r(t)},40692(e,t,o){"use strict";o.r(t)},27452(e,t,o){"use strict";o.r(t)},51422(e,t,o){"use strict";o.r(t)},62820(e,t,o){"use strict";o.r(t)},32115(e,t,o){"use strict";o.r(t)},53362(e,t,o){"use strict";o.r(t)},48904(e,t,o){"use strict";o.r(t)},85796(e,t,o){"use strict";o.r(t)},60819(e,t,o){"use strict";o.r(t)},96410(e,t,o){"use strict";o.r(t)},33126(e,t,o){"use strict";o.r(t)},30724(e,t,o){"use strict";o.r(t)},32417(e,t,o){"use strict";o.r(t)},14320(e,t,o){"use strict";o.r(t)},9947(e,t,o){"use strict";o.r(t)},45109(e,t,o){"use strict";o.r(t)},71708(e,t,o){"use strict";o.r(t)},51629(e,t,o){"use strict";o.r(t)},54860(e,t,o){"use strict";o.r(t)},47818(e,t,o){"use strict";o.r(t)},88582(e,t,o){"use strict";o.r(t)},30962(e,t,o){"use strict";o.r(t)},68197(e,t,o){"use strict";o.r(t)},33393(e,t,o){"use strict";o.r(t)},51057(e,t,o){"use strict";o.r(t)},14351(e,t,o){"use strict";o.r(t)},89310(e,t,o){"use strict";o.r(t)},70631(e,t){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e=>typeof e:e=>e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e,o(e)}function r(e,t,r){var i=r.value;if("function"!=typeof i)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(i)));var n=!1;return{configurable:!0,get(){if(n||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof i)return i;var o=i.bind(this);return n=!0,Object.defineProperty(this,t,{configurable:!0,get:()=>o,set(e){i=e,delete this[t]}}),n=!1,o},set(e){i=e}}}function i(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((t=>{if("constructor"!==t){var o=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof o.value&&Object.defineProperty(e.prototype,t,r(e,t,o))}})),e}Object.defineProperty(t,"__esModule",{value:!0}),t.boundClass=t.boundMethod=void 0,t.boundMethod=r,t.boundClass=i,t.default=function(){return 1===arguments.length?i.apply(void 0,arguments):r.apply(void 0,arguments)}},20255(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__classPrivateFieldIn=t.__classPrivateFieldSet=t.__classPrivateFieldGet=t.__importDefault=t.__importStar=t.__makeTemplateObject=t.__asyncValues=t.__asyncDelegator=t.__asyncGenerator=t.__await=t.__spreadArray=t.__spreadArrays=t.__spread=t.__read=t.__values=t.__exportStar=t.__createBinding=t.__generator=t.__awaiter=t.__metadata=t.__param=t.__decorate=t.__rest=t.__assign=t.__extends=void 0;var o=(e,t)=>(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&((e,t)=>{e.__proto__=t})||((e,t)=>{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}),o(e,t));function r(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],r=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:()=>(e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e})};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var r,i,n=o.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return a}function n(e){return this instanceof n?(this.v=e,this):new n(e)}t.__extends=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,o=1,r=arguments.length;r>o;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.__assign.apply(this,arguments)},t.__rest=(e,t)=>{var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);r.length>i;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(o[r[i]]=e[r[i]])}return o},t.__decorate=function(e,t,o,r){var i,n=arguments.length,a=3>n?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(3>n?i(a):n>3?i(t,o,a):i(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},t.__param=(e,t)=>(o,r)=>{t(o,r,e)},t.__metadata=(e,t)=>{if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},t.__awaiter=(e,t,o,r)=>new(o||(o=Promise))(((i,n)=>{function a(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((e=>{e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())})),t.__generator=function(e,t){var o,r,i,n,a={label:0,sent(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return s=>(n=>{if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&i[3]>n[1])){a.label=n[1];break}if(6===n[0]&&i[1]>a.label){a.label=i[1],i=n;break}if(i&&i[2]>a.label){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=t.call(e,a)}catch(e){n=[6,e],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}})([n,s])}},t.__createBinding=Object.create?(e,t,o,r)=>{void 0===r&&(r=o);var i=Object.getOwnPropertyDescriptor(t,o);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:()=>t[o]}),Object.defineProperty(e,r,i)}:(e,t,o,r)=>{void 0===r&&(r=o),e[r]=t[o]},t.__exportStar=(e,o)=>{for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(o,r)||(0,t.__createBinding)(o,e,r)},t.__values=r,t.__read=i,t.__spread=function(){for(var e=[],t=0;arguments.length>t;t++)e=e.concat(i(arguments[t]));return e},t.__spreadArrays=function(){for(var e=0,t=0,o=arguments.length;o>t;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;o>t;t++)for(var n=arguments[t],a=0,s=n.length;s>a;a++,i++)r[i]=n[a];return r},t.__spreadArray=function(e,t,o){if(o||2===arguments.length)for(var r,i=0,n=t.length;n>i;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},t.__await=n,t.__asyncGenerator=function(e,t,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=o.apply(e,t||[]),a=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=t=>new Promise(((o,r)=>{a.push([e,t,o,r])>1||l(e,t)})))}function l(e,t){try{(o=i[e](t)).value instanceof n?Promise.resolve(o.value.v).then(c,d):u(a[0][2],o)}catch(e){u(a[0][3],e)}var o}function c(e){l("next",e)}function d(e){l("throw",e)}function u(e,t){e(t),a.shift(),a.length&&l(a[0][0],a[0][1])}},t.__asyncDelegator=function(e){var t,o;return t={},r("next"),r("throw",(e=>{throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?t=>(o=!o)?{value:n(e[r](t)),done:"return"===r}:i?i(t):t:i}},t.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=e[Symbol.asyncIterator];return o?o.call(e):(e=r(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&(t=>new Promise(((r,i)=>{((e,t,o,r)=>{Promise.resolve(r).then((t=>{e({value:t,done:o})}),t)})(r,i,(t=e[o](t)).done,t.value)})))}},t.__makeTemplateObject=(e,t)=>(Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e);var a=Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t};t.__importStar=e=>{if(e&&e.__esModule)return e;var o={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&(0,t.__createBinding)(o,e,r);return a(o,e),o},t.__importDefault=e=>e&&e.__esModule?e:{default:e},t.__classPrivateFieldGet=(e,t,o,r)=>{if("a"===o&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?r:"a"===o?r.call(e):r?r.value:t.get(e)},t.__classPrivateFieldSet=(e,t,o,r,i)=>{if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,o):i?i.value=o:t.set(e,o),o},t.__classPrivateFieldIn=(e,t)=>{if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},27537(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var r=o(10063),i=o(10063),n=function(){function e(){this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.styleValues={},this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorCssClass=!1,this.style=!1,this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=1e3,this.useNativeTooltip=!1,this.defaultActionOnPaste=i.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","---","image","table","|","link","\n","brush","paragraph","align","|","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","|","fontsize","---","image","\n","align","undo","redo","|","link","table","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}return Object.defineProperty(e,"defaultOptions",{get:()=>(e.__defaultOptions||(e.__defaultOptions=new e),e.__defaultOptions),enumerable:!1,configurable:!0}),e}();t.Config=n,n.prototype.controls={}},14722(e,t,o){"use strict";o.r(t),o.d(t,{Async:()=>c});var r=o(97336),i=o(84121),n=o(77184),a=o(30317),s=o(40607),l=o(93860);class c{constructor(){var e,t,o,r;this.timers=new Map,this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=null!==(t=null===(e=window.requestIdleCallback)||void 0===e?void 0:e.bind(window))&&void 0!==t?t:(e,t)=>{var o;const r=Date.now();return this.setTimeout((()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-r))})}),null!==(o=null==t?void 0:t.timeout)&&void 0!==o?o:1)},this.cancelIdleCallbackNative=null!==(r=null===(o=window.cancelIdleCallback)||void 0===o?void 0:o.bind(window))&&void 0!==r?r:e=>{this.clearTimeout(e)},this.isDestructed=!1}delay(e){return this.promise((t=>this.setTimeout(t,e)))}setTimeout(e,t,...o){if(this.isDestructed)return 0;let i={};(0,l.isNumber)(t)||(i=t,t=i.timeout||0),i.label&&this.clearLabel(i.label);const n=(0,r.setTimeout)(e,t,...o);return this.timers.set(i.label||n,n),n}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e))}clearTimeout(e){if((0,s.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e)}debounce(e,t,o=!1){let s=0,l=!1;const c=[],d=(...t)=>{if(!l){s=0;const o=e(...t);if(l=!0,c.length){const e=()=>{c.forEach((e=>e())),c.length=0};(0,a.isPromise)(o)?o.finally(e):e()}}},u=(...n)=>{l=!1,t?(!s&&o&&d(...n),(0,r.clearTimeout)(s),s=this.setTimeout((()=>d(...n)),(0,i.isFunction)(t)?t():t),this.timers.set(e,s)):d(...n)};return(0,n.isPlainObject)(t)&&t.promisify?(...e)=>{const t=this.promise((e=>{c.push(e)}));return u(...e),t}:u}throttle(e,t,o=!1){let r,n,a,s=null;return(...o)=>{r=!0,a=o,t?s||(n=()=>{r?(e(...a),r=!1,s=this.setTimeout(n,(0,i.isFunction)(t)?t():t),this.timers.set(n,s)):s=null},n()):e(...a)}}promise(e){let t=()=>{};const o=new Promise(((o,r)=>(this.promisesRejections.add(r),t=r,e(o,r))));return o.finally((()=>{this.promisesRejections.delete(t)})).catch((()=>null)),o.rejectCallback=t,o}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise((t=>{e.then((e=>(t("fulfilled"),e)),(e=>{throw t("rejected"),e})),this.setTimeout((()=>{t("pending")}),100)}));const t={};return Promise.race([e,t]).then((e=>e===t?"pending":"fulfilled"),(()=>"rejected"))}requestIdleCallback(e,t){const o=this.requestIdleCallbackNative(e,t);return this.requestsIdle.add(o),o}requestIdlePromise(e){return this.promise((t=>{const o=this.requestIdleCallback((()=>t(o)),e)}))}cancelIdleCallback(e){return this.requestsIdle.delete(e),this.cancelIdleCallbackNative(e)}requestAnimationFrame(e){const t=requestAnimationFrame(e);return this.requestsRaf.add(t),t}cancelAnimationFrame(e){this.requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.requestsIdle.forEach((e=>this.cancelIdleCallback(e))),this.requestsRaf.forEach((e=>this.cancelAnimationFrame(e))),this.timers.forEach((e=>(0,r.clearTimeout)(this.timers.get(e)))),this.timers.clear(),this.promisesRejections.forEach((e=>e())),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}}},60588(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(14722),t)},12614(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var r=o(92654),i=o(58299),n=o(10799),a=o(60588),s=new Map,l=function(){function e(){this.async=new a.Async,this.ownerWindow=window,this.__componentStatus=n.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,i.uniqueUid)()}return Object.defineProperty(e.prototype,"componentName",{get(){return this.__componentName||(this.__componentName="jodit-"+(0,r.kebabCase)(((0,r.isFunction)(this.className)?this.className():"")||(0,r.getClassName)(this))),this.__componentName},enumerable:!1,configurable:!0}),e.prototype.getFullElName=function(e,t,o){var i=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),i.push("__".concat(e))),t&&(i.push("_",t),i.push("_",(0,r.isVoid)(o)?"true":""+o)),i.join("")},Object.defineProperty(e.prototype,"ownerDocument",{get(){return this.ow.document},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"od",{get(){return this.ownerDocument},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ow",{get(){return this.ownerWindow},enumerable:!1,configurable:!0}),e.prototype.get=function(e,t){return(0,r.get)(e,t||this)},Object.defineProperty(e.prototype,"isReady",{get(){return this.componentStatus===n.STATUSES.ready},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDestructed",{get(){return this.componentStatus===n.STATUSES.destructed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInDestruct",{get(){return n.STATUSES.beforeDestruct===this.componentStatus||n.STATUSES.destructed===this.componentStatus},enumerable:!1,configurable:!0}),e.prototype.bindDestruct=function(e){var t=this;return e.hookStatus(n.STATUSES.beforeDestruct,(()=>!t.isInDestruct&&t.destruct())),this},e.prototype.destruct=function(){this.setStatus(n.STATUSES.destructed),this.async.destruct(),s.get(this)&&s.delete(this)},Object.defineProperty(e.prototype,"componentStatus",{get(){return this.__componentStatus},set(e){this.setStatus(e)},enumerable:!1,configurable:!0}),e.prototype.setStatus=function(e){return this.setStatusComponent(e,this)},e.prototype.setStatusComponent=function(e,t){if(e!==this.__componentStatus){t===this&&(this.__componentStatus=e);var o=Object.getPrototypeOf(this);o&&(0,r.isFunction)(o.setStatusComponent)&&o.setStatusComponent(e,t);var i=s.get(this),n=null==i?void 0:i[e];n&&n.length&&n.forEach((e=>e(t)))}},e.prototype.hookStatus=function(e,t){var o=s.get(this);o||s.set(this,o={}),o[e]||(o[e]=[]),o[e].push(t)},e.isInstanceOf=(e,t)=>e instanceof t,e.STATUSES=n.STATUSES,e}();t.Component=l},34543(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(10799),t),r.__exportStar(o(12614),t),r.__exportStar(o(34230),t)},10799(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STATUSES=void 0,t.STATUSES={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},34230(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewComponent=void 0;var r=o(20255),i=function(e){function t(t){var o=e.call(this)||this;return o.setParentView(t),o}return r.__extends(t,e),Object.defineProperty(t.prototype,"j",{get(){return this.jodit},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get(){return this.j.defaultTimeout},enumerable:!1,configurable:!0}),t.prototype.i18n=function(e){for(var t,o=[],i=1;arguments.length>i;i++)o[i-1]=arguments[i];return(t=this.j).i18n.apply(t,r.__spreadArray([e],r.__read(o),!1))},t.prototype.setParentView=function(e){return this.jodit=e,e.components.add(this),this},t.prototype.destruct=function(){return this.j.components.delete(this),e.prototype.destruct.call(this)},t}(o(12614).Component);t.ViewComponent=i},10063(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SOURCE_CONSUMER=t.CLIPBOARD_ID=t.lang=t.TEMP_ATTR=t.BASE_PATH=t.KEY_ALIASES=t.IS_MAC=t.SAFE_COUNT_CHANGE_CALL=t.INSERT_ONLY_TEXT=t.INSERT_AS_TEXT=t.INSERT_CLEAR_HTML=t.INSERT_AS_HTML=t.EMULATE_DBLCLICK_TIMEOUT=t.MARKER_CLASS=t.TEXT_RTF=t.TEXT_HTML=t.TEXT_PLAIN=t.IS_IE=t.MODE_SPLIT=t.MODE_SOURCE=t.MODE_WYSIWYG=t.PARAGRAPH=t.BR=t.COMMAND_KEYS=t.ACCURACY=t.NEARBY=t.KEY_F3=t.KEY_DELETE=t.KEY_SPACE=t.KEY_DOWN=t.KEY_RIGHT=t.KEY_UP=t.KEY_LEFT=t.KEY_ALT=t.KEY_ESC=t.KEY_ENTER=t.KEY_TAB=t.KEY_BACKSPACE=t.MAY_BE_REMOVED_WITH_KEY=t.INSEPARABLE_TAGS=t.IS_INLINE=t.IS_BLOCK=t.SPACE_REG_EXP_END=t.SPACE_REG_EXP_START=t.SPACE_REG_EXP=t.INVISIBLE_SPACE_REG_EXP_START=t.INVISIBLE_SPACE_REG_EXP_END=t.INVISIBLE_SPACE_REG_EXP=t.NBSP_SPACE=t.INVISIBLE_SPACE=void 0,t.INVISIBLE_SPACE="\ufeff",t.NBSP_SPACE=" ",t.INVISIBLE_SPACE_REG_EXP=()=>/[\uFEFF]/g,t.INVISIBLE_SPACE_REG_EXP_END=()=>/[\uFEFF]+$/g,t.INVISIBLE_SPACE_REG_EXP_START=()=>/^[\uFEFF]+/g,t.SPACE_REG_EXP=()=>/[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_START=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_END=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,t.IS_BLOCK=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,t.INSEPARABLE_TAGS=["img","br","video","iframe","script","input","textarea","hr","link","jodit","jodit-media"],t.MAY_BE_REMOVED_WITH_KEY=RegExp("^".concat(t.INSEPARABLE_TAGS.join("|"),"$"),"i"),t.KEY_BACKSPACE="Backspace",t.KEY_TAB="Tab",t.KEY_ENTER="Enter",t.KEY_ESC="Escape",t.KEY_ALT="Alt",t.KEY_LEFT="ArrowLeft",t.KEY_UP="ArrowUp",t.KEY_RIGHT="ArrowRight",t.KEY_DOWN="ArrowDown",t.KEY_SPACE="Space",t.KEY_DELETE="Delete",t.KEY_F3="F3",t.NEARBY=5,t.ACCURACY=10,t.COMMAND_KEYS=[t.KEY_BACKSPACE,t.KEY_DELETE,t.KEY_UP,t.KEY_DOWN,t.KEY_RIGHT,t.KEY_LEFT,t.KEY_ENTER,t.KEY_ESC,t.KEY_F3,t.KEY_TAB],t.BR="br",t.PARAGRAPH="p",t.MODE_WYSIWYG=1,t.MODE_SOURCE=2,t.MODE_SPLIT=3,t.IS_IE="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),t.TEXT_PLAIN=t.IS_IE?"text":"text/plain",t.TEXT_HTML=t.IS_IE?"html":"text/html",t.TEXT_RTF=t.IS_IE?"rtf":"text/rtf",t.MARKER_CLASS="jodit-selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.INSERT_AS_HTML="insert_as_html",t.INSERT_CLEAR_HTML="insert_clear_html",t.INSERT_AS_TEXT="insert_as_text",t.INSERT_ONLY_TEXT="insert_only_text",t.SAFE_COUNT_CHANGE_CALL=10,t.IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),t.KEY_ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t.IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},t.BASE_PATH=(()=>{if("undefined"==typeof document)return"";var e=document.currentScript,t=e=>{var t=e.split("/");return/\.js/.test(t[t.length-1])?t.slice(0,t.length-1).join("/")+"/":e};if(e)return t(e.src);var o=document.querySelectorAll("script[src]");return o&&o.length?t(o[o.length-1].src):window.location.href})(),t.TEMP_ATTR="data-jodit-temp",t.lang={},t.CLIPBOARD_ID="clipboard",t.SOURCE_CONSUMER="source-consumer"},53089(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Create=void 0;var r=o(92654),i=o(94522),n=o(10063),a=function(){function e(e,t){this.document=e,this.createAttributes=t}return Object.defineProperty(e.prototype,"doc",{get(){return(0,r.isFunction)(this.document)?this.document():this.document},enumerable:!1,configurable:!0}),e.prototype.element=function(e,t,o){var i=this,n=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(n),t&&((0,r.isPlainObject)(t)?(0,r.attr)(n,t):o=t),o&&(0,r.asArray)(o).forEach((e=>n.appendChild((0,r.isString)(e)?i.fromHTML(e):e))),n},e.prototype.div=function(e,t,o){var r=this.element("div",t,o);return e&&(r.className=e),r},e.prototype.sandbox=function(){var e,t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);var o=null===(e=t.contentWindow)||void 0===e?void 0:e.document;return(0,r.assert)(o,"iframe.contentWindow.document"),o.open(),o.write(""),o.close(),o.body},e.prototype.span=function(e,t,o){var r=this.element("span",t,o);return e&&(r.className=e),r},e.prototype.a=function(e,t,o){var r=this.element("a",t,o);return e&&(r.className=e),r},e.prototype.text=function(e){return this.doc.createTextNode(e)},e.prototype.fake=function(){return this.text(n.INVISIBLE_SPACE)},e.prototype.fragment=function(){return this.doc.createDocumentFragment()},e.prototype.fromHTML=function(e,t){var o=this.div();o.innerHTML=""+e;var n=o.firstChild===o.lastChild&&o.firstChild?o.firstChild:o;if(i.Dom.safeRemove(n),t){var a=(0,r.refs)(n);Object.keys(t).forEach((e=>{var o=a[e];o&&!1===t[e]&&i.Dom.hide(o)}))}return n},e.prototype.applyCreateAttributes=function(e){if(this.createAttributes){var t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){var o=t[e.tagName.toLowerCase()];(0,r.isFunction)(o)?o(e):(0,r.isPlainObject)(o)&&(0,r.attr)(e,o)}}},e}();t.Create=a},14487(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(53089),t)},79004(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cache=void 0;var r=o(92654);t.cache=function(e,t,o){var i=o.get;if(!i)throw(0,r.error)("Getter property descriptor expected");o.get=function(){var e=i.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:o.configurable,enumerable:o.enumerable,writable:!1,value:e}),e}}},99205(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.component=void 0;var r=o(20255);t.component=function(e){var t=function(e){function t(){for(var o=[],i=0;arguments.length>i;i++)o[i]=arguments[i];var n=e.apply(this,r.__spreadArray([],r.__read(o),!1))||this,a=n.constructor===t;return a&&(n instanceof t||Object.setPrototypeOf(n,t.prototype),n.setStatus("ready")),n}return r.__extends(t,e),t}(e);return t}},1509(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.debounce=void 0;var r=o(37379),i=o(34543),n=o(80163),a=o(92654);function s(e,t,o){return void 0===t&&(t=!1),void 0===o&&(o="debounce"),function(s,l){var c=s[l];if(!(0,r.isFunction)(c))throw(0,n.error)("Handler must be a Function");return s.hookStatus(i.STATUSES.ready,(i=>{var n=i.async;(0,a.assert)(null!=n,"Component ".concat(i.componentName||i.constructor.name,' should have "async:IAsync" field'));var s=(0,r.isFunction)(e)?e(i):e;Object.defineProperty(i,l,{configurable:!0,value:n[o](i[l].bind(i),(0,r.isNumber)(s)||(0,r.isPlainObject)(s)?s:i.defaultTimeout,t)})})),{configurable:!0,get(){return c.bind(this)}}}}t.debounce=s,t.throttle=(e,t)=>(void 0===t&&(t=!1),s(e,t,"throttle"))},46169(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hook=void 0;var r=o(37379),i=o(80163);t.hook=e=>(t,o)=>{if(!(0,r.isFunction)(t[o]))throw(0,i.error)("Handler must be a Function");t.hookStatus(e,(e=>{e[o].call(e)}))}},1656(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idle=void 0;var r=o(20255),i=o(34543),n=o(92654);t.idle=()=>(e,t)=>{if(!(0,n.isFunction)(e[t]))throw(0,n.error)("Handler must be a Function");e.hookStatus(i.STATUSES.ready,(e=>{var o=e.async,i=e[t];e[t]=function(){for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return o.requestIdleCallback(i.bind.apply(i,r.__spreadArray([e],r.__read(t),!1)))}}))}},9901(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autobind=void 0;var r=o(20255);r.__exportStar(o(79004),t),r.__exportStar(o(99205),t),r.__exportStar(o(1509),t),r.__exportStar(o(1656),t),r.__exportStar(o(46169),t),r.__exportStar(o(86358),t),r.__exportStar(o(44801),t),r.__exportStar(o(69770),t),r.__exportStar(o(44101),t);var i=o(70631);Object.defineProperty(t,"autobind",{enumerable:!0,get:()=>i.default})},86358(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonenumerable=void 0,t.nonenumerable=function(e,t){!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},44801(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.persistent=void 0;var r=o(34543),i=o(51813);t.persistent=(e,t)=>{e.hookStatus(r.STATUSES.ready,(e=>{var o=(0,i.isViewObject)(e)?e:e.jodit,r="".concat(o.options.namespace).concat(e.componentName,"_prop_").concat(t),n=e[t];Object.defineProperty(e,t,{get(){var e;return null!==(e=o.storage.get(r))&&void 0!==e?e:n},set(e){o.storage.set(r,e)}})}))}},69770(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wait=void 0;var r=o(20255),i=o(92654),n=o(34543);t.wait=e=>(t,o)=>{if(!(0,i.isFunction)(t[o]))throw(0,i.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,(t=>{var i=t.async,n=t[o],a=0;Object.defineProperty(t,o,{configurable:!0,value:function o(){for(var s=[],l=0;arguments.length>l;l++)s[l]=arguments[l];i.clearTimeout(a),e(t)?n.apply(t,s):a=i.setTimeout((()=>o.apply(void 0,r.__spreadArray([],r.__read(s),!1))),10)}})}))}},44101(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watch=t.getPropertyDescriptor=void 0;var r=o(20255),i=o(84121),n=o(77184),a=o(51813),s=o(80475),l=o(10799),c=o(62541),d=o(80163);function u(e,t){var o;do{o=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!o&&e);return o}function p(e,t){return(o,p)=>{if(!(0,i.isFunction)(o[p]))throw(0,d.error)("Handler must be a Function");var h=l=>{var d=function(e){for(var t,o=[],i=1;arguments.length>i;i++)o[i-1]=arguments[i];if(!l.isInDestruct)return(t=l)[p].apply(t,r.__spreadArray([e],r.__read(o),!1))};(0,c.splitArray)(e).forEach((e=>{if(/:/.test(e)){var c=r.__read(e.split(":"),2),p=c[0],h=c[1],f=t,m=(0,a.isViewObject)(l)?l:l.jodit;return p.length&&(f=l.get(p)),(0,i.isFunction)(f)&&(f=f(l)),m.events.on(f||l,h,d),f||m.events.on(h,d),void l.hookStatus("beforeDestruct",(()=>{m.events.off(f||l,h,d).off(h,d)}))}var v=e.split("."),g=r.__read(v,1)[0],y=v.slice(1),b=l[g];(0,n.isPlainObject)(b)&&(0,s.observable)(b).on("change.".concat(y.join(".")),d);var _=u(o,g);Object.defineProperty(l,g,{configurable:!0,set(e){var t=b;t!==e&&(b=e,_&&_.set&&_.set.call(l,e),(0,n.isPlainObject)(b)&&(b=(0,s.observable)(b)).on("change.".concat(y.join(".")),d),d(g,t,b))},get:()=>_&&_.get?_.get.call(l):b})}))};(0,i.isFunction)(o.hookStatus)?o.hookStatus(l.STATUSES.ready,h):h(o)}}t.getPropertyDescriptor=u,t.watch=p,t.default=p},43887(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dom=void 0;var r=o(20255),i=o(10063),n=o(92654),a=o(36047),s=o(10063),l=function(){function e(){}return e.detach=e=>{for(;e.firstChild;)e.removeChild(e.firstChild)},e.wrapInline=(t,o,r)=>{var i,a=t,s=t;r.s.save();var l=!1;do{l=!1,(i=a.previousSibling)&&!e.isBlock(i)&&(l=!0,a=i)}while(l);do{l=!1,(i=s.nextSibling)&&!e.isBlock(i)&&(l=!0,s=i)}while(l);var c=(0,n.isString)(o)?r.createInside.element(o):o;a.parentNode&&a.parentNode.insertBefore(c,a);for(var d=a;d&&(d=a.nextSibling,c.appendChild(a),a!==s&&d);)a=d;return r.s.restore(),c},e.wrap=(t,o,r)=>{var i=(0,n.isString)(o)?r.element(o):o;if(e.isNode(t)){if(!t.parentNode)throw(0,n.error)("Element should be in DOM");t.parentNode.insertBefore(i,t),i.appendChild(t)}else{var a=t.extractContents();t.insertNode(i),i.appendChild(a)}return i},e.unwrap=t=>{var o=t.parentNode;if(o){for(;t.firstChild;)o.insertBefore(t.firstChild,t);e.safeRemove(t)}},e.between=(e,t,o)=>{for(var r=e;r&&r!==t&&(e===r||!o(r));){var i=r.firstChild||r.nextSibling;if(!i){for(;r&&!r.nextSibling;)r=r.parentNode;i=null==r?void 0:r.nextSibling}r=i}},e.replace=(t,o,r,i,a)=>{void 0===i&&(i=!1),void 0===a&&(a=!1),(0,n.isHTML)(o)&&(o=r.fromHTML(o));var s=(0,n.isString)(o)?r.element(o):o;if(!a)for(;t.firstChild;)s.appendChild(t.firstChild);return i&&e.isElement(t)&&e.isElement(s)&&(0,n.toArray)(t.attributes).forEach((e=>{s.setAttribute(e.name,e.value)})),t.parentNode&&t.parentNode.replaceChild(s,t),s},e.isEmptyTextNode=t=>e.isText(t)&&(!t.nodeValue||0===t.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP(),"").trim().length),e.isEmptyContent=t=>e.each(t,(t=>e.isEmptyTextNode(t))),e.isContentEditable=(t,o)=>e.isNode(t)&&!e.closest(t,(t=>e.isElement(t)&&"false"===t.getAttribute("contenteditable")),o),e.isEmpty=(t,o)=>(void 0===o&&(o=/^(img|svg|canvas|input|textarea|form)$/),!t||(e.isText(t)?null==t.nodeValue||0===(0,n.trim)(t.nodeValue).length:!o.test(t.nodeName.toLowerCase())&&e.each(t,(t=>{if(e.isText(t)&&null!=t.nodeValue&&0!==(0,n.trim)(t.nodeValue).length||e.isElement(t)&&o.test(t.nodeName.toLowerCase()))return!1})))),e.isNode=e=>!!(e&&(0,n.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,n.isFunction)(e.appendChild)),e.isCell=t=>e.isNode(t)&&/^(td|th)$/i.test(t.nodeName),e.isImage=t=>e.isNode(t)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName),e.isBlock=t=>!(0,n.isVoid)(t)&&"object"==typeof t&&e.isNode(t)&&i.IS_BLOCK.test(t.nodeName),e.isText=e=>!(!e||e.nodeType!==Node.TEXT_NODE),e.isElement=t=>{var o;return!!e.isNode(t)&&!(!(null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView)||t.nodeType!==Node.ELEMENT_NODE)},e.isFragment=t=>{var o;return!!e.isNode(t)&&!(!(null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView)||t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)},e.isHTMLElement=t=>{var o;if(!e.isNode(t))return!1;var r=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return!!(r&&t instanceof r.HTMLElement)},e.isInlineBlock=t=>e.isElement(t)&&!/^(BR|HR)$/i.test(t.tagName)&&-1!==["inline","inline-block"].indexOf(""+(0,n.css)(t,"display")),e.canSplitBlock=t=>!(0,n.isVoid)(t)&&e.isHTMLElement(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&void 0!==t.style&&!/^(fixed|absolute)/i.test(t.style.position),e.last=(e,t)=>{var o=null==e?void 0:e.lastChild;if(!o)return null;do{if(t(o))return o;var r=o.lastChild;if(r||(r=o.previousSibling),!r&&o.parentNode!==e){do{o=o.parentNode}while(o&&!(null==o?void 0:o.previousSibling)&&o.parentNode!==e);r=null==o?void 0:o.previousSibling}o=r}while(o);return null},e.prev=(t,o,r,i)=>(void 0===i&&(i=!0),e.find(t,o,r,!1,i)),e.next=(t,o,r,i)=>(void 0===i&&(i=!0),e.find(t,o,r,!0,i)),e.prevWithClass=(t,o)=>e.prev(t,(t=>e.isElement(t)&&t.classList.contains(o)),t.parentNode),e.nextWithClass=(t,o)=>e.next(t,(t=>e.isElement(t)&&t.classList.contains(o)),t.parentNode),e.find=function(e,t,o,r,i){void 0===r&&(r=!0),void 0===i&&(i=!0);for(var n=this.nextGen(e,o,r,i),a=n.next();!a.done;){if(t(a.value))return a.value;a=n.next()}return null},e.nextGen=function(e,t,o,i){var n,a,s;return void 0===o&&(o=!0),void 0===i&&(i=!0),r.__generator(this,(function(l){switch(l.label){case 0:n=[],a=e,l.label=1;case 1:for(s=o?a.nextSibling:a.previousSibling;s;)n.unshift(s),s=o?s.nextSibling:s.previousSibling;return[5,r.__values(this.runInStack(e,n,o,i))];case 2:l.sent(),a=a.parentNode,l.label=3;case 3:if(a&&a!==t)return[3,1];l.label=4;case 4:return[2,null]}}))},e.each=function(e,t,o){void 0===o&&(o=!0);for(var r=this.eachGen(e,o),i=r.next();!i.done;){if(!1===t(i.value))return!1;i=r.next()}return!0},e.eachGen=function(e,t){return void 0===t&&(t=!0),this.runInStack(e,[e],t)},e.runInStack=function(e,t,o,i){var n,a;return void 0===i&&(i=!0),r.__generator(this,(r=>{switch(r.label){case 0:if(!t.length)return[3,3];if(n=t.pop(),i)for(a=o?n.lastChild:n.firstChild;a;)t.push(a),a=o?a.previousSibling:a.nextSibling;return e===n?[3,2]:[4,n];case 1:r.sent(),r.label=2;case 2:return[3,0];case 3:return[2]}}))},e.findWithCurrent=(t,o,r,i,n)=>{void 0===i&&(i="nextSibling"),void 0===n&&(n="firstChild");var a=t;do{if(o(a))return a||null;if(n&&a&&a[n]){var s=e.findWithCurrent(a[n],o,a,i,n);if(s)return s}for(;a&&!a[i]&&a!==r;)a=a.parentNode;a&&a[i]&&a!==r&&(a=a[i])}while(a&&a!==r);return null},e.findSibling=(t,o,r)=>{void 0===o&&(o=!0),void 0===r&&(r=t=>!e.isEmptyTextNode(t));for(var i=e.sibling(t,o);i&&!r(i);)i=e.sibling(i,o);return i&&r(i)?i:null},e.findNotEmptySibling=(t,o)=>e.findSibling(t,o,(t=>{var o;return!e.isEmptyTextNode(t)&&!!(!e.isText(t)||(null===(o=t.nodeValue)||void 0===o?void 0:o.length)&&(0,n.trim)(t.nodeValue))})),e.findNotEmptyNeighbor=(t,o,r)=>(0,n.call)(o?e.prev:e.next,t,(t=>!(!t||e.isText(t)&&!(0,n.trim)((null==t?void 0:t.nodeValue)||"").length)),r),e.sibling=(e,t)=>t?e.previousSibling:e.nextSibling,e.up=(e,t,o,r)=>{void 0===r&&(r=!1);var i=e;if(!i)return null;do{if(t(i))return i;if(i===o||!i.parentNode)break;i=i.parentNode}while(i&&i!==o);return i===o&&r&&t(i)?i:null},e.closest=(t,o,r)=>{var i;return i=(0,n.isFunction)(o)?o:(0,n.isArray)(o)?e=>!(!e||!o.includes(e.nodeName.toLowerCase())):e=>!(!e||o!==e.nodeName.toLowerCase()),e.up(t,i,r)},e.furthest=(e,t,o)=>{for(var r=null,i=null==e?void 0:e.parentElement;i&&i!==o&&t(i);)r=i,i=null==i?void 0:i.parentElement;return r},e.appendChildFirst=(e,t)=>{var o=e.firstChild;o?o!==t&&e.insertBefore(t,o):e.appendChild(t)},e.after=(e,t)=>{var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))},e.before=(e,t)=>{var o=e.parentNode;o&&o.insertBefore(t,e)},e.prepend=(e,t)=>{e.insertBefore(t,e.firstChild)},e.append=function(e,t){var o=this;(0,n.isArray)(t)?t.forEach((t=>{o.append(e,t)})):e.appendChild(t)},e.moveContent=(e,t,o)=>{void 0===o&&(o=!1);var r=(e.ownerDocument||document).createDocumentFragment();(0,n.toArray)(e.childNodes).forEach((e=>{r.appendChild(e)})),o&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)},e.isOrContains=function(e,t,o){return void 0===o&&(o=!1),e===t?!o:!!(t&&e&&this.up(t,(t=>t===e),e,!0))},e.safeRemove=function(){for(var t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];t.forEach((t=>e.isNode(t)&&t.parentNode&&t.parentNode.removeChild(t)))},e.safeInsertNode=(t,o)=>{t.collapsed||t.deleteContents(),t.insertNode(o),[o.nextSibling,o.previousSibling].forEach((t=>e.isText(t)&&!t.nodeValue&&e.safeRemove(t)))},e.hide=e=>{e&&((0,n.dataBind)(e,"__old_display",e.style.display),e.style.display="none")},e.show=e=>{if(e){var t=(0,n.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}},e.isTag=function(e,t){for(var o=(0,n.asArray)(t).map(String),r=0;o.length>r;r+=1)if(this.isElement(e)&&e.tagName.toLowerCase()===o[r].toLowerCase())return!0;return!1},e.markTemporary=(e,t)=>(t&&(0,n.attr)(e,t),(0,n.attr)(e,s.TEMP_ATTR,!0),e),e.isTemporary=t=>!!e.isElement(t)&&(a.Select.isMarker(t)||"true"===(0,n.attr)(t,s.TEMP_ATTR)),e.replaceTemporaryFromString=e=>e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2"),e.temporaryList=e=>(0,n.$$)("[".concat(s.TEMP_ATTR,"]"),e),e}();t.Dom=l},94522(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(43887),t),r.__exportStar(o(74601),t)},74601(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyWalker=void 0;var r=o(20255),i=o(99437),n=o(9901),a=o(43887),s=function(e){function t(t,o){void 0===o&&(o={});var r=e.call(this)||this;return r.async=t,r.options=o,r.workNodes=null,r.hadAffect=!1,r.isWorked=!1,r.isFinished=!1,r.idleId=0,r}return r.__extends(t,e),t.prototype.setWork=function(e){return this.isWorked&&this.break(),this.workNodes=a.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this},t.prototype.startIdleRequest=function(){var e;this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:null!==(e=this.options.timeout)&&void 0!==e?e:10})},t.prototype.break=function(e){this.isWorked&&(this.stop(),this.emit("break",e))},t.prototype.end=function(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)},t.prototype.stop=function(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)},t.prototype.destruct=function(){e.prototype.destruct.call(this),this.stop()},t.prototype.workPerform=function(e){var t;if(this.workNodes){this.isWorked=!0;for(var o=0,r=null!==(t=this.options.timeoutChunkSize)&&void 0!==t?t:50;!this.isFinished&&(e.timeRemaining()>0||e.didTimeout&&r>=o);){var i=this.workNodes.next();if(o+=1,this.visitNode(i.value)&&(this.hadAffect=!0),i.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()},t.prototype.visitNode=function(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t},r.__decorate([n.autobind],t.prototype,"workPerform",null),t}(i.Eventify);t.LazyWalker=s},34970(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventEmitter=void 0;var r=o(20255),i=o(15094),n=o(40607),a=o(84121),s=o(2555),l=o(80163),c=o(62541),d=function(){function e(e){var t=this;this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=e=>{e.cancelBubble||(e.composed&&(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})})),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&t.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>t.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}return e.prototype.mute=function(e){return this.__mutedEvents.add(null!=e?e:"*"),this},e.prototype.isMuted=function(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")},e.prototype.unmute=function(e){return this.__mutedEvents.delete(null!=e?e:"*"),this},e.prototype.__eachEvent=function(e,t){var o=this;(0,c.splitArray)(e).map((e=>e.trim())).forEach((e=>{var r=e.split(".");t.call(o,r[0],r[1]||i.defaultNameSpace)}))},e.prototype.__getStore=function(e){if(!e)throw(0,l.error)("Need subject");if(void 0===e[this.__key]){var t=new i.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]},e.prototype.__removeStoreFromSubject=function(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})},e.prototype.__triggerNativeEvent=function(e,t){var o=this.__doc.createEvent("HTMLEvents");(0,n.isString)(t)?o.initEvent(t,!0,!0):(o.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((e=>{Object.defineProperty(o,e,{value:t[e],enumerable:!0})})),Object.defineProperty(o,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(o)},Object.defineProperty(e.prototype,"current",{get(){return this.currents[this.currents.length-1]},enumerable:!1,configurable:!0}),e.prototype.on=function(e,t,o,i){var c,d,u,p,h=this;if((0,n.isString)(e)||(0,n.isStringArray)(e)?(c=this,d=e,u=t,p=o):(c=e,d=t,u=o,p=i),!(0,n.isString)(d)&&!(0,n.isStringArray)(d)||0===d.length)throw(0,l.error)("Need events names");if(!(0,a.isFunction)(u))throw(0,l.error)("Need event handler");if((0,s.isArray)(c))return c.forEach((e=>{h.on(e,d,u,p)})),this;var f=c,m=this.__getStore(f),v=(0,a.isFunction)(f.addEventListener),g=this,y=function(e){for(var t=[],o=1;arguments.length>o;o++)t[o-1]=arguments[o];if(!g.isMuted(e))return u&&u.call.apply(u,r.__spreadArray([this],r.__read(t),!1))};return v&&(y=function(e){if(!g.isMuted(e.type))return g.__prepareEvent(e),u&&!1===u.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(d,((e,t)=>{if(0===e.length)throw(0,l.error)("Need event name");if(!1===m.indexOf(e,t,u)&&(m.set(e,t,{event:e,originalCallback:u,syntheticCallback:y},null==p?void 0:p.top),v)){var o=!!["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"].includes(e)&&{passive:!0};f.addEventListener(e,y,o)}})),this},e.prototype.one=function(e,t,o,i){var a,s,l,c,d=this;(0,n.isString)(e)||(0,n.isStringArray)(e)?(a=this,s=e,l=t,c=o):(a=e,s=t,l=o,c=i);var u=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return d.off(a,s,u),l.apply(void 0,r.__spreadArray([],r.__read(e),!1))};return this.on(a,s,u,c),this},e.prototype.off=function(e,t,o){var r,l,c,d=this;if((0,n.isString)(e)||(0,n.isStringArray)(e)?(r=this,l=e,c=t):(r=e,l=t,c=o),(0,s.isArray)(r))return r.forEach((e=>{d.off(e,l,c)})),this;var u=r,p=this.__getStore(u);if(!(0,n.isString)(l)&&!(0,n.isStringArray)(l)||0===l.length)return p.namespaces().forEach((e=>{d.off(u,"."+e)})),this.__removeStoreFromSubject(u),this;var h=(0,a.isFunction)(u.removeEventListener),f=e=>{h&&u.removeEventListener(e.event,e.syntheticCallback,!1)},m=(e,t)=>{if(""!==e){var o=p.get(e,t);if(o&&o.length)if((0,a.isFunction)(c)){var r=p.indexOf(e,t,c);!1!==r&&(f(o[r]),o.splice(r,1),o.length||p.clearEvents(t,e))}else o.forEach(f),o.length=0,p.clearEvents(t,e)}else p.events(t).forEach((e=>{""!==e&&m(e,t)}))};return this.__eachEvent(l,((e,t)=>{t===i.defaultNameSpace?p.namespaces().forEach((t=>{m(e,t)})):m(e,t)})),p.isEmpty()&&this.__removeStoreFromSubject(u),this},e.prototype.stopPropagation=function(e,t){var o=this,r=(0,n.isString)(e)?this:e,a=(0,n.isString)(e)?e:t;if("string"!=typeof a)throw(0,l.error)("Need event names");var s=this.__getStore(r);this.__eachEvent(a,((e,t)=>{var n=s.get(e,t);n&&o.__stopped.push(n),t===i.defaultNameSpace&&s.namespaces(!0).forEach((t=>o.stopPropagation(r,e+"."+t)))}))},e.prototype.__removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}},e.prototype.__isStopped=function(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)},e.prototype.fire=function(e,t){for(var o,s,c=this,d=[],u=2;arguments.length>u;u++)d[u-2]=arguments[u];var p=(0,n.isString)(e)?this:e,h=(0,n.isString)(e)?e:t,f=(0,n.isString)(e)?r.__spreadArray([t],r.__read(d),!1):d,m=(0,a.isFunction)(p.dispatchEvent);if(!m&&!(0,n.isString)(h))throw(0,l.error)("Need events names");var v=this.__getStore(p);return!(0,n.isString)(h)&&m?this.__triggerNativeEvent(p,t):this.__eachEvent(h,((e,t)=>{if(m)c.__triggerNativeEvent(p,e);else{var n=v.get(e,t);if(n)try{r.__spreadArray([],r.__read(n),!1).every((t=>{var i;return!c.__isStopped(n)&&(c.currents.push(e),s=(i=t.syntheticCallback).call.apply(i,r.__spreadArray([p,e],r.__read(f),!1)),c.currents.pop(),void 0!==s&&(o=s),!0)}))}finally{c.__removeStop(n)}t!==i.defaultNameSpace||m||v.namespaces().filter((e=>e!==t)).forEach((t=>{var i=c.fire.apply(c,r.__spreadArray([p,e+"."+t],r.__read(f),!1));void 0!==i&&(o=i)}))}})),o},e.prototype.destruct=function(){this.__isDestructed&&(this.__isDestructed=!0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))},e}();t.EventEmitter=d},99437(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eventify=void 0;var r=o(20255),i=function(){function e(){this.__map=new Map}return e.prototype.on=function(e,t){var o;return this.__map.has(e)||this.__map.set(e,new Set),null===(o=this.__map.get(e))||void 0===o||o.add(t),this},e.prototype.off=function(e,t){var o;return this.__map.has(e)&&(null===(o=this.__map.get(e))||void 0===o||o.delete(t)),this},e.prototype.destruct=function(){this.__map.clear()},e.prototype.emit=function(e){for(var t,o,i=[],n=1;arguments.length>n;n++)i[n-1]=arguments[n];return this.__map.has(e)&&(null===(t=this.__map.get(e))||void 0===t||t.forEach((e=>{o=e.apply(void 0,r.__spreadArray([],r.__read(i),!1))}))),o},e}();t.Eventify=i},42293(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(34970),t),r.__exportStar(o(99437),t),r.__exportStar(o(80475),t),r.__exportStar(o(15094),t)},80475(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0;var r=o(20255),i=o(2555),n=o(16716),a=o(77184),s=o(44101),l=Symbol("observable-object");function c(e){return void 0!==e[l]}t.observable=e=>{if(c(e))return e;var t={},o={},d=(t,r)=>(0,i.isArray)(t)?(t.map((e=>d(e,r))),e):(o[t]||(o[t]=[]),o[t].push(r),e),u=function(n){for(var a=[],s=1;arguments.length>s;s++)a[s-1]=arguments[s];if((0,i.isArray)(n))n.map((e=>u.apply(void 0,r.__spreadArray([e],r.__read(a),!1))));else try{!t[n]&&o[n]&&(t[n]=!0,o[n].forEach((t=>t.call.apply(t,r.__spreadArray([e],r.__read(a),!1)))))}finally{t[n]=!1}},p=(t,o)=>{void 0===o&&(o=[]);var i={};c(t)||(Object.defineProperty(t,l,{enumerable:!1,value:!0}),Object.keys(t).forEach((l=>{var c=l,d=o.concat(c).filter((e=>e.length));i[c]=t[c];var h=(0,s.getPropertyDescriptor)(t,c);Object.defineProperty(t,c,{set(t){var o=i[c];if(!(0,n.isFastEqual)(i[c],t)){u(["beforeChange","beforeChange.".concat(d.join("."))],c,t),(0,a.isPlainObject)(t)&&p(t,d),h&&h.set?h.set.call(e,t):i[c]=t;var s=[];u(r.__spreadArray(["change"],r.__read(d.reduce(((e,t)=>(s.push(t),e.push("change.".concat(s.join("."))),e)),[])),!1),d.join("."),o,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:()=>h&&h.get?h.get.call(e):i[c],enumerable:!0,configurable:!0}),(0,a.isPlainObject)(i[c])&&p(i[c],d)})),Object.defineProperty(e,"on",{value:d}))};return p(e),e}},15094(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlersStore=t.defaultNameSpace=void 0;var r=o(39665),i=o(42464);t.defaultNameSpace="JoditEventDefaultNamespace";var n=function(){function e(){this.__store=new Map}return e.prototype.get=function(e,t){if(this.__store.has(t)){var o=this.__store.get(t);return(0,r.assert)(o,"-"),o[e]}},e.prototype.indexOf=function(e,t,o){var r=this.get(e,t);if(r)for(var i=0;r.length>i;i+=1)if(r[i].originalCallback===o)return i;return!1},e.prototype.namespaces=function(e){void 0===e&&(e=!1);var o=(0,i.toArray)(this.__store.keys());return e?o.filter((e=>e!==t.defaultNameSpace)):o},e.prototype.events=function(e){var t=this.__store.get(e);return t?Object.keys(t):[]},e.prototype.set=function(e,t,o,r){void 0===r&&(r=!1);var i=this.__store.get(t);i||this.__store.set(t,i={}),void 0===i[e]&&(i[e]=[]),r?i[e].unshift(o):i[e].push(o)},e.prototype.clear=function(){this.__store.clear()},e.prototype.clearEvents=function(e,t){var o=this.__store.get(e);o&&o[t]&&(delete o[t],Object.keys(o).length||this.__store.delete(e))},e.prototype.isEmpty=function(){return 0===this.__store.size},e}();t.EventHandlersStore=n},58299(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventEmitter=t.getContainer=t.extendLang=t.modules=t.pluginSystem=t.uniqueUid=t.instances=void 0;var r=o(58153),i=o(94522),n=o(42293),a=o(47442),s=o(51813),l=o(28693),c=o(90237),d=o(10063);t.instances={};var u=1,p=new Set;t.uniqueUid=()=>{function e(){return u+=10*(Math.random()+1),Math.round(u).toString(16)}for(var t=e();p.has(t);)t=e();return p.add(t),t},t.pluginSystem=new r.PluginSystem,t.modules={},t.extendLang=e=>{Object.keys(e).forEach((t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]}))};var h=new WeakMap;t.getContainer=(e,t,o,r)=>{void 0===o&&(o="div"),void 0===r&&(r=!1);var n=t?(0,l.getClassName)(t.prototype):"jodit-utils",d=h.get(e)||{},u=n+o,p=(0,s.isViewObject)(e)?e:e.j;if(!d[u]){var f=p.c,m=(0,a.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:e.od.body;if(r&&(0,a.isJoditObject)(e)&&e.od!==e.ed){f=e.createInside;var v="style"===o?e.ed.head:e.ed.body;m=(0,a.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:v}var g=f.element(o,{className:"jodit jodit-".concat((0,c.kebabCase)(n),"-container jodit-box")});g.classList.add("jodit_theme_".concat(p.o.theme||"default")),m.appendChild(g),d[u]=g,e.hookStatus("beforeDestruct",(()=>{i.Dom.safeRemove(g),delete d[u],Object.keys(d).length&&h.delete(e)})),h.set(e,d)}return d[u].classList.remove("jodit_theme_default","jodit_theme_dark"),d[u].classList.add("jodit_theme_".concat(p.o.theme||"default")),d[u]},t.eventEmitter=new n.EventEmitter},7796(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=void 0;var r=o(2555);t.asArray=e=>(0,r.isArray)(e)?e:[e]},3005(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=t.splitArray=t.asArray=void 0;var r=o(7796);Object.defineProperty(t,"asArray",{enumerable:!0,get:()=>r.asArray});var i=o(62541);Object.defineProperty(t,"splitArray",{enumerable:!0,get:()=>i.splitArray});var n=o(42464);Object.defineProperty(t,"toArray",{enumerable:!0,get:()=>n.toArray})},62541(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitArray=void 0,t.splitArray=e=>Array.isArray(e)?e:e.split(/[,\s]+/)},42464(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var r=o(33872),i=o(76994);t.toArray=function(){for(var e,t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];var n=(0,i.isNativeFunction)(Array.from)?Array.from:null!==(e=(0,r.reset)("Array.from"))&&void 0!==e?e:Array.from;return n.apply(Array,t)}},97336(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(60232),t)},60232(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearTimeout=t.setTimeout=void 0;var r=o(20255);t.setTimeout=function(e,t){for(var o=[],i=2;arguments.length>i;i++)o[i-2]=arguments[i];return t?window.setTimeout.apply(window,r.__spreadArray([e,t],r.__read(o),!1)):(e.call.apply(e,r.__spreadArray([null],r.__read(o),!1)),0)},t.clearTimeout=e=>{window.clearTimeout(e)}},85740(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserColorPicker=void 0,t.hasBrowserColorPicker=()=>{var e=!0;try{var t=document.createElement("input");t.type="color",e="color"===t.type&&"number"!=typeof t.selectionStart}catch(t){e=!1}return e}},37379(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(85740),t),r.__exportStar(o(2555),t),r.__exportStar(o(65131),t),r.__exportStar(o(16716),t),r.__exportStar(o(84121),t),r.__exportStar(o(24775),t),r.__exportStar(o(68278),t),r.__exportStar(o(19747),t),r.__exportStar(o(84153),t),r.__exportStar(o(47442),t),r.__exportStar(o(51813),t),r.__exportStar(o(33656),t),r.__exportStar(o(76994),t),r.__exportStar(o(93860),t),r.__exportStar(o(57587),t),r.__exportStar(o(77184),t),r.__exportStar(o(30317),t),r.__exportStar(o(40607),t),r.__exportStar(o(56521),t),r.__exportStar(o(76245),t),r.__exportStar(o(13859),t),r.__exportStar(o(99562),t)},2555(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=e=>Array.isArray(e)},65131(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBoolean=void 0,t.isBoolean=e=>"boolean"==typeof e},16716(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFastEqual=t.isEqual=void 0;var r=o(27561);t.isEqual=(e,t)=>e===t||(0,r.stringify)(e)===(0,r.stringify)(t),t.isFastEqual=(e,t)=>e===t},84121(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=e=>"function"==typeof e},68278(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHtmlFromWord=void 0,t.isHtmlFromWord=e=>-1!==e.search(//)||-1!==e.search(//)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/(0,r.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},19747(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasContainer=t.isDestructable=t.isInitable=void 0;var r=o(84121),i=o(43887),n=o(13859);t.isInitable=e=>!(0,n.isVoid)(e)&&(0,r.isFunction)(e.init),t.isDestructable=e=>!(0,n.isVoid)(e)&&(0,r.isFunction)(e.destruct),t.hasContainer=e=>!(0,n.isVoid)(e)&&i.Dom.isElement(e.container)},84153(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInt=void 0;var r=o(57587),i=o(40607);t.isInt=e=>((0,i.isString)(e)&&(0,r.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1))},47442(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoditObject=void 0;var r=o(84121);t.isJoditObject=e=>!!(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))},33656(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLicense=void 0;var r=o(40607);t.isLicense=e=>(0,r.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},76994(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNativeFunction=void 0,t.isNativeFunction=e=>!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(e+""))},93860(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isNumber=e=>"number"==typeof e&&!isNaN(e)&&isFinite(e)},57587(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=void 0;var r=o(40607);t.isNumeric=e=>{if((0,r.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},77184(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=void 0;var r=o(99562);t.isPlainObject=e=>!(!e||"object"!=typeof e||e.nodeType||(0,r.isWindow)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},30317(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0,t.isPromise=e=>e&&"function"==typeof e.then},40607(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isStringArray=t.isString=void 0;var r=o(2555);function i(e){return"string"==typeof e}t.isString=i,t.isStringArray=e=>(0,r.isArray)(e)&&i(e[0])},56521(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=void 0,t.isURL=e=>{if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{var t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}var o=document.createElement("a");return o.href=e,!!o.hostname}},76245(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidName=void 0,t.isValidName=e=>!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_.]/.test(e)},51813(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isViewObject=void 0;var r=o(84121);t.isViewObject=e=>!!(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&e.isView)},13859(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVoid=void 0,t.isVoid=e=>null==e},99562(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindow=void 0,t.isWindow=e=>null!=e&&e===e.window},76588(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorToHex=void 0,t.colorToHex=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";for(var o=parseInt(t[2],10),r=parseInt(t[3],10),i=(parseInt(t[4],10)|r<<8|o<<16).toString(16).toUpperCase();6>i.length;)i="0"+i;return t[1]+"#"+i}},50213(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(76588),t)},40360(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyStyles=void 0;var r=o(43887),i=o(73344),n=o(50106);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,((e,t,o)=>{switch(o.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e}))}t.applyStyles=e=>{if(-1===e.indexOf("")+7);var t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);var o="";try{var s=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(s){s.open(),s.write(e),s.close();try{for(var l=e=>{for(var t=s.styleSheets[e].cssRules,o=e=>{if(""===t[e].selectorText)return"continue";(0,i.$$)(t[e].selectorText,s.body).forEach((o=>{o.style.cssText=a(t[e].style.cssText+";"+o.style.cssText)}))},r=0;t.length>r;r+=1)o(r)},c=0;s.styleSheets.length>c;c+=1)l(c)}catch(e){}r.Dom.each(s.body,(e=>{if(r.Dom.isElement(e)){var t=e,o=t.getAttribute("style");o&&(t.style.cssText=a(o)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}})),o=s.firstChild?(0,n.trim)(s.body.innerHTML):""}}catch(e){}finally{r.Dom.safeRemove(t)}return o&&(e=o),(0,n.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(//i);-1!==t&&(e=e.substring(t+20));var o=e.search(//i);return-1!==o&&(e=e.substring(0,o)),e})(o)),t.s.insertHTML(o)}},t.getAllTypes=e=>{var t=e.types,o="";if((0,i.isArray)(t)||"[object DOMStringList]"==={}.toString.call(t))for(var r=0;t.length>r;r+=1)o+=t[r]+";";else o=(t||a.TEXT_PLAIN)+";";return o},t.askInsertTypeDialog=(e,t,o,i,n)=>{if(!1!==e.e.fire("beforeOpenPasteDialog",t,o,i,n)){var a=e.confirm('
'.concat(e.i18n(t),"
"),e.i18n(o)),l=n.map((t=>{var o=t.text,r=t.value;return(0,s.Button)(e,{text:o,name:o.toLowerCase(),tabIndex:0}).onAction((()=>{a.close(),i(r)}))}));a.e.one(a,"afterClose",(()=>{e.s.isFocused()||e.s.focus()}));var c=(0,s.Button)(e,{text:"Cancel",tabIndex:0}).onAction((()=>{a.close()}));return a.setFooter(r.__spreadArray(r.__spreadArray([],r.__read(l),!1),[c],!1)),l[0].focus(),l[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",a,t,o,i,n),a}}},78053(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paste=void 0;var r=o(20255),i=o(73177),n=o(10063),a=o(43887),s=o(9901),l=o(92654),c=o(58299),d=o(23063);o(12814);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pasteStack=new l.LimitedStack(20),t._isDialogOpened=!1,t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(e=>t.pasteStack.push(e))),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)},t.prototype.beforeDestruct=function(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")},t.prototype.onPaste=function(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}},t.prototype.customPasteProcess=function(e){if(this.j.o.processPasteHTML){var t,o=(0,l.getDataTransfer)(e),r={html:null==o?void 0:o.getData(n.TEXT_HTML),plain:null==o?void 0:o.getData(n.TEXT_PLAIN),rtf:null==o?void 0:o.getData(n.TEXT_RTF)};for(t in r){var i=r[t];if((0,l.isHTML)(i)&&(this.j.e.fire("processHTML",e,i,r)||this.processHTML(e,i)))return!1}}},t.prototype.defaultPasteProcess=function(e){var t=(0,l.getDataTransfer)(e),o=(null==t?void 0:t.getData(n.TEXT_HTML))||(null==t?void 0:t.getData(n.TEXT_PLAIN));if(t&&o&&""!==(0,l.trim)(o)){var r=this.j.e.fire("processPaste",e,o,(0,d.getAllTypes)(t));void 0!==r&&(o=r),((0,l.isString)(o)||a.Dom.isNode(o))&&this.insertByType(e,o,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}},t.prototype.processHTML=function(e,t){var o=this;if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){var r=this.pasteStack.find((e=>e.html===t));if(r)return this.insertByType(e,t,r.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;var i=(0,d.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(r=>{o._isDialogOpened=!1,o.insertByType(e,t,r)}),this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",(()=>{o._isDialogOpened=!1}))),!0}return!1},t.prototype.insertByType=function(e,t,o){if(this.pasteStack.push({html:t,action:o}),(0,l.isString)(t))switch(this.j.buffer.set(n.CLIPBOARD_ID,t),o){case n.INSERT_CLEAR_HTML:t=(0,l.cleanFromWord)(t);break;case n.INSERT_ONLY_TEXT:t=(0,l.stripTags)(t);break;case n.INSERT_AS_TEXT:t=(0,l.htmlspecialchars)(t)}(0,d.pasteInsertHtml)(e,this.j,t)},t.prototype.onProcessPasteReplaceNl2Br=(e,t,o)=>{if(o===n.TEXT_PLAIN+";"&&!(0,l.isHTML)(t))return(0,l.nl2br)(t)},r.__decorate([s.autobind],t.prototype,"onPaste",null),r.__decorate([s.autobind],t.prototype,"onProcessPasteReplaceNl2Br",null),t}(i.Plugin);t.paste=u,c.pluginSystem.add("paste",u)},90566(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.showPlaceholder=!0,r.Config.prototype.placeholder="Type something",r.Config.prototype.useInputsPlaceholder=!0},82199(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholder=t.isEditorEmpty=void 0;var r=o(20255);o(51629);var i=o(10063),n=o(92654),a=o(94522),s=o(73177),l=o(10063),c=o(9901),d=o(36047),u=o(58299);function p(e){if(!e.firstChild)return!0;var t=e.firstChild;if(l.MAY_BE_REMOVED_WITH_KEY.test(t.nodeName)||/^(TABLE)$/i.test(t.nodeName))return!1;var o=a.Dom.next(t,(e=>e&&!a.Dom.isEmptyTextNode(e)),e);return a.Dom.isText(t)&&!o?a.Dom.isEmptyTextNode(t):!o&&a.Dom.each(t,(e=>!a.Dom.isTag(e,["ul","li","ol"])&&(a.Dom.isEmpty(e)||a.Dom.isTag(e,"br"))))}o(90566),t.isEditorEmpty=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.addNativeListeners=()=>{t.j.e.off(t.j.editor,"input.placeholder keydown.placeholder").on(t.j.editor,"input.placeholder keydown.placeholder",t.toggle)},t.addEvents=()=>{var e=t.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(t.placeholderElm.innerHTML=(0,n.attr)(e.element,"placeholder")||""),e.e.fire("placeholder",t.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",t.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",t.toggle).on(window,"load",t.toggle),t.addNativeListeners(),t.toggle()},t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML('")),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",(e=>{e?t.hide():t.toggle()})).on("changePlace",this.addEvents),this.addEvents())},t.prototype.show=function(){var e=this.j;if(!e.o.readonly){var t=0,o=0,r=e.s.current(),i=r&&a.Dom.closest(r,a.Dom.isBlock,e.editor)||e.editor,s=e.ew.getComputedStyle(i);e.workplace.appendChild(this.placeholderElm);var l=e.editor.firstChild;if(a.Dom.isElement(l)&&!d.Select.isMarker(l)){var c=e.ew.getComputedStyle(l);t=parseInt(c.getPropertyValue("margin-top"),10),o=parseInt(c.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(c.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=c.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(s.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=s.getPropertyValue("line-height");(0,n.css)(this.placeholderElm,{display:"block",textAlign:s.getPropertyValue("text-align"),marginTop:Math.max(parseInt(s.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(s.getPropertyValue("margin-left"),10),o)})}},t.prototype.hide=function(){a.Dom.safeRemove(this.placeholderElm)},t.prototype.toggle=function(){var e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===i.MODE_WYSIWYG&&p(e.editor)?this.show():this.hide())},t.prototype.beforeDestruct=function(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)},r.__decorate([(0,c.debounce)((e=>e.defaultTimeout/10),!0)],t.prototype,"toggle",null),t}(s.Plugin);t.placeholder=h,u.pluginSystem.add("placeholder",h)},16459(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poweredByJodit=void 0;var r=o(58299);function i(e){var t=e.o;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",(()=>{e.statusbar.append(e.create.fromHTML('\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t'),!0)}))}t.poweredByJodit=i,r.pluginSystem.add("poweredByJodit",i)},72802(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preview=void 0,o(54860);var r=o(27537),i=o(10063),n=o(79775),a=o(58299);function s(e){e.registerButton({name:"preview"}),e.registerCommand("preview",((t,o,r)=>{var i=e.dialog();i.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0),(0,n.previewBox)(e,r,"px",i.getElm("content"))}))}r.Config.prototype.controls.preview={icon:"eye",command:"preview",mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Preview"},t.preview=s,a.pluginSystem.add("preview",s)},28895(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCriticalCSS=void 0;var r=o(20255),i=o(42464);t.generateCriticalCSS=function(e){var t=(e,t)=>(void 0===t&&(t=e.ownerDocument.styleSheets),(0,i.toArray)(t).map((e=>{try{return(0,i.toArray)(e.cssRules)}catch(e){}return[]})).flat().filter((t=>{try{return!(!t||!e.matches(t.selectorText))}catch(e){}return!1}))),o=function(){function o(o,i,n){var a=this;this.css={};var s=n||{},l=t=>{var o=t.selectorText.split(",").map((e=>e.trim())).sort().join(",");0==!!a.css[o]&&(a.css[o]={});for(var i=t.style.cssText.split(/;(?![A-Za-z0-9])/),n=0;i.length>n;n++)if(i[n]){var s=i[n].split(":");s[0]=s[0].trim(),s[1]=s[1].trim(),a.css[o][s[0]]=s[1].replace(/var\(([^)]+)\)/g,((t,o)=>{var i=r.__read(o.split(","),2),n=i[0],a=i[1];return(e.ew.getComputedStyle(e.editor).getPropertyValue(n.trim())||a||t).trim()}))}};(()=>{for(var r=o.innerHeight,n=i.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,(()=>NodeFilter.FILTER_ACCEPT));n.nextNode();){var a=n.currentNode;if(r>a.getBoundingClientRect().top||s.scanFullPage){var c=t(a);if(c)for(var d=0;c.length>d;d++)l(c[d])}}})()}return o.prototype.generateCSS=function(){var e="";for(var t in this.css)if(!/:not\(/.test(t)){for(var o in e+=t+" { ",this.css[t])e+=o+": "+this.css[t][o]+"; ";e+="}\n"}return e},o}();try{return new o(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},16214(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=void 0;var r=o(27537),i=o(58299),n=o(94522),a=o(3588),s=o(10063),l=o(58299),c=o(76381),d=o(28895),u=o(79775);function p(e){e.registerButton({name:"print"})}c.Icon.set("print",o(22860)),r.Config.prototype.controls.print={exec(e){var t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,i.getContainer)(e,r.Config).appendChild(t);var o=()=>{e.e.off(e.ow,"mousemove",o),n.Dom.safeRemove(t)},s=t.contentWindow;if(s){e.e.on(s,"onbeforeunload onafterprint",o).on(e.ow,"mousemove",o),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",s.document,e),s.document.body.innerHTML=e.value):(s.document.write('"),s.document.close(),(0,u.previewBox)(e,void 0,"px",s.document.body));var l=s.document.createElement("style");l.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",s.document.head.appendChild(l),s.focus(),s.print()}},mode:s.MODE_SOURCE+s.MODE_WYSIWYG,tooltip:"Print"},t.print=p,l.pluginSystem.add("print",p)},68551(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redoUndo=void 0;var r=o(20255),i=o(27537),n=o(10063),a=o(73177),s=o(58299);o(76381).Icon.set("redo",o(95600)).set("undo",o(76214)),i.Config.prototype.controls.redo={mode:n.MODE_SPLIT,isDisabled:e=>!e.history.canRedo(),tooltip:"Redo"},i.Config.prototype.controls.undo={mode:n.MODE_SPLIT,isDisabled:e=>!e.history.canUndo(),tooltip:"Undo"};var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}],t}return r.__extends(t,e),t.prototype.beforeDestruct=()=>{},t.prototype.afterInit=e=>{var t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})},t}(a.Plugin);t.redoUndo=l,s.pluginSystem.add("redoUndo",l)},35477(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tableAllowCellResize=!0},1951(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeCells=void 0;var r=o(20255);o(47818);var i=o(10063),n=o(46701),a=o(92654),s=o(9901),l=o(43887),c=o(58299);o(35477);var d="table_processor_observer-resize",u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectMode=!1,t.resizeDelta=0,t.createResizeHandle=()=>{t.resizeHandler||(t.resizeHandler=t.j.c.div("jodit-table-resizer"),t.j.e.on(t.resizeHandler,"mousedown.table touchstart.table",t.onHandleMouseDown).on(t.resizeHandler,"mouseenter.table",(()=>{t.j.async.clearTimeout(t.hideTimeout)})))},t.hideTimeout=0,t.drag=!1,t.minX=0,t.maxX=0,t.startX=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRTL",{get(){return"rtl"===this.j.o.direction},enumerable:!1,configurable:!0}),t.prototype.showResizeHandle=function(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)},t.prototype.hideResizeHandle=function(){var e=this;this.hideTimeout=this.j.async.setTimeout((()=>{l.Dom.safeRemove(e.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})},t.prototype.onHandleMouseDown=function(e){var t=this;if(!this.j.isLocked){this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(d),this.resizeHandler.classList.add("jodit-table-resizer_moved");var o,r=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)r=this.workTable.parentNode.getBoundingClientRect(),this.minX=r.left,this.maxX=this.minX+r.width;else{var a=n.Table.formalCoordinate(this.workTable,this.workCell,!0);n.Table.formalMatrix(this.workTable,((e,r,n)=>{a[1]===n&&(o=e.getBoundingClientRect(),t.minX=Math.max(o.left+i.NEARBY/2,t.minX)),a[1]+(t.isRTL?-1:1)===n&&(o=e.getBoundingClientRect(),t.maxX=Math.min(o.left+o.width-i.NEARBY/2,t.maxX))}))}return!1}},t.prototype.onMouseMove=function(e){if(this.drag){this.j.e.fire("closeAllPopups");var t=e.clientX,o=(0,a.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?o.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:o.left)+"px";var r=this.j.s.sel;r&&r.removeAllRanges()}},t.prototype.onMouseUp=function(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())},t.prototype.resizeColumns=function(){var e=this.resizeDelta,t=[];n.Table.setColumnWidthByDelta(this.workTable,n.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);var o=(0,a.call)(this.isRTL?l.Dom.prev:l.Dom.next,this.workCell,l.Dom.isCell,this.workCell.parentNode);n.Table.setColumnWidthByDelta(this.workTable,n.Table.formalCoordinate(this.workTable,o)[1],-e,!1,t)},t.prototype.resizeTable=function(){var e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,o=(0,a.getContentWidth)(this.workTable.parentNode,this.j.ew),r=!this.wholeTable;if(this.isRTL?!r:r)this.workTable.style.width=(t+e)/o*100+"%";else{var i=this.isRTL?"marginRight":"marginLeft",n=parseInt(this.j.ew.getComputedStyle(this.workTable)[i]||"0",10);this.workTable.style.width=(t-e)/o*100+"%",this.workTable.style[i]=(n+e)/o*100+"%"}},t.prototype.setWorkCell=function(e,t){void 0===t&&(t=null),this.wholeTable=t,this.workCell=e,this.workTable=l.Dom.up(e,(e=>l.Dom.isTag(e,"table")),this.j.editor)},t.prototype.calcHandlePosition=function(e,t,o,r){void 0===o&&(o=0),void 0===r&&(r=0);var n=(0,a.offset)(t,this.j,this.j.ed);if(o>i.NEARBY&&n.width-i.NEARBY>o)this.hideResizeHandle();else{var s=(0,a.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,a.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(o>i.NEARBY?n.left+n.width:n.left)-s.left+r+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-s.top+"px"}),this.showResizeHandle(),o>i.NEARBY){var d=(0,a.call)(this.isRTL?l.Dom.prev:l.Dom.next,t,l.Dom.isCell,t.parentNode);this.setWorkCell(t,!!d&&null)}else{var u=(0,a.call)(this.isRTL?l.Dom.next:l.Dom.prev,t,l.Dom.isCell,t.parentNode);this.setWorkCell(u||t,!u||null)}}},t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(()=>{(0,a.$$)("table",e.editor).forEach(t.observe)})).on(this.j.ow,"scroll.resize-cells",(()=>{if(t.drag){var o=l.Dom.up(t.workCell,(e=>l.Dom.isTag(e,"table")),e.editor);if(o){var r=o.getBoundingClientRect();t.resizeHandler.style.top=r.top+"px"}}})).on("beforeSetMode.resize-cells",(()=>{t.module.getAllSelectedCells().forEach((o=>{t.module.removeSelection(o),n.Table.normalizeTable(l.Dom.closest(o,"table",e.editor))}))}))},t.prototype.observe=function(e){var t=this;(0,a.dataBind)(e,d)||((0,a.dataBind)(e,d,!0),this.j.e.on(e,"mouseleave.resize-cells",(e=>{t.resizeHandler&&t.resizeHandler!==e.relatedTarget&&t.hideResizeHandle()})).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((o=>{if(!t.j.isLocked){var r=l.Dom.up(o.target,l.Dom.isCell,e);r&&t.calcHandlePosition(e,r,o.offsetX)}}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())},t.prototype.beforeDestruct=function(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))},r.__decorate([s.autobind],t.prototype,"onHandleMouseDown",null),r.__decorate([s.autobind],t.prototype,"onMouseMove",null),r.__decorate([s.autobind],t.prototype,"onMouseUp",null),r.__decorate([s.autobind],t.prototype,"observe",null),t}(n.Plugin);t.resizeCells=u,c.pluginSystem.add("resizeCells",u)},60991(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.allowResizeX=!1,r.Config.prototype.allowResizeY=!0},67757(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandler=void 0;var r=o(20255),i=o(35570),n=o(94522),a=o(9901),s=o(14153),l=o(58299);o(60991);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isResized=!1,t.start={x:0,y:0,w:0,h:0},t.handle=t.j.c.div("jodit-editor__resize",s.Icon.get("resize_handler")),t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this,o=e.o,r=o.height,i=o.width,n=e.o.allowResizeY;"auto"===r&&"auto"!==i&&(n=!1),"auto"===r&&"auto"===i||!o.allowResizeX&&!n||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",(()=>{t.handle.style.display=e.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))},t.prototype.onHandleResizeStart=function(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()},t.prototype.onHandleResize=function(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))},t.prototype.onHandleResizeEnd=function(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())},t.prototype.beforeDestruct=function(){n.Dom.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)},t.requires=["size"],r.__decorate([a.autobind],t)}(i.Plugin);t.resizeHandler=c,l.pluginSystem.add("resizeHandler",c)},43087(e,t,o){"use strict";var r=o(27537);r.Config.prototype.allowResizeTags=["img","iframe","table","jodit"],r.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:["img"]}},35196(e,t,o){"use strict";o.r(t),o.d(t,{resizer:()=>u});var r=o(20255),i=o(10063),n=o(43887),a=o(92654),s=o(73177),l=o(58299),c=o(9901);o(43087);const d="__jodit-resizer_binded";class u extends s.Plugin{constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t100x100\n\t\t\t
`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=e=>{this.isResizeMode||this.element===e&&this.isShown||(this.element=e,this.show(),n.Dom.isTag(this.element,"img")&&!this.element.complete&&this.j.e.one(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const e=this.getWorkplacePosition(),t=(0,a.offset)(this.element,this.j,this.j.ed),o=parseInt(this.rect.style.left||"0",10),r=this.rect.offsetWidth,i=this.rect.offsetHeight,n=t.top-e.top,s=t.left-e.left;parseInt(this.rect.style.top||"0",10)===n&&o===s&&r===this.element.offsetWidth&&i===this.element.offsetHeight||((0,a.css)(this.rect,{top:n,left:s,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(o)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}afterInit(e){(0,a.$$)("div",this.rect).forEach((t=>{e.e.on(t,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,t))})),l.eventEmitter.on("hideHelpers",this.hide),e.e.on("readonly",(e=>{e&&this.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(e=>{const t=/]+data-jodit_iframe_wrapper[^>]+>(.*?]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()}onEditorClick(e){let t=e.target;const{editor:o,options:{allowResizeTags:r}}=this.j;for(;t&&t!==o;){if(n.Dom.isTag(t,r))return this.bind(t),void this.onClickElement(t);t=t.parentNode}}addEventListeners(){const e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",(e=>{this.isShown&&e.key===i.KEY_DELETE&&this.element&&!n.Dom.isTag(this.element,"table")&&this.onDelete(e)})).on(e.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([e.ow,e.editor],"scroll.resizer",(()=>{this.isShown&&!this.isResizeMode&&this.hide()})).on(e.ow,"keydown.resizer",this.onKeyDown).on(e.ow,"keyup.resizer",this.onKeyUp).on(e.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;const{j:o}=this;o.e.fire("hidePopup"),o.lock(this.LOCK_KEY),o.e.on(o.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){const{j:e}=this;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(e){if(this.isResizeMode){if(!this.element)return;let t,o;if(this.pointerX=e.clientX,this.pointerY=e.clientY,this.j.options.iframe){const r=this.getWorkplacePosition();t=e.clientX+r.left-this.startX,o=e.clientY+r.top-this.startY}else t=this.pointerX-this.startX,o=this.pointerY-this.startY;const r=this.handle.className;let i=0,s=0;const l=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===l||Array.isArray(l)&&n.Dom.isTag(this.element,l))?(t?(i=this.width+(r.match(/left/)?-1:1)*t,s=Math.round(i/this.ratio)):(s=this.height+(r.match(/top/)?-1:1)*o,i=Math.round(s*this.ratio)),i>(0,a.innerWidth)(this.j.editor,this.j.ow)&&(i=(0,a.innerWidth)(this.j.editor,this.j.ow),s=Math.round(i/this.ratio))):(i=this.width+(r.match(/left/)?-1:1)*t,s=this.height+(r.match(/top/)?-1:1)*o),i>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>i?i:"100%"),s>this.j.o.resizer.min_height&&this.applySize(this.element,"height",s),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}}onKeyDown(e){this.isAltMode=e.key===i.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,a.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(e,t,o){const r=n.Dom.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,a.attr)(e,t,o),r&&!e.style[t]||(0,a.css)(e,t,o)}onDelete(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(n.Dom.safeRemove(this.element),this.hide(),e.preventDefault()))}onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,a.$$)("iframe",this.j.editor).forEach(this.bind)}bind(e){if(!n.Dom.isHTMLElement(e)||!this.j.o.allowResizeTags.includes(e.tagName.toLowerCase())||(0,a.dataBind)(e,d))return;let t;if((0,a.dataBind)(e,d,!0),n.Dom.isTag(e,"iframe")){const o=e;n.Dom.isHTMLElement(e.parentNode)&&(0,a.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(t=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,a.attr)(t,"style",(0,a.attr)(e,"style")),(0,a.css)(t,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),this.j.e.on(t,"click",(()=>{(0,a.attr)(t,"data-jodit-wrapper_active",!0)})),e=t),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",(()=>{this.j.s.select(e)})).off(e,"changesize").on(e,"changesize",(()=>{o.setAttribute("width",e.offsetWidth+"px"),o.setAttribute("height",e.offsetHeight+"px")}))}this.j.e.on(e,"dragstart",this.hide)}showSizeViewer(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${e} x ${t}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,a.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=""+(0,a.css)(this.j.container,"zIndex")),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,n.Dom.safeRemove(this.rect),(0,a.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((e=>(0,a.attr)(e,"data-jodit-wrapper_active",!1))))}beforeDestruct(e){this.hide(),l.eventEmitter.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}}(0,r.__decorate)([(0,c.watch)(":click")],u.prototype,"onEditorClick",null),(0,r.__decorate)([c.autobind],u.prototype,"onStartResizing",null),(0,r.__decorate)([c.autobind],u.prototype,"onEndResizing",null),(0,r.__decorate)([c.autobind],u.prototype,"onResize",null),(0,r.__decorate)([c.autobind],u.prototype,"onKeyDown",null),(0,r.__decorate)([c.autobind],u.prototype,"onKeyUp",null),(0,r.__decorate)([c.autobind],u.prototype,"onClickOutside",null),(0,r.__decorate)([(0,c.debounce)()],u.prototype,"onChangeEditor",null),(0,r.__decorate)([c.autobind],u.prototype,"bind",null),(0,r.__decorate)([c.autobind],u.prototype,"hide",null),l.pluginSystem.add("resizer",u)},65623(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.useSearch=!0,r.Config.prototype.search={lazyIdleTimeout:0},i.Icon.set("search",o(41197)),r.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec(e,t,o){var r=o.control;switch(r.args&&r.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(e,t,o)=>o}},81023(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(52400),t),r.__exportStar(o(21959),t)},52400(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SentenceFinder=void 0;var r=o(20255),i=o(9470),n=function(){function e(e){void 0===e&&(e=i.fuzzySearchIndex),this.searchIndex=e,this.queue=[],this.value=""}return e.prototype.add=function(e){var t,o=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(o.length){var r=this.value.length;this.queue.push({startIndex:r,endIndex:r+o.length,node:e}),this.value+=o}},e.prototype.ranges=function(e,t){var o;void 0===t&&(t=0);var i=[],n=t,a=0,s=0;do{if(a=(o=r.__read(this.searchIndex(e,this.value,n),2))[1],-1!==(n=o[0])){for(var l=void 0,c=0,d=void 0,u=0,p=s;this.queue.length>p;p+=1)if(!l&&this.queue[p].endIndex>n&&(l=this.queue[p].node,c=n-this.queue[p].startIndex),l&&this.queue[p].endIndex>=n+a){d=this.queue[p].node,u=n+a-this.queue[p].startIndex,s=p;break}l&&d&&i.push({startContainer:l,startOffset:c,endContainer:d,endOffset:u}),n+=a}}while(-1!==n);return 0===i.length?null:i},e}();t.SentenceFinder=n},21959(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSelectionWrapper=t.clearSelectionWrappersFromHTML=t.clearSelectionWrappers=t.getSelectionWrappers=t.wrapRangesTextsInTmpSpan=void 0;var r=o(20255),i=o(94522),n=o(78191),a="jd-tmp-selection";function s(e){return(0,n.$$)("[jd-tmp-selection]",e)}function l(e){return i.Dom.isElement(e)&&e.hasAttribute(a)}t.wrapRangesTextsInTmpSpan=(e,t,o,n)=>{var s,c,d;if(null!=e.startContainer.nodeValue&&null!=e.endContainer.nodeValue){var u=o.element("span",((s={})[a]=!0,s)),p=e.startContainer.nodeValue,h=0;if(0!==e.startOffset){var f=o.text(p.substring(0,e.startOffset));e.startContainer.nodeValue=p.substring(e.startOffset),i.Dom.before(e.startContainer,f),e.startContainer===e.endContainer&&(e.endOffset-=h=e.startOffset),e.startOffset=0}var m=e.endContainer.nodeValue;if(e.endOffset!==m.length){f=o.text(m.substring(e.endOffset)),e.endContainer.nodeValue=m.substring(0,e.endOffset),i.Dom.after(e.endContainer,f);try{for(var v=r.__values(t),g=v.next();!g.done;g=v.next()){var y=g.value;if(y.startContainer!==e.endContainer)break;y.startContainer=f,y.startOffset=y.startOffset-e.endOffset-h,y.endContainer===e.endContainer&&(y.endContainer=f,y.endOffset=y.endOffset-e.endOffset-h)}}catch(e){c={error:e}}finally{try{g&&!g.done&&(d=v.return)&&d.call(v)}finally{if(c)throw c.error}}e.endOffset=e.endContainer.nodeValue.length}var b=e.startContainer;do{if(!b)break;if(i.Dom.isText(b)&&!l(b.parentNode)&&i.Dom.wrap(b,u.cloneNode(),o),b===e.endContainer)break;var _=b.firstChild||b.nextSibling;if(!_){for(;b&&!b.nextSibling&&b!==n;)b=b.parentNode;_=null==b?void 0:b.nextSibling}b=_}while(b&&b!==n)}},t.getSelectionWrappers=s,t.clearSelectionWrappers=e=>{s(e).forEach((e=>i.Dom.unwrap(e)))},t.clearSelectionWrappersFromHTML=e=>e.replace(RegExp("]+jd-tmp-selection[^>]+>(.*?)","g"),"$1"),t.isSelectionWrapper=l},93825(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.search=void 0;var r=o(20255),i=o(94522),n=o(35570),a=o(9901),s=o(21292),l=o(92654),c=o(58299),d=o(81023);o(65623);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"find",group:"search"}],t.previousQuery="",t.drawPromise=null,t.walker=null,t.walkerCount=null,t.cache={},t.wrapFrameRequest=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"ui",{get(){return new s.UISearch(this.j)},enumerable:!1,configurable:!0}),t.prototype.updateCounters=function(){return r.__awaiter(this,void 0,Promise,(function(){var e;return r.__generator(this,(function(t){switch(t.label){case 0:return this.ui.isOpened?(e=this.ui,[4,this.calcCounts(this.ui.query)]):[2];case 1:return e.count=t.sent(),[2]}}))}))},t.prototype.onPressReplaceButton=function(){this.findAndReplace(this.ui.query),this.updateCounters()},t.prototype.tryScrollToElement=function(e){var t=i.Dom.closest(e,i.Dom.isElement,this.j.editor);t||(t=i.Dom.prev(e,i.Dom.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,l.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)},t.prototype.calcCounts=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return this.walkerCount&&this.walkerCount.break(),this.walkerCount=new i.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),[4,this.find(this.walkerCount,e).catch((()=>[]))];case 1:return[2,t.sent().length]}}))}))},t.prototype.findAndReplace=function(e){return r.__awaiter(this,void 0,Promise,(function(){var t,o,n,a,s,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new i.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),t=this.j.s.range,[4,this.find(this.walker,e).catch((()=>[]))];case 1:if(o=r.sent(),-1===(n=this.findCurrentIndexInRanges(o,t))&&(n=0),a=o[n]){try{(s=this.j.ed.createRange()).setStart(a.startContainer,a.startOffset),s.setEnd(a.endContainer,a.endOffset),s.deleteContents(),l=this.j.createInside.text(this.ui.replace),i.Dom.safeInsertNode(s,l),this.j.s.select(l),this.tryScrollToElement(l),this.cache={},this.j.synchronizeValues()}catch(e){}return this.j.e.fire("afterFindAndReplace"),[2,!0]}return[2,!1]}}))}))},t.prototype.findAndSelect=function(e,t){var o;return r.__awaiter(this,void 0,Promise,(function(){var n,a,s,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new i.LazyWalker(this.j.async,{timeout:this.j.defaultTimeout}),[4,this.find(this.walker,e)];case 1:if(!(n=r.sent()).length)return[2,!1];if(this.previousQuery===e&&(0,d.getSelectionWrappers)(this.j.editor).length||(null===(o=this.drawPromise)||void 0===o||o.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,d.clearSelectionWrappers)(this.j.editor),this.drawPromise=this.drawSelectionRanges(n)),this.previousQuery=e,this.ui.currentIndex=(a=-1==(a=this.ui.currentIndex-1)?0:t?a===n.length-1?0:a+1:0===a?n.length-1:a-1)+1,!(s=n[a]))return[3,4];l=this.j.ed.createRange();try{l.setStart(s.startContainer,s.startOffset),l.setEnd(s.endContainer,s.endOffset),this.j.s.selectRange(l)}catch(e){}return this.tryScrollToElement(s.startContainer),[4,this.updateCounters()];case 2:return r.sent(),[4,this.drawPromise];case 3:return r.sent(),this.j.e.fire("afterFindAndSelect"),[2,!0];case 4:return[2,!1]}}))}))},t.prototype.findCurrentIndexInRanges=(e,t)=>e.findIndex((e=>e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset)),t.prototype.isValidCache=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(t=>{switch(t.label){case 0:return[4,e];case 1:return[2,t.sent().every((e=>{var t,o,r,i;return e.startContainer.isConnected&&e.startOffset<=(null!==(o=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==o?o:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(i=null===(r=e.endContainer.nodeValue)||void 0===r?void 0:r.length)&&void 0!==i?i:0)}))]}}))}))},t.prototype.find=function(e,t){return r.__awaiter(this,void 0,Promise,(function(){var o,n,a,s=this;return r.__generator(this,(function(r){switch(r.label){case 0:return t.length?(n=o=this.cache[t])?[4,this.isValidCache(o)]:[3,2]:[2,[]];case 1:n=r.sent(),r.label=2;case 2:return n?[2,o]:(a=new d.SentenceFinder(this.j.o.search.fuzzySearch),this.cache[t]=this.j.async.promise((o=>{e.on("break",(()=>{o([])})).on("visit",(e=>(i.Dom.isText(e)&&a.add(e),!1))).on("end",(()=>{var e;o(null!==(e=a.ranges(t))&&void 0!==e?e:[])})).setWork(s.j.editor)})),[2,this.cache[t]])}}))}))},t.prototype.drawSelectionRanges=function(e){var t=this,o=this.j,i=o.async,n=o.createInside,a=o.editor;i.cancelAnimationFrame(this.wrapFrameRequest);var s,l=r.__spreadArray([],r.__read(e),!1),c=0;return i.promise((e=>{var o=()=>{do{(s=l.shift())&&(0,d.wrapRangesTextsInTmpSpan)(s,l,n,a),c+=1}while(s&&5>=c);l.length?t.wrapFrameRequest=i.requestAnimationFrame(o):e()};o()}))},t.prototype.onAfterGetValueFromEditor=e=>{e.value=(0,d.clearSelectionWrappersFromHTML)(e.value)},t.prototype.afterInit=function(e){var t=this;if(e.o.useSearch){var o=this;e.e.on("beforeSetMode.search",(()=>{t.ui.close()})).on(this.ui,"afterClose",(()=>{(0,d.clearSelectionWrappers)(e.editor),t.ui.currentIndex=0,t.ui.count=0,t.cache={}})).on("click",(()=>{t.ui.currentIndex=0,(0,d.clearSelectionWrappers)(e.editor)})).on("change.search",(()=>{t.cache={}})).on("keydown.search mousedown.search",e.async.debounce((()=>{t.ui.selInfo&&(e.s.removeMarkers(),t.ui.selInfo=null),t.ui.isOpened&&t.updateCounters()}),e.defaultTimeout)).on("searchNext.search searchPrevious.search",(()=>(t.ui.isOpened||t.ui.open(),o.findAndSelect(o.ui.query,"searchNext"===e.e.current).catch((()=>{}))))).on("search.search",((e,r)=>(void 0===r&&(r=!0),t.ui.currentIndex=0,o.findAndSelect(e||"",r).catch((()=>{}))))),e.registerCommand("search",{exec:(e,t,r)=>(void 0===r&&(r=!0),t&&o.findAndSelect(t,r).catch((()=>{})),!1)}).registerCommand("openSearchDialog",{exec:()=>(o.ui.open(),!1),hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:()=>(e.o.readonly||o.ui.open(!0),!1),hotkeys:["ctrl+h","cmd+h"]})}},t.prototype.beforeDestruct=function(e){this.ui.destruct(),e.e.off(".search")},r.__decorate([a.cache],t.prototype,"ui",null),r.__decorate([(0,a.watch)("ui:needUpdateCounters")],t.prototype,"updateCounters",null),r.__decorate([(0,a.watch)("ui:pressReplaceButton")],t.prototype,"onPressReplaceButton",null),r.__decorate([a.autobind],t.prototype,"findAndReplace",null),r.__decorate([a.autobind],t.prototype,"findAndSelect",null),r.__decorate([a.autobind],t.prototype,"find",null),r.__decorate([(0,a.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),t}(n.Plugin);t.search=u,c.pluginSystem.add("search",u)},21292(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISearch=void 0;var r=o(20255);o(88582);var i=o(14153),n=o(92654),a=o(10063),s=o(10063),l=o(9901),c=o(94522),d=function(e){function t(t){var o=e.call(this,t)||this;o.selInfo=null,o._currentIndex=0,o.isOpened=!1;var r=(0,n.refs)(o.container),i=r.replace,a=r.cancel,l=r.next,c=r.prev,d=r.replaceBtn,u=r.current,p=r.count;return o.queryInput=r.query,o.replaceInput=i,o.closeButton=a,o.replaceButton=d,o.currentBox=u,o.countBox=p,t.e.on(o.closeButton,"pointerdown",(()=>(o.close(),!1))).on(o.queryInput,"input",(()=>{o.currentIndex=0})).on(o.queryInput,"pointerdown",(()=>{t.s.isFocused()&&(t.s.removeMarkers(),o.selInfo=t.s.save())})).on(o.replaceButton,"pointerdown",(()=>(t.e.fire(o,"pressReplaceButton"),!1))).on(l,"pointerdown",(()=>(t.e.fire("searchNext"),!1))).on(c,"pointerdown",(()=>(t.e.fire("searchPrevious"),!1))).on(o.queryInput,"input",(()=>{o.setMod("empty-query",!(0,n.trim)(o.queryInput.value).length)})).on(o.queryInput,"keydown",o.j.async.debounce((e=>{e.key===s.KEY_ENTER?(e.preventDefault(),e.stopImmediatePropagation(),t.e.fire("searchNext")&&o.close()):t.e.fire(o,"needUpdateCounters")}),o.j.defaultTimeout)),o}return r.__extends(t,e),t.prototype.className=()=>"UISearch",t.prototype.render=()=>'
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t0/0\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
'),Object.defineProperty(t.prototype,"currentIndex",{get(){return this._currentIndex},set(e){this._currentIndex=e,this.currentBox.innerText=""+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{set(e){this.countBox.innerText=""+e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"query",{get(){return this.queryInput.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"replace",{get(){return this.replaceInput.value},enumerable:!1,configurable:!0}),t.prototype.onEditorKeyDown=function(e){if(this.isOpened){var t=this.j;if(t.getRealMode()===a.MODE_WYSIWYG)switch(e.key){case s.KEY_ESC:this.close();break;case s.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}},t.prototype.open=function(e){void 0===e&&(e=!1),this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",e);var t=""+(this.j.s.sel||"");t&&(this.queryInput.value=t),this.setMod("empty-query",!t.length),this.j.e.fire(this,"needUpdateCounters"),t?this.queryInput.select():this.queryInput.focus()},t.prototype.close=function(){this.isOpened&&(this.j.s.restore(),c.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))},t.prototype.calcSticky=function(e){if(this.isOpened)if(this.setMod("sticky",e),e){var t=(0,n.position)(this.j.toolbarContainer);(0,n.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,n.css)(this.container,{top:null,left:null})},r.__decorate([(0,l.watch)([":keydown","queryInput:keydown"])],t.prototype,"onEditorKeyDown",null),r.__decorate([l.autobind],t.prototype,"open",null),r.__decorate([l.autobind],t.prototype,"close",null),r.__decorate([(0,l.watch)(":toggleSticky")],t.prototype,"calcSticky",null),r.__decorate([l.component],t)}(i.UIElement);t.UISearch=d},62388(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tableAllowCellSelection=!0},95571(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectCells=void 0;var r=o(20255),i=o(35570),n=o(46701),a=o(43887),s=o(92654),l=o(10063),c=o(9901),d=o(58299);o(62388);var u="table_processor_observer",p="onMoveTableSelectCell",h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["select"],t.selectedCell=null,t.isSelectionMode=!1,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",(e=>{e.key===l.KEY_TAB&&t.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((e=>e+".select-cells")).join(" "),this.onStartSelection).on("clickTr clickTbody",(()=>{var e,o=t.module.getAllSelectedCells().length;if(o)return o>1&&(null===(e=t.j.s.sel)||void 0===e||e.removeAllRanges()),!1}))},t.prototype.onStartSelection=function(e){if(!this.j.o.readonly&&(this.unselectCells(),e!==this.j.editor)){var t=a.Dom.closest(e,"table",this.j.editor);if(e&&t)return e.firstChild||e.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=e,this.module.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,t),{label:p,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,t)),!1}},t.prototype.onOutsideClick=function(){this.selectedCell=null,this.onRemoveSelection()},t.prototype.onChange=function(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()},t.prototype.onMove=function(e,t){var o,r=this;if((!this.j.o.readonly||this.j.isLocked)&&!this.j.isLockedNotBy(u)){var i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(i){var s=a.Dom.closest(i,["td","th"],e);if(s&&this.selectedCell){s!==this.selectedCell&&this.j.lock(u),this.unselectCells();for(var l=n.Table.getSelectedBound(e,[s,this.selectedCell]),c=n.Table.formalMatrix(e),d=l[0][0];l[1][0]>=d;d+=1)for(var p=l[0][1];l[1][1]>=p;p+=1)this.module.addSelection(c[d][p]);var h;this.module.getAllSelectedCells().length>1&&(null===(o=this.j.s.sel)||void 0===o||o.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),h=r.j.createInside.fromHTML('
 
'),s.appendChild(h),r.j.async.setTimeout((()=>{var e;null===(e=h.parentNode)||void 0===e||e.removeChild(h)}),r.j.defaultTimeout/5)}}}},t.prototype.onRemoveSelection=function(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null},t.prototype.onStopSelection=function(e,t){var o=this;if(this.selectedCell){this.isSelectionMode=!1,this.j.unlock();var r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(r){var i=a.Dom.closest(r,["td","th"],e);if(i){var l=a.Dom.closest(i,"table",e);if(!l||l===e){var c=n.Table.getSelectedBound(e,[i,this.selectedCell]),d=n.Table.formalMatrix(e),u=d[c[1][0]][c[1][1]],h=d[c[0][0]][c[0][1]];this.j.e.fire("showPopup",e,(()=>{var e=(0,s.position)(h,o.j),t=(0,s.position)(u,o.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),"cells"),(0,s.$$)("table",this.j.editor).forEach((e=>{o.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(p)}}}}},t.prototype.unselectCells=function(e){var t=this.module,o=t.getAllSelectedCells();o.length&&o.forEach((o=>{e&&e===o||t.removeSelection(o)}))},t.prototype.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var t=this.module.getAllSelectedCells();if(t.length){var o=r.__read(t,1)[0];if(!o)return;var i=a.Dom.closest(o,"table",this.j.editor);if(!i)return;switch(e){case"splitv":n.Table.splitVertical(i,this.j);break;case"splitg":n.Table.splitHorizontal(i,this.j);break;case"merge":n.Table.mergeSelected(i,this.j);break;case"empty":t.forEach((e=>a.Dom.detach(e)));break;case"bin":a.Dom.safeRemove(i);break;case"binrow":new Set(t.map((e=>e.parentNode))).forEach((e=>{n.Table.removeRow(i,e.rowIndex)}));break;case"bincolumn":var s=new Set;t.reduce(((e,t)=>(s.has(t.cellIndex)||(e.push(t),s.add(t.cellIndex)),e)),[]).forEach((e=>{n.Table.removeColumn(i,e.cellIndex)}));break;case"addcolumnafter":case"addcolumnbefore":n.Table.appendColumn(i,o.cellIndex,"addcolumnafter"===e,this.j.createInside);break;case"addrowafter":case"addrowbefore":n.Table.appendRow(i,o.parentNode,"addrowafter"===e,this.j.createInside)}}return!1}},t.prototype.onAfterCommand=function(e){/^justify/.test(e)&&this.module.getAllSelectedCells().forEach((t=>(0,s.alignElement)(e,t)))},t.prototype.beforeDestruct=function(e){this.onRemoveSelection(),e.e.off(".select-cells")},r.__decorate([c.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,c.watch)(":outsideClick")],t.prototype,"onOutsideClick",null),r.__decorate([(0,c.watch)(":change")],t.prototype,"onChange",null),r.__decorate([c.autobind],t.prototype,"onRemoveSelection",null),r.__decorate([c.autobind],t.prototype,"onStopSelection",null),r.__decorate([c.autobind],t.prototype,"onExecCommand",null),r.__decorate([c.autobind],t.prototype,"onAfterCommand",null),t}(i.Plugin);t.selectCells=h,d.pluginSystem.add("selectCells",h)},83128(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1}},68396(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.select=void 0;var r=o(20255),i=o(35570),n=o(9901),a=o(23912),s=o(43887),l=o(14153),c=o(58299);o(83128);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"],t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;this.proxyEventsList.forEach((o=>{e.e.on(o+".select",t.onStartSelection)}))},t.prototype.beforeDestruct=function(e){var t=this;this.proxyEventsList.forEach((o=>{e.e.on(o+".select",t.onStartSelection)}))},t.prototype.onStartSelection=function(e){for(var t,o=this.j,r=e.target;void 0===t&&r&&r!==o.editor;)t=o.e.fire((0,a.camelCase)(e.type+"_"+r.nodeName.toLowerCase()),r,e),r=r.parentElement;"click"===e.type&&void 0===t&&r===o.editor&&o.e.fire(e.type+"Editor",r,e)},t.prototype.onOutsideClick=function(e){var t=this,o=e.target;s.Dom.up(o,(e=>e===t.j.editor))||l.UIElement.closestElement(o,l.Popup)||this.j.e.fire("outsideClick",e)},t.prototype.beforeCommandCut=function(e){var t=this.j.s;if("cut"===e&&!t.isCollapsed()){var o=t.current();o&&s.Dom.isOrContains(this.j.editor,o)&&this.onCopyNormalizeSelectionBound()}},t.prototype.onCopyNormalizeSelectionBound=function(e){var t=this.j,o=t.editor;t.o.select.normalizeSelectionBeforeCutAndCopy&&!t.s.isCollapsed()&&(!e||e.isTrusted&&s.Dom.isNode(e.target)&&s.Dom.isOrContains(o,e.target))&&this.jodit.s.expandSelection()},r.__decorate([n.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,n.watch)("ow:click")],t.prototype,"onOutsideClick",null),r.__decorate([(0,n.watch)([":beforeCommand"])],t.prototype,"beforeCommandCut",null),r.__decorate([(0,n.watch)([":copy",":cut"])],t.prototype,"onCopyNormalizeSelectionBound",null),t}(i.Plugin);t.select=d,c.pluginSystem.add("select",d)},73893(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.minWidth=200,r.Config.prototype.maxWidth="100%",r.Config.prototype.minHeight=200,r.Config.prototype.maxHeight="auto",r.Config.prototype.saveHeightInStorage=!1},41014(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.size=void 0;var r=o(20255);o(30962);var i=o(92654),n=o(73177),a=o(9901),s=o(58299);o(73893);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizeWorkspaces=t.j.async.debounce(t.resizeWorkspaceImd,t.j.defaultTimeout,!0),t}return r.__extends(t,e),t.prototype.afterInit=function(e){e.e.on("setHeight.size",this.setHeight).on("setWidth.size",this.setWidth).on("afterInit.size changePlace.size",this.initialize,{top:!0}).on(e.ow,"load.size",this.resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.resizeWorkspaceImd),this.initialize()},t.prototype.initialize=function(){var e=this.j;if(!e.o.inline){var t=e.o.height;if(e.o.saveHeightInStorage&&"auto"!==t){var o=e.storage.get("height");o&&(t=o)}(0,i.css)(e.editor,{minHeight:"100%"}),(0,i.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),this.setHeight(t),this.setWidth(e.o.width)}},t.prototype.setHeight=function(e){if((0,i.isNumber)(e)){var t=this.j.o,o=t.minHeight,r=t.maxHeight;(0,i.isNumber)(o)&&o>e&&(e=o),(0,i.isNumber)(r)&&e>r&&(e=r)}(0,i.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.resizeWorkspaceImd()},t.prototype.setWidth=function(e){if((0,i.isNumber)(e)){var t=this.j.o,o=t.minWidth,r=t.maxWidth;(0,i.isNumber)(o)&&o>e&&(e=o),(0,i.isNumber)(r)&&e>r&&(e=r)}(0,i.css)(this.j.container,"width",e),this.resizeWorkspaceImd()},t.prototype.getNotWorkHeight=function(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2},t.prototype.resizeWorkspaceImd=function(){if(this.j&&!this.j.isDestructed&&this.j.o&&!this.j.o.inline&&this.j.container&&this.j.container.parentNode){var e=((0,i.css)(this.j.container,"minHeight")||0)-this.getNotWorkHeight();if((0,i.isNumber)(e)&&e>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,i.css)(t,"minHeight",e)})),this.j.e.fire("setMinHeight",e)),(0,i.isNumber)(this.j.o.maxHeight)){var t=this.j.o.maxHeight-this.getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((e=>{e&&(0,i.css)(e,"maxHeight",t)})),this.j.e.fire("setMaxHeight",t)}this.j.container&&(0,i.css)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.getNotWorkHeight():"auto")}},t.prototype.beforeDestruct=function(e){e.e.off(e.ow,"load.size",this.resizeWorkspaces).off(".size")},r.__decorate([a.autobind],t.prototype,"resizeWorkspaceImd",null),r.__decorate([a.autobind],t)}(n.Plugin);t.size=l,s.pluginSystem.add("size",l)},24090(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(10063),n=o(76381);r.Config.prototype.beautifyHTML=!i.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],n.Icon.set("source",o(9342)),r.Config.prototype.controls.source={mode:i.MODE_SPLIT,exec(e){e.toggleMode()},isActive:e=>e.getRealMode()===i.MODE_SOURCE,tooltip:"Change mode"}},97969(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AceEditor=void 0;var r=o(20255),i=o(10063),n=o(92654),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.className="jodit_ace_editor",t.proxyOnBlur=e=>{t.j.e.fire("blur",e)},t.proxyOnFocus=e=>{t.j.e.fire("focus",e)},t.proxyOnMouseDown=e=>{t.j.e.fire("mousedown",e)},t}return r.__extends(t,e),t.prototype.aceExists=function(){return void 0!==this.j.ow.ace},t.prototype.getLastColumnIndex=function(e){return this.instance.session.getLine(e).length},t.prototype.getLastColumnIndices=function(){for(var e=this.instance.session.getLength(),t=[],o=0,r=0;e>r;r++)o+=this.getLastColumnIndex(r),r>0&&(o+=1),t[r]=o;return t},t.prototype.getRowColumnIndices=function(e){var t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};for(var o=1,r=1;t.length>r;r++)e>t[r]&&(o=r+1);return{row:o,column:e-t[o-1]-1}},t.prototype.setSelectionRangeIndices=function(e,t){var o=this.getRowColumnIndices(e),r=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:o,end:r})},t.prototype.getIndexByRowColumn=function(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t},t.prototype.init=function(e){var t=this,o=()=>{if(void 0===t.instance&&t.aceExists()){var o=t.j.c.div("jodit-source__mirror-fake");t.container.appendChild(o),t.instance=e.ow.ace.edit(o),t.instance.setTheme(e.o.sourceEditorNativeOptions.theme),t.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),t.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),t.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),t.instance.getSession().setUseWrapMode(!0),t.instance.setOption("indentedSoftWrap",!1),t.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),t.instance.getSession().setUseWorker(!1),t.instance.$blockScrolling=1/0,t.instance.on("change",t.toWYSIWYG),t.instance.on("focus",t.proxyOnFocus),t.instance.on("mousedown",t.proxyOnMouseDown),t.instance.on("blur",t.proxyOnBlur),e.getRealMode()!==i.MODE_WYSIWYG&&t.setValue(t.getValue());var r=t.j.async.debounce((()=>{e.isInDestruct||(t.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/t.instance.renderer.lineHeight:1/0),t.instance.resize())}),2*t.j.defaultTimeout);e.e.on("afterResize afterSetMode",r),r(),t.onReady()}};e.e.on("afterSetMode",(()=>{e.getRealMode()!==i.MODE_SOURCE&&e.getMode()!==i.MODE_SPLIT||(t.fromWYSIWYG(),o())})),o(),this.aceExists()||(0,n.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then((()=>{e.isInDestruct||o()})).catch((()=>null))},t.prototype.destruct=function(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")},t.prototype.setValue=function(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var t=this.j.e.fire("beautifyHTML",e);(0,n.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()},t.prototype.getValue=function(){return this.instance.getValue()},t.prototype.setReadOnly=function(e){this.instance.setReadOnly(e)},Object.defineProperty(t.prototype,"isFocused",{get(){return this.instance.isFocused()},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.getSelectionStart=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)},t.prototype.getSelectionEnd=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)},t.prototype.selectAll=function(){this.instance.selection.selectAll()},t.prototype.insertRaw=function(e){var t=this.instance.selection.getCursor(),o=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:o},!1)},t.prototype.setSelectionRange=function(e,t){this.setSelectionRangeIndices(e,t)},t.prototype.setPlaceHolder=e=>{},t.prototype.replaceUndoManager=function(){var e=this.jodit.history;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})},t}(o(73350).SourceEditor);t.AceEditor=a},26212(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextAreaEditor=void 0;var r=o(20255),i=o(56672),n=o(43887),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.autosize=t.j.async.debounce((()=>{t.instance.style.height="auto",t.instance.style.height=t.instance.scrollHeight+"px"}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.init=function(e){var t=this;this.instance=e.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",(e=>{(0,i.css)(t.instance,"minHeight",e)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(t=>{e.e.fire(t.type,t)})),this.autosize(),this.onReady()},t.prototype.destruct=function(){n.Dom.safeRemove(this.instance)},t.prototype.getValue=function(){return this.instance.value},t.prototype.setValue=function(e){this.instance.value=e},t.prototype.insertRaw=function(e){var t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{var o=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(t.substring(0,o)+e+t.substring(r,t.length))}},t.prototype.getSelectionStart=function(){return this.instance.selectionStart},t.prototype.getSelectionEnd=function(){return this.instance.selectionEnd},t.prototype.setSelectionRange=function(e,t){void 0===t&&(t=e),this.instance.setSelectionRange(e,t)},Object.defineProperty(t.prototype,"isFocused",{get(){return this.instance===this.j.od.activeElement},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.setPlaceHolder=function(e){this.instance.setAttribute("placeholder",e)},t.prototype.setReadOnly=function(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")},t.prototype.selectAll=function(){this.instance.select()},t.prototype.replaceUndoManager=function(){var e=this,t=this.jodit.history;this.j.e.on(this.instance,"keydown",(o=>{if((o.ctrlKey||o.metaKey)&&"z"===o.key)return o.shiftKey?t.redo():t.undo(),e.setSelectionRange(e.getValue().length),!1}))},t}(o(73350).SourceEditor);t.TextAreaEditor=a},85910(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);r.__exportStar(o(26212),t),r.__exportStar(o(97969),t)},65023(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSourceEditor=void 0;var r=o(92654),i=o(85910);t.createSourceEditor=(e,t,o,n,a)=>{var s;if((0,r.isFunction)(e))s=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){s=new i.AceEditor(t,o,n,a);break}default:s=new i.TextAreaEditor(t,o,n,a)}return s.init(t),s.onReadyAlways((()=>{s.setReadOnly(t.o.readonly)})),s}},73350(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceEditor=void 0;var o=function(){function e(e,t,o,r){this.jodit=e,this.container=t,this.toWYSIWYG=o,this.fromWYSIWYG=r,this.className="",this.isReady=!1}return Object.defineProperty(e.prototype,"j",{get(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.onReady=function(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")},e.prototype.onReadyAlways=function(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)},e}();t.SourceEditor=o},35448(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.source=void 0;var r=o(20255);o(68197);var i=o(10063),n=o(10063),a=o(35570),s=o(43887),l=o(92654),c=o(9901),d=o(58299),u=o(65023);o(24090);var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"source",group:"source"}],t.__lock=!1,t.__oldMirrorValue="",t.tempMarkerStart="{start-jodit-selection}",t.tempMarkerStartReg=/{start-jodit-selection}/g,t.tempMarkerEnd="{end-jodit-selection}",t.tempMarkerEndReg=/{end-jodit-selection}/g,t.getSelectionStart=()=>{var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionStart())&&void 0!==o?o:0},t.getSelectionEnd=()=>{var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==o?o:0},t}return r.__extends(t,e),t.prototype.onInsertHTML=function(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1},t.prototype.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!this.__lock||!0===e){this.__lock=!0;var t=this.j.getEditorValue(!1,n.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}},t.prototype.toWYSIWYG=function(){if(!this.__lock){var e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}},t.prototype.getNormalPosition=(e,t)=>{for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(e=>{for(var t="",o=0;e.length>o;o+=1)t+=n.INVISIBLE_SPACE;return t}));e>0&&t[e]===n.INVISIBLE_SPACE;)e--;for(var o=e;o>0;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w/]+/i))return o;if(">"===t[o])return e}return e},t.prototype.clnInv=e=>e.replace(i.INVISIBLE_SPACE_REG_EXP(),""),t.prototype.onSelectAll=function(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===n.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1},t.prototype.getMirrorValue=function(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""},t.prototype.setMirrorValue=function(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)},t.prototype.setFocusToMirror=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()},t.prototype.saveSelection=function(){if(this.j.getRealMode()===i.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;var e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){var t=this.j.s.marker(!0),o=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substr(0,o)+this.clnInv(t.outerHTML)+e.substr(o))}else{var r=this.j.s.marker(!0),n=this.j.s.marker(!1),a=(o=this.getNormalPosition(this.getSelectionStart(),e),this.getNormalPosition(this.getSelectionEnd(),e));this.setMirrorValue(e.substr(0,o)+this.clnInv(r.outerHTML)+e.substr(o,a-o)+this.clnInv(n.outerHTML)+e.substr(a))}this.toWYSIWYG()}},t.prototype.removeSelection=function(){if(this.j.getRealMode()===i.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);var e=this.getMirrorValue(),t=0,o=0;try{if(e=e.replace(/]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var r=this.j.e.fire("beautifyHTML",e);(0,l.isString)(r)&&(e=r)}if(o=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){var n=e.indexOf(this.tempMarkerEnd);-1!==n&&(o=n)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,o),this.toWYSIWYG(),this.setFocusToMirror()},t.prototype.setMirrorSelectionRange=function(e,t){var o;null===(o=this.sourceEditor)||void 0===o||o.setSelectionRange(e,t)},t.prototype.onReadonlyReact=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)},t.prototype.afterInit=function(e){var t=this;if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",(()=>{e.workplace.appendChild(t.mirrorContainer)})),this.sourceEditor=(0,u.createSourceEditor)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",(e=>{var o;e.key===n.KEY_ESC&&(null===(o=t.sourceEditor)||void 0===o?void 0:o.isFocused)&&t.sourceEditor.blur()})),this.onReadonlyReact(),e.e.on("placeholder.source",(e=>{var o;null===(o=t.sourceEditor)||void 0===o||o.setPlaceHolder(e)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(e=>e)),e.o.beautifyHTML){var o=()=>{var t,o=e.ow.html_beautify;return!(!o||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",(e=>o(e))),0))};o()||(0,l.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(o)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)},t.prototype.syncValueFromWYSIWYG=function(e){void 0===e&&(e=!1);var t=this.j;t.getMode()!==n.MODE_SPLIT&&t.getMode()!==n.MODE_SOURCE||this.fromWYSIWYG(e)},t.prototype.initSourceEditor=function(e){var t,o=this;if("area"!==e.o.sourceEditor){var r=(0,u.createSourceEditor)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);r.onReadyAlways((()=>{var t,i;null===(t=o.sourceEditor)||void 0===t||t.destruct(),o.sourceEditor=r,o.syncValueFromWYSIWYG(!0),null===(i=e.events)||void 0===i||i.fire("sourceEditorReady",e)}))}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways((()=>{var t;o.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)}))},t.prototype.beforeDestruct=function(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),s.Dom.safeRemove(this.mirrorContainer)},r.__decorate([(0,c.watch)(":insertHTML.source")],t.prototype,"onInsertHTML",null),r.__decorate([c.autobind],t.prototype,"fromWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"toWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"getNormalPosition",null),r.__decorate([(0,c.watch)(":beforeCommand.source")],t.prototype,"onSelectAll",null),r.__decorate([(0,c.watch)(":beforeSetMode.source")],t.prototype,"saveSelection",null),r.__decorate([(0,c.watch)(":afterSetMode.source")],t.prototype,"removeSelection",null),r.__decorate([c.autobind],t.prototype,"setMirrorSelectionRange",null),r.__decorate([(0,c.watch)(":readonly.source")],t.prototype,"onReadonlyReact",null),r.__decorate([c.autobind],t.prototype,"syncValueFromWYSIWYG",null),t}(a.Plugin);t.source=p,d.pluginSystem.add("source",p)},24306(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.spellcheck=!1,i.Icon.set("spellcheck",o(69546)),r.Config.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:o(69546),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},48390(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=o(5586);t.ar=r;var i=o(66023);t.cs_cz=i;var n=o(65860);t.de=n;var a=o(86055);t.es=a;var s=o(50037);t.fa=s;var l=o(7118);t.fr=l;var c=o(30298);t.he=c;var d=o(52107);t.hu=d;var u=o(31240);t.id=u;var p=o(4101);t.it=p;var h=o(69286);t.ja=h;var f=o(13402);t.ko=f;var m=o(89574);t.nl=m;var v=o(63630);t.pl=v;var g=o(72212);t.pt_br=g;var y=o(82570);t.ru=y;var b=o(19323);t.tr=b;var _=o(50279);t.zh_cn=_;var w=o(98364);t.zh_tw=w},56830(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spellcheck=void 0;var r=o(20255),i=o(35570),n=o(51976),a=o(9901),s=o(58299);o(24306);var l=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{group:"state",name:"spellcheck"}],(0,s.extendLang)(o(48390)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",(()=>{t.jodit.o.spellcheck=!t.jodit.o.spellcheck,t.toggleSpellcheck(),t.j.e.fire("updateToolbar")}))},t.prototype.toggleSpellcheck=function(){(0,n.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)},t.prototype.beforeDestruct=e=>{},r.__decorate([a.autobind],t.prototype,"toggleSpellcheck",null),t}(i.Plugin);t.spellcheck=l,s.pluginSystem.add("spellcheck",l)},48692(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537);r.Config.prototype.showCharsCounter=!0,r.Config.prototype.countHTMLChars=!1,r.Config.prototype.showWordsCounter=!0},99525(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stat=void 0;var r=o(20255),i=o(10063),n=o(73177),a=o(43887),s=o(58299);o(48692);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.charCounter=null,t.wordCounter=null,t.reInit=()=>{t.j.o.showCharsCounter&&t.charCounter&&t.j.statusbar.append(t.charCounter,!0),t.j.o.showWordsCounter&&t.wordCounter&&t.j.statusbar.append(t.wordCounter,!0),t.j.e.off("change keyup",t.calc).on("change keyup",t.calc),t.calc()},t.calc=t.j.async.throttle((()=>{var e=t.j.text;if(t.j.o.showCharsCounter&&t.charCounter){var o=t.j.o.countHTMLChars?t.j.value:e.replace((0,i.SPACE_REG_EXP)(),"");t.charCounter.textContent=t.j.i18n("Chars: %d",o.length)}t.j.o.showWordsCounter&&t.wordCounter&&(t.wordCounter.textContent=t.j.i18n("Words: %d",e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter((e=>e.length)).length))}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()},t.prototype.beforeDestruct=function(){a.Dom.safeRemove(this.charCounter),a.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null},t}(n.Plugin);t.stat=l,s.pluginSystem.add("stat",l)},12577(e,t,o){"use strict";var r=o(27537);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0},52186(e,t,o){"use strict";o.r(t),o.d(t,{sticky:()=>d});var r=o(20255),i=o(10063),n=o(73177),a=o(43887),s=o(92654),l=o(9901),c=o(58299);o(12577);class d extends n.Plugin{constructor(){super(...arguments),this.isToolbarSticked=!1,this.createDummy=e=>{},this.addSticky=e=>{this.isToolbarSticked||(this.createDummy(e),this.j.container.classList.add("jodit_sticky"),this.isToolbarSticked=!0),(0,s.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2})},this.removeSticky=e=>{this.isToolbarSticked&&((0,s.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.isToolbarSticked=!1)}}afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",(()=>this.isToolbarSticked))}onScroll(){const{jodit:e}=this,t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,o=(0,s.offset)(e.container,e,e.od,!0),r=e.getMode()===i.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>o.top&&o.top+o.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.isMobile());if(e.o.toolbarSticky&&!0===e.o.toolbar&&this.isToolbarSticked!==r){const t=e.toolbarContainer;t&&(r?this.addSticky(t):this.removeSticky(t)),e.e.fire("toggleSticky",r)}}isMobile(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth}beforeDestruct(e){this.dummyBox&&a.Dom.safeRemove(this.dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")}}(0,r.__decorate)([(0,l.throttle)()],d.prototype,"onScroll",null),c.pluginSystem.add("sticky",d)},53012(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(76381);r.Config.prototype.usePopupForSpecialCharacters=!1,r.Config.prototype.specialCharacters=["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],i.Icon.set("symbols",o(43158)),r.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,o,r){var i=e.e.fire("generateSpecialCharactersTable.symbols");if(i){if(e.o.usePopupForSpecialCharacters){var n=e.c.div();return n.classList.add("jodit-symbols"),n.appendChild(i),e.e.on(i,"close_dialog",r),n}e.alert(i,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);var a=i.querySelector("a");a&&a.focus()}}}},74604(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=o(54261);t.ar=r;var i=o(60425);t.cs_cz=i;var n=o(7057);t.de=n;var a=o(48356);t.es=a;var s=o(11428);t.fa=s;var l=o(29084);t.fr=l;var c=o(22876);t.he=c;var d=o(20890);t.hu=d;var u=o(75987);t.id=u;var p=o(60379);t.it=p;var h=o(99950);t.ja=h;var f=o(60934);t.ko=f;var m=o(21994);t.nl=m;var v=o(38128);t.pl=v;var g=o(71515);t.pt_br=g;var y=o(58194);t.ru=y;var b=o(65802);t.tr=b;var _=o(86628);t.zh_cn=_;var w=o(32210);t.zh_tw=w},21112(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0;var r=o(20255);o(33393);var i=o(10063),n=o(73177),a=o(43887),s=o(73344),l=o(58299);o(53012);var c=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{name:"symbols",group:"insert"}],r.countInRow=17,(0,l.extendLang)(o(74604)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("generateSpecialCharactersTable.symbols",(function(){for(var o=e.c.fromHTML('
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
'),r=o.querySelector(".jodit-symbols__preview"),n=o.querySelector("table").tBodies[0],l=[],c=0;e.o.specialCharacters.length>c;){for(var d=e.c.element("tr"),u=0;t.countInRow>u&&e.o.specialCharacters.length>c;u+=1,c+=1){var p=e.c.element("td"),h=e.c.fromHTML('').concat(e.o.specialCharacters[c],""));l.push(h),p.appendChild(h),d.appendChild(p)}n.appendChild(d)}var f=t;return e.e.on(l,"focus",(function(){r.innerHTML=this.innerHTML})).on(l,"mousedown",(function(t){a.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(l,"mouseenter",(function(){a.Dom.isTag(this,"a")&&this.focus()})).on(l,"keydown",(t=>{var o=t.target;if(a.Dom.isTag(o,"a")){var r=parseInt((0,s.attr)(o,"-index")||"0",10),n=parseInt((0,s.attr)(o,"data-index-j")||"0",10),c=void 0;switch(t.key){case i.KEY_UP:case i.KEY_DOWN:void 0===l[c=t.key===i.KEY_UP?r-f.countInRow:r+f.countInRow]&&(c=t.key===i.KEY_UP?Math.floor(l.length/f.countInRow)*f.countInRow+n:n)>l.length-1&&(c-=f.countInRow),l[c]&&l[c].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:void 0===l[c=t.key===i.KEY_LEFT?r-1:r+1]&&(c=t.key===i.KEY_LEFT?l.length-1:0),l[c]&&l[c].focus();break;case i.KEY_ENTER:e.e.fire(o,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),o}))},t.prototype.beforeDestruct=e=>{e.e.off("generateSpecialCharactersTable.symbols")},t}(n.Plugin);t.symbols=c,l.pluginSystem.add("symbols",c)},66110(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(20255).__exportStar(o(29228),t)},29228(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onTabInsideLi=void 0;var r=o(43887);t.onTabInsideLi=e=>{if(!e.o.tab.tabInsideLiInsertNewList||!e.s.isCollapsed())return!1;var t=e.createInside.fake();e.s.insertNode(t);var o=r.Dom.closest(t,"li",e.editor);if(o&&e.s.cursorOnTheLeft(o)&&r.Dom.isTag(o.previousElementSibling,"li")){var i=r.Dom.closest(o,["ol","ul"],e.editor);if(i){var n=e.createInside.element(i.tagName),a=o.previousElementSibling;return n.appendChild(o),a.appendChild(n),e.s.setCursorAfter(t),r.Dom.safeRemove(t),!0}}return r.Dom.safeRemove(t),!1}},56163(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.tab={tabInsideLiInsertNewList:!0}},74212(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255),i=o(35570),n=o(9901),a=o(10063),s=o(58299),l=o(66110);o(56163);var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=e=>{},t.prototype.onTab=function(e){if(e.key===a.KEY_TAB&&(0,l.onTabInsideLi)(this.j))return!1},t.prototype.beforeDestruct=e=>{},r.__decorate([(0,n.watch)(":keydown.tab")],t.prototype,"onTab",null),t}(i.Plugin);s.pluginSystem.add("tab",c)},96154(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tableKeyboardNavigation=void 0;var r=o(10063),i=o(43887),n=o(28314),a=o(58299);function s(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(t=>{var o,a;if((t.key===r.KEY_TAB||t.key===r.KEY_LEFT||t.key===r.KEY_RIGHT||t.key===r.KEY_UP||t.key===r.KEY_DOWN)&&(o=e.s.current(),a=i.Dom.up(o,(e=>e&&e.nodeName&&/^td|th$/i.test(e.nodeName)),e.editor))){var s=e.s.range;if(t.key===r.KEY_TAB||o===a||(t.key!==r.KEY_LEFT&&t.key!==r.KEY_UP||!(i.Dom.prev(o,(e=>t.key===r.KEY_UP?i.Dom.isTag(e,"br"):!!e),a)||t.key!==r.KEY_UP&&i.Dom.isText(o)&&0!==s.startOffset))&&(t.key!==r.KEY_RIGHT&&t.key!==r.KEY_DOWN||!(i.Dom.next(o,(e=>t.key===r.KEY_DOWN?i.Dom.isTag(e,"br"):!!e),a)||t.key!==r.KEY_DOWN&&i.Dom.isText(o)&&o.nodeValue&&s.startOffset!==o.nodeValue.length))){var l=i.Dom.up(a,(e=>e&&/^table$/i.test(e.nodeName)),e.editor),c=null;switch(t.key){case r.KEY_TAB:case r.KEY_LEFT:var d=t.key===r.KEY_LEFT||t.shiftKey?"prev":"next";(c=i.Dom[d](a,(e=>e&&/^td|th$/i.test(e.tagName)),l))||(n.Table.appendRow(l,"next"!==d&&l.querySelector("tr"),"next"===d,e.createInside),c=i.Dom[d](a,i.Dom.isCell,l));break;case r.KEY_UP:case r.KEY_DOWN:var u=0,p=0,h=n.Table.formalMatrix(l,((e,t,o)=>{e===a&&(u=t,p=o)}));t.key===r.KEY_UP?void 0!==h[u-1]&&(c=h[u-1][p]):void 0!==h[u+1]&&(c=h[u+1][p])}if(c){if(c.firstChild)t.key===r.KEY_TAB?e.s.select(c,!0):e.s.setCursorIn(c,t.key===r.KEY_RIGHT||t.key===r.KEY_DOWN);else{var f=e.createInside.element("br");c.appendChild(f),e.s.setCursorBefore(f)}return!1}}}}))}t.tableKeyboardNavigation=s,a.pluginSystem.add("tableKeyboardNavigation",s)},62653(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(94522),n=o(73344),a=o(92654),s=o(76381);r.Config.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",o(51716)),r.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,o,r,s){for(var l=o.data&&o.data.rows?o.data.rows:10,c=o.data&&o.data.cols?o.data.cols:10,d=e.c.fromHTML('
'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";var t=[];if(o.data){var r=o.data.classList;Object.keys(r).forEach((e=>{t.push('"))}))}return t.join("")})()+'
'),u=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],h=d.querySelector(".jodit-form__container"),f=d.querySelector(".jodit-form__options"),m=[],v=l*c,g=0;v>g;g+=1)m[g]||m.push(e.c.element("span",{dataIndex:g}));if(e.e.on(h,"mousemove",((e,t)=>{var o=e.target;if(i.Dom.isTag(o,"span")){for(var r=void 0===t||isNaN(t)?parseInt((0,n.attr)(o,"-index")||"0",10):t||0,a=Math.ceil((r+1)/c),s=r%c+1,l=0;m.length>l;l+=1)m[l].className=l%c+1>s||Math.ceil((l+1)/c)>a?"":"jodit_hovered";p.textContent=""+s,u.textContent=""+a}})).on(h,"touchstart mousedown",(t=>{var o=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),i.Dom.isTag(o,"span")){var s=parseInt((0,n.attr)(o,"-index")||"0",10),l=Math.ceil((s+1)/c),d=s%c+1,u=e.createInside,p=u.element("tbody"),h=u.element("table");h.appendChild(p);for(var m,v,g=null,y=1;l>=y;y+=1){m=u.element("tr");for(var b=1;d>=b;b+=1)v=u.element("td"),g||(g=v),(0,a.css)(v,"width",(100/d).toFixed(4)+"%"),v.appendChild(u.element("br")),m.appendChild(u.text("\n")),m.appendChild(u.text("\t")),m.appendChild(v);p.appendChild(u.text("\n")),p.appendChild(m)}var _=e.s.current();if(_&&e.s.isCollapsed()){var w=i.Dom.closest(_,i.Dom.isBlock,e.editor);w&&w!==e.editor&&!w.nodeName.match(/^TD|TH|TBODY|TABLE|THEADER|TFOOTER$/)&&e.s.setCursorAfter(w)}(0,a.$$)("input[type=checkbox]:checked",f).forEach((e=>{e.value.split(/[\s]+/).forEach((e=>{h.classList.add(e)}))})),e.s.insertNode(u.text("\n")),e.s.insertNode(h,!1),g&&(e.s.setCursorIn(g),(0,a.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),r()}})),s&&s.parentElement){for(g=0;l>g;g+=1){for(var y=e.c.div(),b=0;c>b;b+=1)y.appendChild(m[g*c+b]);h.appendChild(y)}m[0]&&(m[0].className="hovered")}return d},tooltip:"Insert table"}},67122(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.table=void 0,o(51057);var r=o(58299);function i(e){e.registerButton({name:"table",group:"insert"})}o(62653),t.table=i,r.pluginSystem.add("table",i)},85098(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);o(14351);var i=o(92654),n=o(35570),a=o(94522),s=o(58299),l=o(9901),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isOpened=!1,t.delayShowTimeout=0,t}return r.__extends(t,e),t.prototype.afterInit=function(e){var o=this;this.container=e.c.div("jodit-tooltip"),(0,s.getContainer)(this.j,t).appendChild(this.container);var r=0;e.e.off(".tooltip").on("showTooltip.tooltip",((t,i)=>{e.async.clearTimeout(r),o.open(t,i)})).on("delayShowTooltip.tooltip",this.delayOpen).on("escape.tooltip",this.close).on("hideTooltip.tooltip change.tooltip scroll.tooltip changePlace.tooltip hidePopup.tooltip closeAllPopups.tooltip",(()=>{o.j.async.clearTimeout(o.delayShowTimeout),r=e.async.setTimeout(o.close,o.j.defaultTimeout)}))},t.prototype.delayOpen=function(e,t){var o=this,r=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.delayShowTimeout),this.delayShowTimeout=this.j.async.setTimeout((()=>o.open(e,t)),{timeout:r,label:"tooltip"})},t.prototype.open=function(e,t){this.container.classList.add("jodit-tooltip_visible"),this.container.innerHTML=t,this.isOpened=!0,this.setPosition(e)},t.prototype.setPosition=function(e){var t=e();(0,i.css)(this.container,{left:t.x,top:t.y})},t.prototype.close=function(){this.j.async.clearTimeout(this.delayShowTimeout),this.isOpened&&(this.isOpened=!1,this.container.classList.remove("jodit-tooltip_visible"),(0,i.css)(this.container,{left:-5e3}))},t.prototype.beforeDestruct=function(e){null==e||e.e.off(".tooltip"),this.close(),a.Dom.safeRemove(this.container)},r.__decorate([l.autobind],t.prototype,"delayOpen",null),r.__decorate([l.autobind],t.prototype,"close",null),t}(n.Plugin);s.pluginSystem.add("tooltip",c)},58991(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(27537),i=o(4188),n=o(92654),a=o(18733),s=o(44632);o(76381).Icon.set("video",o(49222)),r.Config.prototype.controls.video={popup(e,t,o,r){var l=new a.UIForm(e,[new a.UIBlock(e,[new a.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new a.UIBlock(e,[(0,s.Button)(e,"","Insert","primary").onAction((()=>l.submit()))])]),c=new a.UIForm(e,[new a.UIBlock(e,[new a.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new a.UIBlock(e,[(0,s.Button)(e,"","Insert","primary").onAction((()=>c.submit()))])]),d=[],u=t=>{e.s.restore(),e.s.insertHTML(t),r()};return e.s.save(),d.push({icon:"link",name:"Link",content:l.container},{icon:"source",name:"Code",content:c.container}),l.onSubmit((e=>{u((0,n.convertMediaUrlToVideoEmbed)(e.url))})),c.onSubmit((e=>{u(e.code)})),(0,i.TabsWidget)(e,d)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},82887(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(58299);o(58991),r.pluginSystem.add("video",(e=>{e.registerButton({name:"video",group:"media"})}))},21189(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.wrapNodes={exclude:["hr","style","br"]}},37455(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255),i=o(35570),n=o(94522),a=o(40607),s=o(9901),l=o(58299);o(21189);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSuitableStart=e=>n.Dom.isText(e)&&(0,a.isString)(e.nodeValue)&&/[^\s]/.test(e.nodeValue)||t.isNotClosed(e)&&!n.Dom.isTemporary(e),t.isSuitable=e=>n.Dom.isText(e)||t.isNotClosed(e),t.isNotClosed=e=>n.Dom.isElement(e)&&!(n.Dom.isBlock(e)||n.Dom.isTag(e,t.j.o.wrapNodes.exclude)),t}return r.__extends(t,e),t.prototype.afterInit=function(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)},t.prototype.beforeDestruct=e=>{e.e.off(".wtn")},t.prototype.postProcessSetEditorValue=function(){var e=this.jodit;if(e.isEditorMode()){for(var t=e.editor.firstChild,o=!1;t;){if(t=this.checkAloneListLeaf(t,e),this.isSuitableStart(t)){o||e.s.save(),o=!0;var r=e.createInside.element(e.o.enter);for(n.Dom.before(t,r);t&&this.isSuitable(t);){var i=t.nextSibling;r.appendChild(t),t=i}r.normalize(),t=r}t=t&&t.nextSibling}o&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}},t.prototype.checkAloneListLeaf=(e,t)=>{var o=e,r=e;do{if(!n.Dom.isElement(r)||!n.Dom.isTag(r,"li")||n.Dom.isTag(r.parentElement,["ul","ol"]))break;var i=n.Dom.findNotEmptySibling(r,!1);n.Dom.isTag(o,"ul")?o.appendChild(r):o=n.Dom.wrap(r,"ul",t.createInside),r=i}while(r);return o},r.__decorate([s.autobind],t.prototype,"postProcessSetEditorValue",null),t}(i.Plugin);l.pluginSystem.add("wrapNodes",c)},15855(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(27537).Config.prototype.showXPathInStatusbar=!0},84865(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(20255);o(89310);var i=o(10063),n=o(73511),a=o(94522),s=o(92654),l=o(35570),c=o(42701),d=o(58299);o(15855);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onContext=(e,o)=>(t.menu||(t.menu=new n.ContextMenu(t.j)),t.menu.show(o.clientX,o.clientY,[{icon:"bin",title:e===t.j.editor?"Clear":"Remove",exec(){e!==t.j.editor?a.Dom.safeRemove(e):t.j.value="",t.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec(){t.j.s.select(e)}}]),!1),t.onSelectPath=(e,o)=>{t.j.s.focus();var r=(0,s.attr)(o.target,"-path")||"/";if("/"===r)return t.j.execCommand("selectall"),!1;try{var i=t.j.ed.evaluate(r,t.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(i)return t.j.s.select(i),!1}catch(e){}return t.j.s.select(e),!1},t.tpl=(e,o,r,i)=>{var n=t.j.c.fromHTML('').concat((0,s.trim)(r),"")),a=n.firstChild;return t.j.e.on(a,"click",t.onSelectPath.bind(t,e)).on(a,"contextmenu",t.onContext.bind(t,e)),n},t.removeSelectAll=()=>{t.selectAllButton&&(t.selectAllButton.destruct(),delete t.selectAllButton)},t.appendSelectAll=()=>{t.removeSelectAll(),t.selectAllButton=(0,c.makeButton)(t.j,r.__assign({name:"selectall"},t.j.o.controls.selectall)),t.selectAllButton.state.size="tiny",t.container&&t.container.insertBefore(t.selectAllButton.container,t.container.firstChild)},t.calcPathImd=()=>{if(!t.isDestructed){var e,o,r,n=t.j.s.current();t.container&&(t.container.innerHTML=i.INVISIBLE_SPACE),n&&a.Dom.up(n,(i=>{i&&t.j.editor!==i&&!a.Dom.isText(i)&&(e=i.nodeName.toLowerCase(),o=(0,s.getXPathByElement)(i,t.j.editor).replace(/^\//,""),r=t.tpl(i,o,e,t.j.i18n("Select %s",e)),t.container&&t.container.insertBefore(r,t.container.firstChild))}),t.j.editor),t.appendSelectAll()}},t.calcPath=t.j.async.debounce(t.calcPathImd,2*t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){var e=this;this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(()=>{e.j.o.showXPathInStatusbar&&e.container&&(e.j.statusbar.append(e.container),e.j.getRealMode()===i.MODE_WYSIWYG?e.calcPath():(e.container&&(e.container.innerHTML=i.INVISIBLE_SPACE),e.appendSelectAll()))})),this.calcPath())},t.prototype.beforeDestruct=function(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),a.Dom.safeRemove(this.container),delete this.menu,delete this.container},t}(l.Plugin);d.pluginSystem.add("xpath",u)},65178(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.valign=t.upload=t.update=t.unlock=t.settings=t.save=t.right=t.resize_handler=t.plus=t.pencil=t.ok=t.lock=t.left=t.info_circle=t.folder=t.file=t.eye=t.dots=t.chevron=t.check=t.center=t.cancel=t.bin=t.angle_up=t.angle_right=t.angle_left=t.angle_down=void 0;var r=o(1755);t.angle_down=r;var i=o(74911);t.angle_left=i;var n=o(8805);t.angle_right=n;var a=o(16547);t.angle_up=a;var s=o(10856);t.bin=s;var l=o(98441);t.cancel=l;var c=o(52488);t.center=c;var d=o(9370);t.check=d;var u=o(66543);t.chevron=u;var p=o(608);t.dots=p;var h=o(42840);t.eye=h;var f=o(79096);t.file=f;var m=o(33014);t.folder=m;var v=o(91677);t.info_circle=v;var g=o(8259);t.left=g;var y=o(64467);t.lock=y;var b=o(86934);t.ok=b;var _=o(76133);t.pencil=_;var w=o(45519);t.plus=w;var S=o(90265);t.resize_handler=S;var C=o(81279);t.right=C;var j=o(68899);t.save=j;var k=o(70744);t.settings=k;var E=o(19201);t.unlock=E;var x=o(84930);t.update=x;var T=o(99704);t.upload=T;var I=o(2304);t.valign=I},80078(e){e.exports={"copy-format":"نسخ التنسيق"}},16986(e){e.exports={"copy-format":"Kopírovat formát"}},59347(e){e.exports={"copy-format":"Format kopierenт"}},63640(e){e.exports={"copy-format":"Copiar formato"}},53434(e){e.exports={"copy-format":"کپی کردن قالب"}},85638(e){e.exports={"copy-format":"Format de copie"}},31743(e){e.exports={"copy-format":"העתק עיצוב"}},66219(e){e.exports={"copy-format":"Formátum másolás"}},50331(e){e.exports={"copy-format":"salin format"}},25582(e){e.exports={"copy-format":"Copia il formato"}},82066(e){e.exports={"copy-format":"copyformat"}},71925(e){e.exports={"copy-format":"복사 형식"}},65274(e){e.exports={"copy-format":"opmaak kopiëren"}},58548(e){e.exports={"copy-format":"format kopii"}},82958(e){e.exports={"copy-format":"Copiar formato"}},52315(e){e.exports={"copy-format":"Копировать формат"}},87727(e){e.exports={"copy-format":"Kopyalama Biçimi"}},9396(e){e.exports={"copy-format":"复制格式"}},28765(e){e.exports={"copy-format":"複製格式"}},47762(e){e.exports={"Line height":"ارتفاع الخط"}},97495(e){e.exports={"Line height":"Výška čáry"}},80131(e){e.exports={"Line height":"Zeilenhöhe"}},1201(e){e.exports={"Line height":"Altura de la línea"}},89912(e){e.exports={"Line height":"ارتفاع خط"}},3405(e){e.exports={"Line height":"Hauteur de ligne"}},14129(e){e.exports={"Line height":"גובה שורה"}},93729(e){e.exports={"Line height":"Vonal magassága"}},16106(e){e.exports={"Line height":"Tinggi baris"}},89690(e){e.exports={"Line height":"Altezza linea"}},33216(e){e.exports={"Line height":"ラインの高さ"}},17282(e){e.exports={"Line height":"선 높이"}},91761(e){e.exports={"Line height":"Lijnhoogte"}},61675(e){e.exports={"Line height":"Wysokość linii"}},69709(e){e.exports={"Line height":"Altura da linha"}},82591(e){e.exports={"Line height":"Высота линии"}},87649(e){e.exports={"Line height":"Çizgi yüksekliği"}},60268(e){e.exports={"Line height":"线高"}},58214(e){e.exports={"Line height":"ความสูงเส้น"}},5586(e){e.exports={Spellcheck:"التدقيق الإملائي"}},66023(e){e.exports={Spellcheck:"Kontrola pravopisu"}},65860(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},86055(e){e.exports={Spellcheck:"Corrección ortográfica"}},50037(e){e.exports={Spellcheck:"غلطیابی املایی"}},7118(e){e.exports={Spellcheck:"Vérification Orthographique"}},30298(e){e.exports={Spellcheck:"בדיקת איות"}},52107(e){e.exports={Spellcheck:"Helyesírás-ellenőrzés"}},31240(e){e.exports={Spellcheck:"Spellchecking"}},4101(e){e.exports={Spellcheck:"Controllo ortografico"}},69286(e){e.exports={Spellcheck:"スペルチェック"}},13402(e){e.exports={Spellcheck:"맞춤법 검사"}},89574(e){e.exports={Spellcheck:"Spellingcontrole"}},63630(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},72212(e){e.exports={Spellcheck:"Verificação ortográfica"}},82570(e){e.exports={Spellcheck:"Проверка орфографии"}},19323(e){e.exports={Spellcheck:"Yazım denetimi"}},50279(e){e.exports={Spellcheck:"拼写检查"}},98364(e){e.exports={Spellcheck:"สะกดคำ"}},54261(e){e.exports={symbols:"رمز"}},60425(e){e.exports={symbols:"symbol"}},7057(e){e.exports={symbols:"Symbol"}},48356(e){e.exports={symbols:"Símbolo"}},11428(e){e.exports={symbols:"سمبل"}},29084(e){e.exports={symbols:"caractère"}},22876(e){e.exports={symbols:"תו מיוחד"}},20890(e){e.exports={symbols:"Szimbólum"}},75987(e){e.exports={symbols:"simbol"}},60379(e){e.exports={symbols:"Simbolo"}},99950(e){e.exports={symbols:"symbol"}},60934(e){e.exports={symbols:"기호"}},21994(e){e.exports={symbols:"symbool"}},38128(e){e.exports={symbols:"symbol"}},71515(e){e.exports={symbols:"Símbolo"}},58194(e){e.exports={symbols:"символ"}},65802(e){e.exports={symbols:"Sembol"}},86628(e){e.exports={symbols:"符号"}},32210(e){e.exports={symbols:"符號"}}},o={};function r(e){var i=o[e];if(void 0!==i)return i.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,r),n.exports}r.m=t,e=[],r.O=(t,o,i,n)=>{if(!o){var a=1/0;for(d=0;e.length>d;d++){o=e[d][0],i=e[d][1],n=e[d][2];for(var s=!0,l=0;o.length>l;l++)(!1&n||a>=n)&&Object.keys(r.O).every((e=>r.O[e](o[l])))?o.splice(l--,1):(s=!1,a>n&&(a=n));if(s){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[o,i,n]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={670:0};r.O.j=t=>0===e[t];var t=(t,o)=>{var i,n,a=o[0],s=o[1],l=o[2],c=0;if(a.some((t=>0!==e[t]))){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);if(l)var d=l(r)}for(t&&t(o);a.length>c;c++)r.o(e,n=a[c])&&e[n]&&e[n][0](),e[n]=0;return r.O(d)},o=self.webpackChunkjodit=self.webpackChunkjodit||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i={};return(()=>{"use strict";r.r(i),r.d(i,{Jodit:()=>e.h});var e=r(68939),t=r(76102),o=r(9901),n=r(10063),a=r(46701),s=r(65178);r(20151),Object.keys(n).forEach((t=>{e.h[t]=n[t]}));const l=e=>"__esModule"!==e;Object.keys(s).filter(l).forEach((e=>{a.Icon.set(e.replace("_","-"),s[e])})),Object.keys(a).filter(l).forEach((t=>{e.h.modules[t]=a[t]})),Object.keys(o).filter(l).forEach((t=>{e.h.decorators[t]=o[t]})),["Confirm","Alert","Prompt"].forEach((t=>{e.h[t]=a[t]})),Object.keys(t.Z).filter(l).forEach((o=>{e.h.lang[o]=t.Z[o]}))})(),r.O(i)}()})); \ No newline at end of file diff --git a/build/jodit.js b/build/jodit.js index 558753bdf..b246f94f0 100644 --- a/build/jodit.js +++ b/build/jodit.js @@ -1,7 +1,7 @@ /*! * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser * Author: Chupurnov (https://xdsoft.net/) - * Version: v3.19.4 + * Version: v3.19.5 * Url: https://xdsoft.net/jodit/ * License(s): MIT */ @@ -407,7 +407,7 @@ module.exports = " " +module.exports = " " /***/ }), @@ -5710,6 +5710,7 @@ var Config = (function () { 'dots', 'selectall' ]; + this.allowCommandsInReadOnly = ['selectall', 'preview', 'print']; this.toolbarButtonSize = 'middle'; this.allowTabNavigation = false; this.inline = false; @@ -7391,7 +7392,7 @@ var Dom = (function () { tag.appendChild(elm.firstChild); } } - if (withAttributes) { + if (withAttributes && Dom.isElement(elm) && Dom.isElement(tag)) { (0, helpers_1.toArray)(elm.attributes).forEach(function (attr) { tag.setAttribute(attr.name, attr.value); }); @@ -7659,8 +7660,8 @@ var Dom = (function () { } return sibling && cond(sibling) ? sibling : null; }; - Dom.findNotEmptySibling = function (node, backspace) { - return Dom.findSibling(node, backspace, function (n) { + Dom.findNotEmptySibling = function (node, left) { + return Dom.findSibling(node, left, function (n) { var _a; return (!Dom.isEmptyTextNode(n) && Boolean(!Dom.isText(n) || (((_a = n.nodeValue) === null || _a === void 0 ? void 0 : _a.length) && (0, helpers_1.trim)(n.nodeValue)))); @@ -7795,6 +7796,11 @@ var Dom = (function () { node.parentNode.removeChild(node); }); }; + Dom.safeInsertNode = function (range, node) { + range.collapsed || range.deleteContents(); + range.insertNode(node); + [node.nextSibling, node.previousSibling].forEach(function (n) { return Dom.isText(n) && !n.nodeValue && Dom.safeRemove(n); }); + }; Dom.hide = function (node) { if (!node) { return; @@ -13556,8 +13562,7 @@ var Select = (function () { (_a = range.startContainer.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(node, range.startContainer); } else { - range.deleteContents(); - range.insertNode(node); + dom_1.Dom.safeInsertNode(range, node); } } else { @@ -13795,7 +13800,7 @@ var Select = (function () { fakeNode = this.j.createInside.text(consts.INVISIBLE_SPACE); inStart ? range.setStartBefore(node) : range.setEndAfter(node); range.collapse(inStart); - range.insertNode(fakeNode); + dom_1.Dom.safeInsertNode(range, fakeNode); range.selectNode(fakeNode); } else { @@ -14031,7 +14036,7 @@ var Select = (function () { var br = this.j.createInside.element('br'), prevFake = this.j.createInside.text(constants_1.INVISIBLE_SPACE), nextFake = prevFake.cloneNode(); try { if (cursorOnTheRight || cursorOnTheLeft) { - range.insertNode(br); + dom_1.Dom.safeInsertNode(range, br); var clearBR = function (start, getNext) { var next = getNext(start); while (next) { @@ -14063,8 +14068,13 @@ var Select = (function () { leftRange.setEnd(range.startContainer, range.startOffset); } var fragment = leftRange.extractContents(); + var clearEmpties = function (node) { + return dom_1.Dom.each(node, function (node) { return dom_1.Dom.isEmptyTextNode(node) && dom_1.Dom.safeRemove(node); }); + }; if (currentBox.parentNode) { try { + clearEmpties(fragment); + clearEmpties(currentBox); currentBox.parentNode.insertBefore(fragment, currentBox); if (cursorOnTheRight && (br === null || br === void 0 ? void 0 : br.parentNode)) { var range_2 = this.createRange(); @@ -14104,7 +14114,7 @@ var Select = (function () { var fake = _this.j.createInside.fake(); var r = range.cloneRange(); r.collapse(start); - r.insertNode(fake); + dom_1.Dom.safeInsertNode(r, fake); (0, helpers_2.moveTheNodeAlongTheEdgeOutward)(fake, start, _this.j.editor); return fake; }; @@ -14872,7 +14882,7 @@ function wrapUnwrappedText(style, elm, jodit, getRange) { var fragment = range.extractContents(); var wrapper = ci.element(style.element); wrapper.appendChild(fragment); - range.insertNode(wrapper); + dom_1.Dom.safeInsertNode(range, wrapper); if (style.elementIsBlock) { if (dom_1.Dom.isEmpty(wrapper) && !dom_1.Dom.isTag(wrapper.firstElementChild, 'br')) { @@ -17625,7 +17635,7 @@ var Panel = (function (_super) { return _super !== null && _super.apply(this, arguments) || this; } Panel.prototype.dialog = function (options) { - var dialog = new dialog_1.Dialog(tslib_1.__assign({ language: this.o.language, shadowRoot: this.o.shadowRoot, ownerWindow: this.o.ownerWindow, defaultTimeout: this.o.defaultTimeout, theme: this.o.theme }, options)); + var dialog = new dialog_1.Dialog(tslib_1.__assign({ language: this.o.language, shadowRoot: this.o.shadowRoot, ownerWindow: this.o.ownerWindow, defaultTimeout: this.o.defaultTimeout, theme: this.o.theme, globalFullSize: this.o.globalFullSize }, options)); (0, helpers_1.markOwner)(this, dialog.container); return dialog.bindDestruct(this); }; @@ -17822,7 +17832,7 @@ var View = (function (_super) { _this.isView = true; _this.mods = {}; _this.components = new Set(); - _this.version = "3.19.4"; + _this.version = "3.19.5"; _this.buffer = storage_1.Storage.makeStorage(); _this.storage = storage_1.Storage.makeStorage(true, _this.componentName); _this.OPTIONS = View.defaultOptions; @@ -17934,9 +17944,7 @@ var View = (function (_super) { return; } this.__isFullSize = isFullSize; - if (this.events) { - this.e.fire('toggleFullSize', isFullSize); - } + this.e.fire('toggleFullSize', isFullSize); }; Object.defineProperty(View.prototype, "isLocked", { get: function () { @@ -17968,10 +17976,10 @@ var View = (function (_super) { configurable: true }); View.prototype.getVersion = function () { - return "3.19.4"; + return "3.19.5"; }; View.getVersion = function () { - return "3.19.4"; + return "3.19.5"; }; View.prototype.initOptions = function (options) { this.options = (0, helpers_1.ConfigProto)(options || {}, (0, helpers_1.ConfigProto)(this.options || {}, View.defaultOptions)); @@ -18539,7 +18547,8 @@ var Jodit = (function (_super) { if (!this.s.isFocused()) { this.s.focus(); } - if (this.o.readonly && command !== 'selectall') { + if (this.o.readonly && + !this.o.allowCommandsInReadOnly.includes(command)) { return; } var result; @@ -19321,7 +19330,6 @@ config_1.Config.prototype.controls.dialog = { icon: 'cancel', exec: function (dialog) { dialog.close(); - dialog.toggleFullSizeBox(false); } } }; @@ -19331,7 +19339,6 @@ var Dialog = (function (_super) { var _this = _super.call(this, options) || this; _this.destroyAfterClose = false; _this.moved = false; - _this.iSetMaximization = false; _this.resizable = false; _this.draggable = false; _this.startX = 0; @@ -19379,12 +19386,12 @@ var Dialog = (function (_super) { (0, helpers_1.assert)(dialogbox_footer != null, 'Footer element does not exist'); var dialogbox_toolbar = self.getElm('header-toolbar'); (0, helpers_1.assert)(dialogbox_toolbar != null, 'header-toolbar element does not exist'); - self.dialog = dialog; - self.resizer = resizer; - self.dialogbox_header = dialogbox_header; - self.dialogbox_content = dialogbox_content; - self.dialogbox_footer = dialogbox_footer; - self.dialogbox_toolbar = dialogbox_toolbar; + _this.dialog = dialog; + _this.resizer = resizer; + _this.dialogbox_header = dialogbox_header; + _this.dialogbox_content = dialogbox_content; + _this.dialogbox_footer = dialogbox_footer; + _this.dialogbox_toolbar = dialogbox_toolbar; (0, helpers_1.css)(self.dialog, { maxWidth: self.options.maxWidth, minHeight: self.options.minHeight, @@ -19599,21 +19606,12 @@ var Dialog = (function (_super) { }); this.container.style.zIndex = (maxZIndex + 1).toString(); }; - Dialog.prototype.maximization = function (condition) { - if ((0, helpers_1.isVoid)(condition)) { - condition = !this.getMod('fullsize'); + Dialog.prototype.toggleFullSize = function (isFullSize) { + if ((0, helpers_1.isVoid)(isFullSize)) { + isFullSize = !this.getMod('fullsize'); } - this.setMod('fullsize', condition); - this.toggleFullSizeBox(condition); - this.iSetMaximization = condition; - return condition; - }; - Dialog.prototype.toggleFullSizeBox = function (condition) { - [this.destination, this.destination.parentNode].forEach(function (box) { - box && - box.classList && - box.classList.toggle('jodit_fullsize-box_true', condition); - }); + this.setMod('fullsize', isFullSize); + _super.prototype.toggleFullSize.call(this, isFullSize); }; Dialog.prototype.open = function (contentOrClose, titleOrModal, destroyAfterClose, modal) { global_1.eventEmitter.fire('closeAllPopups hideHelpers'); @@ -19642,7 +19640,7 @@ var Dialog = (function (_super) { this.setPosition(this.offsetX, this.offsetY); this.setMaxZIndex(); if (this.o.fullsize) { - this.maximization(true); + this.toggleFullSize(true); } this.e.fire('afterOpen', this); return this; @@ -19652,33 +19650,27 @@ var Dialog = (function (_super) { this.setMod('modal', this.isModal); return this; }; - Dialog.prototype.close = function (e) { - var _a, _b; + Dialog.prototype.close = function () { if (this.isDestructed || !this.isOpened || this.getMod('static') === true) { return this; } - if (e) { - e.stopImmediatePropagation(); - e.preventDefault(); - } - if (this.e && this.e.fire('beforeClose', this) === false) { + if (this.e.fire('beforeClose', this) === false) { return this; } this.setMod('active', false); this.isOpened = false; - this.e.fire('toggleFullSize', false); - if (this.iSetMaximization) { - this.maximization(false); + if (this.isFullSize) { + this.toggleFullSize(false); } dom_1.Dom.safeRemove(this.container); this.removeGlobalResizeListeners(); if (this.destroyAfterClose) { this.destruct(); } - (_a = this.e) === null || _a === void 0 ? void 0 : _a.fire(this, 'afterClose'); - (_b = this.e) === null || _b === void 0 ? void 0 : _b.fire(this.ow, 'joditCloseDialog'); + this.e.fire(this, 'afterClose'); + this.e.fire(this.ow, 'joditCloseDialog'); return this; }; Dialog.prototype.buildToolbar = function () { @@ -21960,7 +21952,7 @@ var Snapshot = (function (_super) { endOffset: 0 } }; - snapshot.html = this.j.getNativeEditorValue(); + snapshot.html = this.removeJoditSelection(this.j.getNativeEditorValue()); var sel = this.j.s.sel; if (sel && sel.rangeCount) { var range = sel.getRangeAt(0), startContainer = this.calcHierarchyLadder(range.startContainer), endContainer = this.calcHierarchyLadder(range.endContainer); @@ -22019,6 +22011,9 @@ var Snapshot = (function (_super) { this.isBlocked = false; _super.prototype.destruct.call(this); }; + Snapshot.prototype.removeJoditSelection = function (nativeEditorValue) { + return nativeEditorValue.replace(/]*jodit-selection_marker[^>]*><\/span>/g, ''); + }; return Snapshot; }(component_1.ViewComponent)); exports.Snapshot = Snapshot; @@ -25568,14 +25563,17 @@ var backspace = (function (_super) { var range = sel.range; var fakeNode = jodit.createInside.text(constants_1.INVISIBLE_SPACE); try { - range.insertNode(fakeNode); + dom_1.Dom.safeInsertNode(range, fakeNode); if (!dom_1.Dom.isOrContains(jodit.editor, fakeNode)) { return; } (0, helpers_2.moveNodeInsideStart)(jodit, fakeNode, backspace); if (cases_1.cases.some(function (func) { - return (0, helpers_1.isFunction)(func) && - func(jodit, fakeNode, backspace, mode); + if ((0, helpers_1.isFunction)(func) && + func(jodit, fakeNode, backspace, mode)) { + if (false) {} + return true; + } })) { return false; } @@ -25772,6 +25770,18 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) { var anotherSibling = dom_1.Dom.sibling(fakeNode, !backspace); var sibling = dom_1.Dom.sibling(fakeNode, backspace), removeNeighbor = null; var charRemoved = false, removed; + var getNextInlineSibling = function (sibling) { + var nextSibling = dom_1.Dom.sibling(sibling, backspace); + if (!nextSibling && + sibling.parentNode && + sibling.parentNode !== jodit.editor) { + nextSibling = (0, helpers_2.findMostNestedNeighbor)(sibling, !backspace, jodit.editor, true); + } + return nextSibling; + }; + if (!sibling) { + sibling = getNextInlineSibling(fakeNode); + } while (sibling && (dom_1.Dom.isText(sibling) || dom_1.Dom.isInlineBlock(sibling))) { while (dom_1.Dom.isInlineBlock(sibling)) { sibling = (backspace ? sibling === null || sibling === void 0 ? void 0 : sibling.lastChild : sibling === null || sibling === void 0 ? void 0 : sibling.firstChild); @@ -25829,22 +25839,25 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) { } break; } - var nextSibling = dom_1.Dom.sibling(sibling, backspace); - if (!nextSibling && - sibling.parentNode && - sibling.parentNode !== jodit.editor) { - nextSibling = (0, helpers_2.findMostNestedNeighbor)(sibling, !backspace, jodit.editor, true); - } + var nextSibling = getNextInlineSibling(sibling); if (removeNeighbor) { dom_1.Dom.safeRemove(removeNeighbor); removeNeighbor = null; } sibling = nextSibling; } + if (removeNeighbor) { + dom_1.Dom.safeRemove(removeNeighbor); + removeNeighbor = null; + } if (charRemoved) { removeEmptyInlineParent(fakeNode); addBRInsideEmptyBlock(jodit, fakeNode); jodit.s.setCursorBefore(fakeNode); + if (dom_1.Dom.isTag(fakeNode.previousSibling, 'br') && + !dom_1.Dom.findNotEmptySibling(fakeNode, false)) { + dom_1.Dom.after(fakeNode, jodit.createInside.element('br')); + } } return charRemoved; } @@ -26012,6 +26025,10 @@ function checkRemoveUnbreakableElement(jodit, fakeNode, backspace) { if (dom_1.Dom.isElement(neighbor) && (dom_1.Dom.isTag(neighbor, constants_1.INSEPARABLE_TAGS) || dom_1.Dom.isEmpty(neighbor))) { dom_1.Dom.safeRemove(neighbor); + if (dom_1.Dom.isTag(neighbor, 'br') && + !dom_1.Dom.findNotEmptySibling(fakeNode, false)) { + dom_1.Dom.after(fakeNode, jodit.createInside.element('br')); + } jodit.s.setCursorBefore(fakeNode); if (dom_1.Dom.isTag(neighbor, 'br')) { (0, check_remove_empty_parent_1.checkRemoveEmptyParent)(jodit, fakeNode, backspace); @@ -26543,7 +26560,8 @@ config_1.Config.prototype.cleanHTML = { denyTags: false, useIframeSandbox: false, removeOnError: true, - safeJavaScriptLink: true + safeJavaScriptLink: true, + disableCleanFilter: null }; config_1.Config.prototype.controls.eraser = { command: 'removeFormat', @@ -26650,8 +26668,9 @@ function removeFormatForCollapsedSelection(jodit, fake) { var fakeNode = fake; if (!fakeNode) { fakeNode = jodit.createInside.fake(); - s.range.insertNode(fakeNode); - s.range.collapse(); + var range = s.range; + dom_1.Dom.safeInsertNode(range, fakeNode); + range.collapse(); } var mainInline = dom_1.Dom.furthest(fakeNode, isInlineBlock, jodit.editor); if (mainInline) { @@ -26699,8 +26718,8 @@ function removeFormatForSelection(jodit) { var s = jodit.s, editor = jodit.editor, createInside = jodit.createInside, range = s.range, left = range.cloneRange(), right = range.cloneRange(), fakeLeft = createInside.fake(), fakeRight = createInside.fake(); left.collapse(true); right.collapse(false); - left.insertNode(fakeLeft); - right.insertNode(fakeRight); + dom_1.Dom.safeInsertNode(left, fakeLeft); + dom_1.Dom.safeInsertNode(right, fakeRight); range.setStartBefore(fakeLeft); range.collapse(true); s.selectRange(range); @@ -26824,10 +26843,39 @@ tslib_1.__exportStar(__webpack_require__(20544), exports); tslib_1.__exportStar(__webpack_require__(47913), exports); tslib_1.__exportStar(__webpack_require__(42954), exports); tslib_1.__exportStar(__webpack_require__(19070), exports); +tslib_1.__exportStar(__webpack_require__(4609), exports); tslib_1.__exportStar(__webpack_require__(58909), exports); tslib_1.__exportStar(__webpack_require__(39196), exports); +/***/ }), + +/***/ 4609: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +/*! + * Jodit Editor (https://xdsoft.net/jodit/) + * Released under MIT see LICENSE.txt in the project root for license information. + * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.removeEmptyTextNode = void 0; +var dom_1 = __webpack_require__(43887); +function removeEmptyTextNode(jodit, node, hadEffect, arg, argi, currentNode) { + if (dom_1.Dom.isText(node) && !node.nodeValue) { + if (node === currentNode && jodit.s.isCollapsed()) { + jodit.s.setCursorAfter(node); + } + dom_1.Dom.safeRemove(node); + return true; + } + return hadEffect; +} +exports.removeEmptyTextNode = removeEmptyTextNode; + + /***/ }), /***/ 58909: @@ -26845,14 +26893,10 @@ exports.removeInvTextNodes = void 0; var constants_1 = __webpack_require__(10063); var dom_1 = __webpack_require__(43887); function removeInvTextNodes(jodit, node, hadEffect, arg, argi, currentNode) { - if (!currentNode) { - return hadEffect; - } if (!dom_1.Dom.isText(node) || node.nodeValue == null) { return hadEffect; } - if ((0, constants_1.INVISIBLE_SPACE_REG_EXP)().test(node.nodeValue) && - node.nodeValue.replace((0, constants_1.INVISIBLE_SPACE_REG_EXP)(), '').length !== 0) { + if ((0, constants_1.INVISIBLE_SPACE_REG_EXP)().test(node.nodeValue)) { node.nodeValue = node.nodeValue.replace((0, constants_1.INVISIBLE_SPACE_REG_EXP)(), ''); if (node === currentNode && jodit.s.isCollapsed()) { jodit.s.setCursorAfter(node); @@ -26991,9 +27035,13 @@ var keys = Object.keys(filters); function visitNodeWalker(jodit, nodeElm, allowTags, denyTags, currentSelectionNode) { var e_1, _a; var hadEffect = false; + var dcf = jodit.o.cleanHTML.disableCleanFilter; try { for (var keys_1 = tslib_1.__values(keys), keys_1_1 = keys_1.next(); !keys_1_1.done; keys_1_1 = keys_1.next()) { var key = keys_1_1.value; + if (dcf && dcf.has(key)) { + continue; + } var filter = filters[key]; var tmp = hadEffect; hadEffect = filter(jodit, nodeElm, hadEffect, allowTags, denyTags, currentSelectionNode); @@ -27986,7 +28034,14 @@ function checkBR(jodit, current, shiftKeyPressed) { (shiftKeyPressed && !isMultiLineBlock) || (!shiftKeyPressed && isMultiLineBlock)) { var br = jodit.createInside.element('br'); - jodit.s.insertNode(br, true, false); + jodit.s.insertNode(br, false, false); + if (!dom_1.Dom.findNotEmptySibling(br, false)) { + dom_1.Dom.after(br, br.cloneNode()); + } + var range = jodit.s.range; + range.setStartAfter(br); + range.collapse(true); + jodit.s.selectRange(range); (0, scroll_into_view_1.scrollIntoViewIfNeeded)(br, jodit.editor, jodit.ed); return false; } @@ -28785,6 +28840,7 @@ var css_1 = __webpack_require__(56672); var is_jodit_object_1 = __webpack_require__(47442); var global_1 = __webpack_require__(58299); __webpack_require__(53022); +var fullsizeStack = new Set(); function fullsize(editor) { editor.registerButton({ name: 'fullsize' @@ -28826,7 +28882,13 @@ function fullsize(editor) { editor.toolbarContainer.appendChild(editor.toolbar.container); (0, css_1.css)(editor.toolbar.container, 'width', 'auto'); } - if (editor.o.globalFullSize) { + enable + ? fullsizeStack.add(container) + : fullsizeStack.delete(container); + var shouldToggleGlobalFullsize = editor.o.globalFullSize && + ((fullsizeStack.size === 1 && enable) || + (fullsizeStack.size === 0 && !enable)); + if (shouldToggleGlobalFullsize) { var node = container.parentNode; while (node && node.nodeType !== Node.DOCUMENT_NODE && @@ -34725,7 +34787,7 @@ var search = (function (_super) { rng.setEnd(bound.endContainer, bound.endOffset); rng.deleteContents(); textNode = this.j.createInside.text(this.ui.replace); - rng.insertNode(textNode); + dom_1.Dom.safeInsertNode(rng, textNode); this.j.s.select(textNode); this.tryScrollToElement(textNode); this.cache = {}; @@ -35555,7 +35617,7 @@ global_1.pluginSystem.add('selectCells', selectCells); Object.defineProperty(exports, "__esModule", ({ value: true })); var config_1 = __webpack_require__(27537); config_1.Config.prototype.select = { - normalizeSelectionBeforeCutAndCopy: true + normalizeSelectionBeforeCutAndCopy: false }; @@ -38161,7 +38223,7 @@ var wrapNodes = (function (_super) { } var child = jodit.editor.firstChild, isChanged = false; while (child) { - this.checkAloneListLeaf(child, jodit); + child = this.checkAloneListLeaf(child, jodit); if (this.isSuitableStart(child)) { if (!isChanged) { jodit.s.save(); @@ -38175,6 +38237,7 @@ var wrapNodes = (function (_super) { child = next; } box.normalize(); + child = box; } child = child && child.nextSibling; } @@ -38186,11 +38249,26 @@ var wrapNodes = (function (_super) { } }; wrapNodes.prototype.checkAloneListLeaf = function (child, jodit) { - if (dom_1.Dom.isElement(child) && - dom_1.Dom.isTag(child, 'li') && - !dom_1.Dom.isTag(child.parentElement, ['ul', 'ol'])) { - dom_1.Dom.wrap(child, 'ul', jodit.createInside); - } + var result = child; + var next = child; + do { + if (dom_1.Dom.isElement(next) && + dom_1.Dom.isTag(next, 'li') && + !dom_1.Dom.isTag(next.parentElement, ['ul', 'ol'])) { + var nextChild = dom_1.Dom.findNotEmptySibling(next, false); + if (dom_1.Dom.isTag(result, 'ul')) { + result.appendChild(next); + } + else { + result = dom_1.Dom.wrap(next, 'ul', jodit.createInside); + } + next = nextChild; + } + else { + break; + } + } while (next); + return result; }; tslib_1.__decorate([ decorators_1.autobind diff --git a/build/jodit.min.css b/build/jodit.min.css index 8337a4b11..a59a083d4 100644 --- a/build/jodit.min.css +++ b/build/jodit.min.css @@ -1,7 +1,7 @@ /*! * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser * Author: Chupurnov (https://xdsoft.net/) - * Version: v3.19.4 + * Version: v3.19.5 * Url: https://xdsoft.net/jodit/ * License(s): MIT */ diff --git a/build/jodit.min.js b/build/jodit.min.js index 802c87954..c3cb4e557 100644 --- a/build/jodit.min.js +++ b/build/jodit.min.js @@ -1 +1 @@ -!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,(function(){return function(){var e,t={90643:function(e){e.exports.default=["إبدأ في الكتابة...","حول جوديت","محرر جوديت",null,"دليل مستخدم جوديت","يحتوي على مساعدة مفصلة للاستخدام","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","شراء النسخة الكاملة","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","مِرْساة","فتح في نافذة جديدة","فتح المحرر في الحجم الكامل","مسح التنسيق","ملء اللون أو تعيين لون النص","إعادة","تراجع","عريض","مائل","إدراج قائمة غير مرتبة","إدراج قائمة مرتبة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","إدراج خط أفقي","إدراج صورة","ادخال الملف","إدراج فيديو يوتيوب/فيميو ","إدراج رابط","حجم الخط","نوع الخط","إدراج كتلة تنسيق","عادي","عنوان 1","عنوان 2","عنوان 3","عنوان 4","إقتباس","كود","إدراج","إدراج جدول","تقليل المسافة البادئة","زيادة المسافة البادئة","تحديد أحرف خاصة","إدراج حرف خاص","تنسيق الرسم","تغيير الوضع","هوامش","أعلى","يمين","أسفل","يسار","الأنماط","الطبقات","محاذاة","اليمين","الوسط","اليسار","--غير مضبوط--","Src","العنوان","العنوان البديل","الرابط","افتح الرابط في نافذة جديدة","الصورة","ملف","متقدم","خصائص الصورة","إلغاء","حسنا","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","الصق ك HTML","احتفظ","نظيفة","إدراج كنص","إدراج النص فقط","كلمة لصق الكشف عن","للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","متصفح الملفات","حدث خطأ في تحميل القائمة ","حدث خطأ في تحميل المجلدات","هل أنت واثق؟","أدخل اسم المجلد","إنشاء مجلد","أكتب إسم","إسقاط صورة","إسقاط الملف","أو أنقر","النص البديل","تصفح","رفع","الخلفية","نص","أعلى","الوسط","الأسفل","إدراج عمود قبل","إدراج عمود بعد","إدراج صف أعلى","إدراج صف أسفل","حذف الجدول","حذف الصف","حذف العمود","خلية فارغة","مصدر","بالخط العريض","مائل","شغل","صلة","إلغاء","كرر","طاولة","صورة","نظيف","فقرة","حجم الخط","فيديو","الخط","حول المحرر","طباعة","أكد","شطب","المسافة البادئة","نتوء","ملء الشاشة","الحجم التقليدي","الخط","قائمة","قائمة مرقمة","قطع","اختر الكل","قانون","فتح الرابط","تعديل الرابط","سمة Nofollow","إزالة الرابط","مراجعة","لتحرير","تحديث","URL","تحرير","محاذاة أفقية","فلتر","عن طريق التغيير","بالاسم","حسب الحجم","إضافة مجلد","إعادة","احتفظ","حفظ باسم","تغيير الحجم","حجم القطع","عرض","ارتفاع","حافظ على النسب","أن","لا","حذف","تميز","%d حرف","%d كلام",null,"تميز %s","اختر الكل","محاذاة عمودية","انشق، مزق","انقسام عمودي","تقسيم أفقي","اذهب","أضف العمود","اضف سطر","حذف","الحدود","رخصة %s","اضرب من خلال","أكد","حرف فوقي","مخطوطة","قطع الاختيار","استراحة","البحث عن","استبدل ب","محل","معجون","اختر محتوى للصق","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","تم تحميل الصورة بنجاح على الخادم!","لوحة","لا توجد ملفات في هذا الدليل.","إعادة تسمية","أدخل اسم جديد","معاينة","تحميل","لصق من الحافظة","متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","نسخ التحديد","نسخ","دائرة نصف قطرها الحدود","عرض كل","تطبيق","يرجى ملء هذا المجال","يرجى إدخال عنوان ويب","الافتراضي","دائرة","نقطة","المربعة","البحث","تجد السابقة","تجد التالي","أدخل اسم الفصل","اضغط البديل لتغيير حجم مخصص"]},52532:function(e){e.exports.default=["Napiš něco","O Jodit","Editor Jodit","Verze pro nekomerční použití","Jodit Uživatelská příručka","obsahuje detailní nápovědu","Pro informace o licenci, prosím, přejděte na naši stránku:","Koupit plnou verzi","Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.","Anchor","Otevřít v nové záložce","Otevřít v celoobrazovkovém režimu","Vyčistit formátování","Barva výplně a písma","Vpřed","Zpět","Tučné","Kurzíva","Odrážky","Číslovaný seznam","Zarovnat na střed","Zarovnat do bloku","Zarovnat vlevo","Zarovnat vpravo","Vložit horizontální linku","Vložit obrázek","Vložit soubor","Vložit video (YT/Vimeo)","Vložit odkaz","Velikost písma","Typ písma","Formátovat blok","Normální text","Nadpis 1","Nadpis 2","Nadpis 3","Nadpis 4","Citát","Kód","Vložit","Vložit tabulku","Zmenšit odsazení","Zvětšit odsazení","Vybrat speciální symbol","Vložit speciální symbol","Použít formát","Změnit mód","Okraje","horní","pravý","spodní","levý","Styly","Třídy","Zarovnání","Vpravo","Na střed","Vlevo","--nenastaveno--","src","Titulek","Alternativní text (alt)","Link","Otevřít link v nové záložce","Obrázek","soubor","Rozšířené","Vlastnosti obrázku","Zpět","Ok","Váš text se podobá HTML. Vložit ho jako HTML?","Vložit jako HTML","Ponechat originál","Vyčistit","Vložit jako TEXT","Vložit pouze TEXT","Detekován fragment z Wordu nebo Excelu","Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","Prohlížeč souborů","Chyba při načítání seznamu souborů","Chyba při načítání složek","Jste si jistý(á)?","Název složky","Vytvořit složku","název","Přetáhněte sem obrázek","Přetáhněte sem soubor","nebo klikněte","Alternativní text","Server","Nahrát","Pozadí","Text","Nahoru","Na střed","Dolu","Vložit sloupec před","Vložit sloupec za","Vložit řádek nad","Vložit řádek pod","Vymazat tabulku","Vymazat řádku","Vymazat sloupec","Vyčistit buňku","HTML","tučně","kurzíva","štětec","odkaz","zpět","vpřed","tabulka","obrázek","guma","odstavec","velikost písma","video","písmo","о editoru","tisk","podtrženo","přeškrtnuto","zvětšit odsazení","zmenšit odsazení","celoobrazovkový režim","smrsknout","Linka","Odrážka","Číslovaný seznam","Vyjmout","Označit vše","Kód","Otevřít odkaz","Upravit odkaz","Atribut no-follow","Odstranit odkaz","Zobrazit","Chcete-li upravit","Aktualizovat","URL","Editovat","Horizontální zarovnání","Filtr","Dle poslední změny","Dle názvu","Dle velikosti","Přidat složku","Reset","Uložit","Uložit jako...","Změnit rozměr","Ořezat","Šířka","Výška","Ponechat poměr","Ano","Ne","Vyjmout","Označit","Znaky: %d","Slova: %d","Vše","Označit %s","Označit vše","Vertikální zarovnání","Rozdělit","Rozdělit vertikálně","Rozdělit horizontálně","Spojit","Přidat sloupec","Přidat řádek","Vymazat","Okraj","Licence: %s","Přeškrtnuto","Podtrženo","Horní index","Dolní index","Vyjmout označené","Zalomení","Najdi","Nahradit za","Vyměňte","Vložit","Vyber obsah pro vložení","Můžete upravovat pouze své obrázky. Načíst obrázek?","Obrázek byl úspěšně nahrán!","paleta","V tomto adresáři nejsou žádné soubory.","přejmenovat","Zadejte nový název","náhled","Stažení","Vložit ze schránky","Váš prohlížeč nepodporuje přímý přístup do schránky.","Kopírovat výběr","kopírování","Border radius","Zobrazit všechny","Platí","Prosím, vyplňte toto pole","Prosím, zadejte webovou adresu","Výchozí","Kruh","Dot","Quadrate","Najít","Najít Předchozí","Najít Další","Vložte název třídy","Stiskněte Alt pro vlastní změnu velikosti"]},75178:function(e){e.exports.default=["Bitte geben Sie einen Text ein","Über Jodit","Jodit Editor",null,"Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte öffnen","Editor in voller Größe öffnen","Formatierung löschen","Füllfarbe oder Textfarbe ändern","Wiederholen","Rückgängig machen","Fett","Kursiv","Unsortierte Liste einfügen","Nummerierte Liste einfügen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einfügen","Bild einfügen","Datei einfügen","Youtube/vimeo Video einfügen","Link einfügen","Schriftgröße","Schriftfamilie","Formatblock einfügen","Normal","Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Zitat","Code","Einfügen","Tabelle einfügen","Einzug verkleinern","Einzug vergrößern","Sonderzeichen auswählen","Sonderzeichen einfügen","Format kopieren","Änderungsmodus","Ränder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Als HTML einfügen?","Original speichern","Säubern","Als Text einfügen","Nur Text einfügen","In Word formatierter Text erkannt","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei löschen","oder hier klicken","Alternativtext","Auswählen","Hochladen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einfügen","Spalte danach einfügen","Zeile oberhalb einfügen","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Zelle leeren","HTML","Fett gedruckt","Kursiv","Bürste","Verknüpfung","Rückgängig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgröße","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","Wählen Sie Alle aus","Code einbetten","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Ansehen","Bearbeiten","Aktualisieren","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Wiederherstellen","Speichern","Speichern als","Größe ändern","Größe anpassen","Breite","Höhe","Seitenverhältnis beibehalten","Ja","Nein","Entfernen","Markieren","Zeichen: %d","Wörter: %d","Alles markieren","Markieren: %s","Alles markieren","Vertikale Ausrichtung","Unterteilen","Vertikal unterteilen","Horizontal unterteilen","Vereinen","Spalte hinzufügen","Zeile hinzufügen","Löschen","Rand",null,"Durchstreichen","Unterstreichen","Hochgestellen","Tiefstellen","Auswahl ausschneiden","Pause","Suche nach","Ersetzen durch","Ersetzen","Einfügen","Wählen Sie den Inhalt zum Einfügen aus","Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einfügen","Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius für abgerundete Ecken","Alle anzeigen","Anwenden","Bitte füllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","className (CSS) einfügen","Drücken Sie Alt für benutzerdefinierte Größenanpassung"]},51048:function(e){e.exports.default=["Type something","About Jodit","Jodit Editor","Free Non-commercial Version","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open editor in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Clean","Insert as Text","Insert only Text","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Browse","Upload","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Eye","pencil","Update"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Chars: %d","Words: %d","All","Select %s","Select all","Vertical align","Split","Split vertical","Split horizontal","Merge","Add column","Add row","Delete","Border","License: %s","Strike through","Underline","superscript","subscript","Cut selection","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","Insert className","Press Alt for custom resizing"]},22999:function(e){e.exports.default=["Escriba algo...","Acerca de Jodit","Jodit Editor",null,"Guía de usuario Jodit","contiene ayuda detallada para el uso.","Para información sobre la licencia, por favor visite nuestro sitio:","Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Anclar","Abrir en nueva pestaña","Abrir editor en pantalla completa","Limpiar formato","Color de relleno o de letra","Rehacer","Deshacer","Negrita","Cursiva","Insertar lista no ordenada","Insertar lista ordenada","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Insertar línea horizontal","Insertar imagen","Insertar archivo","Insertar video de Youtube/vimeo","Insertar vínculo","Tamaño de letra","Familia de letra","Insertar bloque","Normal","Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Cita","Código","Insertar","Insertar tabla","Disminuir sangría","Aumentar sangría","Seleccionar caracter especial","Insertar caracter especial","Copiar formato","Cambiar modo","Márgenes","arriba","derecha","abajo","izquierda","Estilos CSS","Clases CSS","Alinear","Derecha","Centrado","Izquierda","--No Establecido--","Fuente","Título","Texto Alternativo","Vínculo","Abrir vínculo en nueva pestaña","Imagen","Archivo","Avanzado","Propiedades de imagen","Cancelar","Aceptar","El código es similar a HTML. ¿Mantener como HTML?","Pegar como HTML?","Mantener","Limpiar","Insertar como texto","Insertar solo texto","Pegado desde Word detectado","El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Buscar archivo","Error al cargar la lista","Error al cargar las carpetas","¿Está seguro?","Entre nombre de carpeta","Crear carpeta","Entre el nombre","Soltar imagen","Soltar archivo","o click","Texto alternativo","Buscar","Subir","Fondo","Texto","Arriba","Centro","Abajo","Insertar columna antes","Interar columna después","Insertar fila arriba","Insertar fila debajo","Borrar tabla","Borrar fila","Borrar columna","Vaciar celda","HTML","negrita","cursiva","Brocha","Vínculo","deshacer","rehacer","Tabla","Imagen","Borrar","Párrafo","Tamaño de letra","Video","Letra","Acerca de","Imprimir","subrayar","tachar","sangría","quitar sangría","Tamaño completo","encoger","línea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Incluir código","Abrir vínculo","Editar vínculo","No seguir","Desvincular","Ver","Para editar","Actualizar","URL","Editar","Alineación horizontal","filtrar","Ordenar por fecha modificación","Ordenar por nombre","Ordenar por tamaño","Agregar carpeta","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relación de aspecto","Si","No","Quitar","Seleccionar","Caracteres: %d","Palabras: %d","Todo","Seleccionar: %s","Seleccionar todo","Alineación vertical","Dividir","Dividir vertical","Dividir horizontal","Mezclar","Agregar columna","Agregar fila","Borrar","Borde",null,"Tachado","Subrayado","superíndice","subíndice","Cortar selección","Pausa","Buscar","Reemplazar con","Reemplazar","Pegar","Seleccionar contenido para pegar","Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","¡La imagen se ha subido correctamente al servidor!","paleta","No hay archivos en este directorio.","renombrar","Ingresa un nuevo nombre","avance","Descargar","Pegar desde el portapapeles","Su navegador no soporta el acceso directo en el portapapeles.","Selección de copia","copia","Radio frontera","Mostrar todos los","Aplicar","Por favor, rellene este campo","Por favor, introduzca una dirección web","Predeterminado","Círculo","Punto","Cuadro","Encontrar","Buscar Anterior","Buscar Siguiente","Insertar nombre de clase","Presione Alt para cambiar el tamaño personalizado"]},34145:function(e){e.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit",null,"Guide de l'utilisateur","Aide détaillée à l'utilisation","Consulter la licence sur notre site web:","Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'éditeur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","Défaire","Gras","Italique","Liste non ordonnée","Liste ordonnée","Centrer","Justifier","Aligner à gauche ","Aligner à droite","Insérer une ligne horizontale","Insérer une image","Insérer un fichier","Insérer une vidéo","Insérer un lien","Taille des caractères","Famille des caractères","Bloc formatté","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Insérer","Insérer un tableau","Diminuer le retrait","Retrait plus","Sélectionnez un caractère spécial","Insérer un caractère spécial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avancé","Propriétés de l'image","Annuler","OK","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Nettoyer","Coller en tant que texte","Coller le texte seulement","C'est peut-être un fragment de Word ou Excel","Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous sûrs ?","Entrer le non de dossier","Créer un dossier","type de fichier","Coller une image","Déposer un fichier","ou cliquer","Texte de remplacemement","Chercher","Charger","Arrière-plan","Texte","Haut","Milieu","Bas","Insérer une colonne avant","Insérer une colonne après","Insérer une ligne en dessus","Insérer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","la source","graisseux","italique","verser","lien","abolir","prêt","graphique","Image","la gommen","clause","taille de police","Video","police","à propos de l'éditeur","impression","souligné","barré","indentation","indifférent","taille réelle","taille conventionnelle","la ligne","Liste des","Liste numérotée","Couper","Sélectionner tout",null,"Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Voir","Pour éditer","Mettre à jour","URL",null,"Alignement horizontal","Filtre","Trier par modifié","Trier par nom","Classer par taille","Ajouter le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en évidence","Symboles: %d","Mots: %d",null,"Mettre en évidence: %s","Tout sélectionner","Alignement vertical","Split","Split vertical","Split horizontal","aller","Ajouter une colonne","Ajouter une rangée","Effacer",null,null,"Frapper à travers","Souligner","exposant","indice","Couper la sélection","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu à coller","Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","L'image a été téléchargée avec succès sur le serveur!null","Palette","Il n'y a aucun fichier dans ce répertoire.","renommer","Entrez un nouveau nom","Aperçu","Télécharger","Coller à partir du presse-papiers","Votre navigateur ne prend pas en charge l'accès direct à la presse-papiers.","Copier la sélection","copie","Rayon des frontières","Afficher tous les","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par défaut","Cercle","Dot","Quadrate","Trouver","Trouvez Précédente","Suivant","Insérer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalisé"]},40272:function(e){e.exports.default=["הקלד משהו...","About Jodit","Jodit Editor",null,"Jodit User's Guide","contains detailed help for using.","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","מקום עיגון","פתח בכרטיסיה חדשה","פתח את העורך בחלון חדש","נקה עיצוב","שנה צבע טקסט או רקע","בצע שוב","בטל","מודגש","נטוי","הכנס רשימת תבליטים","הכנס רשימה ממוספרת","מרכז","ישר ","ישר לשמאל","ישר לימין","הכנס קו אופקי","הכנס תמונה","הכנס קובץ","הכנס סרטון וידאו מYouTube/Vimeo","הכנס קישור","גודל גופן","גופן","מעוצב מראש","רגיל","כותרת 1","כותרת 2","כותרת 3","כותרת 4","ציטוט","קוד","הכנס","הכנס טבלה","הקטן כניסה","הגדל כניסה","בחר תו מיוחד","הכנס תו מיוחד","העתק עיצוב","החלף מצב","ריווח","עליון","ימין","תחתון","שמאל","עיצוב CSS","מחלקת CSS","יישור","ימין","מרכז","שמאל","--לא נקבע--","מקור","כותרת","כיתוב חלופי","קישור","פתח בכרטיסיה חדשה","תמונה","קובץ","מתקדם","מאפייני תמונה","ביטול","אישור","הקוד דומה לHTML, האם להשאיר כHTML","הדבק כHTML","השאר","נקה","הכנס כטקסט","הכנס טקסט בלבד",'זוהתה הדבקה מ"וורד"',"התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","סייר הקבצים","שגיאה בזמן טעינת רשימה","שגיאה בזמן טעינת תקיות","האם אתה בטוח?","הכנס שם תקיה","צור תקיה","סוג הקובץ","הסר תמונה","הסר קובץ","או לחץ","כיתוב חלופי","סייר","העלה","רקע","טקסט","עליון","מרכז","תחתון","הכנס עמודה לפני","הכנס עמודה אחרי","הכנס שורה מעל","הכנס שורה מתחת","מחק טבלה","מחק שורה","מחק עמודה","רוקן תא","HTML","מודגש","נטוי","מברשת","קישור","בטל","בצע שוב","טבלה","תמונה","מחק","פסקה","גודל גופן","וידאו","גופן","עלינו","הדפס","קו תחתון","קו חוצה","הגדל כניסה","הקטן כניסה","גודל מלא","כווץ","קו אופקי","רשימת תבליטים","רשימה ממוספרת","חתוך","בחר הכל","הוסף קוד","פתח קישור","ערוך קישור","ללא מעקב","בטל קישור","הצג","כדי לערוך","עדכן","כתובת","ערוך","יישור אופקי","סנן","מין לפי שינוי","מיין לפי שם","מיין לפי גודל","הוסף תקייה","אפס","שמור","שמור בשם...","שנה גודל","חתוך","רוחב","גובה","שמור יחס","כן","לא","הסר","בחר","תווים: %d","מילים: %d","הכל","נבחר: %s","בחר הכל","יישור אנכי","פיצול","פיצול אנכי","פיצול אופקי","מזג","הוסף עמודה","הוסף שורה","מחק","מסגרת",null,"קו חוצה","קו תחתון","superscript","subscript","גזור בחירה","שבירת שורה","חפש","החלף ב","להחליף","הדבק","בחר תוכן להדבקה","רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","התמונה עלתה בהצלחה!","לוח","אין קבצים בספריה זו.","הונגרית","הזן שם חדש","תצוגה מקדימה","הורד","להדביק מהלוח","הדפדפן שלך לא תומך גישה ישירה ללוח.","העתק בחירה","העתק","רדיוס הגבול","הצג את כל","החל","נא למלא שדה זה","אנא הזן כתובת אינטרנט","ברירת המחדל","מעגל","נקודה","הריבוע הזה","למצוא","מצא את הקודם","חפש את הבא","הכנס את שם הכיתה","לחץ על אלט לשינוי גודל מותאם אישית"]},2978:function(e){e.exports.default=["Írjon be valamit","Joditról","Jodit Editor","Ingyenes változat","Jodit útmutató","további segítséget tartalmaz","További licence információkért látogassa meg a weboldalunkat:","Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyitás új lapon","Megnyitás teljes méretben","Formázás törlése","Háttér/szöveg szín","Újra","Visszavon","Félkövér","Dőlt","Pontozott lista","Számozott lista","Középre zárt","Sorkizárt","Balra zárt","Jobbra zárt","Vízszintes vonal beszúrása","Kép beszúrás","Fájl beszúrás","Youtube videó beszúrása","Link beszúrás","Betűméret","Betűtípus","Formázott blokk beszúrása","Normál","Fejléc 1","Fejléc 2","Fejléc 3","Fejléc 4","Idézet","Kód","Beszúr","Táblázat beszúrása","Behúzás csökkentése","Behúzás növelése","Speciális karakter kiválasztása","Speciális karakter beszúrása","Kép formázása","Nézet váltása","Szegélyek","felső","jobb","alsó","bal","CSS stílusok","CSS osztályok","Igazítás","Jobbra","Középre","Balra","Nincs","Forrás","Cím","Helyettesítő szöveg","Link","Link megnyitása új lapon","Kép","Fájl","Haladó","Kép tulajdonságai","Mégsem","OK","A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Beszúrás HTML-ként","Megtartás","Elvetés","Beszúrás szövegként","Csak szöveg beillesztése","Word-ből másolt szöveg","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Fájl tallózó","Hiba a lista betöltése közben","Hiba a mappák betöltése közben","Biztosan ezt szeretné?","Írjon be egy mappanevet","Mappa létrehozása","írjon be bevet","Húzza ide a képet","Húzza ide a fájlt","vagy kattintson","Helyettesítő szöveg","Tallóz","Feltölt","Háttér","Szöveg","Fent","Középen","Lent","Oszlop beszúrás elé","Oszlop beszúrás utána","Sor beszúrás fölé","Sor beszúrás alá","Táblázat törlése","Sor törlése","Oszlop törlése","Cella tartalmának törlése","HTML","Félkövér","Dőlt","Ecset","Link","Visszavon","Újra","Táblázat","Kép","Törlés","Paragráfus","Betűméret","Videó","Betű","Rólunk","Nyomtat","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Egyenes vonal","Lista","Számozott lista","Kivág","Összes kijelölése","Beágyazott kód","Link megnyitása","Link szerkesztése","Nincs követés","Link leválasztása","felülvizsgálat","Szerkesztés","Frissít","URL","Szerkeszt","Vízszintes igazítás","Szűrő","Rendezés módosítás szerint","Rendezés név szerint","Rendezés méret szerint","Mappa hozzáadás","Visszaállít","Mentés","Mentés másként...","Átméretezés","Kivág","Szélesség","Magasság","Képarány megtartása","Igen","Nem","Eltávolít","Kijelöl","Karakterek száma: %d","Szavak száma: %d","Összes","Kijelöl: %s","Összes kijelölése","Függőleges igazítás","Felosztás","Függőleges felosztás","Vízszintes felosztás","Összevonás","Oszlop hozzáadás","Sor hozzáadás","Törlés","Szegély",null,"Áthúzott","Aláhúzott","Felső index","Alsó index","Kivágás","Szünet","Keresés","Csere erre","Cserélje ki","Beillesztés","Válasszon tartalmat a beillesztéshez","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","Kép sikeresen feltöltve!","Palette","Er zijn geen bestanden in deze map.","átnevezés","Adja meg az új nevet","előnézet","Letöltés","Illessze be a vágólap","A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Másolás kiválasztása","másolás","Határ sugár","Összes","Alkalmazni","Kérjük, töltse ki ezt a mezőt,","Kérjük, írja be a webcímet","Alapértelmezett","Kör","Pont","Quadrate","Találni","Megtalálja Előző","Következő Keresése","Helyezze be az osztály nevét","Nyomja meg az Alt egyéni átméretezés"]},99113:function(e){e.exports.default=["Ketik sesuatu","Tentang Jodit","Editor Jodit","Versi Bebas Non-komersil","Panduan Pengguna Jodit","mencakup detail bantuan penggunaan","Untuk informasi tentang lisensi, silakan kunjungi website:","Beli versi lengkap","Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.","Tautan","Buka di tab baru","Buka editor dalam ukuran penuh","Hapus Pemformatan","Isi warna atau atur warna teks","Ulangi","Batalkan","Tebal","Miring","Sisipkan Daftar Tidak Berurut","Sisipkan Daftar Berurut","Tengah","Penuh","Kiri","Kanan","Sisipkan Garis Horizontal","Sisipkan Gambar","Sisipkan Berkas","Sisipkan video youtube/vimeo","Sisipkan tautan","Ukuran font","Keluarga font","Sisipkan blok format","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Kutip","Kode","Sisipkan","Sisipkan tabel","Kurangi Indentasi","Tambah Indentasi","Pilih Karakter Spesial","Sisipkan Karakter Spesial","Formar warna","Ubah mode","Batas","atas","kanan","bawah","kiri","Gaya","Class","Rata","Kanan","Tengah","Kiri","--Tidak diset--","Src","Judul","Teks alternatif","Tautan","Buka tautan di tab baru","Gambar","berkas","Lanjutan","Properti gambar","Batal","Ya","Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste sebagai HTML","Jaga","Bersih","Sisipkan sebagai teks","Sisipkan hanya teks","Terdeteksi paste dari Word","Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","Penjelajah Berkas","Error ketika memuat list","Error ketika memuat folder","Apakah Anda yakin?","Masukkan nama Direktori","Buat direktori","ketik nama","Letakkan gambar","Letakkan berkas","atau klik","Teks alternatif","Jelajahi","Unggah","Latar Belakang","Teks","Atas","Tengah","Bawah","Sisipkan kolom sebelumnya","Sisipkan kolom setelahnya","Sisipkan baris di atasnya","Sisipkan baris di bawahnya","Hapus tabel","Hapus baris","Hapus kolom","Kosongkan cell","sumber","tebal","miring","sikat","tautan","batalkan","ulangi","tabel","gambar","penghapus","paragraf","ukuran font","video","font","tentang","cetak","garis bawah","coret","menjorok ke dalam","menjorok ke luar","ukuran penuh","menyusut","hr","ul","ol","potong","Pilih semua","Kode embed","Buka tautan","Edit tautan","No follow","Hapus tautan","Mata","pensil","Perbarui","URL","Edit","Perataan horizontal","Filter","Urutkan berdasarkan perubahan","Urutkan berdasarkan nama","Urutkan berdasarkan ukuran","Tambah folder","Reset","Simpan","Simpan sebagai...","Ubah ukuran","Crop","Lebar","Tinggi","Jaga aspek rasio","Ya","Tidak","Copot","Pilih","Karakter: %d","Kata: %d","Semua","Pilih %s","Pilih semua","Rata vertikal","Bagi","Bagi secara vertikal","Bagi secara horizontal","Gabungkan","Tambah kolom","tambah baris","Hapus","Bingkai","Lisensi: %s","Coret","Garis Bawah","Superskrip","Subskrip","Potong pilihan","Berhenti","Mencari","Ganti dengan","Mengganti","Paste","Pilih konten untuk dipaste","Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","Gambar telah sukses diunggah ke host!","palet","Tidak ada berkas","ganti nama","Masukkan nama baru","pratinjau","Unduh","Paste dari clipboard","Browser anda tidak mendukung akses langsung ke clipboard.","Copy seleksi","copy","Border radius","Tampilkan semua","Menerapkan","Silahkan mengisi kolom ini","Silahkan masukkan alamat web","Default","Lingkaran","Dot","Kuadrat","Menemukan","Menemukan Sebelumnya","Menemukan Berikutnya","Masukkan nama kelas","Tekan Alt untuk mengubah ukuran kustom"]},51923:function(e){e.exports.default=["Scrivi qualcosa...","A proposito di Jodit","Jodit Editor",null,"Guida utente di Jodit","contiene una guida dettagliata per l'uso.","Per informazioni sulla licenza, si prega di visitare il nostro sito:","Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Ancora","Apri in una nuova scheda","Apri l'editor a schermo intero","Formato chiaro","Riempi colore o lettera","Ripristina","Annulla","Grassetto","Corsivo","Inserisci lista non ordinata","Inserisci l'elenco ordinato","Allinea Centra","Allineare Giustificato","Allinea a Sinistra","Allinea a Destra","Inserisci la linea orizzontale","Inserisci immagine","Inserisci un file","Inserisci video Youtube/Vimeo","Inserisci il link","Dimensione del carattere","Tipo di font","Inserisci blocco","Normale","Heading 1","Heading 2","Heading 3","Heading 4","Citazione","Codice","Inserisci","Inserisci tabella","Riduci il rientro","Aumenta il rientro","Seleziona una funzione speciale","Inserisci un carattere speciale","Copia formato","Cambia modo","Margini","su","destra","giù","sinistra","Stili CSS","Classi CSS","Allinea","Destra","Centro","Sinistra","--Non Impostato--","Fonte","Titolo","Testo Alternativo","Link","Apri il link in una nuova scheda","Immagine","Archivio","Avanzato","Proprietà dell'immagine","Annulla","Accetta","Il codice è simile all'HTML. Mantieni come HTML?","Incolla come HTML?","Mantieni","Pulisci","Inserisci come testo","Inserisci solo il testo","Incollato da Word rilevato","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Cerca il file","Errore durante il caricamento dell'elenco","Errore durante il caricamento delle cartelle","Sei sicuro?","Inserisci il nome della cartella","Crea cartella","Entre el nombre","Rilascia l'immagine","Rilascia file","o click","Testo alternativo","Sfoglia","Carica","Sfondo","Testo","Su","Centro","Sotto","Inserisci prima la colonna","Inserisci colonna dopo","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tabella","Elimina riga","Elimina colonna","Cella vuota","HTML","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Sottolineato","Barrato","trattino","annulla rientro","A grandezza normale","comprimere","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Includi codice","Apri link","Modifica link","Non seguire","Togli link","Recensione","Per modificare","Aggiornare"," URL","Modifica","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Reset","Salva","Salva con nome...","Ridimensiona","Tagliare","Larghezza","Altezza","Mantenere le proporzioni","Si","No","Rimuovere","Seleziona","Caratteri: %d","Parole: %d","Tutto","Seleziona: %s","Seleziona tutto","Allineamento verticala","Dividere","Dividere verticalmente","Diviso orizzontale","Fondi","Aggiungi colonna","Aggiungi riga","Cancella","Bordo",null,"Barrato","Sottolineato","indice","deponente","Taglia la selezione","Pausa","Cerca","Sostituisci con","Sostituire","Incolla","Seleziona il contenuto da incollare","Puoi modificare solo le tue immagini. Scarica questa immagine sul server?","L'immagine è stata caricata con successo sul server!","tavolozza","Non ci sono file in questa directory.","ungherese","Inserisci un nuovo nome","anteprima","Scaricare","Incolla dagli appunti","Il tuo browser non supporta l'accesso diretto agli appunti.","Selezione di copia","copia","Border radius","Mostra tutti","Applicare","Si prega di compilare questo campo","Si prega di inserire un indirizzo web","Di Default","Cerchio","Dot","Quadrate","Trovare","Trova Precedente","Trova Successivo","Inserisci il nome della classe","Premere Alt per il ridimensionamento personalizzato"]},21268:function(e){e.exports.default=["なにかタイプしてください","Joditについて","Jodit Editor",null,"Jodit ユーザーズ・ガイド","詳しい使い方","ライセンス詳細についてはJodit Webサイトを確認ください:","フルバージョンを購入","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","新しいタブで開く","エディターのサイズ(フル/ノーマル)","書式をクリア","テキストの色","やり直し","元に戻す","太字","斜体","箇条書き","番号付きリスト","中央揃え","両端揃え","左揃え","右揃え","区切り線を挿入","画像を挿入","ファイルを挿入","Youtube/Vimeo 動画","リンクを挿入","フォントサイズ","フォント","テキストのスタイル","指定なし","タイトル1","タイトル2","タイトル3","タイトル4","引用","コード","挿入","表を挿入","インデント減","インデント増","特殊文字を選択","特殊文字を挿入","書式を貼付け","編集モード切替え","マージン","上","右","下","左","スタイル","クラス","配置","右寄せ","中央寄せ","左寄せ","指定なし","ソース","タイトル","代替テキスト","リンク","新しいタブで開く","画像","ファイル","高度な設定","画像のプロパティー","キャンセル","確定","HTMLコードを保持しますか?","HTMLで貼付け","HTMLを保持","Clean","HTMLをテキストにする","テキストだけ","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","ここに画像をドロップ","ここにファイルをドロップ","or クリック","代替テキスト","ブラウズ","アップロード","背景","文字","上","中央","下","左に列を挿入","右に列を挿入","上に行を挿入","下に行を挿入","表を削除","行を削除","列を削除","セルを空にする","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","分割線","箇条書き","番号付きリスト","切り取り","すべて選択","埋め込みコード","リンクを開く","リンクを編集","No follow","リンク解除","サイトを確認","鉛筆","更新","URL","編集","水平方向の配置","Filter","Sort by changed","Sort by name","Sort by size","Add folder","リセット","保存","Save as ...","リサイズ","Crop","幅","高さ","縦横比を保持","はい","いいえ","移除","選択","文字数: %d","単語数: %d","全部","選択: %s","すべて選択","垂直方向の配置","分割","セルの分割(垂直方向)","セルの分割(水平方向)","セルの結合","列を追加","行を追加","削除","境界線",null,"取り消し線","下線","上付き文字","下付き文字","切り取り","Pause","検索","置換","交換","貼付け","選択した内容を貼付け","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","パレット","There are no files","Rename","Enter new name","プレビュー","ダウンロード","貼り付け","お使いのブラウザはクリップボードを使用できません","コピー","copy","角の丸み","全て表示","適用","まだこの分野","を入力してくださいウェブアドレス","デフォルト","白丸","黒丸","四角","見","探前","由来","クラス名を挿入","カスタムサイズ変更のためのAltキーを押します"]},37289:function(e){e.exports.default=["무엇이든 입력하세요","Jodit에 대하여","Jodit Editor",null,"Jodit 사용자 안내서","자세한 도움말이 들어있어요","라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:","풀 버전 구입하기","© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.","Anchor","새 탭에서 열기","전체 크기로 보기","서식 지우기","글씨 색상","재실행","실행 취소","굵게","기울임","글머리 목록","번호 목록","가운데 정렬","양쪽 정렬","왼쪽 정렬","오른쪽 정렬","수평 구분선 넣기","이미지 넣기","파일 넣기","Youtube/Vimeo 동영상","링크 넣기","글꼴 크기","글꼴","블록 요소 넣기","일반 텍스트","제목 1","제목 2","제목 3","제목 4","인용","코드","붙여 넣기","테이블","들여쓰기 감소","들여쓰기 증가","특수문자 선택","특수문자 입력","페인트 형식","편집모드 변경","마진","위","오른쪽","아래","왼쪽","스타일","클래스","정렬","오른쪽으로","가운데로","왼쪽으로","--지정 안 함--","경로(src)","제목","대체 텍스트(alt)","링크","새 탭에서 열기",null,"파일","고급","이미지 속성","취소","확인","HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","HTML로 붙여넣기","원본 유지","지우기","텍스트로 넣기","텍스트만 넣기","Word 붙여넣기 감지","Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","파일 탐색기","목록 불러오기 에러","폴더 불러오기","정말 진행할까요?","디렉토리 이름 입력","디렉토리 생성","이름 입력","이미지 드래그","파일 드래그","혹은 클릭","대체 텍스트","탐색","업로드","배경","텍스트","위","중앙","아래","이전 열에 삽입","다음 열에 삽입","위 행에 삽입","아래 행에 삽입","테이블 삭제","행 삭제","열 삭제","빈 셀","HTML 소스","볼드","이탤릭","브러시","링크","실행 취소","재실행","테이블","이미지","지우개","문단","글꼴 크기","비디오","글꼴","편집기 정보","프린트","밑줄","취소선","들여쓰기","내어쓰기","전체 화면","일반 화면","구분선","글머리 목록","번호 목록","잘라내기","모두 선택","Embed 코드","링크 열기","링크 편집","No follow","링크 제거","사이트 확인","연필","갱신","URL","편집","수평 정렬","필터","변경일 정렬","이름 정렬","크기 정렬","새 폴더","초기화","저장","새로 저장하기 ...","리사이즈","크롭","가로 길이","세로 높이","비율 유지하기","네","아니오","제거","선택","문자수: %d","단어수: %d","모두","선택: %s","모두 선택","수직 정렬","분할","세로 셀 분할","가로 셀 분할","셀 병합","열 추가","행 추가","삭제","외곽선","라이센스: %s","취소선","밑줄","윗첨자","아래첨자","선택 잘라내기","구분자","검색","대체하기","대체","붙여넣기","붙여넣을 내용 선택","외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","이미지를 무사히 업로드 했어요!","팔레트","파일이 없어요","이름 변경","새 이름 입력","미리보기","다운로드","클립보드 붙여넣기","사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","선택 복사","복사","둥근 테두리","모두 보기","적용","이 항목을 입력해주세요!","웹 URL을 입력해주세요.","기본","원","점","정사각형","찾기","이전 찾기","다음 찾기","className 입력","사용자 지정 크기 조정에 대 한 고도 누르십시오"]},17084:function(e){e.exports.default=["Begin met typen..","Over Jodit","Jodit Editor","Gratis niet-commerciële versie","Jodit gebruikershandleiding","bevat gedetailleerde informatie voor gebruik.","Voor informatie over de licentie, ga naar onze website:","Volledige versie kopen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Anker","Open in nieuwe tab","Editor in volledig scherm openen","Opmaak verwijderen","Vulkleur of tekstkleur aanpassen","Opnieuw","Ongedaan maken","Vet","Cursief","Geordende list invoegen","Ongeordende lijst invoegen","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Horizontale lijn invoegen","Afbeelding invoegen","Bestand invoegen","Youtube/Vimeo video invoegen","Link toevoegen","Tekstgrootte","Lettertype","Format blok invoegen","Normaal","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Citaat","Code","Invoegen","Tabel invoegen","Inspringing verkleinen","Inspringing vergroten","Symbool selecteren","Symbool invoegen","Opmaak kopieren","Modus veranderen","Marges","Boven","Rechts","Onder","Links","CSS styles","CSS classes","Uitlijning","Rechts","Gecentreerd","Links","--Leeg--","Src","Titel","Alternatieve tekst","Link","Link in nieuwe tab openen","Afbeelding","Bestand","Geavanceerd","Afbeeldingseigenschappen","Annuleren","OK","Deze code lijkt op HTML. Als HTML behouden?","Invoegen als HTML","Origineel behouden","Opschonen","Als tekst invoegen","Als onopgemaakte tekst invoegen","Word-tekst gedetecteerd","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Bestandsbrowser","Fout bij het laden van de lijst","Fout bij het laden van de mappenlijst","Weet je het zeker?","Geef de map een naam","Map aanmaken","Type naam","Sleep hier een afbeelding naartoe","Sleep hier een bestand naartoe","of klik","Alternatieve tekst","Bladeren","Uploaden","Achtergrond","Tekst","Boven","Midden","Onder","Kolom invoegen (voor)","Kolom invoegen (na)","Rij invoegen (boven)","Rij invoegen (onder)","Tabel verwijderen","Rij verwijderen","Kolom verwijderen","Cel leegmaken","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","Embed code","link openen","link aanpassen","niet volgen","link verwijderen","Recensie","Om te bewerken","Updaten"," URL","Bewerken","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Tekens: %d","Woorden: %d","Alles","Selecteer: %s","Selecteer alles","Verticaal uitlijnen","Splitsen","Verticaal splitsen","Horizontaal splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen","Verwijderen","Rand",null,"Doorstrepen","Onderstrepen","Superscript","Subscript","Selectie knippen","Enter","Zoek naar","Vervangen door","Vervangen","Plakken","Kies content om te plakken","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol geüploadet!","Palette","Er zijn geen bestanden in deze map.","Hongaars","Voer een nieuwe naam in","voorvertoning","Download","Plakken van klembord","Uw browser ondersteunt geen directe toegang tot het klembord.","Selectie kopiëren","kopiëren","Border radius","Toon alle","Toepassing","Vul dit veld","Voer een webadres","Standaard","Cirkel","Dot","Quadrate","Zoeken","Vorige Zoeken","Volgende Zoeken","Voeg de klassenaam in","Druk op Alt voor aangepaste grootte"]},96891:function(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit",null,"Instrukcja Jodit","zawiera szczegółowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otwórz w nowej zakładce","Otwórz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Ponów","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyrównaj do lewej","Wyrównaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Krój czcionki","Wstaw formatowanie","Normalne","Nagłówek 1","Nagłówek 2","Nagłówek 3","Nagłówek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz formatów","Zmień tryb","Marginesy","Górny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyrównanie","Prawa","środek","Lewa","brak","Źródło","Tytuł","Tekst alternatywny","Link","Otwórz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Twój kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wyczyść","Wstaw jako tekst","Wstaw tylko treść","Wykryto tekst w formacie Word","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Przeglądarka plików","Błąd ładowania listy plików","Błąd ładowania folderów","Czy jesteś pewien?","Wprowadź nazwę folderu","Utwórz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Przeglądaj","Wczytaj","Tło","Treść","Góra","Środek","Dół","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść komórkę","HTML","pogrubienie","kursywa","pędzel","link","cofnij","ponów","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otwórz link","edytuj link","Atrybut no-follow","Usuń link","szukaj","edytuj","Aktualizuj","URL","Edytuj","Wyrównywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Znaki: %d","Słowa: %d","Wszystko","Wybierz: %s","Wybierz wszystko","Wyrównywanie w pionie","Podziel","Podziel w pionie","Podziel w poziomie","Scal","Dodaj kolumnę","Dodaj wiersz","Usuń","Obramowanie",null,"Przekreślenie","Podkreślenie","indeks górny","index dolny","Wytnij zaznaczenie","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plików.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar"]},31211:function(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit",null,"Guia de usuário Jodit","contém ajuda detalhada para o uso.","Para informação sobre a licença, por favor visite nosso site:","Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formatação","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","Itálico","Inserir lista não ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir vídeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Citação","Código","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--Não Estabelecido--","Fonte","Título","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avançado","Propriedades da imagem","Cancelar","Ok","Seu código é similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Limpar","Inserir como Texto","Inserir somente o Texto","Colado do Word Detectado","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Você tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Explorar","Upload","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar célula","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir código","Abrir link","Editar link","Não siga","Remover link","Visualizar","Editar","Atualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Caracteres: %d","Palavras: %d","Tudo","Selecionar: %s","Selecionar tudo","Alinhamento vertical","Dividir","Dividir vertical","Dividir horizontal","Mesclar","Adicionar coluna","Adicionar linha","Excluir","Borda",null,"Tachado","Sublinhar","sobrescrito","subscrito","Cortar seleção","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conteúdo para colar","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","Não há arquivos nesse diretório.","Húngara","Digite um novo nome","preview","Baixar","Colar da área de transferência","O seu navegador não oferece suporte a acesso direto para a área de transferência.","Selecção de cópia","cópia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endereço web","Padrão","Círculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Próxima","Insira o nome da classe","Pressione Alt para redimensionamento personalizado"]},31109:function(e){e.exports.default=["Напишите что-либо","О Jodit","Редактор Jodit",null,"Jodit Руководство пользователя","содержит детальную информацию по использованию","Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Купить полную версию","Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.","Анкор","Открывать ссылку в новой вкладке","Открыть редактор в полном размере","Очистить форматирование","Цвет заливки или цвет текста","Повтор","Отмена","Жирный","Наклонный","Вставка маркированного списка","Вставить нумерованный список","Выровнять по центру","Выровнять по ширине","Выровнять по левому краю","Выровнять по правому краю","Вставить горизонтальную линию","Вставить изображение","Вставить файл","Вставьте видео","Вставить ссылку","Размер шрифта","Шрифт","Вставить блочный элемент","Нормальный текст","Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Цитата","Код","Вставить","Вставить таблицу","Уменьшить отступ","Увеличить отступ","Выберите специальный символ","Вставить специальный символ","Формат краски","Источник","Отступы","сверху","справа","снизу","слева","Стили","Классы","Выравнивание","По правому краю","По центру","По левому краю","--не устанавливать--","src","Заголовок","Альтернативный текст (alt)","Ссылка","Открывать ссылку в новом окне",null,"Файл","Расширенные","Свойства изображения","Отмена","Ок","Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Вставить как HTML?","Сохранить оригинал","Почистить","Вставить как текст","Вставить только текст","Возможно это фрагмент Word или Excel","Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","Браузер файлов","Ошибка при загрузке списка изображений","Ошибка при загрузке списка директорий","Вы уверены?","Введите название директории","Создать директорию","введите название","Перетащите сюда изображение","Перетащите сюда файл","или нажмите","Альтернативный текст","Сервер","Загрузка","Фон","Текст"," К верху","По середине","К низу","Вставить столбец до","Вставить столбец после","Вставить ряд выше","Вставить ряд ниже","Удалить таблицу","Удалять ряд","Удалить столбец","Очистить ячейку","HTML","жирный","курсив","заливка","ссылка","отменить","повторить","таблица","Изображение","очистить","параграф","размер шрифта","видео","шрифт","о редакторе","печать","подчеркнутый","перечеркнутый","отступ","выступ","во весь экран","обычный размер","линия","Список","Нумерованный список","Вырезать","Выделить все","Код","Открыть ссылку","Редактировать ссылку","Атрибут nofollow","Убрать ссылку","Просмотр","Редактировать","Обновить","URL","Редактировать","Горизонтальное выравнивание","Фильтр","По изменению","По имени","По размеру","Добавить папку","Восстановить","Сохранить","Сохранить как","Изменить размер","Обрезать размер","Ширина","Высота","Сохранять пропорции","Да","Нет","Удалить","Выделить","Символов: %d","Слов: %d","Выделить все","Выделить: %s","Выделить все","Вертикальное выравнивание","Разделить","Разделить по вертикали","Разделить по горизонтали","Объединить в одну","Добавить столбец","Добавить строку","Удалить","Рамка","Лицензия: %s","Перечеркнуть","Подчеркивание","верхний индекс","индекс","Вырезать","Разделитель","Найти","Заменить на","Заменить","Вставить","Выбрать контент для вставки","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Изображение успешно загружено на сервер!","палитра","В данном каталоге нет файлов","Переименовать","Введите новое имя","Предпросмотр","Скачать","Вставить из буфера обмена","Ваш браузер не поддерживает прямой доступ к буферу обмена.","Скопировать выделенное","копия","Радиус границы","Показать все","Применить","Пожалуйста, заполните это поле","Пожалуйста, введите веб-адрес","По умолчанию","Круг","Точка","Квадрат","Найти","Найти Предыдущие","Найти Далее","Вставить название класса","Нажмите Alt для изменения пользовательского размера"]},79375:function(e){e.exports.default=["Bir şeyler yaz","Jodit Hakkında","Jodit Editor",null,"Jodit Kullanım Kılavuzu","kullanım için detaylı bilgiler içerir","Lisans hakkında bilgi için lütfen web sitemize gidin:","Tam versiyonunu satın al","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.","Bağlantı","Yeni sekmede aç","Editörü tam ekranda aç","Stili temizle","Renk doldur veya yazı rengi seç","Yinele","Geri Al","Kalın","İtalik","Sırasız Liste Ekle","Sıralı Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Yatay Çizgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Bağlantı Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Başlık 1","Başlık 2","Başlık 3","Başlık 4","Alıntı","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","Özel Karakter Seç","Özel Karakter Ekle","Resim Biçimi","Mod Değiştir","Boşluklar","Üst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirsiz","Kaynak","Başlık","Alternatif Yazı","Link","Bağlantıyı yeni sekmede aç","Resim","Dosya","Gelişmiş","Resim özellikleri","İptal","Tamam","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yapıştır","Sakla","Temizle","Yazı olarak ekle","Sadece yazıyı ekle","Word biçiminde yapıştırma algılandı","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Dosya Listeleyici","Liste yüklenirken hata oluştu","Klasörler yüklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","İsim yaz","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Gözat","Yükle","Arka plan","Yazı","Üst","Orta","Aşağı","Öncesine kolon ekle","Sonrasına kolon ekle","Üstüne satır ekle","Altına satır ekle","Tabloyu sil","Satırı sil","Kolonu sil","Hücreyi temizle","Kaynak","Kalın","italik","Fırça","Bağlantı","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Alt çizgi","Üstü çizili","Girinti","Çıkıntı","Tam ekran","Küçült","Ayraç","Sırasız liste","Sıralı liste","Kes","Tümünü seç","Kod ekle","Bağlantıyı aç","Bağlantıyı düzenle","Nofollow özelliği","Bağlantıyı kaldır","Yorumu","Düzenlemek için","Güncelle","URL","Düzenle","Yatay hizala","Filtre","Değişime göre sırala","İsme göre sırala","Boyuta göre sırala","Klasör ekle","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Yükseklik","En boy oranını koru","Evet","Hayır","Sil","Seç","Harfler: %d","Kelimeler: %d","Tümü","Seç: %s","Tümünü seç","Dikey hizala","Ayır","Dikey ayır","Yatay ayır","Birleştir","Kolon ekle","Satır ekle","Sil","Kenarlık",null,"Üstü çizili","Alt çizgi","Üst yazı","Alt yazı","Seçilimi kes","Satır sonu","Ara","Şununla değiştir","Değiştir","Yapıştır","Yapıştırılacak içerik seç","Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","Görsel başarıyla hostunuza yüklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","Ön izleme","İndir","Panodan yapıştır ","Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Seçimi kopyala","Kopyala","Sınır yarıçapı","Tümünü Göster","Uygula","Lütfen bu alanı doldurun","Lütfen bir web adresi girin","Varsayılan","Daire","Nokta","Kare","Bul","Öncekini Bul","Sonrakini Bul","Sınıf adı girin","Özel yeniden boyutlandırma için Alt tuşuna basın"]},21042:function(e){e.exports.default=["输入一些内容","关于Jodit","Jodit Editor","Free Non-commercial Version","开发者指南","使用帮助","有关许可证的信息,请访问我们的网站:","购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","视频","链接","字号","字体","格式块","默认","标题1","标题2","标题3","标题4","引用","代码","插入","表格","减少缩进","增加缩进","选择特殊符号","特殊符号","格式复制","改变模式","外边距(Margins)","top","right","bottom","left","样式","Classes","对齐方式","居右","居中","居左","无","Src","Title","Alternative","Link","在新窗口打开链接","图片","file","高级","图片属性","取消","确定","你粘贴的文本是一段html代码,是否保留源格式","html粘贴","保留源格式","匹配目标格式","把html代码视为普通文本","只保留文本","文本粘贴","正在粘贴 Word/Excel 的文本,是否保留源格式?","文件管理","加载list错误","加载folders错误","你确定吗?","输入路径","创建路径","type name","拖动图片到此","拖动文件到此","或点击","Alternative text","浏览","上传","背景色","文字","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","下划线","上出现","增加缩进","减少缩进","全屏","收缩","分割线","无序列表","顺序列表","剪切","全选","嵌入代码","打开链接","编辑链接","No follow","取消链接","预览","铅笔","更新","URL","编辑","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹","重置","保存","保存为","调整大小","剪切","宽","高","保持长宽比","是","不","移除","选择","字符数: %d","单词数: %d","全部","选择: %s","全选","垂直对齐","拆分","垂直拆分","水平拆分","合并","添加列","添加行","删除","边框",null,"删除线","下划线","上标","下标","剪切","Break","查找","替换为","替换","粘贴","选择内容并粘贴","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制选中内容","复制","边界半径","显示所有","应用","请填写这个字段","请输入一个网址","默认","圆圈","点","方形","搜索","查找上一个","查找下一个","插入班级名称","按Alt自定义调整大小"]},73895:function(e){e.exports.default=["輸入一些內容","關於Jodit","Jodit Editor",null,"開發者指南","使用幫助","有關許可證的信息,請訪問我們的網站:","購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","在新窗口打開","全屏編輯","清除樣式","顏色","重做","撤銷","粗體","斜體","符號列表","編號","居中","對齊文本","左對齊","右對齊","分割線","圖片","文件","youtube/vimeo 影片","鏈接","字號","字體","格式塊","文本","標題1","標題2","標題3","標題4","引用","代碼","插入","表格","減少縮進","增加縮進","選擇特殊符號","特殊符號","格式複製","改變模式","外邊距(Margins)","top","right","bottom","left","樣式","Classes","對齊方式","居右","居中","居左","無","Src","Title","替代","Link","在新窗口打開鏈接","圖片","file","高級","圖片屬性","取消","確定","你黏貼的文本是一段html代碼,是否保留源格式","html黏貼","保留源格式","匹配目標格式","把html代碼視為普通文本","只保留文本","文本黏貼","正在黏貼 Word/Excel 的文本,是否保留源格式?","文件管理","加載list錯誤","加載folders錯誤","你確定嗎?","輸入路徑","創建路徑","type name","拖動圖片到此","拖動文件到此","或點擊","替代文字","瀏覽","上傳","背景色","文字","頂部","中間","底部","在之前插入列","在之後插入列","在之前插入行","在之後插入行","刪除表格","刪除行","刪除列","清除內容","源碼","粗體","斜體","顏色","鏈接","撤銷","重做","表格","圖片","橡皮擦","段落","字號","影片","字體","關於","打印","下劃線","上出現","增加縮進","減少縮進","全屏","收縮","分割線","無序列表","順序列表","剪切","全選","嵌入代碼","打開鏈接","編輯鏈接","No follow","取消連結","回顧","鉛筆","更新","URL",null,"水平對齊","篩選","修改時間排序","名稱排序","大小排序","新建文件夾","重置","保存","保存為","調整大小","Crop","寬","高","保存長寬比","是","不","移除","選擇","字符數: %d","單詞數: %d","全部","選擇: %s","全選","垂直對齊","拆分","垂直拆分","水平拆分","合併","添加列","添加行","刪除","邊框",null,"刪除線","下劃線","上標","下標","剪切","Pause","查找","替換為","แทนที่","黏貼","選擇內容並黏貼","你只能編輯你自己的圖片。是否下載此圖片到本地?","圖片上傳成功","調色板","此目錄中沒有文件。","重命名","輸入新名稱","預覽","下載","從剪貼板貼上","瀏覽器無法存取剪贴板。","複製已選取項目","複製","邊框圓角","顯示所有","應用","ได้โปรดกรอกช่องข้อมูลนี้","โปรดเติมที่อยู่บนเว็บ","ค่าปริยาย","วงกลม","จุด","Quadrate","ค้นหา","ค้นหาก่อนหน้านี้","ค้นหาถัดไป","ใส่ชื่อคลาส","กดอัลท์สำหรับการปรับขนาดที่กำหนดเอง"]},3610:function(e){e.exports=' '},56170:function(e){e.exports=' '},95331:function(e){e.exports=' '},84279:function(e){e.exports=' '},11257:function(e){e.exports=' '},25141:function(e){e.exports=' '},24557:function(e){e.exports=' '},10859:function(e){e.exports=' '},9813:function(e){e.exports=' '},93395:function(e){e.exports=' '},98213:function(e){e.exports=' '},20026:function(e){e.exports=' '},66911:function(e){e.exports=' '},50018:function(e){e.exports=' '},99738:function(e){e.exports=' '},9185:function(e){e.exports=' '},8619:function(e){e.exports=' '},73894:function(e){e.exports=' '},83301:function(e){e.exports=' '},84142:function(e){e.exports=' '},57292:function(e){e.exports=' '},18019:function(e){e.exports=''},45146:function(e){e.exports=' '},53576:function(e){e.exports=' '},14655:function(e){e.exports=' '},53477:function(e){e.exports=' '},90053:function(e){e.exports=' '},72230:function(e){e.exports=' '},78321:function(e){e.exports=' '},77654:function(e){e.exports=' '},43371:function(e){e.exports=' '},44563:function(e){e.exports=' '},53183:function(e){e.exports=' '},6102:function(e){e.exports=' '},52242:function(e){e.exports=' '},87498:function(e){e.exports=' '},7986:function(e){e.exports=' '},23075:function(e){e.exports=' '},10655:function(e){e.exports=' '},15476:function(e){e.exports=' '},59403:function(e){e.exports=' '},22860:function(e){e.exports=' '},95600:function(e){e.exports=' '},76214:function(e){e.exports=' '},41197:function(e){e.exports=' '},9342:function(e){e.exports=' '},69546:function(e){e.exports=' '},43158:function(e){e.exports=' '},51716:function(e){e.exports=' '},49222:function(e){e.exports=' '},1755:function(e){e.exports=' '},74911:function(e){e.exports=' '},8805:function(e){e.exports=' '},16547:function(e){e.exports=' '},10856:function(e){e.exports=' '},98441:function(e){e.exports=' '},52488:function(e){e.exports=' '},9370:function(e){e.exports=' '},66543:function(e){e.exports=' '},608:function(e){e.exports=' '},42840:function(e){e.exports=' '},79096:function(e){e.exports=' '},33014:function(e){e.exports=' '},91677:function(e){e.exports=' '},8259:function(e){e.exports=' '},64467:function(e){e.exports=''},86934:function(e){e.exports=' '},76133:function(e){e.exports=''},45519:function(e){e.exports=''},90265:function(e){e.exports=' '},81279:function(e){e.exports=' '},68899:function(e){e.exports=' '},70744:function(e){e.exports=' '},19201:function(e){e.exports=' '},84930:function(e){e.exports=' '},99704:function(e){e.exports=' '},2304:function(e){e.exports=' '},93330:function(e,t,o){"use strict";o.r(t)},45066:function(e,t,o){"use strict";o.r(t)},87682:function(e,t,o){"use strict";o.r(t)},50905:function(e,t,o){"use strict";o.r(t)},70446:function(e,t,o){"use strict";o.r(t)},18984:function(e,t,o){"use strict";o.r(t)},4591:function(e,t,o){"use strict";o.r(t)},64194:function(e,t,o){"use strict";o.r(t)},70375:function(e,t,o){"use strict";o.r(t)},90235:function(e,t,o){"use strict";o.r(t)},88477:function(e,t,o){"use strict";o.r(t)},50197:function(e,t,o){"use strict";o.r(t)},39008:function(e,t,o){"use strict";o.r(t)},47086:function(e,t,o){"use strict";o.r(t)},16462:function(e,t,o){"use strict";o.r(t)},40692:function(e,t,o){"use strict";o.r(t)},27452:function(e,t,o){"use strict";o.r(t)},51422:function(e,t,o){"use strict";o.r(t)},62820:function(e,t,o){"use strict";o.r(t)},32115:function(e,t,o){"use strict";o.r(t)},53362:function(e,t,o){"use strict";o.r(t)},48904:function(e,t,o){"use strict";o.r(t)},85796:function(e,t,o){"use strict";o.r(t)},28654:function(e,t,o){"use strict";o.r(t)},60819:function(e,t,o){"use strict";o.r(t)},96410:function(e,t,o){"use strict";o.r(t)},33126:function(e,t,o){"use strict";o.r(t)},30724:function(e,t,o){"use strict";o.r(t)},32417:function(e,t,o){"use strict";o.r(t)},14320:function(e,t,o){"use strict";o.r(t)},9947:function(e,t,o){"use strict";o.r(t)},45109:function(e,t,o){"use strict";o.r(t)},71708:function(e,t,o){"use strict";o.r(t)},51629:function(e,t,o){"use strict";o.r(t)},54860:function(e,t,o){"use strict";o.r(t)},47818:function(e,t,o){"use strict";o.r(t)},6316:function(e,t,o){"use strict";o.r(t)},88582:function(e,t,o){"use strict";o.r(t)},30962:function(e,t,o){"use strict";o.r(t)},68197:function(e,t,o){"use strict";o.r(t)},60057:function(e,t,o){"use strict";o.r(t)},33393:function(e,t,o){"use strict";o.r(t)},51057:function(e,t,o){"use strict";o.r(t)},14351:function(e,t,o){"use strict";o.r(t)},89310:function(e,t,o){"use strict";o.r(t)},90176:function(e,t,o){"use strict";o.r(t)},70631:function(e,t){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function n(e,t,n){var r=n.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(r)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var o=r.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return o},set:function(e){r=e,delete this[t]}}),i=!1,o},set:function(e){r=e}}}function r(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var o=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof o.value&&Object.defineProperty(e.prototype,t,n(e,t,o))}})),e}Object.defineProperty(t,"__esModule",{value:!0}),t.boundClass=t.boundMethod=void 0,t.boundMethod=n,t.boundClass=r,t.default=function(){return 1===arguments.length?r.apply(void 0,arguments):n.apply(void 0,arguments)}},61227:function(){"use strict";"document"in window.self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(e){if("Element"in e){var t="classList",o=e.Element.prototype,n=Object,r=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},i=Array.prototype.indexOf||function(e){for(var t=0,o=this.length;o>t;t++)if(t in this&&this[t]===e)return t;return-1},a=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},s=function(e,t){if(""===t)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return i.call(e,t)},l=function(e){for(var t=r.call(e.getAttribute("class")||""),o=t?t.split(/\s+/):[],n=0,i=o.length;i>n;n++)this.push(o[n]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},c=l.prototype=[],u=function(){return new l(this)};if(a.prototype=Error.prototype,c.item=function(e){return this[e]||null},c.contains=function(e){return-1!==s(this,e+="")},c.add=function(){var e,t=arguments,o=0,n=t.length,r=!1;do{-1===s(this,e=t[o]+"")&&(this.push(e),r=!0)}while(++oo;o++)t.call(this,e=arguments[o])}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:o.call(this,e)}}e=null}())},69220:function(e,t,o){"use strict";o(22513);var n=o(56599);e.exports=n("Array","findIndex")},10444:function(e,t,o){"use strict";o(52867),o(70057);var n=o(31116);e.exports=n.Array.from},66622:function(e,t,o){"use strict";o(54166),o(32044),o(95661),o(28424),o(64514),o(30733),o(40327),o(53639),o(6147),o(7290),o(95122),o(61322),o(39605),o(49341),o(28809),o(82658),o(43967),o(90217),o(73477),o(93697);var n=o(31116);e.exports=n.Symbol},98061:function(e,t,o){"use strict";var n=o(794),r=o(98418),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a function")}},75839:function(e,t,o){"use strict";var n=o(794),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},15179:function(e,t,o){"use strict";var n=o(19517),r=o(93503),i=o(73252).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!0}},52313:function(e,t,o){"use strict";var n=o(8148),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(r(e)+" is not an object")}},92707:function(e,t,o){"use strict";var n=o(40207),r=o(9093),i=o(68488),a=o(79665),s=o(84997),l=o(15333),c=o(15050),u=o(89476),d=o(27395),p=o(81058),f=Array;e.exports=function(e){var t=i(e),o=l(this),h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m;v&&(m=n(m,h>2?arguments[2]:void 0));var g,y,b,_,w,S,C=p(t),j=0;if(!C||this===f&&s(C))for(g=c(t),y=o?new this(g):f(g);g>j;j++)S=v?m(t[j],j):t[j],u(y,j,S);else for(w=(_=d(t,C)).next,y=o?new this:[];!(b=r(w,_)).done;j++)S=v?a(_,m,[b.value,j],!0):b.value,u(y,j,S);return y.length=j,y}},79327:function(e,t,o){"use strict";var n=o(98651),r=o(10586),i=o(15050),a=function(e){return function(t,o,a){var s,l=n(t),c=i(l),u=r(a,c);if(e&&o!=o){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===o)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},56881:function(e,t,o){"use strict";var n=o(40207),r=o(90838),i=o(25049),a=o(68488),s=o(15050),l=o(6429),c=r([].push),u=function(e){var t=1==e,o=2==e,r=3==e,u=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,m,v,g){for(var y,b,_=a(h),w=i(_),S=n(m,v),C=s(w),j=0,k=g||l,x=t?k(h,C):o||p?k(h,0):void 0;C>j;j++)if((f||j in w)&&(b=S(y=w[j],j,_),e))if(t)x[j]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return j;case 2:c(x,y)}else switch(e){case 4:return!1;case 7:c(x,y)}return d?-1:r||u?u:x}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},63833:function(e,t,o){"use strict";var n=o(75834),r=o(19517),i=o(65190),a=r("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},57652:function(e,t,o){"use strict";var n=o(10586),r=o(15050),i=o(89476),a=Array,s=Math.max;e.exports=function(e,t,o){for(var l=r(e),c=n(t,l),u=n(void 0===o?l:o,l),d=a(s(u-c,0)),p=0;u>c;c++,p++)i(d,p,e[c]);return d.length=p,d}},54832:function(e,t,o){"use strict";var n=o(90838);e.exports=n([].slice)},22506:function(e,t,o){"use strict";var n=o(36222),r=o(15333),i=o(8148),a=o(19517)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(r(t=e.constructor)&&(t===s||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0),void 0===t?s:t}},6429:function(e,t,o){"use strict";var n=o(22506);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},79665:function(e,t,o){"use strict";var n=o(52313),r=o(11274);e.exports=function(e,t,o,i){try{return i?t(n(o)[0],o[1]):t(o)}catch(t){r(e,"throw",t)}}},7581:function(e,t,o){"use strict";var n=o(19517)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var o=!1;try{var i={};i[n]=function(){return{next:function(){return{done:o=!0}}}},e(i)}catch(e){}return o}},6285:function(e,t,o){"use strict";var n=o(90838),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},8652:function(e,t,o){"use strict";var n=o(6424),r=o(794),i=o(6285),a=o(19517)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,o,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(o=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?o:l?i(t):"Object"==(n=i(t))&&r(t.callee)?"Arguments":n}},58392:function(e,t,o){"use strict";var n=o(14434),r=o(86671),i=o(36999),a=o(73252);e.exports=function(e,t,o){for(var s=r(t),l=a.f,c=i.f,u=0;s.length>u;u++){var d=s[u];n(e,d)||o&&n(o,d)||l(e,d,c(t,d))}}},27259:function(e,t,o){"use strict";var n=o(75834);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},14899:function(e,t,o){"use strict";var n=o(77831).IteratorPrototype,r=o(93503),i=o(32500),a=o(44532),s=o(84922),l=function(){return this};e.exports=function(e,t,o,c){var u=t+" Iterator";return e.prototype=r(n,{next:i(+!c,o)}),a(e,u,!1,!0),s[u]=l,e}},45840:function(e,t,o){"use strict";var n=o(13873),r=o(73252),i=o(32500);e.exports=n?function(e,t,o){return r.f(e,t,i(1,o))}:function(e,t,o){return e[t]=o,e}},32500:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},89476:function(e,t,o){"use strict";var n=o(43836),r=o(73252),i=o(32500);e.exports=function(e,t,o){var a=n(t);a in e?r.f(e,a,i(0,o)):e[a]=o}},35065:function(e,t,o){"use strict";var n=o(794),r=o(73252),i=o(40846),a=o(25379);e.exports=function(e,t,o,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(n(o)&&i(o,c,s),s.global)l?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},25379:function(e,t,o){"use strict";var n=o(37042),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(o){n[e]=t}return t}},73514:function(e,t,o){"use strict";var n=o(50791),r=o(9093),i=o(70852),a=o(84521),s=o(794),l=o(14899),c=o(1074),u=o(482),d=o(44532),p=o(45840),f=o(35065),h=o(19517),m=o(84922),v=o(77831),g=a.PROPER,y=a.CONFIGURABLE,b=v.IteratorPrototype,_=v.BUGGY_SAFARI_ITERATORS,w=h("iterator"),S="keys",C="values",j="entries",k=function(){return this};e.exports=function(e,t,o,a,h,v,x){l(o,t,a);var E,P,T,I=function(e){if(e===h&&A)return A;if(!_&&e in O)return O[e];switch(e){case S:case C:case j:return function(){return new o(this,e)}}return function(){return new o(this)}},M=t+" Iterator",z=!1,O=e.prototype,D=O[w]||O["@@iterator"]||h&&O[h],A=!_&&D||I(h),L="Array"==t&&O.entries||D;if(L&&(E=c(L.call(new e)))!==Object.prototype&&E.next&&(i||c(E)===b||(u?u(E,b):s(E[w])||f(E,w,k)),d(E,M,!0,!0),i&&(m[M]=k)),g&&h==C&&D&&D.name!==C&&(!i&&y?p(O,"name",C):(z=!0,A=function(){return r(D,this)})),h)if(P={values:I(C),keys:v?A:I(S),entries:I(j)},x)for(T in P)(_||z||!(T in O))&&f(O,T,P[T]);else n({target:t,proto:!0,forced:_||z},P);return i&&!x||O[w]===A||f(O,w,A,{name:h}),m[t]=A,P}},24637:function(e,t,o){"use strict";var n=o(31116),r=o(14434),i=o(96767),a=o(73252).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});r(t,e)||a(t,e,{value:i.f(e)})}},13873:function(e,t,o){"use strict";var n=o(75834);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},15192:function(e,t,o){"use strict";var n=o(37042),r=o(8148),i=n.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},39505:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},21473:function(e,t,o){"use strict";var n=o(98945);e.exports=n("navigator","userAgent")||""},65190:function(e,t,o){"use strict";var n,r,i=o(37042),a=o(21473),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=(n=u.split("."))[0]>0&&4>n[0]?1:+(n[0]+n[1])),!r&&a&&((n=a.match(/Edge\/(\d+)/))&&74>n[1]||(n=a.match(/Chrome\/(\d+)/))&&(r=+n[1])),e.exports=r},56599:function(e,t,o){"use strict";var n=o(37042),r=o(90838);e.exports=function(e,t){return r(n[e].prototype[t])}},64456:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},50791:function(e,t,o){"use strict";var n=o(37042),r=o(36999).f,i=o(45840),a=o(35065),s=o(25379),l=o(58392),c=o(56930);e.exports=function(e,t){var o,u,d,p,f,h=e.target,m=e.global,v=e.stat;if(o=m?n:v?n[h]||s(h,{}):(n[h]||{}).prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=r(o,u))&&f.value:o[u],!c(m?u:h+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(o,u,p,e)}}},75834:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},55101:function(e,t,o){"use strict";var n=o(32610),r=Function.prototype,i=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},40207:function(e,t,o){"use strict";var n=o(90838),r=o(98061),i=o(32610),a=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},32610:function(e,t,o){"use strict";var n=o(75834);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9093:function(e,t,o){"use strict";var n=o(32610),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},84521:function(e,t,o){"use strict";var n=o(13873),r=o(14434),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=r(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},90838:function(e,t,o){"use strict";var n=o(32610),r=Function.prototype,i=r.call,a=n&&r.bind.bind(i,i);e.exports=n?function(e){return e&&a(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},98945:function(e,t,o){"use strict";var n=o(37042),r=o(794),i=function(e){return r(e)?e:void 0};e.exports=function(e,t){return 2>arguments.length?i(n[e]):n[e]&&n[e][t]}},81058:function(e,t,o){"use strict";var n=o(8652),r=o(20156),i=o(84922),a=o(19517)("iterator");e.exports=function(e){if(null!=e)return r(e,a)||r(e,"@@iterator")||i[n(e)]}},27395:function(e,t,o){"use strict";var n=o(9093),r=o(98061),i=o(52313),a=o(98418),s=o(81058),l=TypeError;e.exports=function(e,t){var o=2>arguments.length?s(e):t;if(r(o))return i(n(o,e));throw l(a(e)+" is not iterable")}},20156:function(e,t,o){"use strict";var n=o(98061);e.exports=function(e,t){var o=e[t];return null==o?void 0:n(o)}},37042:function(e,t,o){"use strict";var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof o.g&&o.g)||function(){return this}()||Function("return this")()},14434:function(e,t,o){"use strict";var n=o(90838),r=o(68488),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},48889:function(e){"use strict";e.exports={}},36249:function(e,t,o){"use strict";var n=o(98945);e.exports=n("document","documentElement")},12816:function(e,t,o){"use strict";var n=o(13873),r=o(75834),i=o(15192);e.exports=!n&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},25049:function(e,t,o){"use strict";var n=o(90838),r=o(75834),i=o(6285),a=Object,s=n("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},92355:function(e,t,o){"use strict";var n=o(90838),r=o(794),i=o(45752),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},56113:function(e,t,o){"use strict";var n,r,i,a=o(94698),s=o(37042),l=o(90838),c=o(8148),u=o(45840),d=o(14434),p=o(45752),f=o(85475),h=o(48889),m="Object already initialized",v=s.TypeError;if(a||p.state){var g=p.state||(p.state=new(0,s.WeakMap)),y=l(g.get),b=l(g.has),_=l(g.set);n=function(e,t){if(b(g,e))throw new v(m);return t.facade=e,_(g,e,t),t},r=function(e){return y(g,e)||{}},i=function(e){return b(g,e)}}else{var w=f("state");h[w]=!0,n=function(e,t){if(d(e,w))throw new v(m);return t.facade=e,u(e,w,t),t},r=function(e){return d(e,w)?e[w]:{}},i=function(e){return d(e,w)}}e.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var o;if(!c(t)||(o=r(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return o}}}},84997:function(e,t,o){"use strict";var n=o(19517),r=o(84922),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},36222:function(e,t,o){"use strict";var n=o(6285);e.exports=Array.isArray||function(e){return"Array"==n(e)}},794:function(e){"use strict";e.exports=function(e){return"function"==typeof e}},15333:function(e,t,o){"use strict";var n=o(90838),r=o(75834),i=o(794),a=o(8652),s=o(98945),l=o(92355),c=function(){},u=[],d=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,f=n(p.exec),h=!p.exec(c),m=function(e){if(!i(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}},v=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(p,l(e))}catch(e){return!0}};v.sham=!0,e.exports=!d||r((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?v:m},56930:function(e,t,o){"use strict";var n=o(75834),r=o(794),i=/#|\.prototype\./,a=function(e,t){var o=l[s(e)];return o==u||o!=c&&(r(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},8148:function(e,t,o){"use strict";var n=o(794);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},70852:function(e){"use strict";e.exports=!1},88253:function(e,t,o){"use strict";var n=o(98945),r=o(794),i=o(54671),a=o(57982),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,s(e))}},11274:function(e,t,o){"use strict";var n=o(9093),r=o(52313),i=o(20156);e.exports=function(e,t,o){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw o;return o}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw o;if(s)throw a;return r(a),o}},77831:function(e,t,o){"use strict";var n,r,i,a=o(75834),s=o(794),l=o(93503),c=o(1074),u=o(35065),d=o(19517),p=o(70852),f=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(r=c(c(i)))!==Object.prototype&&(n=r):h=!0),null==n||a((function(){var e={};return n[f].call(e)!==e}))?n={}:p&&(n=l(n)),s(n[f])||u(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},84922:function(e){"use strict";e.exports={}},15050:function(e,t,o){"use strict";var n=o(24431);e.exports=function(e){return n(e.length)}},40846:function(e,t,o){"use strict";var n=o(75834),r=o(794),i=o(14434),a=o(13873),s=o(84521).CONFIGURABLE,l=o(92355),c=o(56113),u=c.enforce,d=c.get,p=Object.defineProperty,f=a&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=e.exports=function(e,t,o){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(t="get "+t),o&&o.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),f&&o&&i(o,"arity")&&e.length!==o.arity&&p(e,"length",{value:o.arity});try{o&&i(o,"constructor")&&o.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=u(e);return i(n,"source")||(n.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return r(this)&&d(this).source||l(this)}),"toString")},43932:function(e){"use strict";var t=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?o:t)(n)}},14413:function(e,t,o){"use strict";var n=o(47942);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},47942:function(e,t,o){"use strict";var n=o(65190),r=o(75834);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&41>n}))},94698:function(e,t,o){"use strict";var n=o(37042),r=o(794),i=o(92355),a=n.WeakMap;e.exports=r(a)&&/native code/.test(i(a))},93503:function(e,t,o){"use strict";var n,r=o(52313),i=o(5770),a=o(64456),s=o(48889),l=o(36249),c=o(15192),u=o(85475)("IE_PROTO"),d=function(){},p=function(e){return"